"Fossies" - the Fresh Open Source Software Archive

Member "libdbh2-5.0.22/configure" (22 Sep 2016, 582523 Bytes) of package /linux/misc/libdbh2-5.0.22.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. 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": 5.0.21_vs_5.0.22.

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