"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.4/configure" (28 Mar 2021, 214101 Bytes) of package /linux/privat/littleutils-1.2.4.tar.lz:


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.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for littleutils 1.2.4.
    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='littleutils'
  579 PACKAGE_TARNAME='littleutils'
  580 PACKAGE_VERSION='1.2.4'
  581 PACKAGE_STRING='littleutils 1.2.4'
  582 PACKAGE_BUGREPORT=''
  583 PACKAGE_URL=''
  584 
  585 ac_unique_file="littleutils/filesize.c"
  586 # Factoring default headers for most tests.
  587 ac_includes_default="\
  588 #include <stdio.h>
  589 #ifdef HAVE_SYS_TYPES_H
  590 # include <sys/types.h>
  591 #endif
  592 #ifdef HAVE_SYS_STAT_H
  593 # include <sys/stat.h>
  594 #endif
  595 #ifdef STDC_HEADERS
  596 # include <stdlib.h>
  597 # include <stddef.h>
  598 #else
  599 # ifdef HAVE_STDLIB_H
  600 #  include <stdlib.h>
  601 # endif
  602 #endif
  603 #ifdef HAVE_STRING_H
  604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  605 #  include <memory.h>
  606 # endif
  607 # include <string.h>
  608 #endif
  609 #ifdef HAVE_STRINGS_H
  610 # include <strings.h>
  611 #endif
  612 #ifdef HAVE_INTTYPES_H
  613 # include <inttypes.h>
  614 #endif
  615 #ifdef HAVE_STDINT_H
  616 # include <stdint.h>
  617 #endif
  618 #ifdef HAVE_UNISTD_H
  619 # include <unistd.h>
  620 #endif"
  621 
  622 ac_subst_vars='LTLIBOBJS
  623 LIBOBJS
  624 TOZSTMAN
  625 TOZST
  626 TOXZMAN
  627 TOXZ
  628 TOLZMAMAN
  629 TOLZMA
  630 TOLZIPMAN
  631 TOLZIP
  632 TO7ZIPMAN
  633 TO7ZIP
  634 TOBZIPMAN
  635 TOBZIP
  636 TOGZIPMAN
  637 TOGZIP
  638 ROTJPGMAN
  639 ROTJPG
  640 REPEATSPL
  641 RECOMPJPGMAN
  642 RECOMPJPG
  643 PROGLZMA
  644 PROG7Z
  645 PRENMAN
  646 PREN
  647 PYPROGS
  648 PYMAN
  649 PNGPROGS
  650 PNGMAN
  651 PNGLIBS
  652 PDFDIFFMAN
  653 PDFDIFF
  654 OPTPNGMAN
  655 OPTPNG
  656 OPTPDFMAN
  657 OPTPDF
  658 OPTJPGMAN
  659 OPTJPG
  660 OPTGIFMAN
  661 OPTGIF
  662 LU_VERSION
  663 LNREPEATSMAN
  664 LD
  665 LCUCPROGS
  666 LCUCMAN
  667 LIBINTL
  668 LIBDIRSTEM
  669 IMLIB2PROGS
  670 IMLIB2MAN
  671 IMLIB2LIBS
  672 FRENUMMAN
  673 FRENUM
  674 have_zstd
  675 have_xz
  676 have_lzip
  677 have_lzma
  678 have_lzma_alone
  679 have_7z
  680 have_7za
  681 have_7zr
  682 have_bzip2
  683 have_gzip
  684 have_file
  685 have_jpegtran
  686 have_pngcrush
  687 have_gifsicle
  688 PROGPYTHON
  689 PROGPERL
  690 PROGBASH
  691 have_img2pdf
  692 have_pdftocairo
  693 have_gs
  694 EGREP
  695 GREP
  696 CPP
  697 MAKE
  698 SED
  699 MKDIR_P
  700 INSTALL_DATA
  701 INSTALL_SCRIPT
  702 INSTALL_PROGRAM
  703 OBJEXT
  704 EXEEXT
  705 ac_ct_CC
  706 CPPFLAGS
  707 LDFLAGS
  708 CFLAGS
  709 CC
  710 host_os
  711 host_vendor
  712 host_cpu
  713 host
  714 build_os
  715 build_vendor
  716 build_cpu
  717 build
  718 target_alias
  719 host_alias
  720 build_alias
  721 LIBS
  722 ECHO_T
  723 ECHO_N
  724 ECHO_C
  725 DEFS
  726 mandir
  727 localedir
  728 libdir
  729 psdir
  730 pdfdir
  731 dvidir
  732 htmldir
  733 infodir
  734 docdir
  735 oldincludedir
  736 includedir
  737 runstatedir
  738 localstatedir
  739 sharedstatedir
  740 sysconfdir
  741 datadir
  742 datarootdir
  743 libexecdir
  744 sbindir
  745 bindir
  746 program_transform_name
  747 prefix
  748 exec_prefix
  749 PACKAGE_URL
  750 PACKAGE_BUGREPORT
  751 PACKAGE_STRING
  752 PACKAGE_VERSION
  753 PACKAGE_TARNAME
  754 PACKAGE_NAME
  755 PATH_SEPARATOR
  756 SHELL'
  757 ac_subst_files=''
  758 ac_user_opts='
  759 enable_option_checking
  760 enable_largefile
  761 '
  762       ac_precious_vars='build_alias
  763 host_alias
  764 target_alias
  765 CC
  766 CFLAGS
  767 LDFLAGS
  768 LIBS
  769 CPPFLAGS
  770 CPP'
  771 
  772 
  773 # Initialize some variables set by options.
  774 ac_init_help=
  775 ac_init_version=false
  776 ac_unrecognized_opts=
  777 ac_unrecognized_sep=
  778 # The variables have the same names as the options, with
  779 # dashes changed to underlines.
  780 cache_file=/dev/null
  781 exec_prefix=NONE
  782 no_create=
  783 no_recursion=
  784 prefix=NONE
  785 program_prefix=NONE
  786 program_suffix=NONE
  787 program_transform_name=s,x,x,
  788 silent=
  789 site=
  790 srcdir=
  791 verbose=
  792 x_includes=NONE
  793 x_libraries=NONE
  794 
  795 # Installation directory options.
  796 # These are left unexpanded so users can "make install exec_prefix=/foo"
  797 # and all the variables that are supposed to be based on exec_prefix
  798 # by default will actually change.
  799 # Use braces instead of parens because sh, perl, etc. also accept them.
  800 # (The list follows the same order as the GNU Coding Standards.)
  801 bindir='${exec_prefix}/bin'
  802 sbindir='${exec_prefix}/sbin'
  803 libexecdir='${exec_prefix}/libexec'
  804 datarootdir='${prefix}/share'
  805 datadir='${datarootdir}'
  806 sysconfdir='${prefix}/etc'
  807 sharedstatedir='${prefix}/com'
  808 localstatedir='${prefix}/var'
  809 runstatedir='${localstatedir}/run'
  810 includedir='${prefix}/include'
  811 oldincludedir='/usr/include'
  812 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  813 infodir='${datarootdir}/info'
  814 htmldir='${docdir}'
  815 dvidir='${docdir}'
  816 pdfdir='${docdir}'
  817 psdir='${docdir}'
  818 libdir='${exec_prefix}/lib'
  819 localedir='${datarootdir}/locale'
  820 mandir='${datarootdir}/man'
  821 
  822 ac_prev=
  823 ac_dashdash=
  824 for ac_option
  825 do
  826   # If the previous option needs an argument, assign it.
  827   if test -n "$ac_prev"; then
  828     eval $ac_prev=\$ac_option
  829     ac_prev=
  830     continue
  831   fi
  832 
  833   case $ac_option in
  834   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  835   *=)   ac_optarg= ;;
  836   *)    ac_optarg=yes ;;
  837   esac
  838 
  839   # Accept the important Cygnus configure options, so we can diagnose typos.
  840 
  841   case $ac_dashdash$ac_option in
  842   --)
  843     ac_dashdash=yes ;;
  844 
  845   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  846     ac_prev=bindir ;;
  847   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  848     bindir=$ac_optarg ;;
  849 
  850   -build | --build | --buil | --bui | --bu)
  851     ac_prev=build_alias ;;
  852   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  853     build_alias=$ac_optarg ;;
  854 
  855   -cache-file | --cache-file | --cache-fil | --cache-fi \
  856   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  857     ac_prev=cache_file ;;
  858   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  859   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  860     cache_file=$ac_optarg ;;
  861 
  862   --config-cache | -C)
  863     cache_file=config.cache ;;
  864 
  865   -datadir | --datadir | --datadi | --datad)
  866     ac_prev=datadir ;;
  867   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  868     datadir=$ac_optarg ;;
  869 
  870   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  871   | --dataroo | --dataro | --datar)
  872     ac_prev=datarootdir ;;
  873   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  874   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  875     datarootdir=$ac_optarg ;;
  876 
  877   -disable-* | --disable-*)
  878     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  879     # Reject names that are not valid shell variable names.
  880     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  881       as_fn_error $? "invalid feature name: $ac_useropt"
  882     ac_useropt_orig=$ac_useropt
  883     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  884     case $ac_user_opts in
  885       *"
  886 "enable_$ac_useropt"
  887 "*) ;;
  888       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  889      ac_unrecognized_sep=', ';;
  890     esac
  891     eval enable_$ac_useropt=no ;;
  892 
  893   -docdir | --docdir | --docdi | --doc | --do)
  894     ac_prev=docdir ;;
  895   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  896     docdir=$ac_optarg ;;
  897 
  898   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  899     ac_prev=dvidir ;;
  900   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  901     dvidir=$ac_optarg ;;
  902 
  903   -enable-* | --enable-*)
  904     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  905     # Reject names that are not valid shell variable names.
  906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  907       as_fn_error $? "invalid feature name: $ac_useropt"
  908     ac_useropt_orig=$ac_useropt
  909     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  910     case $ac_user_opts in
  911       *"
  912 "enable_$ac_useropt"
  913 "*) ;;
  914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  915      ac_unrecognized_sep=', ';;
  916     esac
  917     eval enable_$ac_useropt=\$ac_optarg ;;
  918 
  919   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  920   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  921   | --exec | --exe | --ex)
  922     ac_prev=exec_prefix ;;
  923   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  924   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  925   | --exec=* | --exe=* | --ex=*)
  926     exec_prefix=$ac_optarg ;;
  927 
  928   -gas | --gas | --ga | --g)
  929     # Obsolete; use --with-gas.
  930     with_gas=yes ;;
  931 
  932   -help | --help | --hel | --he | -h)
  933     ac_init_help=long ;;
  934   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  935     ac_init_help=recursive ;;
  936   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  937     ac_init_help=short ;;
  938 
  939   -host | --host | --hos | --ho)
  940     ac_prev=host_alias ;;
  941   -host=* | --host=* | --hos=* | --ho=*)
  942     host_alias=$ac_optarg ;;
  943 
  944   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  945     ac_prev=htmldir ;;
  946   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  947   | --ht=*)
  948     htmldir=$ac_optarg ;;
  949 
  950   -includedir | --includedir | --includedi | --included | --include \
  951   | --includ | --inclu | --incl | --inc)
  952     ac_prev=includedir ;;
  953   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  954   | --includ=* | --inclu=* | --incl=* | --inc=*)
  955     includedir=$ac_optarg ;;
  956 
  957   -infodir | --infodir | --infodi | --infod | --info | --inf)
  958     ac_prev=infodir ;;
  959   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  960     infodir=$ac_optarg ;;
  961 
  962   -libdir | --libdir | --libdi | --libd)
  963     ac_prev=libdir ;;
  964   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  965     libdir=$ac_optarg ;;
  966 
  967   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  968   | --libexe | --libex | --libe)
  969     ac_prev=libexecdir ;;
  970   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  971   | --libexe=* | --libex=* | --libe=*)
  972     libexecdir=$ac_optarg ;;
  973 
  974   -localedir | --localedir | --localedi | --localed | --locale)
  975     ac_prev=localedir ;;
  976   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  977     localedir=$ac_optarg ;;
  978 
  979   -localstatedir | --localstatedir | --localstatedi | --localstated \
  980   | --localstate | --localstat | --localsta | --localst | --locals)
  981     ac_prev=localstatedir ;;
  982   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  983   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  984     localstatedir=$ac_optarg ;;
  985 
  986   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  987     ac_prev=mandir ;;
  988   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  989     mandir=$ac_optarg ;;
  990 
  991   -nfp | --nfp | --nf)
  992     # Obsolete; use --without-fp.
  993     with_fp=no ;;
  994 
  995   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  996   | --no-cr | --no-c | -n)
  997     no_create=yes ;;
  998 
  999   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1000   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1001     no_recursion=yes ;;
 1002 
 1003   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1004   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1005   | --oldin | --oldi | --old | --ol | --o)
 1006     ac_prev=oldincludedir ;;
 1007   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1008   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1009   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1010     oldincludedir=$ac_optarg ;;
 1011 
 1012   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1013     ac_prev=prefix ;;
 1014   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1015     prefix=$ac_optarg ;;
 1016 
 1017   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1018   | --program-pre | --program-pr | --program-p)
 1019     ac_prev=program_prefix ;;
 1020   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1021   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1022     program_prefix=$ac_optarg ;;
 1023 
 1024   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1025   | --program-suf | --program-su | --program-s)
 1026     ac_prev=program_suffix ;;
 1027   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1028   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1029     program_suffix=$ac_optarg ;;
 1030 
 1031   -program-transform-name | --program-transform-name \
 1032   | --program-transform-nam | --program-transform-na \
 1033   | --program-transform-n | --program-transform- \
 1034   | --program-transform | --program-transfor \
 1035   | --program-transfo | --program-transf \
 1036   | --program-trans | --program-tran \
 1037   | --progr-tra | --program-tr | --program-t)
 1038     ac_prev=program_transform_name ;;
 1039   -program-transform-name=* | --program-transform-name=* \
 1040   | --program-transform-nam=* | --program-transform-na=* \
 1041   | --program-transform-n=* | --program-transform-=* \
 1042   | --program-transform=* | --program-transfor=* \
 1043   | --program-transfo=* | --program-transf=* \
 1044   | --program-trans=* | --program-tran=* \
 1045   | --progr-tra=* | --program-tr=* | --program-t=*)
 1046     program_transform_name=$ac_optarg ;;
 1047 
 1048   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1049     ac_prev=pdfdir ;;
 1050   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1051     pdfdir=$ac_optarg ;;
 1052 
 1053   -psdir | --psdir | --psdi | --psd | --ps)
 1054     ac_prev=psdir ;;
 1055   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1056     psdir=$ac_optarg ;;
 1057 
 1058   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1059   | -silent | --silent | --silen | --sile | --sil)
 1060     silent=yes ;;
 1061 
 1062   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1063   | --runstate | --runstat | --runsta | --runst | --runs \
 1064   | --run | --ru | --r)
 1065     ac_prev=runstatedir ;;
 1066   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1067   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1068   | --run=* | --ru=* | --r=*)
 1069     runstatedir=$ac_optarg ;;
 1070 
 1071   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1072     ac_prev=sbindir ;;
 1073   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1074   | --sbi=* | --sb=*)
 1075     sbindir=$ac_optarg ;;
 1076 
 1077   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1078   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1079   | --sharedst | --shareds | --shared | --share | --shar \
 1080   | --sha | --sh)
 1081     ac_prev=sharedstatedir ;;
 1082   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1083   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1084   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1085   | --sha=* | --sh=*)
 1086     sharedstatedir=$ac_optarg ;;
 1087 
 1088   -site | --site | --sit)
 1089     ac_prev=site ;;
 1090   -site=* | --site=* | --sit=*)
 1091     site=$ac_optarg ;;
 1092 
 1093   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1094     ac_prev=srcdir ;;
 1095   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1096     srcdir=$ac_optarg ;;
 1097 
 1098   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1099   | --syscon | --sysco | --sysc | --sys | --sy)
 1100     ac_prev=sysconfdir ;;
 1101   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1102   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1103     sysconfdir=$ac_optarg ;;
 1104 
 1105   -target | --target | --targe | --targ | --tar | --ta | --t)
 1106     ac_prev=target_alias ;;
 1107   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1108     target_alias=$ac_optarg ;;
 1109 
 1110   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1111     verbose=yes ;;
 1112 
 1113   -version | --version | --versio | --versi | --vers | -V)
 1114     ac_init_version=: ;;
 1115 
 1116   -with-* | --with-*)
 1117     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1118     # Reject names that are not valid shell variable names.
 1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1120       as_fn_error $? "invalid package name: $ac_useropt"
 1121     ac_useropt_orig=$ac_useropt
 1122     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1123     case $ac_user_opts in
 1124       *"
 1125 "with_$ac_useropt"
 1126 "*) ;;
 1127       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1128      ac_unrecognized_sep=', ';;
 1129     esac
 1130     eval with_$ac_useropt=\$ac_optarg ;;
 1131 
 1132   -without-* | --without-*)
 1133     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1134     # Reject names that are not valid shell variable names.
 1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1136       as_fn_error $? "invalid package name: $ac_useropt"
 1137     ac_useropt_orig=$ac_useropt
 1138     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1139     case $ac_user_opts in
 1140       *"
 1141 "with_$ac_useropt"
 1142 "*) ;;
 1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1144      ac_unrecognized_sep=', ';;
 1145     esac
 1146     eval with_$ac_useropt=no ;;
 1147 
 1148   --x)
 1149     # Obsolete; use --with-x.
 1150     with_x=yes ;;
 1151 
 1152   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1153   | --x-incl | --x-inc | --x-in | --x-i)
 1154     ac_prev=x_includes ;;
 1155   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1156   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1157     x_includes=$ac_optarg ;;
 1158 
 1159   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1160   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1161     ac_prev=x_libraries ;;
 1162   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1163   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1164     x_libraries=$ac_optarg ;;
 1165 
 1166   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1167 Try \`$0 --help' for more information"
 1168     ;;
 1169 
 1170   *=*)
 1171     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1172     # Reject names that are not valid shell variable names.
 1173     case $ac_envvar in #(
 1174       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1175       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1176     esac
 1177     eval $ac_envvar=\$ac_optarg
 1178     export $ac_envvar ;;
 1179 
 1180   *)
 1181     # FIXME: should be removed in autoconf 3.0.
 1182     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1183     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1184       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1185     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1186     ;;
 1187 
 1188   esac
 1189 done
 1190 
 1191 if test -n "$ac_prev"; then
 1192   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1193   as_fn_error $? "missing argument to $ac_option"
 1194 fi
 1195 
 1196 if test -n "$ac_unrecognized_opts"; then
 1197   case $enable_option_checking in
 1198     no) ;;
 1199     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1200     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1201   esac
 1202 fi
 1203 
 1204 # Check all directory arguments for consistency.
 1205 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1206         datadir sysconfdir sharedstatedir localstatedir includedir \
 1207         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1208         libdir localedir mandir runstatedir
 1209 do
 1210   eval ac_val=\$$ac_var
 1211   # Remove trailing slashes.
 1212   case $ac_val in
 1213     */ )
 1214       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1215       eval $ac_var=\$ac_val;;
 1216   esac
 1217   # Be sure to have absolute directory names.
 1218   case $ac_val in
 1219     [\\/$]* | ?:[\\/]* )  continue;;
 1220     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1221   esac
 1222   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1223 done
 1224 
 1225 # There might be people who depend on the old broken behavior: `$host'
 1226 # used to hold the argument of --host etc.
 1227 # FIXME: To remove some day.
 1228 build=$build_alias
 1229 host=$host_alias
 1230 target=$target_alias
 1231 
 1232 # FIXME: To remove some day.
 1233 if test "x$host_alias" != x; then
 1234   if test "x$build_alias" = x; then
 1235     cross_compiling=maybe
 1236   elif test "x$build_alias" != "x$host_alias"; then
 1237     cross_compiling=yes
 1238   fi
 1239 fi
 1240 
 1241 ac_tool_prefix=
 1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1243 
 1244 test "$silent" = yes && exec 6>/dev/null
 1245 
 1246 
 1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1248 ac_ls_di=`ls -di .` &&
 1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1250   as_fn_error $? "working directory cannot be determined"
 1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1252   as_fn_error $? "pwd does not report name of working directory"
 1253 
 1254 
 1255 # Find the source files, if location was not specified.
 1256 if test -z "$srcdir"; then
 1257   ac_srcdir_defaulted=yes
 1258   # Try the directory containing this script, then the parent directory.
 1259   ac_confdir=`$as_dirname -- "$as_myself" ||
 1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1261      X"$as_myself" : 'X\(//\)[^/]' \| \
 1262      X"$as_myself" : 'X\(//\)$' \| \
 1263      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1264 $as_echo X"$as_myself" |
 1265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1266         s//\1/
 1267         q
 1268       }
 1269       /^X\(\/\/\)[^/].*/{
 1270         s//\1/
 1271         q
 1272       }
 1273       /^X\(\/\/\)$/{
 1274         s//\1/
 1275         q
 1276       }
 1277       /^X\(\/\).*/{
 1278         s//\1/
 1279         q
 1280       }
 1281       s/.*/./; q'`
 1282   srcdir=$ac_confdir
 1283   if test ! -r "$srcdir/$ac_unique_file"; then
 1284     srcdir=..
 1285   fi
 1286 else
 1287   ac_srcdir_defaulted=no
 1288 fi
 1289 if test ! -r "$srcdir/$ac_unique_file"; then
 1290   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1291   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1292 fi
 1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1294 ac_abs_confdir=`(
 1295     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1296     pwd)`
 1297 # When building in place, set srcdir=.
 1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1299   srcdir=.
 1300 fi
 1301 # Remove unnecessary trailing slashes from srcdir.
 1302 # Double slashes in file names in object file debugging info
 1303 # mess up M-x gdb in Emacs.
 1304 case $srcdir in
 1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1306 esac
 1307 for ac_var in $ac_precious_vars; do
 1308   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1309   eval ac_env_${ac_var}_value=\$${ac_var}
 1310   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1311   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1312 done
 1313 
 1314 #
 1315 # Report the --help message.
 1316 #
 1317 if test "$ac_init_help" = "long"; then
 1318   # Omit some internal or obsolete options to make the list less imposing.
 1319   # This message is too long to be a string in the A/UX 3.1 sh.
 1320   cat <<_ACEOF
 1321 \`configure' configures littleutils 1.2.4 to adapt to many kinds of systems.
 1322 
 1323 Usage: $0 [OPTION]... [VAR=VALUE]...
 1324 
 1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1326 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1327 
 1328 Defaults for the options are specified in brackets.
 1329 
 1330 Configuration:
 1331   -h, --help              display this help and exit
 1332       --help=short        display options specific to this package
 1333       --help=recursive    display the short help of all the included packages
 1334   -V, --version           display version information and exit
 1335   -q, --quiet, --silent   do not print \`checking ...' messages
 1336       --cache-file=FILE   cache test results in FILE [disabled]
 1337   -C, --config-cache      alias for \`--cache-file=config.cache'
 1338   -n, --no-create         do not create output files
 1339       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1340 
 1341 Installation directories:
 1342   --prefix=PREFIX         install architecture-independent files in PREFIX
 1343                           [$ac_default_prefix]
 1344   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1345                           [PREFIX]
 1346 
 1347 By default, \`make install' will install all the files in
 1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1350 for instance \`--prefix=\$HOME'.
 1351 
 1352 For better control, use the options below.
 1353 
 1354 Fine tuning of the installation directories:
 1355   --bindir=DIR            user executables [EPREFIX/bin]
 1356   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1357   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1358   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1359   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1360   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1361   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1362   --libdir=DIR            object code libraries [EPREFIX/lib]
 1363   --includedir=DIR        C header files [PREFIX/include]
 1364   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1365   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1366   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1367   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1368   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1369   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1370   --docdir=DIR            documentation root [DATAROOTDIR/doc/littleutils]
 1371   --htmldir=DIR           html documentation [DOCDIR]
 1372   --dvidir=DIR            dvi documentation [DOCDIR]
 1373   --pdfdir=DIR            pdf documentation [DOCDIR]
 1374   --psdir=DIR             ps documentation [DOCDIR]
 1375 _ACEOF
 1376 
 1377   cat <<\_ACEOF
 1378 
 1379 System types:
 1380   --build=BUILD     configure for building on BUILD [guessed]
 1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1382 _ACEOF
 1383 fi
 1384 
 1385 if test -n "$ac_init_help"; then
 1386   case $ac_init_help in
 1387      short | recursive ) echo "Configuration of littleutils 1.2.4:";;
 1388    esac
 1389   cat <<\_ACEOF
 1390 
 1391 Optional Features:
 1392   --disable-option-checking  ignore unrecognized --enable/--with options
 1393   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1394   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1395   --disable-largefile     omit support for large files
 1396 
 1397 Some influential environment variables:
 1398   CC          C compiler command
 1399   CFLAGS      C compiler flags
 1400   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1401               nonstandard directory <lib dir>
 1402   LIBS        libraries to pass to the linker, e.g. -l<library>
 1403   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1404               you have headers in a nonstandard directory <include dir>
 1405   CPP         C preprocessor
 1406 
 1407 Use these variables to override the choices made by `configure' or to help
 1408 it to find libraries and programs with nonstandard names/locations.
 1409 
 1410 Report bugs to the package provider.
 1411 _ACEOF
 1412 ac_status=$?
 1413 fi
 1414 
 1415 if test "$ac_init_help" = "recursive"; then
 1416   # If there are subdirs, report their specific --help.
 1417   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1418     test -d "$ac_dir" ||
 1419       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1420       continue
 1421     ac_builddir=.
 1422 
 1423 case "$ac_dir" in
 1424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1425 *)
 1426   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1427   # A ".." for each directory in $ac_dir_suffix.
 1428   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1429   case $ac_top_builddir_sub in
 1430   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1431   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1432   esac ;;
 1433 esac
 1434 ac_abs_top_builddir=$ac_pwd
 1435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1436 # for backward compatibility:
 1437 ac_top_builddir=$ac_top_build_prefix
 1438 
 1439 case $srcdir in
 1440   .)  # We are building in place.
 1441     ac_srcdir=.
 1442     ac_top_srcdir=$ac_top_builddir_sub
 1443     ac_abs_top_srcdir=$ac_pwd ;;
 1444   [\\/]* | ?:[\\/]* )  # Absolute name.
 1445     ac_srcdir=$srcdir$ac_dir_suffix;
 1446     ac_top_srcdir=$srcdir
 1447     ac_abs_top_srcdir=$srcdir ;;
 1448   *) # Relative name.
 1449     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1450     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1451     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1452 esac
 1453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1454 
 1455     cd "$ac_dir" || { ac_status=$?; continue; }
 1456     # Check for guested configure.
 1457     if test -f "$ac_srcdir/configure.gnu"; then
 1458       echo &&
 1459       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1460     elif test -f "$ac_srcdir/configure"; then
 1461       echo &&
 1462       $SHELL "$ac_srcdir/configure" --help=recursive
 1463     else
 1464       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1465     fi || ac_status=$?
 1466     cd "$ac_pwd" || { ac_status=$?; break; }
 1467   done
 1468 fi
 1469 
 1470 test -n "$ac_init_help" && exit $ac_status
 1471 if $ac_init_version; then
 1472   cat <<\_ACEOF
 1473 littleutils configure 1.2.4
 1474 generated by GNU Autoconf 2.69
 1475 
 1476 Copyright (C) 2012 Free Software Foundation, Inc.
 1477 This configure script is free software; the Free Software Foundation
 1478 gives unlimited permission to copy, distribute and modify it.
 1479 _ACEOF
 1480   exit
 1481 fi
 1482 
 1483 ## ------------------------ ##
 1484 ## Autoconf initialization. ##
 1485 ## ------------------------ ##
 1486 
 1487 # ac_fn_c_try_compile LINENO
 1488 # --------------------------
 1489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1490 ac_fn_c_try_compile ()
 1491 {
 1492   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1493   rm -f conftest.$ac_objext
 1494   if { { ac_try="$ac_compile"
 1495 case "(($ac_try" in
 1496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1497   *) ac_try_echo=$ac_try;;
 1498 esac
 1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1500 $as_echo "$ac_try_echo"; } >&5
 1501   (eval "$ac_compile") 2>conftest.err
 1502   ac_status=$?
 1503   if test -s conftest.err; then
 1504     grep -v '^ *+' conftest.err >conftest.er1
 1505     cat conftest.er1 >&5
 1506     mv -f conftest.er1 conftest.err
 1507   fi
 1508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1509   test $ac_status = 0; } && {
 1510      test -z "$ac_c_werror_flag" ||
 1511      test ! -s conftest.err
 1512        } && test -s conftest.$ac_objext; then :
 1513   ac_retval=0
 1514 else
 1515   $as_echo "$as_me: failed program was:" >&5
 1516 sed 's/^/| /' conftest.$ac_ext >&5
 1517 
 1518     ac_retval=1
 1519 fi
 1520   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1521   as_fn_set_status $ac_retval
 1522 
 1523 } # ac_fn_c_try_compile
 1524 
 1525 # ac_fn_c_try_run LINENO
 1526 # ----------------------
 1527 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1528 # that executables *can* be run.
 1529 ac_fn_c_try_run ()
 1530 {
 1531   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1532   if { { ac_try="$ac_link"
 1533 case "(($ac_try" in
 1534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1535   *) ac_try_echo=$ac_try;;
 1536 esac
 1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1538 $as_echo "$ac_try_echo"; } >&5
 1539   (eval "$ac_link") 2>&5
 1540   ac_status=$?
 1541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1542   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1543   { { case "(($ac_try" in
 1544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1545   *) ac_try_echo=$ac_try;;
 1546 esac
 1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1548 $as_echo "$ac_try_echo"; } >&5
 1549   (eval "$ac_try") 2>&5
 1550   ac_status=$?
 1551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1552   test $ac_status = 0; }; }; then :
 1553   ac_retval=0
 1554 else
 1555   $as_echo "$as_me: program exited with status $ac_status" >&5
 1556        $as_echo "$as_me: failed program was:" >&5
 1557 sed 's/^/| /' conftest.$ac_ext >&5
 1558 
 1559        ac_retval=$ac_status
 1560 fi
 1561   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1563   as_fn_set_status $ac_retval
 1564 
 1565 } # ac_fn_c_try_run
 1566 
 1567 # ac_fn_c_try_cpp LINENO
 1568 # ----------------------
 1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1570 ac_fn_c_try_cpp ()
 1571 {
 1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1573   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1574 case "(($ac_try" in
 1575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1576   *) ac_try_echo=$ac_try;;
 1577 esac
 1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1579 $as_echo "$ac_try_echo"; } >&5
 1580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1581   ac_status=$?
 1582   if test -s conftest.err; then
 1583     grep -v '^ *+' conftest.err >conftest.er1
 1584     cat conftest.er1 >&5
 1585     mv -f conftest.er1 conftest.err
 1586   fi
 1587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1588   test $ac_status = 0; } > conftest.i && {
 1589      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1590      test ! -s conftest.err
 1591        }; then :
 1592   ac_retval=0
 1593 else
 1594   $as_echo "$as_me: failed program was:" >&5
 1595 sed 's/^/| /' conftest.$ac_ext >&5
 1596 
 1597     ac_retval=1
 1598 fi
 1599   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1600   as_fn_set_status $ac_retval
 1601 
 1602 } # ac_fn_c_try_cpp
 1603 
 1604 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1605 # -------------------------------------------------------
 1606 # Tests whether HEADER exists and can be compiled using the include files in
 1607 # INCLUDES, setting the cache variable VAR accordingly.
 1608 ac_fn_c_check_header_compile ()
 1609 {
 1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1612 $as_echo_n "checking for $2... " >&6; }
 1613 if eval \${$3+:} false; then :
 1614   $as_echo_n "(cached) " >&6
 1615 else
 1616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1617 /* end confdefs.h.  */
 1618 $4
 1619 #include <$2>
 1620 _ACEOF
 1621 if ac_fn_c_try_compile "$LINENO"; then :
 1622   eval "$3=yes"
 1623 else
 1624   eval "$3=no"
 1625 fi
 1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1627 fi
 1628 eval ac_res=\$$3
 1629            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1630 $as_echo "$ac_res" >&6; }
 1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1632 
 1633 } # ac_fn_c_check_header_compile
 1634 
 1635 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1636 # -------------------------------------------------------
 1637 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1638 # the include files in INCLUDES and setting the cache variable VAR
 1639 # accordingly.
 1640 ac_fn_c_check_header_mongrel ()
 1641 {
 1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1643   if eval \${$3+:} false; then :
 1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1645 $as_echo_n "checking for $2... " >&6; }
 1646 if eval \${$3+:} false; then :
 1647   $as_echo_n "(cached) " >&6
 1648 fi
 1649 eval ac_res=\$$3
 1650            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1651 $as_echo "$ac_res" >&6; }
 1652 else
 1653   # Is the header compilable?
 1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1655 $as_echo_n "checking $2 usability... " >&6; }
 1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1657 /* end confdefs.h.  */
 1658 $4
 1659 #include <$2>
 1660 _ACEOF
 1661 if ac_fn_c_try_compile "$LINENO"; then :
 1662   ac_header_compiler=yes
 1663 else
 1664   ac_header_compiler=no
 1665 fi
 1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1668 $as_echo "$ac_header_compiler" >&6; }
 1669 
 1670 # Is the header present?
 1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1672 $as_echo_n "checking $2 presence... " >&6; }
 1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1674 /* end confdefs.h.  */
 1675 #include <$2>
 1676 _ACEOF
 1677 if ac_fn_c_try_cpp "$LINENO"; then :
 1678   ac_header_preproc=yes
 1679 else
 1680   ac_header_preproc=no
 1681 fi
 1682 rm -f conftest.err conftest.i conftest.$ac_ext
 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1684 $as_echo "$ac_header_preproc" >&6; }
 1685 
 1686 # So?  What about this header?
 1687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1688   yes:no: )
 1689     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1690 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1691     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1692 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1693     ;;
 1694   no:yes:* )
 1695     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1696 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1697     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1698 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1700 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1701     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1702 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1705     ;;
 1706 esac
 1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1708 $as_echo_n "checking for $2... " >&6; }
 1709 if eval \${$3+:} false; then :
 1710   $as_echo_n "(cached) " >&6
 1711 else
 1712   eval "$3=\$ac_header_compiler"
 1713 fi
 1714 eval ac_res=\$$3
 1715            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1716 $as_echo "$ac_res" >&6; }
 1717 fi
 1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1719 
 1720 } # ac_fn_c_check_header_mongrel
 1721 
 1722 # ac_fn_c_try_link LINENO
 1723 # -----------------------
 1724 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1725 ac_fn_c_try_link ()
 1726 {
 1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1728   rm -f conftest.$ac_objext conftest$ac_exeext
 1729   if { { ac_try="$ac_link"
 1730 case "(($ac_try" in
 1731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1732   *) ac_try_echo=$ac_try;;
 1733 esac
 1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1735 $as_echo "$ac_try_echo"; } >&5
 1736   (eval "$ac_link") 2>conftest.err
 1737   ac_status=$?
 1738   if test -s conftest.err; then
 1739     grep -v '^ *+' conftest.err >conftest.er1
 1740     cat conftest.er1 >&5
 1741     mv -f conftest.er1 conftest.err
 1742   fi
 1743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1744   test $ac_status = 0; } && {
 1745      test -z "$ac_c_werror_flag" ||
 1746      test ! -s conftest.err
 1747        } && test -s conftest$ac_exeext && {
 1748      test "$cross_compiling" = yes ||
 1749      test -x conftest$ac_exeext
 1750        }; then :
 1751   ac_retval=0
 1752 else
 1753   $as_echo "$as_me: failed program was:" >&5
 1754 sed 's/^/| /' conftest.$ac_ext >&5
 1755 
 1756     ac_retval=1
 1757 fi
 1758   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1759   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1760   # interfere with the next link command; also delete a directory that is
 1761   # left behind by Apple's compiler.  We do this before executing the actions.
 1762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1764   as_fn_set_status $ac_retval
 1765 
 1766 } # ac_fn_c_try_link
 1767 
 1768 # ac_fn_c_check_func LINENO FUNC VAR
 1769 # ----------------------------------
 1770 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1771 ac_fn_c_check_func ()
 1772 {
 1773   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1775 $as_echo_n "checking for $2... " >&6; }
 1776 if eval \${$3+:} false; then :
 1777   $as_echo_n "(cached) " >&6
 1778 else
 1779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1780 /* end confdefs.h.  */
 1781 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1783 #define $2 innocuous_$2
 1784 
 1785 /* System header to define __stub macros and hopefully few prototypes,
 1786     which can conflict with char $2 (); below.
 1787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1788     <limits.h> exists even on freestanding compilers.  */
 1789 
 1790 #ifdef __STDC__
 1791 # include <limits.h>
 1792 #else
 1793 # include <assert.h>
 1794 #endif
 1795 
 1796 #undef $2
 1797 
 1798 /* Override any GCC internal prototype to avoid an error.
 1799    Use char because int might match the return type of a GCC
 1800    builtin and then its argument prototype would still apply.  */
 1801 #ifdef __cplusplus
 1802 extern "C"
 1803 #endif
 1804 char $2 ();
 1805 /* The GNU C library defines this for functions which it implements
 1806     to always fail with ENOSYS.  Some functions are actually named
 1807     something starting with __ and the normal name is an alias.  */
 1808 #if defined __stub_$2 || defined __stub___$2
 1809 choke me
 1810 #endif
 1811 
 1812 int
 1813 main ()
 1814 {
 1815 return $2 ();
 1816   ;
 1817   return 0;
 1818 }
 1819 _ACEOF
 1820 if ac_fn_c_try_link "$LINENO"; then :
 1821   eval "$3=yes"
 1822 else
 1823   eval "$3=no"
 1824 fi
 1825 rm -f core conftest.err conftest.$ac_objext \
 1826     conftest$ac_exeext conftest.$ac_ext
 1827 fi
 1828 eval ac_res=\$$3
 1829            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1830 $as_echo "$ac_res" >&6; }
 1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1832 
 1833 } # ac_fn_c_check_func
 1834 
 1835 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 1836 # ----------------------------------------------------
 1837 # Tries to find if the field MEMBER exists in type AGGR, after including
 1838 # INCLUDES, setting cache variable VAR accordingly.
 1839 ac_fn_c_check_member ()
 1840 {
 1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 1843 $as_echo_n "checking for $2.$3... " >&6; }
 1844 if eval \${$4+:} false; then :
 1845   $as_echo_n "(cached) " >&6
 1846 else
 1847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1848 /* end confdefs.h.  */
 1849 $5
 1850 int
 1851 main ()
 1852 {
 1853 static $2 ac_aggr;
 1854 if (ac_aggr.$3)
 1855 return 0;
 1856   ;
 1857   return 0;
 1858 }
 1859 _ACEOF
 1860 if ac_fn_c_try_compile "$LINENO"; then :
 1861   eval "$4=yes"
 1862 else
 1863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1864 /* end confdefs.h.  */
 1865 $5
 1866 int
 1867 main ()
 1868 {
 1869 static $2 ac_aggr;
 1870 if (sizeof ac_aggr.$3)
 1871 return 0;
 1872   ;
 1873   return 0;
 1874 }
 1875 _ACEOF
 1876 if ac_fn_c_try_compile "$LINENO"; then :
 1877   eval "$4=yes"
 1878 else
 1879   eval "$4=no"
 1880 fi
 1881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1882 fi
 1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1884 fi
 1885 eval ac_res=\$$4
 1886            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1887 $as_echo "$ac_res" >&6; }
 1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1889 
 1890 } # ac_fn_c_check_member
 1891 cat >config.log <<_ACEOF
 1892 This file contains any messages produced by compilers while
 1893 running configure, to aid debugging if configure makes a mistake.
 1894 
 1895 It was created by littleutils $as_me 1.2.4, which was
 1896 generated by GNU Autoconf 2.69.  Invocation command line was
 1897 
 1898   $ $0 $@
 1899 
 1900 _ACEOF
 1901 exec 5>>config.log
 1902 {
 1903 cat <<_ASUNAME
 1904 ## --------- ##
 1905 ## Platform. ##
 1906 ## --------- ##
 1907 
 1908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1913 
 1914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1915 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1916 
 1917 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1918 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1920 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1921 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1922 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1923 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1924 
 1925 _ASUNAME
 1926 
 1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1928 for as_dir in $PATH
 1929 do
 1930   IFS=$as_save_IFS
 1931   test -z "$as_dir" && as_dir=.
 1932     $as_echo "PATH: $as_dir"
 1933   done
 1934 IFS=$as_save_IFS
 1935 
 1936 } >&5
 1937 
 1938 cat >&5 <<_ACEOF
 1939 
 1940 
 1941 ## ----------- ##
 1942 ## Core tests. ##
 1943 ## ----------- ##
 1944 
 1945 _ACEOF
 1946 
 1947 
 1948 # Keep a trace of the command line.
 1949 # Strip out --no-create and --no-recursion so they do not pile up.
 1950 # Strip out --silent because we don't want to record it for future runs.
 1951 # Also quote any args containing shell meta-characters.
 1952 # Make two passes to allow for proper duplicate-argument suppression.
 1953 ac_configure_args=
 1954 ac_configure_args0=
 1955 ac_configure_args1=
 1956 ac_must_keep_next=false
 1957 for ac_pass in 1 2
 1958 do
 1959   for ac_arg
 1960   do
 1961     case $ac_arg in
 1962     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1963     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1964     | -silent | --silent | --silen | --sile | --sil)
 1965       continue ;;
 1966     *\'*)
 1967       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1968     esac
 1969     case $ac_pass in
 1970     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 1971     2)
 1972       as_fn_append ac_configure_args1 " '$ac_arg'"
 1973       if test $ac_must_keep_next = true; then
 1974     ac_must_keep_next=false # Got value, back to normal.
 1975       else
 1976     case $ac_arg in
 1977       *=* | --config-cache | -C | -disable-* | --disable-* \
 1978       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1979       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1980       | -with-* | --with-* | -without-* | --without-* | --x)
 1981         case "$ac_configure_args0 " in
 1982           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1983         esac
 1984         ;;
 1985       -* ) ac_must_keep_next=true ;;
 1986     esac
 1987       fi
 1988       as_fn_append ac_configure_args " '$ac_arg'"
 1989       ;;
 1990     esac
 1991   done
 1992 done
 1993 { ac_configure_args0=; unset ac_configure_args0;}
 1994 { ac_configure_args1=; unset ac_configure_args1;}
 1995 
 1996 # When interrupted or exit'd, cleanup temporary files, and complete
 1997 # config.log.  We remove comments because anyway the quotes in there
 1998 # would cause problems or look ugly.
 1999 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2001 trap 'exit_status=$?
 2002   # Save into config.log some information that might help in debugging.
 2003   {
 2004     echo
 2005 
 2006     $as_echo "## ---------------- ##
 2007 ## Cache variables. ##
 2008 ## ---------------- ##"
 2009     echo
 2010     # The following way of writing the cache mishandles newlines in values,
 2011 (
 2012   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2013     eval ac_val=\$$ac_var
 2014     case $ac_val in #(
 2015     *${as_nl}*)
 2016       case $ac_var in #(
 2017       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2019       esac
 2020       case $ac_var in #(
 2021       _ | IFS | as_nl) ;; #(
 2022       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2023       *) { eval $ac_var=; unset $ac_var;} ;;
 2024       esac ;;
 2025     esac
 2026   done
 2027   (set) 2>&1 |
 2028     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2029     *${as_nl}ac_space=\ *)
 2030       sed -n \
 2031     "s/'\''/'\''\\\\'\'''\''/g;
 2032       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2033       ;; #(
 2034     *)
 2035       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2036       ;;
 2037     esac |
 2038     sort
 2039 )
 2040     echo
 2041 
 2042     $as_echo "## ----------------- ##
 2043 ## Output variables. ##
 2044 ## ----------------- ##"
 2045     echo
 2046     for ac_var in $ac_subst_vars
 2047     do
 2048       eval ac_val=\$$ac_var
 2049       case $ac_val in
 2050       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2051       esac
 2052       $as_echo "$ac_var='\''$ac_val'\''"
 2053     done | sort
 2054     echo
 2055 
 2056     if test -n "$ac_subst_files"; then
 2057       $as_echo "## ------------------- ##
 2058 ## File substitutions. ##
 2059 ## ------------------- ##"
 2060       echo
 2061       for ac_var in $ac_subst_files
 2062       do
 2063     eval ac_val=\$$ac_var
 2064     case $ac_val in
 2065     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2066     esac
 2067     $as_echo "$ac_var='\''$ac_val'\''"
 2068       done | sort
 2069       echo
 2070     fi
 2071 
 2072     if test -s confdefs.h; then
 2073       $as_echo "## ----------- ##
 2074 ## confdefs.h. ##
 2075 ## ----------- ##"
 2076       echo
 2077       cat confdefs.h
 2078       echo
 2079     fi
 2080     test "$ac_signal" != 0 &&
 2081       $as_echo "$as_me: caught signal $ac_signal"
 2082     $as_echo "$as_me: exit $exit_status"
 2083   } >&5
 2084   rm -f core *.core core.conftest.* &&
 2085     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2086     exit $exit_status
 2087 ' 0
 2088 for ac_signal in 1 2 13 15; do
 2089   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2090 done
 2091 ac_signal=0
 2092 
 2093 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2094 rm -f -r conftest* confdefs.h
 2095 
 2096 $as_echo "/* confdefs.h */" > confdefs.h
 2097 
 2098 # Predefined preprocessor variables.
 2099 
 2100 cat >>confdefs.h <<_ACEOF
 2101 #define PACKAGE_NAME "$PACKAGE_NAME"
 2102 _ACEOF
 2103 
 2104 cat >>confdefs.h <<_ACEOF
 2105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2106 _ACEOF
 2107 
 2108 cat >>confdefs.h <<_ACEOF
 2109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2110 _ACEOF
 2111 
 2112 cat >>confdefs.h <<_ACEOF
 2113 #define PACKAGE_STRING "$PACKAGE_STRING"
 2114 _ACEOF
 2115 
 2116 cat >>confdefs.h <<_ACEOF
 2117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2118 _ACEOF
 2119 
 2120 cat >>confdefs.h <<_ACEOF
 2121 #define PACKAGE_URL "$PACKAGE_URL"
 2122 _ACEOF
 2123 
 2124 
 2125 # Let the site file select an alternate cache file if it wants to.
 2126 # Prefer an explicitly selected file to automatically selected ones.
 2127 ac_site_file1=NONE
 2128 ac_site_file2=NONE
 2129 if test -n "$CONFIG_SITE"; then
 2130   # We do not want a PATH search for config.site.
 2131   case $CONFIG_SITE in #((
 2132     -*)  ac_site_file1=./$CONFIG_SITE;;
 2133     */*) ac_site_file1=$CONFIG_SITE;;
 2134     *)   ac_site_file1=./$CONFIG_SITE;;
 2135   esac
 2136 elif test "x$prefix" != xNONE; then
 2137   ac_site_file1=$prefix/share/config.site
 2138   ac_site_file2=$prefix/etc/config.site
 2139 else
 2140   ac_site_file1=$ac_default_prefix/share/config.site
 2141   ac_site_file2=$ac_default_prefix/etc/config.site
 2142 fi
 2143 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2144 do
 2145   test "x$ac_site_file" = xNONE && continue
 2146   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2147     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2148 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2149     sed 's/^/| /' "$ac_site_file" >&5
 2150     . "$ac_site_file" \
 2151       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2153 as_fn_error $? "failed to load site script $ac_site_file
 2154 See \`config.log' for more details" "$LINENO" 5; }
 2155   fi
 2156 done
 2157 
 2158 if test -r "$cache_file"; then
 2159   # Some versions of bash will fail to source /dev/null (special files
 2160   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2161   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2162     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2163 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2164     case $cache_file in
 2165       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2166       *)                      . "./$cache_file";;
 2167     esac
 2168   fi
 2169 else
 2170   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2171 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2172   >$cache_file
 2173 fi
 2174 
 2175 # Check that the precious variables saved in the cache have kept the same
 2176 # value.
 2177 ac_cache_corrupted=false
 2178 for ac_var in $ac_precious_vars; do
 2179   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2180   eval ac_new_set=\$ac_env_${ac_var}_set
 2181   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2182   eval ac_new_val=\$ac_env_${ac_var}_value
 2183   case $ac_old_set,$ac_new_set in
 2184     set,)
 2185       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2186 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2187       ac_cache_corrupted=: ;;
 2188     ,set)
 2189       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2190 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2191       ac_cache_corrupted=: ;;
 2192     ,);;
 2193     *)
 2194       if test "x$ac_old_val" != "x$ac_new_val"; then
 2195     # differences in whitespace do not lead to failure.
 2196     ac_old_val_w=`echo x $ac_old_val`
 2197     ac_new_val_w=`echo x $ac_new_val`
 2198     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2199       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2200 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2201       ac_cache_corrupted=:
 2202     else
 2203       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2204 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2205       eval $ac_var=\$ac_old_val
 2206     fi
 2207     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2208 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2209     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2210 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2211       fi;;
 2212   esac
 2213   # Pass precious variables to config.status.
 2214   if test "$ac_new_set" = set; then
 2215     case $ac_new_val in
 2216     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2217     *) ac_arg=$ac_var=$ac_new_val ;;
 2218     esac
 2219     case " $ac_configure_args " in
 2220       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2221       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2222     esac
 2223   fi
 2224 done
 2225 if $ac_cache_corrupted; then
 2226   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2228   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2229 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2230   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2231 fi
 2232 ## -------------------- ##
 2233 ## Main body of script. ##
 2234 ## -------------------- ##
 2235 
 2236 ac_ext=c
 2237 ac_cpp='$CPP $CPPFLAGS'
 2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2241 
 2242 
 2243 
 2244 
 2245 ac_aux_dir=
 2246 for ac_dir in autoconf "$srcdir"/autoconf; do
 2247   if test -f "$ac_dir/install-sh"; then
 2248     ac_aux_dir=$ac_dir
 2249     ac_install_sh="$ac_aux_dir/install-sh -c"
 2250     break
 2251   elif test -f "$ac_dir/install.sh"; then
 2252     ac_aux_dir=$ac_dir
 2253     ac_install_sh="$ac_aux_dir/install.sh -c"
 2254     break
 2255   elif test -f "$ac_dir/shtool"; then
 2256     ac_aux_dir=$ac_dir
 2257     ac_install_sh="$ac_aux_dir/shtool install -c"
 2258     break
 2259   fi
 2260 done
 2261 if test -z "$ac_aux_dir"; then
 2262   as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
 2263 fi
 2264 
 2265 # These three variables are undocumented and unsupported,
 2266 # and are intended to be withdrawn in a future Autoconf release.
 2267 # They can cause serious problems if a builder's source tree is in a directory
 2268 # whose full name contains unusual characters.
 2269 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2270 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2271 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2272 
 2273 
 2274 ac_config_headers="$ac_config_headers config.h:autoconf/config_h.in"
 2275 
 2276 
 2277 # host-cpu-c-abi.m4 serial 11
 2278 
 2279 
 2280 
 2281 
 2282 # lib-prefix.m4 serial 14
 2283 
 2284 
 2285 
 2286 
 2287 
 2288 # Make sure we can run config.sub.
 2289 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2290   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2291 
 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2293 $as_echo_n "checking build system type... " >&6; }
 2294 if ${ac_cv_build+:} false; then :
 2295   $as_echo_n "(cached) " >&6
 2296 else
 2297   ac_build_alias=$build_alias
 2298 test "x$ac_build_alias" = x &&
 2299   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2300 test "x$ac_build_alias" = x &&
 2301   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2302 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2303   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2304 
 2305 fi
 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2307 $as_echo "$ac_cv_build" >&6; }
 2308 case $ac_cv_build in
 2309 *-*-*) ;;
 2310 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2311 esac
 2312 build=$ac_cv_build
 2313 ac_save_IFS=$IFS; IFS='-'
 2314 set x $ac_cv_build
 2315 shift
 2316 build_cpu=$1
 2317 build_vendor=$2
 2318 shift; shift
 2319 # Remember, the first character of IFS is used to create $*,
 2320 # except with old shells:
 2321 build_os=$*
 2322 IFS=$ac_save_IFS
 2323 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2324 
 2325 
 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2327 $as_echo_n "checking host system type... " >&6; }
 2328 if ${ac_cv_host+:} false; then :
 2329   $as_echo_n "(cached) " >&6
 2330 else
 2331   if test "x$host_alias" = x; then
 2332   ac_cv_host=$ac_cv_build
 2333 else
 2334   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2335     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2336 fi
 2337 
 2338 fi
 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2340 $as_echo "$ac_cv_host" >&6; }
 2341 case $ac_cv_host in
 2342 *-*-*) ;;
 2343 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2344 esac
 2345 host=$ac_cv_host
 2346 ac_save_IFS=$IFS; IFS='-'
 2347 set x $ac_cv_host
 2348 shift
 2349 host_cpu=$1
 2350 host_vendor=$2
 2351 shift; shift
 2352 # Remember, the first character of IFS is used to create $*,
 2353 # except with old shells:
 2354 host_os=$*
 2355 IFS=$ac_save_IFS
 2356 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2357 
 2358 
 2359 
 2360 ac_ext=c
 2361 ac_cpp='$CPP $CPPFLAGS'
 2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2365 if test -n "$ac_tool_prefix"; then
 2366   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2367 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2369 $as_echo_n "checking for $ac_word... " >&6; }
 2370 if ${ac_cv_prog_CC+:} false; then :
 2371   $as_echo_n "(cached) " >&6
 2372 else
 2373   if test -n "$CC"; then
 2374   ac_cv_prog_CC="$CC" # Let the user override the test.
 2375 else
 2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2377 for as_dir in $PATH
 2378 do
 2379   IFS=$as_save_IFS
 2380   test -z "$as_dir" && as_dir=.
 2381     for ac_exec_ext in '' $ac_executable_extensions; do
 2382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2383     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2385     break 2
 2386   fi
 2387 done
 2388   done
 2389 IFS=$as_save_IFS
 2390 
 2391 fi
 2392 fi
 2393 CC=$ac_cv_prog_CC
 2394 if test -n "$CC"; then
 2395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2396 $as_echo "$CC" >&6; }
 2397 else
 2398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2399 $as_echo "no" >&6; }
 2400 fi
 2401 
 2402 
 2403 fi
 2404 if test -z "$ac_cv_prog_CC"; then
 2405   ac_ct_CC=$CC
 2406   # Extract the first word of "gcc", so it can be a program name with args.
 2407 set dummy gcc; ac_word=$2
 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2409 $as_echo_n "checking for $ac_word... " >&6; }
 2410 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2411   $as_echo_n "(cached) " >&6
 2412 else
 2413   if test -n "$ac_ct_CC"; then
 2414   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2415 else
 2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2417 for as_dir in $PATH
 2418 do
 2419   IFS=$as_save_IFS
 2420   test -z "$as_dir" && as_dir=.
 2421     for ac_exec_ext in '' $ac_executable_extensions; do
 2422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2423     ac_cv_prog_ac_ct_CC="gcc"
 2424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2425     break 2
 2426   fi
 2427 done
 2428   done
 2429 IFS=$as_save_IFS
 2430 
 2431 fi
 2432 fi
 2433 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2434 if test -n "$ac_ct_CC"; then
 2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2436 $as_echo "$ac_ct_CC" >&6; }
 2437 else
 2438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2439 $as_echo "no" >&6; }
 2440 fi
 2441 
 2442   if test "x$ac_ct_CC" = x; then
 2443     CC=""
 2444   else
 2445     case $cross_compiling:$ac_tool_warned in
 2446 yes:)
 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2449 ac_tool_warned=yes ;;
 2450 esac
 2451     CC=$ac_ct_CC
 2452   fi
 2453 else
 2454   CC="$ac_cv_prog_CC"
 2455 fi
 2456 
 2457 if test -z "$CC"; then
 2458           if test -n "$ac_tool_prefix"; then
 2459     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2460 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2462 $as_echo_n "checking for $ac_word... " >&6; }
 2463 if ${ac_cv_prog_CC+:} false; then :
 2464   $as_echo_n "(cached) " >&6
 2465 else
 2466   if test -n "$CC"; then
 2467   ac_cv_prog_CC="$CC" # Let the user override the test.
 2468 else
 2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2470 for as_dir in $PATH
 2471 do
 2472   IFS=$as_save_IFS
 2473   test -z "$as_dir" && as_dir=.
 2474     for ac_exec_ext in '' $ac_executable_extensions; do
 2475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2476     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2478     break 2
 2479   fi
 2480 done
 2481   done
 2482 IFS=$as_save_IFS
 2483 
 2484 fi
 2485 fi
 2486 CC=$ac_cv_prog_CC
 2487 if test -n "$CC"; then
 2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2489 $as_echo "$CC" >&6; }
 2490 else
 2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2492 $as_echo "no" >&6; }
 2493 fi
 2494 
 2495 
 2496   fi
 2497 fi
 2498 if test -z "$CC"; then
 2499   # Extract the first word of "cc", so it can be a program name with args.
 2500 set dummy cc; ac_word=$2
 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2502 $as_echo_n "checking for $ac_word... " >&6; }
 2503 if ${ac_cv_prog_CC+:} false; then :
 2504   $as_echo_n "(cached) " >&6
 2505 else
 2506   if test -n "$CC"; then
 2507   ac_cv_prog_CC="$CC" # Let the user override the test.
 2508 else
 2509   ac_prog_rejected=no
 2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2511 for as_dir in $PATH
 2512 do
 2513   IFS=$as_save_IFS
 2514   test -z "$as_dir" && as_dir=.
 2515     for ac_exec_ext in '' $ac_executable_extensions; do
 2516   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2517     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2518        ac_prog_rejected=yes
 2519        continue
 2520      fi
 2521     ac_cv_prog_CC="cc"
 2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2523     break 2
 2524   fi
 2525 done
 2526   done
 2527 IFS=$as_save_IFS
 2528 
 2529 if test $ac_prog_rejected = yes; then
 2530   # We found a bogon in the path, so make sure we never use it.
 2531   set dummy $ac_cv_prog_CC
 2532   shift
 2533   if test $# != 0; then
 2534     # We chose a different compiler from the bogus one.
 2535     # However, it has the same basename, so the bogon will be chosen
 2536     # first if we set CC to just the basename; use the full file name.
 2537     shift
 2538     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2539   fi
 2540 fi
 2541 fi
 2542 fi
 2543 CC=$ac_cv_prog_CC
 2544 if test -n "$CC"; then
 2545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2546 $as_echo "$CC" >&6; }
 2547 else
 2548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2549 $as_echo "no" >&6; }
 2550 fi
 2551 
 2552 
 2553 fi
 2554 if test -z "$CC"; then
 2555   if test -n "$ac_tool_prefix"; then
 2556   for ac_prog in cl.exe
 2557   do
 2558     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2561 $as_echo_n "checking for $ac_word... " >&6; }
 2562 if ${ac_cv_prog_CC+:} false; then :
 2563   $as_echo_n "(cached) " >&6
 2564 else
 2565   if test -n "$CC"; then
 2566   ac_cv_prog_CC="$CC" # Let the user override the test.
 2567 else
 2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2569 for as_dir in $PATH
 2570 do
 2571   IFS=$as_save_IFS
 2572   test -z "$as_dir" && as_dir=.
 2573     for ac_exec_ext in '' $ac_executable_extensions; do
 2574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2575     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2577     break 2
 2578   fi
 2579 done
 2580   done
 2581 IFS=$as_save_IFS
 2582 
 2583 fi
 2584 fi
 2585 CC=$ac_cv_prog_CC
 2586 if test -n "$CC"; then
 2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2588 $as_echo "$CC" >&6; }
 2589 else
 2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2591 $as_echo "no" >&6; }
 2592 fi
 2593 
 2594 
 2595     test -n "$CC" && break
 2596   done
 2597 fi
 2598 if test -z "$CC"; then
 2599   ac_ct_CC=$CC
 2600   for ac_prog in cl.exe
 2601 do
 2602   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2603 set dummy $ac_prog; ac_word=$2
 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2605 $as_echo_n "checking for $ac_word... " >&6; }
 2606 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2607   $as_echo_n "(cached) " >&6
 2608 else
 2609   if test -n "$ac_ct_CC"; then
 2610   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2611 else
 2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2613 for as_dir in $PATH
 2614 do
 2615   IFS=$as_save_IFS
 2616   test -z "$as_dir" && as_dir=.
 2617     for ac_exec_ext in '' $ac_executable_extensions; do
 2618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2619     ac_cv_prog_ac_ct_CC="$ac_prog"
 2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2621     break 2
 2622   fi
 2623 done
 2624   done
 2625 IFS=$as_save_IFS
 2626 
 2627 fi
 2628 fi
 2629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2630 if test -n "$ac_ct_CC"; then
 2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2632 $as_echo "$ac_ct_CC" >&6; }
 2633 else
 2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2635 $as_echo "no" >&6; }
 2636 fi
 2637 
 2638 
 2639   test -n "$ac_ct_CC" && break
 2640 done
 2641 
 2642   if test "x$ac_ct_CC" = x; then
 2643     CC=""
 2644   else
 2645     case $cross_compiling:$ac_tool_warned in
 2646 yes:)
 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2649 ac_tool_warned=yes ;;
 2650 esac
 2651     CC=$ac_ct_CC
 2652   fi
 2653 fi
 2654 
 2655 fi
 2656 
 2657 
 2658 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2660 as_fn_error $? "no acceptable C compiler found in \$PATH
 2661 See \`config.log' for more details" "$LINENO" 5; }
 2662 
 2663 # Provide some information about the compiler.
 2664 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 2665 set X $ac_compile
 2666 ac_compiler=$2
 2667 for ac_option in --version -v -V -qversion; do
 2668   { { ac_try="$ac_compiler $ac_option >&5"
 2669 case "(($ac_try" in
 2670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2671   *) ac_try_echo=$ac_try;;
 2672 esac
 2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2674 $as_echo "$ac_try_echo"; } >&5
 2675   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 2676   ac_status=$?
 2677   if test -s conftest.err; then
 2678     sed '10a\
 2679 ... rest of stderr output deleted ...
 2680          10q' conftest.err >conftest.er1
 2681     cat conftest.er1 >&5
 2682   fi
 2683   rm -f conftest.er1 conftest.err
 2684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2685   test $ac_status = 0; }
 2686 done
 2687 
 2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2689 /* end confdefs.h.  */
 2690 
 2691 int
 2692 main ()
 2693 {
 2694 
 2695   ;
 2696   return 0;
 2697 }
 2698 _ACEOF
 2699 ac_clean_files_save=$ac_clean_files
 2700 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2701 # Try to create an executable without -o first, disregard a.out.
 2702 # It will help us diagnose broken compilers, and finding out an intuition
 2703 # of exeext.
 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 2705 $as_echo_n "checking whether the C compiler works... " >&6; }
 2706 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2707 
 2708 # The possible output files:
 2709 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2710 
 2711 ac_rmfiles=
 2712 for ac_file in $ac_files
 2713 do
 2714   case $ac_file in
 2715     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2716     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2717   esac
 2718 done
 2719 rm -f $ac_rmfiles
 2720 
 2721 if { { ac_try="$ac_link_default"
 2722 case "(($ac_try" in
 2723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2724   *) ac_try_echo=$ac_try;;
 2725 esac
 2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2727 $as_echo "$ac_try_echo"; } >&5
 2728   (eval "$ac_link_default") 2>&5
 2729   ac_status=$?
 2730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2731   test $ac_status = 0; }; then :
 2732   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2733 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2734 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2735 # so that the user can short-circuit this test for compilers unknown to
 2736 # Autoconf.
 2737 for ac_file in $ac_files ''
 2738 do
 2739   test -f "$ac_file" || continue
 2740   case $ac_file in
 2741     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2742     ;;
 2743     [ab].out )
 2744     # We found the default executable, but exeext='' is most
 2745     # certainly right.
 2746     break;;
 2747     *.* )
 2748     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2749     then :; else
 2750        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2751     fi
 2752     # We set ac_cv_exeext here because the later test for it is not
 2753     # safe: cross compilers may not add the suffix if given an `-o'
 2754     # argument, so we may need to know it at that point already.
 2755     # Even if this section looks crufty: it has the advantage of
 2756     # actually working.
 2757     break;;
 2758     * )
 2759     break;;
 2760   esac
 2761 done
 2762 test "$ac_cv_exeext" = no && ac_cv_exeext=
 2763 
 2764 else
 2765   ac_file=''
 2766 fi
 2767 if test -z "$ac_file"; then :
 2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2769 $as_echo "no" >&6; }
 2770 $as_echo "$as_me: failed program was:" >&5
 2771 sed 's/^/| /' conftest.$ac_ext >&5
 2772 
 2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2775 as_fn_error 77 "C compiler cannot create executables
 2776 See \`config.log' for more details" "$LINENO" 5; }
 2777 else
 2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2779 $as_echo "yes" >&6; }
 2780 fi
 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 2782 $as_echo_n "checking for C compiler default output file name... " >&6; }
 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 2784 $as_echo "$ac_file" >&6; }
 2785 ac_exeext=$ac_cv_exeext
 2786 
 2787 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2788 ac_clean_files=$ac_clean_files_save
 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 2790 $as_echo_n "checking for suffix of executables... " >&6; }
 2791 if { { ac_try="$ac_link"
 2792 case "(($ac_try" in
 2793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2794   *) ac_try_echo=$ac_try;;
 2795 esac
 2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2797 $as_echo "$ac_try_echo"; } >&5
 2798   (eval "$ac_link") 2>&5
 2799   ac_status=$?
 2800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2801   test $ac_status = 0; }; then :
 2802   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2803 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2804 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2805 # `rm'.
 2806 for ac_file in conftest.exe conftest conftest.*; do
 2807   test -f "$ac_file" || continue
 2808   case $ac_file in
 2809     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2810     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2811       break;;
 2812     * ) break;;
 2813   esac
 2814 done
 2815 else
 2816   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2818 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 2819 See \`config.log' for more details" "$LINENO" 5; }
 2820 fi
 2821 rm -f conftest conftest$ac_cv_exeext
 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 2823 $as_echo "$ac_cv_exeext" >&6; }
 2824 
 2825 rm -f conftest.$ac_ext
 2826 EXEEXT=$ac_cv_exeext
 2827 ac_exeext=$EXEEXT
 2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2829 /* end confdefs.h.  */
 2830 #include <stdio.h>
 2831 int
 2832 main ()
 2833 {
 2834 FILE *f = fopen ("conftest.out", "w");
 2835  return ferror (f) || fclose (f) != 0;
 2836 
 2837   ;
 2838   return 0;
 2839 }
 2840 _ACEOF
 2841 ac_clean_files="$ac_clean_files conftest.out"
 2842 # Check that the compiler produces executables we can run.  If not, either
 2843 # the compiler is broken, or we cross compile.
 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 2845 $as_echo_n "checking whether we are cross compiling... " >&6; }
 2846 if test "$cross_compiling" != yes; then
 2847   { { ac_try="$ac_link"
 2848 case "(($ac_try" in
 2849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2850   *) ac_try_echo=$ac_try;;
 2851 esac
 2852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2853 $as_echo "$ac_try_echo"; } >&5
 2854   (eval "$ac_link") 2>&5
 2855   ac_status=$?
 2856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2857   test $ac_status = 0; }
 2858   if { ac_try='./conftest$ac_cv_exeext'
 2859   { { case "(($ac_try" in
 2860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2861   *) ac_try_echo=$ac_try;;
 2862 esac
 2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2864 $as_echo "$ac_try_echo"; } >&5
 2865   (eval "$ac_try") 2>&5
 2866   ac_status=$?
 2867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2868   test $ac_status = 0; }; }; then
 2869     cross_compiling=no
 2870   else
 2871     if test "$cross_compiling" = maybe; then
 2872     cross_compiling=yes
 2873     else
 2874     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2876 as_fn_error $? "cannot run C compiled programs.
 2877 If you meant to cross compile, use \`--host'.
 2878 See \`config.log' for more details" "$LINENO" 5; }
 2879     fi
 2880   fi
 2881 fi
 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 2883 $as_echo "$cross_compiling" >&6; }
 2884 
 2885 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 2886 ac_clean_files=$ac_clean_files_save
 2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 2888 $as_echo_n "checking for suffix of object files... " >&6; }
 2889 if ${ac_cv_objext+:} false; then :
 2890   $as_echo_n "(cached) " >&6
 2891 else
 2892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2893 /* end confdefs.h.  */
 2894 
 2895 int
 2896 main ()
 2897 {
 2898 
 2899   ;
 2900   return 0;
 2901 }
 2902 _ACEOF
 2903 rm -f conftest.o conftest.obj
 2904 if { { ac_try="$ac_compile"
 2905 case "(($ac_try" in
 2906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2907   *) ac_try_echo=$ac_try;;
 2908 esac
 2909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2910 $as_echo "$ac_try_echo"; } >&5
 2911   (eval "$ac_compile") 2>&5
 2912   ac_status=$?
 2913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2914   test $ac_status = 0; }; then :
 2915   for ac_file in conftest.o conftest.obj conftest.*; do
 2916   test -f "$ac_file" || continue;
 2917   case $ac_file in
 2918     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 2919     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2920        break;;
 2921   esac
 2922 done
 2923 else
 2924   $as_echo "$as_me: failed program was:" >&5
 2925 sed 's/^/| /' conftest.$ac_ext >&5
 2926 
 2927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2929 as_fn_error $? "cannot compute suffix of object files: cannot compile
 2930 See \`config.log' for more details" "$LINENO" 5; }
 2931 fi
 2932 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2933 fi
 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 2935 $as_echo "$ac_cv_objext" >&6; }
 2936 OBJEXT=$ac_cv_objext
 2937 ac_objext=$OBJEXT
 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 2939 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 2940 if ${ac_cv_c_compiler_gnu+:} false; then :
 2941   $as_echo_n "(cached) " >&6
 2942 else
 2943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2944 /* end confdefs.h.  */
 2945 
 2946 int
 2947 main ()
 2948 {
 2949 #ifndef __GNUC__
 2950        choke me
 2951 #endif
 2952 
 2953   ;
 2954   return 0;
 2955 }
 2956 _ACEOF
 2957 if ac_fn_c_try_compile "$LINENO"; then :
 2958   ac_compiler_gnu=yes
 2959 else
 2960   ac_compiler_gnu=no
 2961 fi
 2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2963 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2964 
 2965 fi
 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 2967 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 2968 if test $ac_compiler_gnu = yes; then
 2969   GCC=yes
 2970 else
 2971   GCC=
 2972 fi
 2973 ac_test_CFLAGS=${CFLAGS+set}
 2974 ac_save_CFLAGS=$CFLAGS
 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 2976 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 2977 if ${ac_cv_prog_cc_g+:} false; then :
 2978   $as_echo_n "(cached) " >&6
 2979 else
 2980   ac_save_c_werror_flag=$ac_c_werror_flag
 2981    ac_c_werror_flag=yes
 2982    ac_cv_prog_cc_g=no
 2983    CFLAGS="-g"
 2984    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2985 /* end confdefs.h.  */
 2986 
 2987 int
 2988 main ()
 2989 {
 2990 
 2991   ;
 2992   return 0;
 2993 }
 2994 _ACEOF
 2995 if ac_fn_c_try_compile "$LINENO"; then :
 2996   ac_cv_prog_cc_g=yes
 2997 else
 2998   CFLAGS=""
 2999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3000 /* end confdefs.h.  */
 3001 
 3002 int
 3003 main ()
 3004 {
 3005 
 3006   ;
 3007   return 0;
 3008 }
 3009 _ACEOF
 3010 if ac_fn_c_try_compile "$LINENO"; then :
 3011 
 3012 else
 3013   ac_c_werror_flag=$ac_save_c_werror_flag
 3014      CFLAGS="-g"
 3015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3016 /* end confdefs.h.  */
 3017 
 3018 int
 3019 main ()
 3020 {
 3021 
 3022   ;
 3023   return 0;
 3024 }
 3025 _ACEOF
 3026 if ac_fn_c_try_compile "$LINENO"; then :
 3027   ac_cv_prog_cc_g=yes
 3028 fi
 3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3030 fi
 3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3032 fi
 3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3034    ac_c_werror_flag=$ac_save_c_werror_flag
 3035 fi
 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3037 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3038 if test "$ac_test_CFLAGS" = set; then
 3039   CFLAGS=$ac_save_CFLAGS
 3040 elif test $ac_cv_prog_cc_g = yes; then
 3041   if test "$GCC" = yes; then
 3042     CFLAGS="-g -O2"
 3043   else
 3044     CFLAGS="-g"
 3045   fi
 3046 else
 3047   if test "$GCC" = yes; then
 3048     CFLAGS="-O2"
 3049   else
 3050     CFLAGS=
 3051   fi
 3052 fi
 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3055 if ${ac_cv_prog_cc_c89+:} false; then :
 3056   $as_echo_n "(cached) " >&6
 3057 else
 3058   ac_cv_prog_cc_c89=no
 3059 ac_save_CC=$CC
 3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3061 /* end confdefs.h.  */
 3062 #include <stdarg.h>
 3063 #include <stdio.h>
 3064 struct stat;
 3065 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3066 struct buf { int x; };
 3067 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3068 static char *e (p, i)
 3069      char **p;
 3070      int i;
 3071 {
 3072   return p[i];
 3073 }
 3074 static char *f (char * (*g) (char **, int), char **p, ...)
 3075 {
 3076   char *s;
 3077   va_list v;
 3078   va_start (v,p);
 3079   s = g (p, va_arg (v,int));
 3080   va_end (v);
 3081   return s;
 3082 }
 3083 
 3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3085    function prototypes and stuff, but not '\xHH' hex character constants.
 3086    These don't provoke an error unfortunately, instead are silently treated
 3087    as 'x'.  The following induces an error, until -std is added to get
 3088    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3089    array size at least.  It's necessary to write '\x00'==0 to get something
 3090    that's true only with -std.  */
 3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3092 
 3093 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3094    inside strings and character constants.  */
 3095 #define FOO(x) 'x'
 3096 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3097 
 3098 int test (int i, double x);
 3099 struct s1 {int (*f) (int a);};
 3100 struct s2 {int (*f) (double a);};
 3101 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3102 int argc;
 3103 char **argv;
 3104 int
 3105 main ()
 3106 {
 3107 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3108   ;
 3109   return 0;
 3110 }
 3111 _ACEOF
 3112 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3113     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3114 do
 3115   CC="$ac_save_CC $ac_arg"
 3116   if ac_fn_c_try_compile "$LINENO"; then :
 3117   ac_cv_prog_cc_c89=$ac_arg
 3118 fi
 3119 rm -f core conftest.err conftest.$ac_objext
 3120   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3121 done
 3122 rm -f conftest.$ac_ext
 3123 CC=$ac_save_CC
 3124 
 3125 fi
 3126 # AC_CACHE_VAL
 3127 case "x$ac_cv_prog_cc_c89" in
 3128   x)
 3129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3130 $as_echo "none needed" >&6; } ;;
 3131   xno)
 3132     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3133 $as_echo "unsupported" >&6; } ;;
 3134   *)
 3135     CC="$CC $ac_cv_prog_cc_c89"
 3136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3137 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3138 esac
 3139 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3140 
 3141 fi
 3142 
 3143 ac_ext=c
 3144 ac_cpp='$CPP $CPPFLAGS'
 3145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3148 
 3149 ac_aux_dir=
 3150 for ac_dir in autoconf "$srcdir"/autoconf; do
 3151   if test -f "$ac_dir/install-sh"; then
 3152     ac_aux_dir=$ac_dir
 3153     ac_install_sh="$ac_aux_dir/install-sh -c"
 3154     break
 3155   elif test -f "$ac_dir/install.sh"; then
 3156     ac_aux_dir=$ac_dir
 3157     ac_install_sh="$ac_aux_dir/install.sh -c"
 3158     break
 3159   elif test -f "$ac_dir/shtool"; then
 3160     ac_aux_dir=$ac_dir
 3161     ac_install_sh="$ac_aux_dir/shtool install -c"
 3162     break
 3163   fi
 3164 done
 3165 if test -z "$ac_aux_dir"; then
 3166   as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
 3167 fi
 3168 
 3169 # These three variables are undocumented and unsupported,
 3170 # and are intended to be withdrawn in a future Autoconf release.
 3171 # They can cause serious problems if a builder's source tree is in a directory
 3172 # whose full name contains unusual characters.
 3173 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 3174 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 3175 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 3176 
 3177 
 3178 # Find a good install program.  We prefer a C program (faster),
 3179 # so one script is as good as another.  But avoid the broken or
 3180 # incompatible versions:
 3181 # SysV /etc/install, /usr/sbin/install
 3182 # SunOS /usr/etc/install
 3183 # IRIX /sbin/install
 3184 # AIX /bin/install
 3185 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3186 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3187 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3188 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3189 # OS/2's system install, which has a completely different semantic
 3190 # ./install, which can be erroneously created by make from ./install.sh.
 3191 # Reject install programs that cannot install multiple files.
 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 3193 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 3194 if test -z "$INSTALL"; then
 3195 if ${ac_cv_path_install+:} false; then :
 3196   $as_echo_n "(cached) " >&6
 3197 else
 3198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3199 for as_dir in $PATH
 3200 do
 3201   IFS=$as_save_IFS
 3202   test -z "$as_dir" && as_dir=.
 3203     # Account for people who put trailing slashes in PATH elements.
 3204 case $as_dir/ in #((
 3205   ./ | .// | /[cC]/* | \
 3206   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3207   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 3208   /usr/ucb/* ) ;;
 3209   *)
 3210     # OSF1 and SCO ODT 3.0 have their own names for install.
 3211     # Don't use installbsd from OSF since it installs stuff as root
 3212     # by default.
 3213     for ac_prog in ginstall scoinst install; do
 3214       for ac_exec_ext in '' $ac_executable_extensions; do
 3215     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3216       if test $ac_prog = install &&
 3217         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3218         # AIX install.  It has an incompatible calling convention.
 3219         :
 3220       elif test $ac_prog = install &&
 3221         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3222         # program-specific install script used by HP pwplus--don't use.
 3223         :
 3224       else
 3225         rm -rf conftest.one conftest.two conftest.dir
 3226         echo one > conftest.one
 3227         echo two > conftest.two
 3228         mkdir conftest.dir
 3229         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 3230           test -s conftest.one && test -s conftest.two &&
 3231           test -s conftest.dir/conftest.one &&
 3232           test -s conftest.dir/conftest.two
 3233         then
 3234           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3235           break 3
 3236         fi
 3237       fi
 3238     fi
 3239       done
 3240     done
 3241     ;;
 3242 esac
 3243 
 3244   done
 3245 IFS=$as_save_IFS
 3246 
 3247 rm -rf conftest.one conftest.two conftest.dir
 3248 
 3249 fi
 3250   if test "${ac_cv_path_install+set}" = set; then
 3251     INSTALL=$ac_cv_path_install
 3252   else
 3253     # As a last resort, use the slow shell script.  Don't cache a
 3254     # value for INSTALL within a source directory, because that will
 3255     # break other packages using the cache if that directory is
 3256     # removed, or if the value is a relative name.
 3257     INSTALL=$ac_install_sh
 3258   fi
 3259 fi
 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 3261 $as_echo "$INSTALL" >&6; }
 3262 
 3263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3264 # It thinks the first close brace ends the variable substitution.
 3265 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3266 
 3267 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3268 
 3269 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3270 
 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3272 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3273 if test -z "$MKDIR_P"; then
 3274   if ${ac_cv_path_mkdir+:} false; then :
 3275   $as_echo_n "(cached) " >&6
 3276 else
 3277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3278 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3279 do
 3280   IFS=$as_save_IFS
 3281   test -z "$as_dir" && as_dir=.
 3282     for ac_prog in mkdir gmkdir; do
 3283      for ac_exec_ext in '' $ac_executable_extensions; do
 3284        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 3285        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3286          'mkdir (GNU coreutils) '* | \
 3287          'mkdir (coreutils) '* | \
 3288          'mkdir (fileutils) '4.1*)
 3289            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3290            break 3;;
 3291        esac
 3292      done
 3293        done
 3294   done
 3295 IFS=$as_save_IFS
 3296 
 3297 fi
 3298 
 3299   test -d ./--version && rmdir ./--version
 3300   if test "${ac_cv_path_mkdir+set}" = set; then
 3301     MKDIR_P="$ac_cv_path_mkdir -p"
 3302   else
 3303     # As a last resort, use the slow shell script.  Don't cache a
 3304     # value for MKDIR_P within a source directory, because that will
 3305     # break other packages using the cache if that directory is
 3306     # removed, or if the value is a relative name.
 3307     MKDIR_P="$ac_install_sh -d"
 3308   fi
 3309 fi
 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3311 $as_echo "$MKDIR_P" >&6; }
 3312 
 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 3314 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 3315 if ${ac_cv_path_SED+:} false; then :
 3316   $as_echo_n "(cached) " >&6
 3317 else
 3318             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 3319      for ac_i in 1 2 3 4 5 6 7; do
 3320        ac_script="$ac_script$as_nl$ac_script"
 3321      done
 3322      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 3323      { ac_script=; unset ac_script;}
 3324      if test -z "$SED"; then
 3325   ac_path_SED_found=false
 3326   # Loop through the user's path and test for each of PROGNAME-LIST
 3327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3328 for as_dir in $PATH
 3329 do
 3330   IFS=$as_save_IFS
 3331   test -z "$as_dir" && as_dir=.
 3332     for ac_prog in sed gsed; do
 3333     for ac_exec_ext in '' $ac_executable_extensions; do
 3334       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 3335       as_fn_executable_p "$ac_path_SED" || continue
 3336 # Check for GNU ac_path_SED and select it if it is found.
 3337   # Check for GNU $ac_path_SED
 3338 case `"$ac_path_SED" --version 2>&1` in
 3339 *GNU*)
 3340   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 3341 *)
 3342   ac_count=0
 3343   $as_echo_n 0123456789 >"conftest.in"
 3344   while :
 3345   do
 3346     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3347     mv "conftest.tmp" "conftest.in"
 3348     cp "conftest.in" "conftest.nl"
 3349     $as_echo '' >> "conftest.nl"
 3350     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3351     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3352     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3353     if test $ac_count -gt ${ac_path_SED_max-0}; then
 3354       # Best one so far, save it but keep looking for a better one
 3355       ac_cv_path_SED="$ac_path_SED"
 3356       ac_path_SED_max=$ac_count
 3357     fi
 3358     # 10*(2^10) chars as input seems more than enough
 3359     test $ac_count -gt 10 && break
 3360   done
 3361   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3362 esac
 3363 
 3364       $ac_path_SED_found && break 3
 3365     done
 3366   done
 3367   done
 3368 IFS=$as_save_IFS
 3369   if test -z "$ac_cv_path_SED"; then
 3370     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 3371   fi
 3372 else
 3373   ac_cv_path_SED=$SED
 3374 fi
 3375 
 3376 fi
 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 3378 $as_echo "$ac_cv_path_SED" >&6; }
 3379  SED="$ac_cv_path_SED"
 3380   rm -f conftest.sed
 3381 
 3382 
 3383 if test "X${MAKE}" = 'X'; then
 3384   for ac_prog in gmake make
 3385 do
 3386   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3387 set dummy $ac_prog; ac_word=$2
 3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3389 $as_echo_n "checking for $ac_word... " >&6; }
 3390 if ${ac_cv_prog_MAKE+:} false; then :
 3391   $as_echo_n "(cached) " >&6
 3392 else
 3393   if test -n "$MAKE"; then
 3394   ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
 3395 else
 3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3397 for as_dir in $PATH
 3398 do
 3399   IFS=$as_save_IFS
 3400   test -z "$as_dir" && as_dir=.
 3401     for ac_exec_ext in '' $ac_executable_extensions; do
 3402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3403     ac_cv_prog_MAKE="$ac_prog"
 3404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3405     break 2
 3406   fi
 3407 done
 3408   done
 3409 IFS=$as_save_IFS
 3410 
 3411 fi
 3412 fi
 3413 MAKE=$ac_cv_prog_MAKE
 3414 if test -n "$MAKE"; then
 3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
 3416 $as_echo "$MAKE" >&6; }
 3417 else
 3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3419 $as_echo "no" >&6; }
 3420 fi
 3421 
 3422 
 3423   test -n "$MAKE" && break
 3424 done
 3425 
 3426 fi
 3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that ${MAKE} is GNU Make" >&5
 3428 $as_echo_n "checking that ${MAKE} is GNU Make... " >&6; }
 3429 if ${MAKE} --version 2>/dev/null | head -n 1 | grep 'GNU Make' >/dev/null; then
 3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3431 $as_echo "yes" >&6; }
 3432   GNUMAKE_FOUND=yes
 3433 else
 3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3435 $as_echo "no" >&6; }
 3436   GNUMAKE_FOUND=no
 3437 fi
 3438 
 3439 LD="$CC"
 3440 if test "X$GCC" = 'Xyes'; then
 3441   if test "X$CFLAGS" = 'X'; then
 3442     CFLAGS='-O2 -Wall'
 3443   fi
 3444 else
 3445   if test "X$CFLAGS" = 'X'; then
 3446     CFLAGS='-O'
 3447   fi
 3448 fi
 3449 
 3450 
 3451 ac_ext=c
 3452 ac_cpp='$CPP $CPPFLAGS'
 3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 3457 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3458 # On Suns, sometimes $CPP names a directory.
 3459 if test -n "$CPP" && test -d "$CPP"; then
 3460   CPP=
 3461 fi
 3462 if test -z "$CPP"; then
 3463   if ${ac_cv_prog_CPP+:} false; then :
 3464   $as_echo_n "(cached) " >&6
 3465 else
 3466       # Double quotes because CPP needs to be expanded
 3467     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3468     do
 3469       ac_preproc_ok=false
 3470 for ac_c_preproc_warn_flag in '' yes
 3471 do
 3472   # Use a header file that comes with gcc, so configuring glibc
 3473   # with a fresh cross-compiler works.
 3474   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3475   # <limits.h> exists even on freestanding compilers.
 3476   # On the NeXT, cc -E runs the code through the compiler's parser,
 3477   # not just through cpp. "Syntax error" is here to catch this case.
 3478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3479 /* end confdefs.h.  */
 3480 #ifdef __STDC__
 3481 # include <limits.h>
 3482 #else
 3483 # include <assert.h>
 3484 #endif
 3485              Syntax error
 3486 _ACEOF
 3487 if ac_fn_c_try_cpp "$LINENO"; then :
 3488 
 3489 else
 3490   # Broken: fails on valid input.
 3491 continue
 3492 fi
 3493 rm -f conftest.err conftest.i conftest.$ac_ext
 3494 
 3495   # OK, works on sane cases.  Now check whether nonexistent headers
 3496   # can be detected and how.
 3497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3498 /* end confdefs.h.  */
 3499 #include <ac_nonexistent.h>
 3500 _ACEOF
 3501 if ac_fn_c_try_cpp "$LINENO"; then :
 3502   # Broken: success on invalid input.
 3503 continue
 3504 else
 3505   # Passes both tests.
 3506 ac_preproc_ok=:
 3507 break
 3508 fi
 3509 rm -f conftest.err conftest.i conftest.$ac_ext
 3510 
 3511 done
 3512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3513 rm -f conftest.i conftest.err conftest.$ac_ext
 3514 if $ac_preproc_ok; then :
 3515   break
 3516 fi
 3517 
 3518     done
 3519     ac_cv_prog_CPP=$CPP
 3520 
 3521 fi
 3522   CPP=$ac_cv_prog_CPP
 3523 else
 3524   ac_cv_prog_CPP=$CPP
 3525 fi
 3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 3527 $as_echo "$CPP" >&6; }
 3528 ac_preproc_ok=false
 3529 for ac_c_preproc_warn_flag in '' yes
 3530 do
 3531   # Use a header file that comes with gcc, so configuring glibc
 3532   # with a fresh cross-compiler works.
 3533   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3534   # <limits.h> exists even on freestanding compilers.
 3535   # On the NeXT, cc -E runs the code through the compiler's parser,
 3536   # not just through cpp. "Syntax error" is here to catch this case.
 3537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3538 /* end confdefs.h.  */
 3539 #ifdef __STDC__
 3540 # include <limits.h>
 3541 #else
 3542 # include <assert.h>
 3543 #endif
 3544              Syntax error
 3545 _ACEOF
 3546 if ac_fn_c_try_cpp "$LINENO"; then :
 3547 
 3548 else
 3549   # Broken: fails on valid input.
 3550 continue
 3551 fi
 3552 rm -f conftest.err conftest.i conftest.$ac_ext
 3553 
 3554   # OK, works on sane cases.  Now check whether nonexistent headers
 3555   # can be detected and how.
 3556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3557 /* end confdefs.h.  */
 3558 #include <ac_nonexistent.h>
 3559 _ACEOF
 3560 if ac_fn_c_try_cpp "$LINENO"; then :
 3561   # Broken: success on invalid input.
 3562 continue
 3563 else
 3564   # Passes both tests.
 3565 ac_preproc_ok=:
 3566 break
 3567 fi
 3568 rm -f conftest.err conftest.i conftest.$ac_ext
 3569 
 3570 done
 3571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3572 rm -f conftest.i conftest.err conftest.$ac_ext
 3573 if $ac_preproc_ok; then :
 3574 
 3575 else
 3576   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3578 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 3579 See \`config.log' for more details" "$LINENO" 5; }
 3580 fi
 3581 
 3582 ac_ext=c
 3583 ac_cpp='$CPP $CPPFLAGS'
 3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3587 
 3588 
 3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3590 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3591 if ${ac_cv_path_GREP+:} false; then :
 3592   $as_echo_n "(cached) " >&6
 3593 else
 3594   if test -z "$GREP"; then
 3595   ac_path_GREP_found=false
 3596   # Loop through the user's path and test for each of PROGNAME-LIST
 3597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3598 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3599 do
 3600   IFS=$as_save_IFS
 3601   test -z "$as_dir" && as_dir=.
 3602     for ac_prog in grep ggrep; do
 3603     for ac_exec_ext in '' $ac_executable_extensions; do
 3604       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3605       as_fn_executable_p "$ac_path_GREP" || continue
 3606 # Check for GNU ac_path_GREP and select it if it is found.
 3607   # Check for GNU $ac_path_GREP
 3608 case `"$ac_path_GREP" --version 2>&1` in
 3609 *GNU*)
 3610   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3611 *)
 3612   ac_count=0
 3613   $as_echo_n 0123456789 >"conftest.in"
 3614   while :
 3615   do
 3616     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3617     mv "conftest.tmp" "conftest.in"
 3618     cp "conftest.in" "conftest.nl"
 3619     $as_echo 'GREP' >> "conftest.nl"
 3620     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3621     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3622     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3623     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3624       # Best one so far, save it but keep looking for a better one
 3625       ac_cv_path_GREP="$ac_path_GREP"
 3626       ac_path_GREP_max=$ac_count
 3627     fi
 3628     # 10*(2^10) chars as input seems more than enough
 3629     test $ac_count -gt 10 && break
 3630   done
 3631   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3632 esac
 3633 
 3634       $ac_path_GREP_found && break 3
 3635     done
 3636   done
 3637   done
 3638 IFS=$as_save_IFS
 3639   if test -z "$ac_cv_path_GREP"; then
 3640     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3641   fi
 3642 else
 3643   ac_cv_path_GREP=$GREP
 3644 fi
 3645 
 3646 fi
 3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3648 $as_echo "$ac_cv_path_GREP" >&6; }
 3649  GREP="$ac_cv_path_GREP"
 3650 
 3651 
 3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3653 $as_echo_n "checking for egrep... " >&6; }
 3654 if ${ac_cv_path_EGREP+:} false; then :
 3655   $as_echo_n "(cached) " >&6
 3656 else
 3657   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3658    then ac_cv_path_EGREP="$GREP -E"
 3659    else
 3660      if test -z "$EGREP"; then
 3661   ac_path_EGREP_found=false
 3662   # Loop through the user's path and test for each of PROGNAME-LIST
 3663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3665 do
 3666   IFS=$as_save_IFS
 3667   test -z "$as_dir" && as_dir=.
 3668     for ac_prog in egrep; do
 3669     for ac_exec_ext in '' $ac_executable_extensions; do
 3670       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3671       as_fn_executable_p "$ac_path_EGREP" || continue
 3672 # Check for GNU ac_path_EGREP and select it if it is found.
 3673   # Check for GNU $ac_path_EGREP
 3674 case `"$ac_path_EGREP" --version 2>&1` in
 3675 *GNU*)
 3676   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3677 *)
 3678   ac_count=0
 3679   $as_echo_n 0123456789 >"conftest.in"
 3680   while :
 3681   do
 3682     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3683     mv "conftest.tmp" "conftest.in"
 3684     cp "conftest.in" "conftest.nl"
 3685     $as_echo 'EGREP' >> "conftest.nl"
 3686     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3687     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3688     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3689     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3690       # Best one so far, save it but keep looking for a better one
 3691       ac_cv_path_EGREP="$ac_path_EGREP"
 3692       ac_path_EGREP_max=$ac_count
 3693     fi
 3694     # 10*(2^10) chars as input seems more than enough
 3695     test $ac_count -gt 10 && break
 3696   done
 3697   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3698 esac
 3699 
 3700       $ac_path_EGREP_found && break 3
 3701     done
 3702   done
 3703   done
 3704 IFS=$as_save_IFS
 3705   if test -z "$ac_cv_path_EGREP"; then
 3706     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3707   fi
 3708 else
 3709   ac_cv_path_EGREP=$EGREP
 3710 fi
 3711 
 3712    fi
 3713 fi
 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3715 $as_echo "$ac_cv_path_EGREP" >&6; }
 3716  EGREP="$ac_cv_path_EGREP"
 3717 
 3718 
 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 3720 $as_echo_n "checking for ANSI C header files... " >&6; }
 3721 if ${ac_cv_header_stdc+:} false; then :
 3722   $as_echo_n "(cached) " >&6
 3723 else
 3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3725 /* end confdefs.h.  */
 3726 #include <stdlib.h>
 3727 #include <stdarg.h>
 3728 #include <string.h>
 3729 #include <float.h>
 3730 
 3731 int
 3732 main ()
 3733 {
 3734 
 3735   ;
 3736   return 0;
 3737 }
 3738 _ACEOF
 3739 if ac_fn_c_try_compile "$LINENO"; then :
 3740   ac_cv_header_stdc=yes
 3741 else
 3742   ac_cv_header_stdc=no
 3743 fi
 3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3745 
 3746 if test $ac_cv_header_stdc = yes; then
 3747   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3749 /* end confdefs.h.  */
 3750 #include <string.h>
 3751 
 3752 _ACEOF
 3753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3754   $EGREP "memchr" >/dev/null 2>&1; then :
 3755 
 3756 else
 3757   ac_cv_header_stdc=no
 3758 fi
 3759 rm -f conftest*
 3760 
 3761 fi
 3762 
 3763 if test $ac_cv_header_stdc = yes; then
 3764   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3766 /* end confdefs.h.  */
 3767 #include <stdlib.h>
 3768 
 3769 _ACEOF
 3770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3771   $EGREP "free" >/dev/null 2>&1; then :
 3772 
 3773 else
 3774   ac_cv_header_stdc=no
 3775 fi
 3776 rm -f conftest*
 3777 
 3778 fi
 3779 
 3780 if test $ac_cv_header_stdc = yes; then
 3781   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3782   if test "$cross_compiling" = yes; then :
 3783   :
 3784 else
 3785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3786 /* end confdefs.h.  */
 3787 #include <ctype.h>
 3788 #include <stdlib.h>
 3789 #if ((' ' & 0x0FF) == 0x020)
 3790 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3791 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3792 #else
 3793 # define ISLOWER(c) \
 3794            (('a' <= (c) && (c) <= 'i') \
 3795              || ('j' <= (c) && (c) <= 'r') \
 3796              || ('s' <= (c) && (c) <= 'z'))
 3797 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3798 #endif
 3799 
 3800 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3801 int
 3802 main ()
 3803 {
 3804   int i;
 3805   for (i = 0; i < 256; i++)
 3806     if (XOR (islower (i), ISLOWER (i))
 3807     || toupper (i) != TOUPPER (i))
 3808       return 2;
 3809   return 0;
 3810 }
 3811 _ACEOF
 3812 if ac_fn_c_try_run "$LINENO"; then :
 3813 
 3814 else
 3815   ac_cv_header_stdc=no
 3816 fi
 3817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3818   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3819 fi
 3820 
 3821 fi
 3822 fi
 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 3824 $as_echo "$ac_cv_header_stdc" >&6; }
 3825 if test $ac_cv_header_stdc = yes; then
 3826 
 3827 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 3828 
 3829 fi
 3830 
 3831 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3833           inttypes.h stdint.h unistd.h
 3834 do :
 3835   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3836 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 3837 "
 3838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3839   cat >>confdefs.h <<_ACEOF
 3840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3841 _ACEOF
 3842 
 3843 fi
 3844 
 3845 done
 3846 
 3847 
 3848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 3849 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 3850 if ${ac_cv_c_bigendian+:} false; then :
 3851   $as_echo_n "(cached) " >&6
 3852 else
 3853   ac_cv_c_bigendian=unknown
 3854     # See if we're dealing with a universal compiler.
 3855     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3856 /* end confdefs.h.  */
 3857 #ifndef __APPLE_CC__
 3858            not a universal capable compiler
 3859          #endif
 3860          typedef int dummy;
 3861 
 3862 _ACEOF
 3863 if ac_fn_c_try_compile "$LINENO"; then :
 3864 
 3865     # Check for potential -arch flags.  It is not universal unless
 3866     # there are at least two -arch flags with different values.
 3867     ac_arch=
 3868     ac_prev=
 3869     for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 3870      if test -n "$ac_prev"; then
 3871        case $ac_word in
 3872          i?86 | x86_64 | ppc | ppc64)
 3873            if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 3874          ac_arch=$ac_word
 3875            else
 3876          ac_cv_c_bigendian=universal
 3877          break
 3878            fi
 3879            ;;
 3880        esac
 3881        ac_prev=
 3882      elif test "x$ac_word" = "x-arch"; then
 3883        ac_prev=arch
 3884      fi
 3885        done
 3886 fi
 3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3888     if test $ac_cv_c_bigendian = unknown; then
 3889       # See if sys/param.h defines the BYTE_ORDER macro.
 3890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3891 /* end confdefs.h.  */
 3892 #include <sys/types.h>
 3893          #include <sys/param.h>
 3894 
 3895 int
 3896 main ()
 3897 {
 3898 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 3899              && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 3900              && LITTLE_ENDIAN)
 3901           bogus endian macros
 3902          #endif
 3903 
 3904   ;
 3905   return 0;
 3906 }
 3907 _ACEOF
 3908 if ac_fn_c_try_compile "$LINENO"; then :
 3909   # It does; now see whether it defined to BIG_ENDIAN or not.
 3910      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3911 /* end confdefs.h.  */
 3912 #include <sys/types.h>
 3913         #include <sys/param.h>
 3914 
 3915 int
 3916 main ()
 3917 {
 3918 #if BYTE_ORDER != BIG_ENDIAN
 3919          not big endian
 3920         #endif
 3921 
 3922   ;
 3923   return 0;
 3924 }
 3925 _ACEOF
 3926 if ac_fn_c_try_compile "$LINENO"; then :
 3927   ac_cv_c_bigendian=yes
 3928 else
 3929   ac_cv_c_bigendian=no
 3930 fi
 3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3932 fi
 3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3934     fi
 3935     if test $ac_cv_c_bigendian = unknown; then
 3936       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 3937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3938 /* end confdefs.h.  */
 3939 #include <limits.h>
 3940 
 3941 int
 3942 main ()
 3943 {
 3944 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 3945           bogus endian macros
 3946          #endif
 3947 
 3948   ;
 3949   return 0;
 3950 }
 3951 _ACEOF
 3952 if ac_fn_c_try_compile "$LINENO"; then :
 3953   # It does; now see whether it defined to _BIG_ENDIAN or not.
 3954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3955 /* end confdefs.h.  */
 3956 #include <limits.h>
 3957 
 3958 int
 3959 main ()
 3960 {
 3961 #ifndef _BIG_ENDIAN
 3962          not big endian
 3963         #endif
 3964 
 3965   ;
 3966   return 0;
 3967 }
 3968 _ACEOF
 3969 if ac_fn_c_try_compile "$LINENO"; then :
 3970   ac_cv_c_bigendian=yes
 3971 else
 3972   ac_cv_c_bigendian=no
 3973 fi
 3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3975 fi
 3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3977     fi
 3978     if test $ac_cv_c_bigendian = unknown; then
 3979       # Compile a test program.
 3980       if test "$cross_compiling" = yes; then :
 3981   # Try to guess by grepping values from an object file.
 3982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3983 /* end confdefs.h.  */
 3984 short int ascii_mm[] =
 3985           { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 3986         short int ascii_ii[] =
 3987           { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 3988         int use_ascii (int i) {
 3989           return ascii_mm[i] + ascii_ii[i];
 3990         }
 3991         short int ebcdic_ii[] =
 3992           { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 3993         short int ebcdic_mm[] =
 3994           { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 3995         int use_ebcdic (int i) {
 3996           return ebcdic_mm[i] + ebcdic_ii[i];
 3997         }
 3998         extern int foo;
 3999 
 4000 int
 4001 main ()
 4002 {
 4003 return use_ascii (foo) == use_ebcdic (foo);
 4004   ;
 4005   return 0;
 4006 }
 4007 _ACEOF
 4008 if ac_fn_c_try_compile "$LINENO"; then :
 4009   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 4010           ac_cv_c_bigendian=yes
 4011         fi
 4012         if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 4013           if test "$ac_cv_c_bigendian" = unknown; then
 4014         ac_cv_c_bigendian=no
 4015           else
 4016         # finding both strings is unlikely to happen, but who knows?
 4017         ac_cv_c_bigendian=unknown
 4018           fi
 4019         fi
 4020 fi
 4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4022 else
 4023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4024 /* end confdefs.h.  */
 4025 $ac_includes_default
 4026 int
 4027 main ()
 4028 {
 4029 
 4030          /* Are we little or big endian?  From Harbison&Steele.  */
 4031          union
 4032          {
 4033            long int l;
 4034            char c[sizeof (long int)];
 4035          } u;
 4036          u.l = 1;
 4037          return u.c[sizeof (long int) - 1] == 1;
 4038 
 4039   ;
 4040   return 0;
 4041 }
 4042 _ACEOF
 4043 if ac_fn_c_try_run "$LINENO"; then :
 4044   ac_cv_c_bigendian=no
 4045 else
 4046   ac_cv_c_bigendian=yes
 4047 fi
 4048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4049   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4050 fi
 4051 
 4052     fi
 4053 fi
 4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 4055 $as_echo "$ac_cv_c_bigendian" >&6; }
 4056  case $ac_cv_c_bigendian in #(
 4057    yes)
 4058      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 4059 ;; #(
 4060    no)
 4061       ;; #(
 4062    universal)
 4063 
 4064 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 4065 
 4066      ;; #(
 4067    *)
 4068      as_fn_error $? "unknown endianness
 4069  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 4070  esac
 4071 
 4072 
 4073 
 4074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
 4075 $as_echo_n "checking 32-bit host C ABI... " >&6; }
 4076 if ${gl_cv_host_cpu_c_abi_32bit+:} false; then :
 4077   $as_echo_n "(cached) " >&6
 4078 else
 4079   if test -n "$gl_cv_host_cpu_c_abi"; then
 4080        case "$gl_cv_host_cpu_c_abi" in
 4081          i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
 4082            gl_cv_host_cpu_c_abi_32bit=yes ;;
 4083          *)
 4084            gl_cv_host_cpu_c_abi_32bit=no ;;
 4085        esac
 4086      else
 4087        case "$host_cpu" in
 4088 
 4089          i[4567]86 )
 4090            gl_cv_host_cpu_c_abi_32bit=yes
 4091            ;;
 4092 
 4093          x86_64 )
 4094            # On x86_64 systems, the C compiler may be generating code in one of
 4095            # these ABIs:
 4096            # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
 4097            # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
 4098            #   with native Windows (mingw, MSVC).
 4099            # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
 4100            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
 4101            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4102 /* end confdefs.h.  */
 4103 #if (defined __x86_64__ || defined __amd64__ \
 4104                        || defined _M_X64 || defined _M_AMD64) \
 4105                       && !(defined __ILP32__ || defined _ILP32)
 4106                    int ok;
 4107                   #else
 4108                    error fail
 4109                   #endif
 4110 
 4111 _ACEOF
 4112 if ac_fn_c_try_compile "$LINENO"; then :
 4113   gl_cv_host_cpu_c_abi_32bit=no
 4114 else
 4115   gl_cv_host_cpu_c_abi_32bit=yes
 4116 fi
 4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4118            ;;
 4119 
 4120          arm* | aarch64 )
 4121            # Assume arm with EABI.
 4122            # On arm64 systems, the C compiler may be generating code in one of
 4123            # these ABIs:
 4124            # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
 4125            # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
 4126            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
 4127            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4128 /* end confdefs.h.  */
 4129 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
 4130                    int ok;
 4131                   #else
 4132                    error fail
 4133                   #endif
 4134 
 4135 _ACEOF
 4136 if ac_fn_c_try_compile "$LINENO"; then :
 4137   gl_cv_host_cpu_c_abi_32bit=no
 4138 else
 4139   gl_cv_host_cpu_c_abi_32bit=yes
 4140 fi
 4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4142            ;;
 4143 
 4144          hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
 4145            # On hppa, the C compiler may be generating 32-bit code or 64-bit
 4146            # code. In the latter case, it defines _LP64 and __LP64__.
 4147            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4148 /* end confdefs.h.  */
 4149 #ifdef __LP64__
 4150                    int ok;
 4151                   #else
 4152                    error fail
 4153                   #endif
 4154 
 4155 _ACEOF
 4156 if ac_fn_c_try_compile "$LINENO"; then :
 4157   gl_cv_host_cpu_c_abi_32bit=no
 4158 else
 4159   gl_cv_host_cpu_c_abi_32bit=yes
 4160 fi
 4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4162            ;;
 4163 
 4164          ia64* )
 4165            # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
 4166            # 32-bit code. In the latter case, it defines _ILP32.
 4167            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4168 /* end confdefs.h.  */
 4169 #ifdef _ILP32
 4170                    int ok;
 4171                   #else
 4172                    error fail
 4173                   #endif
 4174 
 4175 _ACEOF
 4176 if ac_fn_c_try_compile "$LINENO"; then :
 4177   gl_cv_host_cpu_c_abi_32bit=yes
 4178 else
 4179   gl_cv_host_cpu_c_abi_32bit=no
 4180 fi
 4181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4182            ;;
 4183 
 4184          mips* )
 4185            # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
 4186            # at 32.
 4187            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4188 /* end confdefs.h.  */
 4189 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
 4190                    int ok;
 4191                   #else
 4192                    error fail
 4193                   #endif
 4194 
 4195 _ACEOF
 4196 if ac_fn_c_try_compile "$LINENO"; then :
 4197   gl_cv_host_cpu_c_abi_32bit=no
 4198 else
 4199   gl_cv_host_cpu_c_abi_32bit=yes
 4200 fi
 4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4202            ;;
 4203 
 4204          powerpc* )
 4205            # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
 4206            # No need to distinguish them here; the caller may distinguish
 4207            # them based on the OS.
 4208            # On powerpc64 systems, the C compiler may still be generating
 4209            # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
 4210            # be generating 64-bit code.
 4211            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4212 /* end confdefs.h.  */
 4213 #if defined __powerpc64__ || defined _ARCH_PPC64
 4214                    int ok;
 4215                   #else
 4216                    error fail
 4217                   #endif
 4218 
 4219 _ACEOF
 4220 if ac_fn_c_try_compile "$LINENO"; then :
 4221   gl_cv_host_cpu_c_abi_32bit=no
 4222 else
 4223   gl_cv_host_cpu_c_abi_32bit=yes
 4224 fi
 4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4226            ;;
 4227 
 4228          rs6000 )
 4229            gl_cv_host_cpu_c_abi_32bit=yes
 4230            ;;
 4231 
 4232          riscv32 | riscv64 )
 4233            # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
 4234            # Size of 'long' and 'void *':
 4235            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4236 /* end confdefs.h.  */
 4237 #if defined __LP64__
 4238                     int ok;
 4239                   #else
 4240                     error fail
 4241                   #endif
 4242 
 4243 _ACEOF
 4244 if ac_fn_c_try_compile "$LINENO"; then :
 4245   gl_cv_host_cpu_c_abi_32bit=no
 4246 else
 4247   gl_cv_host_cpu_c_abi_32bit=yes
 4248 fi
 4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4250            ;;
 4251 
 4252          s390* )
 4253            # On s390x, the C compiler may be generating 64-bit (= s390x) code
 4254            # or 31-bit (= s390) code.
 4255            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4256 /* end confdefs.h.  */
 4257 #if defined __LP64__ || defined __s390x__
 4258                     int ok;
 4259                   #else
 4260                     error fail
 4261                   #endif
 4262 
 4263 _ACEOF
 4264 if ac_fn_c_try_compile "$LINENO"; then :
 4265   gl_cv_host_cpu_c_abi_32bit=no
 4266 else
 4267   gl_cv_host_cpu_c_abi_32bit=yes
 4268 fi
 4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4270            ;;
 4271 
 4272          sparc | sparc64 )
 4273            # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
 4274            # C compiler still generates 32-bit code.
 4275            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4276 /* end confdefs.h.  */
 4277 #if defined __sparcv9 || defined __arch64__
 4278                    int ok;
 4279                   #else
 4280                    error fail
 4281                   #endif
 4282 
 4283 _ACEOF
 4284 if ac_fn_c_try_compile "$LINENO"; then :
 4285   gl_cv_host_cpu_c_abi_32bit=no
 4286 else
 4287   gl_cv_host_cpu_c_abi_32bit=yes
 4288 fi
 4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4290            ;;
 4291 
 4292          *)
 4293            gl_cv_host_cpu_c_abi_32bit=no
 4294            ;;
 4295        esac
 4296      fi
 4297 
 4298 fi
 4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
 4300 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
 4301 
 4302   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
 4303 
 4304 
 4305 
 4306 
 4307 
 4308   case "$host_os" in
 4309     solaris*)
 4310       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
 4311 $as_echo_n "checking for 64-bit host... " >&6; }
 4312 if ${gl_cv_solaris_64bit+:} false; then :
 4313   $as_echo_n "(cached) " >&6
 4314 else
 4315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4316 /* end confdefs.h.  */
 4317 #ifdef _LP64
 4318                  int ok;
 4319                 #else
 4320                  error fail
 4321                 #endif
 4322 
 4323 _ACEOF
 4324 if ac_fn_c_try_compile "$LINENO"; then :
 4325   gl_cv_solaris_64bit=yes
 4326 else
 4327   gl_cv_solaris_64bit=no
 4328 fi
 4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4330 
 4331 fi
 4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
 4333 $as_echo "$gl_cv_solaris_64bit" >&6; };;
 4334   esac
 4335 
 4336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
 4337 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
 4338 if ${acl_cv_libdirstems+:} false; then :
 4339   $as_echo_n "(cached) " >&6
 4340 else
 4341   acl_libdirstem=lib
 4342      acl_libdirstem2=
 4343      case "$host_os" in
 4344        solaris*)
 4345                                                       if test $gl_cv_solaris_64bit = yes; then
 4346            acl_libdirstem=lib/64
 4347            case "$host_cpu" in
 4348              sparc*)        acl_libdirstem2=lib/sparcv9 ;;
 4349              i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
 4350            esac
 4351          fi
 4352          ;;
 4353        *)
 4354                            if test "$HOST_CPU_C_ABI_32BIT" != yes; then
 4355                                             searchpath=`(if test -f /usr/bin/gcc \
 4356                            && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \
 4357                           LC_ALL=C /usr/bin/gcc -print-search-dirs; \
 4358                         else \
 4359                           LC_ALL=C $CC -print-search-dirs; \
 4360                         fi) 2>/dev/null \
 4361                        | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 4362            if test -n "$searchpath"; then
 4363              acl_save_IFS="${IFS=   }"; IFS=":"
 4364              for searchdir in $searchpath; do
 4365                if test -d "$searchdir"; then
 4366                  case "$searchdir" in
 4367                    */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 4368                    */../ | */.. )
 4369                      # Better ignore directories of this form. They are misleading.
 4370                      ;;
 4371                    *) searchdir=`cd "$searchdir" && pwd`
 4372                       case "$searchdir" in
 4373                         */lib64 ) acl_libdirstem=lib64 ;;
 4374                       esac ;;
 4375                  esac
 4376                fi
 4377              done
 4378              IFS="$acl_save_IFS"
 4379            fi
 4380          fi
 4381          ;;
 4382      esac
 4383      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 4384      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2"
 4385 
 4386 fi
 4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
 4388 $as_echo "$acl_cv_libdirstems" >&6; }
 4389   # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2.
 4390   acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
 4391   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'`
 4392 
 4393 LIBDIRSTEM=$acl_libdirstem2
 4394 echo "checking for multilib install prefix... $LIBDIRSTEM"
 4395 # Check whether --enable-largefile was given.
 4396 if test "${enable_largefile+set}" = set; then :
 4397   enableval=$enable_largefile;
 4398 fi
 4399 
 4400 if test "$enable_largefile" != no; then
 4401 
 4402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
 4403 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
 4404 if ${ac_cv_sys_largefile_CC+:} false; then :
 4405   $as_echo_n "(cached) " >&6
 4406 else
 4407   ac_cv_sys_largefile_CC=no
 4408      if test "$GCC" != yes; then
 4409        ac_save_CC=$CC
 4410        while :; do
 4411      # IRIX 6.2 and later do not support large files by default,
 4412      # so use the C compiler's -n32 option if that helps.
 4413      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4414 /* end confdefs.h.  */
 4415 #include <sys/types.h>
 4416  /* Check that off_t can represent 2**63 - 1 correctly.
 4417     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 4418     since some C++ compilers masquerading as C compilers
 4419     incorrectly reject 9223372036854775807.  */
 4420 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
 4421   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 4422                && LARGE_OFF_T % 2147483647 == 1)
 4423               ? 1 : -1];
 4424 int
 4425 main ()
 4426 {
 4427 
 4428   ;
 4429   return 0;
 4430 }
 4431 _ACEOF
 4432      if ac_fn_c_try_compile "$LINENO"; then :
 4433   break
 4434 fi
 4435 rm -f core conftest.err conftest.$ac_objext
 4436      CC="$CC -n32"
 4437      if ac_fn_c_try_compile "$LINENO"; then :
 4438   ac_cv_sys_largefile_CC=' -n32'; break
 4439 fi
 4440 rm -f core conftest.err conftest.$ac_objext
 4441      break
 4442        done
 4443        CC=$ac_save_CC
 4444        rm -f conftest.$ac_ext
 4445     fi
 4446 fi
 4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
 4448 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
 4449   if test "$ac_cv_sys_largefile_CC" != no; then
 4450     CC=$CC$ac_cv_sys_largefile_CC
 4451   fi
 4452 
 4453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 4454 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
 4455 if ${ac_cv_sys_file_offset_bits+:} false; then :
 4456   $as_echo_n "(cached) " >&6
 4457 else
 4458   while :; do
 4459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4460 /* end confdefs.h.  */
 4461 #include <sys/types.h>
 4462  /* Check that off_t can represent 2**63 - 1 correctly.
 4463     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 4464     since some C++ compilers masquerading as C compilers
 4465     incorrectly reject 9223372036854775807.  */
 4466 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
 4467   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 4468                && LARGE_OFF_T % 2147483647 == 1)
 4469               ? 1 : -1];
 4470 int
 4471 main ()
 4472 {
 4473 
 4474   ;
 4475   return 0;
 4476 }
 4477 _ACEOF
 4478 if ac_fn_c_try_compile "$LINENO"; then :
 4479   ac_cv_sys_file_offset_bits=no; break
 4480 fi
 4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4483 /* end confdefs.h.  */
 4484 #define _FILE_OFFSET_BITS 64
 4485 #include <sys/types.h>
 4486  /* Check that off_t can represent 2**63 - 1 correctly.
 4487     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 4488     since some C++ compilers masquerading as C compilers
 4489     incorrectly reject 9223372036854775807.  */
 4490 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
 4491   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 4492                && LARGE_OFF_T % 2147483647 == 1)
 4493               ? 1 : -1];
 4494 int
 4495 main ()
 4496 {
 4497 
 4498   ;
 4499   return 0;
 4500 }
 4501 _ACEOF
 4502 if ac_fn_c_try_compile "$LINENO"; then :
 4503   ac_cv_sys_file_offset_bits=64; break
 4504 fi
 4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4506   ac_cv_sys_file_offset_bits=unknown
 4507   break
 4508 done
 4509 fi
 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
 4511 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
 4512 case $ac_cv_sys_file_offset_bits in #(
 4513   no | unknown) ;;
 4514   *)
 4515 cat >>confdefs.h <<_ACEOF
 4516 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
 4517 _ACEOF
 4518 ;;
 4519 esac
 4520 rm -rf conftest*
 4521   if test $ac_cv_sys_file_offset_bits = unknown; then
 4522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
 4523 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
 4524 if ${ac_cv_sys_large_files+:} false; then :
 4525   $as_echo_n "(cached) " >&6
 4526 else
 4527   while :; do
 4528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4529 /* end confdefs.h.  */
 4530 #include <sys/types.h>
 4531  /* Check that off_t can represent 2**63 - 1 correctly.
 4532     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 4533     since some C++ compilers masquerading as C compilers
 4534     incorrectly reject 9223372036854775807.  */
 4535 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
 4536   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 4537                && LARGE_OFF_T % 2147483647 == 1)
 4538               ? 1 : -1];
 4539 int
 4540 main ()
 4541 {
 4542 
 4543   ;
 4544   return 0;
 4545 }
 4546 _ACEOF
 4547 if ac_fn_c_try_compile "$LINENO"; then :
 4548   ac_cv_sys_large_files=no; break
 4549 fi
 4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4552 /* end confdefs.h.  */
 4553 #define _LARGE_FILES 1
 4554 #include <sys/types.h>
 4555  /* Check that off_t can represent 2**63 - 1 correctly.
 4556     We can't simply define LARGE_OFF_T to be 9223372036854775807,
 4557     since some C++ compilers masquerading as C compilers
 4558     incorrectly reject 9223372036854775807.  */
 4559 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
 4560   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 4561                && LARGE_OFF_T % 2147483647 == 1)
 4562               ? 1 : -1];
 4563 int
 4564 main ()
 4565 {
 4566 
 4567   ;
 4568   return 0;
 4569 }
 4570 _ACEOF
 4571 if ac_fn_c_try_compile "$LINENO"; then :
 4572   ac_cv_sys_large_files=1; break
 4573 fi
 4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4575   ac_cv_sys_large_files=unknown
 4576   break
 4577 done
 4578 fi
 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
 4580 $as_echo "$ac_cv_sys_large_files" >&6; }
 4581 case $ac_cv_sys_large_files in #(
 4582   no | unknown) ;;
 4583   *)
 4584 cat >>confdefs.h <<_ACEOF
 4585 #define _LARGE_FILES $ac_cv_sys_large_files
 4586 _ACEOF
 4587 ;;
 4588 esac
 4589 rm -rf conftest*
 4590   fi
 4591 
 4592 
 4593 fi
 4594 
 4595 for ac_header in byteswap.h getopt.h libintl.h locale.h stdalign.h stddef.h sys/sysinfo.h
 4596 do :
 4597   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4598 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 4599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 4600   cat >>confdefs.h <<_ACEOF
 4601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4602 _ACEOF
 4603 
 4604 fi
 4605 
 4606 done
 4607 
 4608 for ac_func in fseeko lrand48 random realpath
 4609 do :
 4610   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 4612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 4613   cat >>confdefs.h <<_ACEOF
 4614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 4615 _ACEOF
 4616 
 4617 fi
 4618 done
 4619 
 4620 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "#include <sys/stat.h>
 4621 "
 4622 if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then :
 4623 
 4624 cat >>confdefs.h <<_ACEOF
 4625 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
 4626 _ACEOF
 4627 
 4628 
 4629 fi
 4630 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec.tv_nsec" "ac_cv_member_struct_stat_st_mtimespec_tv_nsec" "#include <sys/stat.h>
 4631 "
 4632 if test "x$ac_cv_member_struct_stat_st_mtimespec_tv_nsec" = xyes; then :
 4633 
 4634 cat >>confdefs.h <<_ACEOF
 4635 #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
 4636 _ACEOF
 4637 
 4638 
 4639 fi
 4640 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "#include <sys/stat.h>
 4641 "
 4642 if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then :
 4643 
 4644 cat >>confdefs.h <<_ACEOF
 4645 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
 4646 _ACEOF
 4647 
 4648 
 4649 fi
 4650 
 4651 have_getopt=yes
 4652 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
 4653 if test "x$ac_cv_func_getopt" = xyes; then :
 4654 
 4655 else
 4656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt in -liberty" >&5
 4657 $as_echo_n "checking for getopt in -liberty... " >&6; }
 4658 if ${ac_cv_lib_iberty_getopt+:} false; then :
 4659   $as_echo_n "(cached) " >&6
 4660 else
 4661   ac_check_lib_save_LIBS=$LIBS
 4662 LIBS="-liberty  $LIBS"
 4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4664 /* end confdefs.h.  */
 4665 
 4666 /* Override any GCC internal prototype to avoid an error.
 4667    Use char because int might match the return type of a GCC
 4668    builtin and then its argument prototype would still apply.  */
 4669 #ifdef __cplusplus
 4670 extern "C"
 4671 #endif
 4672 char getopt ();
 4673 int
 4674 main ()
 4675 {
 4676 return getopt ();
 4677   ;
 4678   return 0;
 4679 }
 4680 _ACEOF
 4681 if ac_fn_c_try_link "$LINENO"; then :
 4682   ac_cv_lib_iberty_getopt=yes
 4683 else
 4684   ac_cv_lib_iberty_getopt=no
 4685 fi
 4686 rm -f core conftest.err conftest.$ac_objext \
 4687     conftest$ac_exeext conftest.$ac_ext
 4688 LIBS=$ac_check_lib_save_LIBS
 4689 fi
 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_getopt" >&5
 4691 $as_echo "$ac_cv_lib_iberty_getopt" >&6; }
 4692 if test "x$ac_cv_lib_iberty_getopt" = xyes; then :
 4693   cat >>confdefs.h <<_ACEOF
 4694 #define HAVE_LIBIBERTY 1
 4695 _ACEOF
 4696 
 4697   LIBS="-liberty $LIBS"
 4698 
 4699 else
 4700   have_getopt=no
 4701 fi
 4702 
 4703 fi
 4704 
 4705 if test "$have_getopt" = 'no'; then
 4706   as_fn_error $? "getopt function not found: aborting configure..." "$LINENO" 5
 4707 fi
 4708 have_gettext=yes
 4709 ac_fn_c_check_func "$LINENO" "gettext" "ac_cv_func_gettext"
 4710 if test "x$ac_cv_func_gettext" = xyes; then :
 4711   LIBINTL=''
 4712 else
 4713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
 4714 $as_echo_n "checking for gettext in -lintl... " >&6; }
 4715 if ${ac_cv_lib_intl_gettext+:} false; then :
 4716   $as_echo_n "(cached) " >&6
 4717 else
 4718   ac_check_lib_save_LIBS=$LIBS
 4719 LIBS="-lintl  $LIBS"
 4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4721 /* end confdefs.h.  */
 4722 
 4723 /* Override any GCC internal prototype to avoid an error.
 4724    Use char because int might match the return type of a GCC
 4725    builtin and then its argument prototype would still apply.  */
 4726 #ifdef __cplusplus
 4727 extern "C"
 4728 #endif
 4729 char gettext ();
 4730 int
 4731 main ()
 4732 {
 4733 return gettext ();
 4734   ;
 4735   return 0;
 4736 }
 4737 _ACEOF
 4738 if ac_fn_c_try_link "$LINENO"; then :
 4739   ac_cv_lib_intl_gettext=yes
 4740 else
 4741   ac_cv_lib_intl_gettext=no
 4742 fi
 4743 rm -f core conftest.err conftest.$ac_objext \
 4744     conftest$ac_exeext conftest.$ac_ext
 4745 LIBS=$ac_check_lib_save_LIBS
 4746 fi
 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
 4748 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
 4749 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
 4750   LIBINTL='-lintl'
 4751 else
 4752   have_gettext=no
 4753 fi
 4754 
 4755 fi
 4756 
 4757 if test "$have_gettext" = 'yes'; then
 4758   FRENUM="frenum${EXEEXT}"
 4759   FRENUMMAN='frenum.1'
 4760 else
 4761   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gettext function not found: skipping frenum" >&5
 4762 $as_echo "$as_me: WARNING: gettext function not found: skipping frenum" >&2;}
 4763   FRENUM=''
 4764   FRENUMMAN=''
 4765 fi
 4766 for ac_header in png.h
 4767 do :
 4768   ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
 4769 if test "x$ac_cv_header_png_h" = xyes; then :
 4770   cat >>confdefs.h <<_ACEOF
 4771 #define HAVE_PNG_H 1
 4772 _ACEOF
 4773  have_png_hdrs='yes'
 4774 else
 4775   have_png_hdrs='no'
 4776 fi
 4777 
 4778 done
 4779 
 4780 for ac_header in zlib.h
 4781 do :
 4782   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 4783 if test "x$ac_cv_header_zlib_h" = xyes; then :
 4784   cat >>confdefs.h <<_ACEOF
 4785 #define HAVE_ZLIB_H 1
 4786 _ACEOF
 4787  have_zlib_hdrs='yes'
 4788 else
 4789   have_zlib_hdrs='no'
 4790 fi
 4791 
 4792 done
 4793 
 4794 if test "$have_png_hdrs" = 'yes' -a "$have_zlib_hdrs" = 'yes'; then
 4795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_io_ptr in -lpng" >&5
 4796 $as_echo_n "checking for png_get_io_ptr in -lpng... " >&6; }
 4797 if ${ac_cv_lib_png_png_get_io_ptr+:} false; then :
 4798   $as_echo_n "(cached) " >&6
 4799 else
 4800   ac_check_lib_save_LIBS=$LIBS
 4801 LIBS="-lpng -lz -lm $LIBS"
 4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4803 /* end confdefs.h.  */
 4804 
 4805 /* Override any GCC internal prototype to avoid an error.
 4806    Use char because int might match the return type of a GCC
 4807    builtin and then its argument prototype would still apply.  */
 4808 #ifdef __cplusplus
 4809 extern "C"
 4810 #endif
 4811 char png_get_io_ptr ();
 4812 int
 4813 main ()
 4814 {
 4815 return png_get_io_ptr ();
 4816   ;
 4817   return 0;
 4818 }
 4819 _ACEOF
 4820 if ac_fn_c_try_link "$LINENO"; then :
 4821   ac_cv_lib_png_png_get_io_ptr=yes
 4822 else
 4823   ac_cv_lib_png_png_get_io_ptr=no
 4824 fi
 4825 rm -f core conftest.err conftest.$ac_objext \
 4826     conftest$ac_exeext conftest.$ac_ext
 4827 LIBS=$ac_check_lib_save_LIBS
 4828 fi
 4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_io_ptr" >&5
 4830 $as_echo "$ac_cv_lib_png_png_get_io_ptr" >&6; }
 4831 if test "x$ac_cv_lib_png_png_get_io_ptr" = xyes; then :
 4832   have_png_libs='yes'
 4833 else
 4834   have_png_libs='no'
 4835 fi
 4836 
 4837   if test "$have_png_libs" = 'yes'; then
 4838     have_png=yes
 4839     PNGPROGS="pngrecolor${EXEEXT} pngstrip${EXEEXT}"
 4840     PNGMAN='pngrecolor.1 pngstrip.1'
 4841     PNGLIBS='-lpng -lz -lm'
 4842   else
 4843     have_png=no
 4844     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: png library not found: skipping pngrecolor, pngstrip, opt-gif, and opt-png" >&5
 4845 $as_echo "$as_me: WARNING: png library not found: skipping pngrecolor, pngstrip, opt-gif, and opt-png" >&2;}
 4846     PNGPROGS=''
 4847     PNGMAN=''
 4848     PNGLIBS=''
 4849   fi
 4850 else
 4851   have_png=no
 4852   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: png/zlib headers not found: skipping pngrecolor, pngstrip, opt-gif, and opt-png" >&5
 4853 $as_echo "$as_me: WARNING: png/zlib headers not found: skipping pngrecolor, pngstrip, opt-gif, and opt-png" >&2;}
 4854   PNGPROGS=''
 4855   PNGMAN=''
 4856   PNGLIBS=''
 4857 fi
 4858 for ac_header in Imlib2.h
 4859 do :
 4860   ac_fn_c_check_header_mongrel "$LINENO" "Imlib2.h" "ac_cv_header_Imlib2_h" "$ac_includes_default"
 4861 if test "x$ac_cv_header_Imlib2_h" = xyes; then :
 4862   cat >>confdefs.h <<_ACEOF
 4863 #define HAVE_IMLIB2_H 1
 4864 _ACEOF
 4865  have_imlib2_hdr='yes'
 4866 else
 4867   have_imlib2_hdr='no'
 4868 fi
 4869 
 4870 done
 4871 
 4872 if test "$have_imlib2_hdr" = 'yes'; then
 4873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for imlib_load_image in -lImlib2" >&5
 4874 $as_echo_n "checking for imlib_load_image in -lImlib2... " >&6; }
 4875 if ${ac_cv_lib_Imlib2_imlib_load_image+:} false; then :
 4876   $as_echo_n "(cached) " >&6
 4877 else
 4878   ac_check_lib_save_LIBS=$LIBS
 4879 LIBS="-lImlib2 -lImlib2 $LIBS"
 4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4881 /* end confdefs.h.  */
 4882 
 4883 /* Override any GCC internal prototype to avoid an error.
 4884    Use char because int might match the return type of a GCC
 4885    builtin and then its argument prototype would still apply.  */
 4886 #ifdef __cplusplus
 4887 extern "C"
 4888 #endif
 4889 char imlib_load_image ();
 4890 int
 4891 main ()
 4892 {
 4893 return imlib_load_image ();
 4894   ;
 4895   return 0;
 4896 }
 4897 _ACEOF
 4898 if ac_fn_c_try_link "$LINENO"; then :
 4899   ac_cv_lib_Imlib2_imlib_load_image=yes
 4900 else
 4901   ac_cv_lib_Imlib2_imlib_load_image=no
 4902 fi
 4903 rm -f core conftest.err conftest.$ac_objext \
 4904     conftest$ac_exeext conftest.$ac_ext
 4905 LIBS=$ac_check_lib_save_LIBS
 4906 fi
 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Imlib2_imlib_load_image" >&5
 4908 $as_echo "$ac_cv_lib_Imlib2_imlib_load_image" >&6; }
 4909 if test "x$ac_cv_lib_Imlib2_imlib_load_image" = xyes; then :
 4910   have_imlib2_lib='yes'
 4911 else
 4912   have_imlib2_lib='no'
 4913 fi
 4914 
 4915   if test "$have_imlib2_lib" = 'yes'; then
 4916     have_imlib2=yes
 4917     IMLIB2PROGS="imagdiff${EXEEXT}"
 4918     IMLIB2MAN='imagdiff.1'
 4919     IMLIB2LIBS='-lImlib2'
 4920     # Extract the first word of "gs", so it can be a program name with args.
 4921 set dummy gs; ac_word=$2
 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4923 $as_echo_n "checking for $ac_word... " >&6; }
 4924 if ${ac_cv_prog_have_gs+:} false; then :
 4925   $as_echo_n "(cached) " >&6
 4926 else
 4927   if test -n "$have_gs"; then
 4928   ac_cv_prog_have_gs="$have_gs" # Let the user override the test.
 4929 else
 4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4931 for as_dir in $PATH
 4932 do
 4933   IFS=$as_save_IFS
 4934   test -z "$as_dir" && as_dir=.
 4935     for ac_exec_ext in '' $ac_executable_extensions; do
 4936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4937     ac_cv_prog_have_gs="yes"
 4938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4939     break 2
 4940   fi
 4941 done
 4942   done
 4943 IFS=$as_save_IFS
 4944 
 4945   test -z "$ac_cv_prog_have_gs" && ac_cv_prog_have_gs="no"
 4946 fi
 4947 fi
 4948 have_gs=$ac_cv_prog_have_gs
 4949 if test -n "$have_gs"; then
 4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gs" >&5
 4951 $as_echo "$have_gs" >&6; }
 4952 else
 4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4954 $as_echo "no" >&6; }
 4955 fi
 4956 
 4957 
 4958     if test "$have_gs" != 'no'; then
 4959       # Extract the first word of "pdftocairo", so it can be a program name with args.
 4960 set dummy pdftocairo; ac_word=$2
 4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4962 $as_echo_n "checking for $ac_word... " >&6; }
 4963 if ${ac_cv_prog_have_pdftocairo+:} false; then :
 4964   $as_echo_n "(cached) " >&6
 4965 else
 4966   if test -n "$have_pdftocairo"; then
 4967   ac_cv_prog_have_pdftocairo="$have_pdftocairo" # Let the user override the test.
 4968 else
 4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4970 for as_dir in $PATH
 4971 do
 4972   IFS=$as_save_IFS
 4973   test -z "$as_dir" && as_dir=.
 4974     for ac_exec_ext in '' $ac_executable_extensions; do
 4975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4976     ac_cv_prog_have_pdftocairo="yes"
 4977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4978     break 2
 4979   fi
 4980 done
 4981   done
 4982 IFS=$as_save_IFS
 4983 
 4984   test -z "$ac_cv_prog_have_pdftocairo" && ac_cv_prog_have_pdftocairo="no"
 4985 fi
 4986 fi
 4987 have_pdftocairo=$ac_cv_prog_have_pdftocairo
 4988 if test -n "$have_pdftocairo"; then
 4989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pdftocairo" >&5
 4990 $as_echo "$have_pdftocairo" >&6; }
 4991 else
 4992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4993 $as_echo "no" >&6; }
 4994 fi
 4995 
 4996 
 4997       if test "$have_pdftocairo" != 'no'; then
 4998         # Extract the first word of "img2pdf", so it can be a program name with args.
 4999 set dummy img2pdf; ac_word=$2
 5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5001 $as_echo_n "checking for $ac_word... " >&6; }
 5002 if ${ac_cv_prog_have_img2pdf+:} false; then :
 5003   $as_echo_n "(cached) " >&6
 5004 else
 5005   if test -n "$have_img2pdf"; then
 5006   ac_cv_prog_have_img2pdf="$have_img2pdf" # Let the user override the test.
 5007 else
 5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5009 for as_dir in $PATH
 5010 do
 5011   IFS=$as_save_IFS
 5012   test -z "$as_dir" && as_dir=.
 5013     for ac_exec_ext in '' $ac_executable_extensions; do
 5014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5015     ac_cv_prog_have_img2pdf="yes"
 5016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5017     break 2
 5018   fi
 5019 done
 5020   done
 5021 IFS=$as_save_IFS
 5022 
 5023   test -z "$ac_cv_prog_have_img2pdf" && ac_cv_prog_have_img2pdf="no"
 5024 fi
 5025 fi
 5026 have_img2pdf=$ac_cv_prog_have_img2pdf
 5027 if test -n "$have_img2pdf"; then
 5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_img2pdf" >&5
 5029 $as_echo "$have_img2pdf" >&6; }
 5030 else
 5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5032 $as_echo "no" >&6; }
 5033 fi
 5034 
 5035 
 5036         if test "$have_img2pdf" != 'no'; then
 5037           PDFDIFF='pdfidiff'
 5038           PDFDIFFMAN='pdfidiff.1'
 5039         else
 5040           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: img2pdf utility missing: skipping pdfidiff" >&5
 5041 $as_echo "$as_me: WARNING: img2pdf utility missing: skipping pdfidiff" >&2;}
 5042           PDFDIFF=''
 5043           PDFDIFFMAN=''
 5044         fi
 5045       else
 5046         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdftocairo utility missing: skipping pdfidiff" >&5
 5047 $as_echo "$as_me: WARNING: pdftocairo utility missing: skipping pdfidiff" >&2;}
 5048         PDFDIFF=''
 5049         PDFDIFFMAN=''
 5050       fi
 5051     else
 5052       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gs utility missing: skipping pdfidiff" >&5
 5053 $as_echo "$as_me: WARNING: gs utility missing: skipping pdfidiff" >&2;}
 5054       PDFDIFF=''
 5055       PDFDIFFMAN=''
 5056     fi
 5057   else
 5058     have_imlib2=no
 5059     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 library not found: skipping imagdiff and pdfidiff" >&5
 5060 $as_echo "$as_me: WARNING: Imlib2 library not found: skipping imagdiff and pdfidiff" >&2;}
 5061     IMLIB2PROGS=''
 5062     IMLIB2MAN=''
 5063     IMLIB2LIBS=''
 5064     PDFDIFF=''
 5065     PDFDIFFMAN=''
 5066   fi
 5067 else
 5068   have_imlib2=no
 5069   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 headers not found: skipping imagdiff and pdfidiff" >&5
 5070 $as_echo "$as_me: WARNING: Imlib2 headers not found: skipping imagdiff and pdfidiff" >&2;}
 5071   IMLIB2PROGS=''
 5072   IMLIB2MAN=''
 5073   IMLIB2LIBS=''
 5074   PDFDIFF=''
 5075   PDFDIFFMAN=''
 5076 fi
 5077 
 5078 # Extract the first word of "bash", so it can be a program name with args.
 5079 set dummy bash; ac_word=$2
 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5081 $as_echo_n "checking for $ac_word... " >&6; }
 5082 if ${ac_cv_path_PROGBASH+:} false; then :
 5083   $as_echo_n "(cached) " >&6
 5084 else
 5085   case $PROGBASH in
 5086   [\\/]* | ?:[\\/]*)
 5087   ac_cv_path_PROGBASH="$PROGBASH" # Let the user override the test with a path.
 5088   ;;
 5089   *)
 5090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5091 for as_dir in $PATH
 5092 do
 5093   IFS=$as_save_IFS
 5094   test -z "$as_dir" && as_dir=.
 5095     for ac_exec_ext in '' $ac_executable_extensions; do
 5096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5097     ac_cv_path_PROGBASH="$as_dir/$ac_word$ac_exec_ext"
 5098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5099     break 2
 5100   fi
 5101 done
 5102   done
 5103 IFS=$as_save_IFS
 5104 
 5105   test -z "$ac_cv_path_PROGBASH" && ac_cv_path_PROGBASH="no"
 5106   ;;
 5107 esac
 5108 fi
 5109 PROGBASH=$ac_cv_path_PROGBASH
 5110 if test -n "$PROGBASH"; then
 5111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROGBASH" >&5
 5112 $as_echo "$PROGBASH" >&6; }
 5113 else
 5114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5115 $as_echo "no" >&6; }
 5116 fi
 5117 
 5118 
 5119 if test "$PROGBASH" = 'no'; then
 5120   as_fn_error $? "bash not found: aborting configure..." "$LINENO" 5
 5121 fi
 5122 # Extract the first word of "perl", so it can be a program name with args.
 5123 set dummy perl; ac_word=$2
 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5125 $as_echo_n "checking for $ac_word... " >&6; }
 5126 if ${ac_cv_path_PROGPERL+:} false; then :
 5127   $as_echo_n "(cached) " >&6
 5128 else
 5129   case $PROGPERL in
 5130   [\\/]* | ?:[\\/]*)
 5131   ac_cv_path_PROGPERL="$PROGPERL" # Let the user override the test with a path.
 5132   ;;
 5133   *)
 5134   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5135 for as_dir in $PATH
 5136 do
 5137   IFS=$as_save_IFS
 5138   test -z "$as_dir" && as_dir=.
 5139     for ac_exec_ext in '' $ac_executable_extensions; do
 5140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5141     ac_cv_path_PROGPERL="$as_dir/$ac_word$ac_exec_ext"
 5142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5143     break 2
 5144   fi
 5145 done
 5146   done
 5147 IFS=$as_save_IFS
 5148 
 5149   test -z "$ac_cv_path_PROGPERL" && ac_cv_path_PROGPERL="no"
 5150   ;;
 5151 esac
 5152 fi
 5153 PROGPERL=$ac_cv_path_PROGPERL
 5154 if test -n "$PROGPERL"; then
 5155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROGPERL" >&5
 5156 $as_echo "$PROGPERL" >&6; }
 5157 else
 5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5159 $as_echo "no" >&6; }
 5160 fi
 5161 
 5162 
 5163 if test "$PROGPERL" != 'no'; then
 5164   LCUCPROGS='lowercase uppercase'
 5165   LCUCMAN='lowercase.1 uppercase.1'
 5166   PREN='pren'
 5167   PRENMAN='pren.1'
 5168   echo -n 'checking for CryptX module... '
 5169   perl -MCryptX -e 1 2> /dev/null
 5170   if test "$?" = '0'; then
 5171     echo 'yes'
 5172     REPEATSPL='repeats.pl'
 5173     LNREPEATSMAN='YES'
 5174   else
 5175     echo 'no'
 5176     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CryptX module (in libcryptx-perl) missing: skipping repeats.pl" >&5
 5177 $as_echo "$as_me: WARNING: CryptX module (in libcryptx-perl) missing: skipping repeats.pl" >&2;}
 5178     REPEATSPL=''
 5179     LNREPEATSMAN='NO'
 5180   fi
 5181 else
 5182   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl missing: skipping lowercase, uppercase, pren, and repeats.pl" >&5
 5183 $as_echo "$as_me: WARNING: perl missing: skipping lowercase, uppercase, pren, and repeats.pl" >&2;}
 5184   LCUCPROGS=''
 5185   LCUCMAN=''
 5186   PREN=''
 5187   PRENMAN=''
 5188   REPEATSPL=''
 5189 fi
 5190 # Extract the first word of "python3", so it can be a program name with args.
 5191 set dummy python3; ac_word=$2
 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5193 $as_echo_n "checking for $ac_word... " >&6; }
 5194 if ${ac_cv_path_PROGPYTHON+:} false; then :
 5195   $as_echo_n "(cached) " >&6
 5196 else
 5197   case $PROGPYTHON in
 5198   [\\/]* | ?:[\\/]*)
 5199   ac_cv_path_PROGPYTHON="$PROGPYTHON" # Let the user override the test with a path.
 5200   ;;
 5201   *)
 5202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5203 for as_dir in $PATH
 5204 do
 5205   IFS=$as_save_IFS
 5206   test -z "$as_dir" && as_dir=.
 5207     for ac_exec_ext in '' $ac_executable_extensions; do
 5208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5209     ac_cv_path_PROGPYTHON="$as_dir/$ac_word$ac_exec_ext"
 5210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5211     break 2
 5212   fi
 5213 done
 5214   done
 5215 IFS=$as_save_IFS
 5216 
 5217   test -z "$ac_cv_path_PROGPYTHON" && ac_cv_path_PROGPYTHON="no"
 5218   ;;
 5219 esac
 5220 fi
 5221 PROGPYTHON=$ac_cv_path_PROGPYTHON
 5222 if test -n "$PROGPYTHON"; then
 5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROGPYTHON" >&5
 5224 $as_echo "$PROGPYTHON" >&6; }
 5225 else
 5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5227 $as_echo "no" >&6; }
 5228 fi
 5229 
 5230 
 5231 if test "$PROGPYTHON" != 'no'; then
 5232   PYPROGS='rar2tarcat zip2tarcat'
 5233   PYMAN='rar2tarcat.1 zip2tarcat.1'
 5234 else
 5235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python3 missing: skipping rar2tarcat zip2tarcat" >&5
 5236 $as_echo "$as_me: WARNING: python3 missing: skipping rar2tarcat zip2tarcat" >&2;}
 5237   PYPROGS=''
 5238   PYMAN=''
 5239 fi
 5240 # Extract the first word of "gifsicle", so it can be a program name with args.
 5241 set dummy gifsicle; ac_word=$2
 5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5243 $as_echo_n "checking for $ac_word... " >&6; }
 5244 if ${ac_cv_prog_have_gifsicle+:} false; then :
 5245   $as_echo_n "(cached) " >&6
 5246 else
 5247   if test -n "$have_gifsicle"; then
 5248   ac_cv_prog_have_gifsicle="$have_gifsicle" # Let the user override the test.
 5249 else
 5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5251 for as_dir in $PATH
 5252 do
 5253   IFS=$as_save_IFS
 5254   test -z "$as_dir" && as_dir=.
 5255     for ac_exec_ext in '' $ac_executable_extensions; do
 5256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5257     ac_cv_prog_have_gifsicle="yes"
 5258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5259     break 2
 5260   fi
 5261 done
 5262   done
 5263 IFS=$as_save_IFS
 5264 
 5265   test -z "$ac_cv_prog_have_gifsicle" && ac_cv_prog_have_gifsicle="no"
 5266 fi
 5267 fi
 5268 have_gifsicle=$ac_cv_prog_have_gifsicle
 5269 if test -n "$have_gifsicle"; then
 5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gifsicle" >&5
 5271 $as_echo "$have_gifsicle" >&6; }
 5272 else
 5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5274 $as_echo "no" >&6; }
 5275 fi
 5276 
 5277 
 5278 # Extract the first word of "pngcrush", so it can be a program name with args.
 5279 set dummy pngcrush; ac_word=$2
 5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5281 $as_echo_n "checking for $ac_word... " >&6; }
 5282 if ${ac_cv_prog_have_pngcrush+:} false; then :
 5283   $as_echo_n "(cached) " >&6
 5284 else
 5285   if test -n "$have_pngcrush"; then
 5286   ac_cv_prog_have_pngcrush="$have_pngcrush" # Let the user override the test.
 5287 else
 5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5289 for as_dir in $PATH
 5290 do
 5291   IFS=$as_save_IFS
 5292   test -z "$as_dir" && as_dir=.
 5293     for ac_exec_ext in '' $ac_executable_extensions; do
 5294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5295     ac_cv_prog_have_pngcrush="yes"
 5296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5297     break 2
 5298   fi
 5299 done
 5300   done
 5301 IFS=$as_save_IFS
 5302 
 5303   test -z "$ac_cv_prog_have_pngcrush" && ac_cv_prog_have_pngcrush="no"
 5304 fi
 5305 fi
 5306 have_pngcrush=$ac_cv_prog_have_pngcrush
 5307 if test -n "$have_pngcrush"; then
 5308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pngcrush" >&5
 5309 $as_echo "$have_pngcrush" >&6; }
 5310 else
 5311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5312 $as_echo "no" >&6; }
 5313 fi
 5314 
 5315 
 5316 if test "$have_gifsicle" != 'no'; then
 5317   OPTGIF='opt-gif'
 5318   OPTGIFMAN='opt-gif.1'
 5319 else
 5320   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gifsicle utility missing: skipping opt-gif" >&5
 5321 $as_echo "$as_me: WARNING: gifsicle utility missing: skipping opt-gif" >&2;}
 5322   OPTGIF=''
 5323   OPTGIFMAN=''
 5324 fi
 5325 if test "$have_png" = 'yes' -a "$have_pngcrush" != 'no'; then
 5326   OPTPNG='opt-png'
 5327   OPTPNGMAN='opt-png.1'
 5328 else
 5329   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: png/zlib headers or pngcrush utility missing: skipping opt-png" >&5
 5330 $as_echo "$as_me: WARNING: png/zlib headers or pngcrush utility missing: skipping opt-png" >&2;}
 5331   OPTPNG=''
 5332   OPTPNGMAN=''
 5333 fi
 5334 # Extract the first word of "jpegtran", so it can be a program name with args.
 5335 set dummy jpegtran; ac_word=$2
 5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5337 $as_echo_n "checking for $ac_word... " >&6; }
 5338 if ${ac_cv_prog_have_jpegtran+:} false; then :
 5339   $as_echo_n "(cached) " >&6
 5340 else
 5341   if test -n "$have_jpegtran"; then
 5342   ac_cv_prog_have_jpegtran="$have_jpegtran" # Let the user override the test.
 5343 else
 5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5345 for as_dir in $PATH
 5346 do
 5347   IFS=$as_save_IFS
 5348   test -z "$as_dir" && as_dir=.
 5349     for ac_exec_ext in '' $ac_executable_extensions; do
 5350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5351     ac_cv_prog_have_jpegtran="yes"
 5352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5353     break 2
 5354   fi
 5355 done
 5356   done
 5357 IFS=$as_save_IFS
 5358 
 5359   test -z "$ac_cv_prog_have_jpegtran" && ac_cv_prog_have_jpegtran="no"
 5360 fi
 5361 fi
 5362 have_jpegtran=$ac_cv_prog_have_jpegtran
 5363 if test -n "$have_jpegtran"; then
 5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jpegtran" >&5
 5365 $as_echo "$have_jpegtran" >&6; }
 5366 else
 5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5368 $as_echo "no" >&6; }
 5369 fi
 5370 
 5371 
 5372 if test "$have_jpegtran" != 'no'; then
 5373   OPTJPG='opt-jpg'
 5374   OPTJPGMAN='opt-jpg.1'
 5375   ROTJPG='rot-jpg'
 5376   ROTJPGMAN='rot-jpg.1'
 5377   if test "$PROGPERL" != 'no'; then
 5378     RECOMPJPG='recomp-jpg'
 5379     RECOMPJPGMAN='recomp-jpg.1'
 5380   else
 5381     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl utility missing: skipping recomp-jpg" >&5
 5382 $as_echo "$as_me: WARNING: perl utility missing: skipping recomp-jpg" >&2;}
 5383     RECOMPJPG=''
 5384     RECOMPJPGMAN=''
 5385   fi
 5386 else
 5387   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jpegtran utility missing: skipping opt-jpg, rot-jpg, and recomp-jpg" >&5
 5388 $as_echo "$as_me: WARNING: jpegtran utility missing: skipping opt-jpg, rot-jpg, and recomp-jpg" >&2;}
 5389   OPTJPG=''
 5390   OPTJPGMAN=''
 5391   ROTJPG=''
 5392   ROTJPGMAN=''
 5393   RECOMPJPG=''
 5394   RECOMPJPGMAN=''
 5395 fi
 5396 # Extract the first word of "file", so it can be a program name with args.
 5397 set dummy file; ac_word=$2
 5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5399 $as_echo_n "checking for $ac_word... " >&6; }
 5400 if ${ac_cv_prog_have_file+:} false; then :
 5401   $as_echo_n "(cached) " >&6
 5402 else
 5403   if test -n "$have_file"; then
 5404   ac_cv_prog_have_file="$have_file" # Let the user override the test.
 5405 else
 5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5407 for as_dir in $PATH
 5408 do
 5409   IFS=$as_save_IFS
 5410   test -z "$as_dir" && as_dir=.
 5411     for ac_exec_ext in '' $ac_executable_extensions; do
 5412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5413     ac_cv_prog_have_file="yes"
 5414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5415     break 2
 5416   fi
 5417 done
 5418   done
 5419 IFS=$as_save_IFS
 5420 
 5421   test -z "$ac_cv_prog_have_file" && ac_cv_prog_have_file="no"
 5422 fi
 5423 fi
 5424 have_file=$ac_cv_prog_have_file
 5425 if test -n "$have_file"; then
 5426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_file" >&