"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.5/configure" (29 Oct 2021, 221699 Bytes) of package /linux/privat/littleutils-1.2.5.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. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 1.2.4_vs_1.2.5.

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