"Fossies" - the Fresh Open Source Software Archive

Member "libksba-1.5.0/configure" (18 Nov 2020, 532148 Bytes) of package /linux/privat/libksba-1.5.0.tar.bz2:


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.4.0_vs_1.5.0.

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