File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sqlite3 / configure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:04:16 2012 UTC (12 years, 3 months ago) by misho
Branches: sqlite3, MAIN
CVS tags: v3_7_10, HEAD
sqlite3

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.62 for sqlite 3.7.10.
    4: #
    5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    7: # This configure script is free software; the Free Software Foundation
    8: # gives unlimited permission to copy, distribute and modify it.
    9: ## --------------------- ##
   10: ## M4sh Initialization.  ##
   11: ## --------------------- ##
   12: 
   13: # Be more Bourne compatible
   14: DUALCASE=1; export DUALCASE # for MKS sh
   15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16:   emulate sh
   17:   NULLCMD=:
   18:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19:   # is contrary to our usage.  Disable this feature.
   20:   alias -g '${1+"$@"}'='"$@"'
   21:   setopt NO_GLOB_SUBST
   22: else
   23:   case `(set -o) 2>/dev/null` in
   24:   *posix*) set -o posix ;;
   25: esac
   26: 
   27: fi
   28: 
   29: 
   30: 
   31: 
   32: # PATH needs CR
   33: # Avoid depending upon Character Ranges.
   34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   37: as_cr_digits='0123456789'
   38: as_cr_alnum=$as_cr_Letters$as_cr_digits
   39: 
   40: as_nl='
   41: '
   42: export as_nl
   43: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   44: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   46: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   47: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   48:   as_echo='printf %s\n'
   49:   as_echo_n='printf %s'
   50: else
   51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   53:     as_echo_n='/usr/ucb/echo -n'
   54:   else
   55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   56:     as_echo_n_body='eval
   57:       arg=$1;
   58:       case $arg in
   59:       *"$as_nl"*)
   60: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   61: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   62:       esac;
   63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   64:     '
   65:     export as_echo_n_body
   66:     as_echo_n='sh -c $as_echo_n_body as_echo'
   67:   fi
   68:   export as_echo_body
   69:   as_echo='sh -c $as_echo_body as_echo'
   70: fi
   71: 
   72: # The user is always right.
   73: if test "${PATH_SEPARATOR+set}" != set; then
   74:   PATH_SEPARATOR=:
   75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   77:       PATH_SEPARATOR=';'
   78:   }
   79: fi
   80: 
   81: # Support unset when possible.
   82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   83:   as_unset=unset
   84: else
   85:   as_unset=false
   86: fi
   87: 
   88: 
   89: # IFS
   90: # We need space, tab and new line, in precisely that order.  Quoting is
   91: # there to prevent editors from complaining about space-tab.
   92: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   93: # splitting by setting IFS to empty value.)
   94: IFS=" ""	$as_nl"
   95: 
   96: # Find who we are.  Look in the path if we contain no directory separator.
   97: case $0 in
   98:   *[\\/]* ) as_myself=$0 ;;
   99:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  100: for as_dir in $PATH
  101: do
  102:   IFS=$as_save_IFS
  103:   test -z "$as_dir" && as_dir=.
  104:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  105: done
  106: IFS=$as_save_IFS
  107: 
  108:      ;;
  109: esac
  110: # We did not find ourselves, most probably we were run as `sh COMMAND'
  111: # in which case we are not to be found in the path.
  112: if test "x$as_myself" = x; then
  113:   as_myself=$0
  114: fi
  115: if test ! -f "$as_myself"; then
  116:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  117:   { (exit 1); exit 1; }
  118: fi
  119: 
  120: # Work around bugs in pre-3.0 UWIN ksh.
  121: for as_var in ENV MAIL MAILPATH
  122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  123: done
  124: PS1='$ '
  125: PS2='> '
  126: PS4='+ '
  127: 
  128: # NLS nuisances.
  129: LC_ALL=C
  130: export LC_ALL
  131: LANGUAGE=C
  132: export LANGUAGE
  133: 
  134: # Required to use basename.
  135: if expr a : '\(a\)' >/dev/null 2>&1 &&
  136:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  137:   as_expr=expr
  138: else
  139:   as_expr=false
  140: fi
  141: 
  142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  143:   as_basename=basename
  144: else
  145:   as_basename=false
  146: fi
  147: 
  148: 
  149: # Name of the executable.
  150: as_me=`$as_basename -- "$0" ||
  151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  152: 	 X"$0" : 'X\(//\)$' \| \
  153: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  154: $as_echo X/"$0" |
  155:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  156: 	    s//\1/
  157: 	    q
  158: 	  }
  159: 	  /^X\/\(\/\/\)$/{
  160: 	    s//\1/
  161: 	    q
  162: 	  }
  163: 	  /^X\/\(\/\).*/{
  164: 	    s//\1/
  165: 	    q
  166: 	  }
  167: 	  s/.*/./; q'`
  168: 
  169: # CDPATH.
  170: $as_unset CDPATH
  171: 
  172: 
  173: if test "x$CONFIG_SHELL" = x; then
  174:   if (eval ":") 2>/dev/null; then
  175:   as_have_required=yes
  176: else
  177:   as_have_required=no
  178: fi
  179: 
  180:   if test $as_have_required = yes &&	 (eval ":
  181: (as_func_return () {
  182:   (exit \$1)
  183: }
  184: as_func_success () {
  185:   as_func_return 0
  186: }
  187: as_func_failure () {
  188:   as_func_return 1
  189: }
  190: as_func_ret_success () {
  191:   return 0
  192: }
  193: as_func_ret_failure () {
  194:   return 1
  195: }
  196: 
  197: exitcode=0
  198: if as_func_success; then
  199:   :
  200: else
  201:   exitcode=1
  202:   echo as_func_success failed.
  203: fi
  204: 
  205: if as_func_failure; then
  206:   exitcode=1
  207:   echo as_func_failure succeeded.
  208: fi
  209: 
  210: if as_func_ret_success; then
  211:   :
  212: else
  213:   exitcode=1
  214:   echo as_func_ret_success failed.
  215: fi
  216: 
  217: if as_func_ret_failure; then
  218:   exitcode=1
  219:   echo as_func_ret_failure succeeded.
  220: fi
  221: 
  222: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  223:   :
  224: else
  225:   exitcode=1
  226:   echo positional parameters were not saved.
  227: fi
  228: 
  229: test \$exitcode = 0) || { (exit 1); exit 1; }
  230: 
  231: (
  232:   as_lineno_1=\$LINENO
  233:   as_lineno_2=\$LINENO
  234:   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  235:   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  236: ") 2> /dev/null; then
  237:   :
  238: else
  239:   as_candidate_shells=
  240:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  241: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  242: do
  243:   IFS=$as_save_IFS
  244:   test -z "$as_dir" && as_dir=.
  245:   case $as_dir in
  246: 	 /*)
  247: 	   for as_base in sh bash ksh sh5; do
  248: 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  249: 	   done;;
  250:        esac
  251: done
  252: IFS=$as_save_IFS
  253: 
  254: 
  255:       for as_shell in $as_candidate_shells $SHELL; do
  256: 	 # Try only shells that exist, to save several forks.
  257: 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  258: 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
  259: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  260:   emulate sh
  261:   NULLCMD=:
  262:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  263:   # is contrary to our usage.  Disable this feature.
  264:   alias -g '${1+"$@"}'='"$@"'
  265:   setopt NO_GLOB_SUBST
  266: else
  267:   case `(set -o) 2>/dev/null` in
  268:   *posix*) set -o posix ;;
  269: esac
  270: 
  271: fi
  272: 
  273: 
  274: :
  275: _ASEOF
  276: }; then
  277:   CONFIG_SHELL=$as_shell
  278: 	       as_have_required=yes
  279: 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
  280: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  281:   emulate sh
  282:   NULLCMD=:
  283:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  284:   # is contrary to our usage.  Disable this feature.
  285:   alias -g '${1+"$@"}'='"$@"'
  286:   setopt NO_GLOB_SUBST
  287: else
  288:   case `(set -o) 2>/dev/null` in
  289:   *posix*) set -o posix ;;
  290: esac
  291: 
  292: fi
  293: 
  294: 
  295: :
  296: (as_func_return () {
  297:   (exit $1)
  298: }
  299: as_func_success () {
  300:   as_func_return 0
  301: }
  302: as_func_failure () {
  303:   as_func_return 1
  304: }
  305: as_func_ret_success () {
  306:   return 0
  307: }
  308: as_func_ret_failure () {
  309:   return 1
  310: }
  311: 
  312: exitcode=0
  313: if as_func_success; then
  314:   :
  315: else
  316:   exitcode=1
  317:   echo as_func_success failed.
  318: fi
  319: 
  320: if as_func_failure; then
  321:   exitcode=1
  322:   echo as_func_failure succeeded.
  323: fi
  324: 
  325: if as_func_ret_success; then
  326:   :
  327: else
  328:   exitcode=1
  329:   echo as_func_ret_success failed.
  330: fi
  331: 
  332: if as_func_ret_failure; then
  333:   exitcode=1
  334:   echo as_func_ret_failure succeeded.
  335: fi
  336: 
  337: if ( set x; as_func_ret_success y && test x = "$1" ); then
  338:   :
  339: else
  340:   exitcode=1
  341:   echo positional parameters were not saved.
  342: fi
  343: 
  344: test $exitcode = 0) || { (exit 1); exit 1; }
  345: 
  346: (
  347:   as_lineno_1=$LINENO
  348:   as_lineno_2=$LINENO
  349:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  350:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  351: 
  352: _ASEOF
  353: }; then
  354:   break
  355: fi
  356: 
  357: fi
  358: 
  359:       done
  360: 
  361:       if test "x$CONFIG_SHELL" != x; then
  362:   for as_var in BASH_ENV ENV
  363: 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  364: 	done
  365: 	export CONFIG_SHELL
  366: 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  367: fi
  368: 
  369: 
  370:     if test $as_have_required = no; then
  371:   echo This script requires a shell more modern than all the
  372:       echo shells that I found on your system.  Please install a
  373:       echo modern shell, or manually run the script under such a
  374:       echo shell if you do have one.
  375:       { (exit 1); exit 1; }
  376: fi
  377: 
  378: 
  379: fi
  380: 
  381: fi
  382: 
  383: 
  384: 
  385: (eval "as_func_return () {
  386:   (exit \$1)
  387: }
  388: as_func_success () {
  389:   as_func_return 0
  390: }
  391: as_func_failure () {
  392:   as_func_return 1
  393: }
  394: as_func_ret_success () {
  395:   return 0
  396: }
  397: as_func_ret_failure () {
  398:   return 1
  399: }
  400: 
  401: exitcode=0
  402: if as_func_success; then
  403:   :
  404: else
  405:   exitcode=1
  406:   echo as_func_success failed.
  407: fi
  408: 
  409: if as_func_failure; then
  410:   exitcode=1
  411:   echo as_func_failure succeeded.
  412: fi
  413: 
  414: if as_func_ret_success; then
  415:   :
  416: else
  417:   exitcode=1
  418:   echo as_func_ret_success failed.
  419: fi
  420: 
  421: if as_func_ret_failure; then
  422:   exitcode=1
  423:   echo as_func_ret_failure succeeded.
  424: fi
  425: 
  426: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  427:   :
  428: else
  429:   exitcode=1
  430:   echo positional parameters were not saved.
  431: fi
  432: 
  433: test \$exitcode = 0") || {
  434:   echo No shell found that supports shell functions.
  435:   echo Please tell bug-autoconf@gnu.org about your system,
  436:   echo including any error possibly output before this message.
  437:   echo This can help us improve future autoconf versions.
  438:   echo Configuration will now proceed without shell functions.
  439: }
  440: 
  441: 
  442: 
  443:   as_lineno_1=$LINENO
  444:   as_lineno_2=$LINENO
  445:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  446:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  447: 
  448:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  449:   # uniformly replaced by the line number.  The first 'sed' inserts a
  450:   # line-number line after each line using $LINENO; the second 'sed'
  451:   # does the real work.  The second script uses 'N' to pair each
  452:   # line-number line with the line containing $LINENO, and appends
  453:   # trailing '-' during substitution so that $LINENO is not a special
  454:   # case at line end.
  455:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  456:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  457:   # E. McMahon (1931-1989) for sed's syntax.  :-)
  458:   sed -n '
  459:     p
  460:     /[$]LINENO/=
  461:   ' <$as_myself |
  462:     sed '
  463:       s/[$]LINENO.*/&-/
  464:       t lineno
  465:       b
  466:       :lineno
  467:       N
  468:       :loop
  469:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  470:       t loop
  471:       s/-\n.*//
  472:     ' >$as_me.lineno &&
  473:   chmod +x "$as_me.lineno" ||
  474:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  475:    { (exit 1); exit 1; }; }
  476: 
  477:   # Don't try to exec as it changes $[0], causing all sort of problems
  478:   # (the dirname of $[0] is not the place where we might find the
  479:   # original and so on.  Autoconf is especially sensitive to this).
  480:   . "./$as_me.lineno"
  481:   # Exit status is that of the last command.
  482:   exit
  483: }
  484: 
  485: 
  486: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  487:   as_dirname=dirname
  488: else
  489:   as_dirname=false
  490: fi
  491: 
  492: ECHO_C= ECHO_N= ECHO_T=
  493: case `echo -n x` in
  494: -n*)
  495:   case `echo 'x\c'` in
  496:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  497:   *)   ECHO_C='\c';;
  498:   esac;;
  499: *)
  500:   ECHO_N='-n';;
  501: esac
  502: if expr a : '\(a\)' >/dev/null 2>&1 &&
  503:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  504:   as_expr=expr
  505: else
  506:   as_expr=false
  507: fi
  508: 
  509: rm -f conf$$ conf$$.exe conf$$.file
  510: if test -d conf$$.dir; then
  511:   rm -f conf$$.dir/conf$$.file
  512: else
  513:   rm -f conf$$.dir
  514:   mkdir conf$$.dir 2>/dev/null
  515: fi
  516: if (echo >conf$$.file) 2>/dev/null; then
  517:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  518:     as_ln_s='ln -s'
  519:     # ... but there are two gotchas:
  520:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  521:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  522:     # In both cases, we have to default to `cp -p'.
  523:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  524:       as_ln_s='cp -p'
  525:   elif ln conf$$.file conf$$ 2>/dev/null; then
  526:     as_ln_s=ln
  527:   else
  528:     as_ln_s='cp -p'
  529:   fi
  530: else
  531:   as_ln_s='cp -p'
  532: fi
  533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  534: rmdir conf$$.dir 2>/dev/null
  535: 
  536: if mkdir -p . 2>/dev/null; then
  537:   as_mkdir_p=:
  538: else
  539:   test -d ./-p && rmdir ./-p
  540:   as_mkdir_p=false
  541: fi
  542: 
  543: if test -x / >/dev/null 2>&1; then
  544:   as_test_x='test -x'
  545: else
  546:   if ls -dL / >/dev/null 2>&1; then
  547:     as_ls_L_option=L
  548:   else
  549:     as_ls_L_option=
  550:   fi
  551:   as_test_x='
  552:     eval sh -c '\''
  553:       if test -d "$1"; then
  554: 	test -d "$1/.";
  555:       else
  556: 	case $1 in
  557: 	-*)set "./$1";;
  558: 	esac;
  559: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  560: 	???[sx]*):;;*)false;;esac;fi
  561:     '\'' sh
  562:   '
  563: fi
  564: as_executable_p=$as_test_x
  565: 
  566: # Sed expression to map a string onto a valid CPP name.
  567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  568: 
  569: # Sed expression to map a string onto a valid variable name.
  570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  571: 
  572: 
  573: 
  574: 
  575: # Check that we are running under the correct shell.
  576: SHELL=${CONFIG_SHELL-/bin/sh}
  577: 
  578: case X$lt_ECHO in
  579: X*--fallback-echo)
  580:   # Remove one level of quotation (which was required for Make).
  581:   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  582:   ;;
  583: esac
  584: 
  585: ECHO=${lt_ECHO-echo}
  586: if test "X$1" = X--no-reexec; then
  587:   # Discard the --no-reexec flag, and continue.
  588:   shift
  589: elif test "X$1" = X--fallback-echo; then
  590:   # Avoid inline document here, it may be left over
  591:   :
  592: elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  593:   # Yippee, $ECHO works!
  594:   :
  595: else
  596:   # Restart under the correct shell.
  597:   exec $SHELL "$0" --no-reexec ${1+"$@"}
  598: fi
  599: 
  600: if test "X$1" = X--fallback-echo; then
  601:   # used as fallback echo
  602:   shift
  603:   cat <<_LT_EOF
  604: $*
  605: _LT_EOF
  606:   exit 0
  607: fi
  608: 
  609: # The HP-UX ksh and POSIX shell print the target directory to stdout
  610: # if CDPATH is set.
  611: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  612: 
  613: if test -z "$lt_ECHO"; then
  614:   if test "X${echo_test_string+set}" != Xset; then
  615:     # find a string as large as possible, as long as the shell can cope with it
  616:     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  617:       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  618:       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  619: 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  620:       then
  621:         break
  622:       fi
  623:     done
  624:   fi
  625: 
  626:   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  627:      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  628:      test "X$echo_testing_string" = "X$echo_test_string"; then
  629:     :
  630:   else
  631:     # The Solaris, AIX, and Digital Unix default echo programs unquote
  632:     # backslashes.  This makes it impossible to quote backslashes using
  633:     #   echo "$something" | sed 's/\\/\\\\/g'
  634:     #
  635:     # So, first we look for a working echo in the user's PATH.
  636: 
  637:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  638:     for dir in $PATH /usr/ucb; do
  639:       IFS="$lt_save_ifs"
  640:       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  641:          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  642:          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  643:          test "X$echo_testing_string" = "X$echo_test_string"; then
  644:         ECHO="$dir/echo"
  645:         break
  646:       fi
  647:     done
  648:     IFS="$lt_save_ifs"
  649: 
  650:     if test "X$ECHO" = Xecho; then
  651:       # We didn't find a better echo, so look for alternatives.
  652:       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  653:          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  654:          test "X$echo_testing_string" = "X$echo_test_string"; then
  655:         # This shell has a builtin print -r that does the trick.
  656:         ECHO='print -r'
  657:       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  658: 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  659:         # If we have ksh, try running configure again with it.
  660:         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  661:         export ORIGINAL_CONFIG_SHELL
  662:         CONFIG_SHELL=/bin/ksh
  663:         export CONFIG_SHELL
  664:         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  665:       else
  666:         # Try using printf.
  667:         ECHO='printf %s\n'
  668:         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  669: 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  670: 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  671: 	  # Cool, printf works
  672: 	  :
  673:         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  674: 	     test "X$echo_testing_string" = 'X\t' &&
  675: 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  676: 	     test "X$echo_testing_string" = "X$echo_test_string"; then
  677: 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  678: 	  export CONFIG_SHELL
  679: 	  SHELL="$CONFIG_SHELL"
  680: 	  export SHELL
  681: 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  682:         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  683: 	     test "X$echo_testing_string" = 'X\t' &&
  684: 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  685: 	     test "X$echo_testing_string" = "X$echo_test_string"; then
  686: 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  687:         else
  688: 	  # maybe with a smaller string...
  689: 	  prev=:
  690: 
  691: 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  692: 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  693: 	    then
  694: 	      break
  695: 	    fi
  696: 	    prev="$cmd"
  697: 	  done
  698: 
  699: 	  if test "$prev" != 'sed 50q "$0"'; then
  700: 	    echo_test_string=`eval $prev`
  701: 	    export echo_test_string
  702: 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  703: 	  else
  704: 	    # Oops.  We lost completely, so just stick with echo.
  705: 	    ECHO=echo
  706: 	  fi
  707:         fi
  708:       fi
  709:     fi
  710:   fi
  711: fi
  712: 
  713: # Copy echo and quote the copy suitably for passing to libtool from
  714: # the Makefile, instead of quoting the original, which is used later.
  715: lt_ECHO=$ECHO
  716: if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  717:    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  718: fi
  719: 
  720: 
  721: 
  722: 
  723: exec 7<&0 </dev/null 6>&1
  724: 
  725: # Name of the host.
  726: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  727: # so uname gets run too.
  728: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  729: 
  730: #
  731: # Initializations.
  732: #
  733: ac_default_prefix=/usr/local
  734: ac_clean_files=
  735: ac_config_libobj_dir=.
  736: LIBOBJS=
  737: cross_compiling=no
  738: subdirs=
  739: MFLAGS=
  740: MAKEFLAGS=
  741: SHELL=${CONFIG_SHELL-/bin/sh}
  742: 
  743: # Identity of this package.
  744: PACKAGE_NAME='sqlite'
  745: PACKAGE_TARNAME='sqlite'
  746: PACKAGE_VERSION='3.7.10'
  747: PACKAGE_STRING='sqlite 3.7.10'
  748: PACKAGE_BUGREPORT=''
  749: 
  750: # Factoring default headers for most tests.
  751: ac_includes_default="\
  752: #include <stdio.h>
  753: #ifdef HAVE_SYS_TYPES_H
  754: # include <sys/types.h>
  755: #endif
  756: #ifdef HAVE_SYS_STAT_H
  757: # include <sys/stat.h>
  758: #endif
  759: #ifdef STDC_HEADERS
  760: # include <stdlib.h>
  761: # include <stddef.h>
  762: #else
  763: # ifdef HAVE_STDLIB_H
  764: #  include <stdlib.h>
  765: # endif
  766: #endif
  767: #ifdef HAVE_STRING_H
  768: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  769: #  include <memory.h>
  770: # endif
  771: # include <string.h>
  772: #endif
  773: #ifdef HAVE_STRINGS_H
  774: # include <strings.h>
  775: #endif
  776: #ifdef HAVE_INTTYPES_H
  777: # include <inttypes.h>
  778: #endif
  779: #ifdef HAVE_STDINT_H
  780: # include <stdint.h>
  781: #endif
  782: #ifdef HAVE_UNISTD_H
  783: # include <unistd.h>
  784: #endif"
  785: 
  786: ac_subst_vars='SHELL
  787: PATH_SEPARATOR
  788: PACKAGE_NAME
  789: PACKAGE_TARNAME
  790: PACKAGE_VERSION
  791: PACKAGE_STRING
  792: PACKAGE_BUGREPORT
  793: exec_prefix
  794: prefix
  795: program_transform_name
  796: bindir
  797: sbindir
  798: libexecdir
  799: datarootdir
  800: datadir
  801: sysconfdir
  802: sharedstatedir
  803: localstatedir
  804: includedir
  805: oldincludedir
  806: docdir
  807: infodir
  808: htmldir
  809: dvidir
  810: pdfdir
  811: psdir
  812: libdir
  813: localedir
  814: mandir
  815: DEFS
  816: ECHO_C
  817: ECHO_N
  818: ECHO_T
  819: LIBS
  820: build_alias
  821: host_alias
  822: target_alias
  823: LIBTOOL
  824: build
  825: build_cpu
  826: build_vendor
  827: build_os
  828: host
  829: host_cpu
  830: host_vendor
  831: host_os
  832: CC
  833: CFLAGS
  834: LDFLAGS
  835: CPPFLAGS
  836: ac_ct_CC
  837: EXEEXT
  838: OBJEXT
  839: SED
  840: GREP
  841: EGREP
  842: FGREP
  843: LD
  844: DUMPBIN
  845: ac_ct_DUMPBIN
  846: NM
  847: LN_S
  848: OBJDUMP
  849: AR
  850: STRIP
  851: RANLIB
  852: lt_ECHO
  853: DSYMUTIL
  854: NMEDIT
  855: LIPO
  856: OTOOL
  857: OTOOL64
  858: CPP
  859: INSTALL_PROGRAM
  860: INSTALL_SCRIPT
  861: INSTALL_DATA
  862: AWK
  863: TCLSH_CMD
  864: TCLLIBDIR
  865: program_prefix
  866: VERSION
  867: RELEASE
  868: VERSION_NUMBER
  869: BUILD_CC
  870: SQLITE_THREADSAFE
  871: XTHREADCONNECT
  872: ALLOWRELEASE
  873: TEMP_STORE
  874: BUILD_EXEEXT
  875: SQLITE_OS_UNIX
  876: SQLITE_OS_WIN
  877: SQLITE_OS_OS2
  878: TARGET_EXEEXT
  879: TCL_VERSION
  880: TCL_BIN_DIR
  881: TCL_SRC_DIR
  882: TCL_LIBS
  883: TCL_INCLUDE_SPEC
  884: TCL_LIB_FILE
  885: TCL_LIB_FLAG
  886: TCL_LIB_SPEC
  887: TCL_STUB_LIB_FILE
  888: TCL_STUB_LIB_FLAG
  889: TCL_STUB_LIB_SPEC
  890: HAVE_TCL
  891: TARGET_READLINE_LIBS
  892: TARGET_READLINE_INC
  893: TARGET_HAVE_READLINE
  894: TARGET_DEBUG
  895: USE_AMALGAMATION
  896: OPT_FEATURE_FLAGS
  897: USE_GCOV
  898: BUILD_CFLAGS
  899: LIBOBJS
  900: LTLIBOBJS'
  901: ac_subst_files=''
  902: ac_user_opts='
  903: enable_option_checking
  904: enable_shared
  905: enable_static
  906: with_pic
  907: enable_fast_install
  908: with_gnu_ld
  909: enable_libtool_lock
  910: enable_largefile
  911: with_hints
  912: enable_threadsafe
  913: enable_cross_thread_connections
  914: enable_releasemode
  915: enable_tempstore
  916: enable_tcl
  917: with_tcl
  918: enable_readline
  919: with_readline_lib
  920: with_readline_inc
  921: enable_debug
  922: enable_amalgamation
  923: enable_load_extension
  924: enable_gcov
  925: '
  926:       ac_precious_vars='build_alias
  927: host_alias
  928: target_alias
  929: CC
  930: CFLAGS
  931: LDFLAGS
  932: LIBS
  933: CPPFLAGS
  934: CPP
  935: TCLLIBDIR'
  936: 
  937: 
  938: # Initialize some variables set by options.
  939: ac_init_help=
  940: ac_init_version=false
  941: ac_unrecognized_opts=
  942: ac_unrecognized_sep=
  943: # The variables have the same names as the options, with
  944: # dashes changed to underlines.
  945: cache_file=/dev/null
  946: exec_prefix=NONE
  947: no_create=
  948: no_recursion=
  949: prefix=NONE
  950: program_prefix=NONE
  951: program_suffix=NONE
  952: program_transform_name=s,x,x,
  953: silent=
  954: site=
  955: srcdir=
  956: verbose=
  957: x_includes=NONE
  958: x_libraries=NONE
  959: 
  960: # Installation directory options.
  961: # These are left unexpanded so users can "make install exec_prefix=/foo"
  962: # and all the variables that are supposed to be based on exec_prefix
  963: # by default will actually change.
  964: # Use braces instead of parens because sh, perl, etc. also accept them.
  965: # (The list follows the same order as the GNU Coding Standards.)
  966: bindir='${exec_prefix}/bin'
  967: sbindir='${exec_prefix}/sbin'
  968: libexecdir='${exec_prefix}/libexec'
  969: datarootdir='${prefix}/share'
  970: datadir='${datarootdir}'
  971: sysconfdir='${prefix}/etc'
  972: sharedstatedir='${prefix}/com'
  973: localstatedir='${prefix}/var'
  974: includedir='${prefix}/include'
  975: oldincludedir='/usr/include'
  976: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  977: infodir='${datarootdir}/info'
  978: htmldir='${docdir}'
  979: dvidir='${docdir}'
  980: pdfdir='${docdir}'
  981: psdir='${docdir}'
  982: libdir='${exec_prefix}/lib'
  983: localedir='${datarootdir}/locale'
  984: mandir='${datarootdir}/man'
  985: 
  986: ac_prev=
  987: ac_dashdash=
  988: for ac_option
  989: do
  990:   # If the previous option needs an argument, assign it.
  991:   if test -n "$ac_prev"; then
  992:     eval $ac_prev=\$ac_option
  993:     ac_prev=
  994:     continue
  995:   fi
  996: 
  997:   case $ac_option in
  998:   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  999:   *)	ac_optarg=yes ;;
 1000:   esac
 1001: 
 1002:   # Accept the important Cygnus configure options, so we can diagnose typos.
 1003: 
 1004:   case $ac_dashdash$ac_option in
 1005:   --)
 1006:     ac_dashdash=yes ;;
 1007: 
 1008:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 1009:     ac_prev=bindir ;;
 1010:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 1011:     bindir=$ac_optarg ;;
 1012: 
 1013:   -build | --build | --buil | --bui | --bu)
 1014:     ac_prev=build_alias ;;
 1015:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 1016:     build_alias=$ac_optarg ;;
 1017: 
 1018:   -cache-file | --cache-file | --cache-fil | --cache-fi \
 1019:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1020:     ac_prev=cache_file ;;
 1021:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1022:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1023:     cache_file=$ac_optarg ;;
 1024: 
 1025:   --config-cache | -C)
 1026:     cache_file=config.cache ;;
 1027: 
 1028:   -datadir | --datadir | --datadi | --datad)
 1029:     ac_prev=datadir ;;
 1030:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1031:     datadir=$ac_optarg ;;
 1032: 
 1033:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1034:   | --dataroo | --dataro | --datar)
 1035:     ac_prev=datarootdir ;;
 1036:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1037:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1038:     datarootdir=$ac_optarg ;;
 1039: 
 1040:   -disable-* | --disable-*)
 1041:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1042:     # Reject names that are not valid shell variable names.
 1043:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1044:       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 1045:    { (exit 1); exit 1; }; }
 1046:     ac_useropt_orig=$ac_useropt
 1047:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1048:     case $ac_user_opts in
 1049:       *"
 1050: "enable_$ac_useropt"
 1051: "*) ;;
 1052:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 1053: 	 ac_unrecognized_sep=', ';;
 1054:     esac
 1055:     eval enable_$ac_useropt=no ;;
 1056: 
 1057:   -docdir | --docdir | --docdi | --doc | --do)
 1058:     ac_prev=docdir ;;
 1059:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1060:     docdir=$ac_optarg ;;
 1061: 
 1062:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1063:     ac_prev=dvidir ;;
 1064:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1065:     dvidir=$ac_optarg ;;
 1066: 
 1067:   -enable-* | --enable-*)
 1068:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1069:     # Reject names that are not valid shell variable names.
 1070:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1071:       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 1072:    { (exit 1); exit 1; }; }
 1073:     ac_useropt_orig=$ac_useropt
 1074:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1075:     case $ac_user_opts in
 1076:       *"
 1077: "enable_$ac_useropt"
 1078: "*) ;;
 1079:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1080: 	 ac_unrecognized_sep=', ';;
 1081:     esac
 1082:     eval enable_$ac_useropt=\$ac_optarg ;;
 1083: 
 1084:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1085:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1086:   | --exec | --exe | --ex)
 1087:     ac_prev=exec_prefix ;;
 1088:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1089:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1090:   | --exec=* | --exe=* | --ex=*)
 1091:     exec_prefix=$ac_optarg ;;
 1092: 
 1093:   -gas | --gas | --ga | --g)
 1094:     # Obsolete; use --with-gas.
 1095:     with_gas=yes ;;
 1096: 
 1097:   -help | --help | --hel | --he | -h)
 1098:     ac_init_help=long ;;
 1099:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1100:     ac_init_help=recursive ;;
 1101:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1102:     ac_init_help=short ;;
 1103: 
 1104:   -host | --host | --hos | --ho)
 1105:     ac_prev=host_alias ;;
 1106:   -host=* | --host=* | --hos=* | --ho=*)
 1107:     host_alias=$ac_optarg ;;
 1108: 
 1109:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1110:     ac_prev=htmldir ;;
 1111:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1112:   | --ht=*)
 1113:     htmldir=$ac_optarg ;;
 1114: 
 1115:   -includedir | --includedir | --includedi | --included | --include \
 1116:   | --includ | --inclu | --incl | --inc)
 1117:     ac_prev=includedir ;;
 1118:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1119:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1120:     includedir=$ac_optarg ;;
 1121: 
 1122:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1123:     ac_prev=infodir ;;
 1124:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1125:     infodir=$ac_optarg ;;
 1126: 
 1127:   -libdir | --libdir | --libdi | --libd)
 1128:     ac_prev=libdir ;;
 1129:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1130:     libdir=$ac_optarg ;;
 1131: 
 1132:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1133:   | --libexe | --libex | --libe)
 1134:     ac_prev=libexecdir ;;
 1135:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1136:   | --libexe=* | --libex=* | --libe=*)
 1137:     libexecdir=$ac_optarg ;;
 1138: 
 1139:   -localedir | --localedir | --localedi | --localed | --locale)
 1140:     ac_prev=localedir ;;
 1141:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1142:     localedir=$ac_optarg ;;
 1143: 
 1144:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1145:   | --localstate | --localstat | --localsta | --localst | --locals)
 1146:     ac_prev=localstatedir ;;
 1147:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1148:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1149:     localstatedir=$ac_optarg ;;
 1150: 
 1151:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1152:     ac_prev=mandir ;;
 1153:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1154:     mandir=$ac_optarg ;;
 1155: 
 1156:   -nfp | --nfp | --nf)
 1157:     # Obsolete; use --without-fp.
 1158:     with_fp=no ;;
 1159: 
 1160:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1161:   | --no-cr | --no-c | -n)
 1162:     no_create=yes ;;
 1163: 
 1164:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1165:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1166:     no_recursion=yes ;;
 1167: 
 1168:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1169:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1170:   | --oldin | --oldi | --old | --ol | --o)
 1171:     ac_prev=oldincludedir ;;
 1172:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1173:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1174:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1175:     oldincludedir=$ac_optarg ;;
 1176: 
 1177:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1178:     ac_prev=prefix ;;
 1179:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1180:     prefix=$ac_optarg ;;
 1181: 
 1182:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1183:   | --program-pre | --program-pr | --program-p)
 1184:     ac_prev=program_prefix ;;
 1185:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1186:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1187:     program_prefix=$ac_optarg ;;
 1188: 
 1189:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1190:   | --program-suf | --program-su | --program-s)
 1191:     ac_prev=program_suffix ;;
 1192:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1193:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1194:     program_suffix=$ac_optarg ;;
 1195: 
 1196:   -program-transform-name | --program-transform-name \
 1197:   | --program-transform-nam | --program-transform-na \
 1198:   | --program-transform-n | --program-transform- \
 1199:   | --program-transform | --program-transfor \
 1200:   | --program-transfo | --program-transf \
 1201:   | --program-trans | --program-tran \
 1202:   | --progr-tra | --program-tr | --program-t)
 1203:     ac_prev=program_transform_name ;;
 1204:   -program-transform-name=* | --program-transform-name=* \
 1205:   | --program-transform-nam=* | --program-transform-na=* \
 1206:   | --program-transform-n=* | --program-transform-=* \
 1207:   | --program-transform=* | --program-transfor=* \
 1208:   | --program-transfo=* | --program-transf=* \
 1209:   | --program-trans=* | --program-tran=* \
 1210:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1211:     program_transform_name=$ac_optarg ;;
 1212: 
 1213:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1214:     ac_prev=pdfdir ;;
 1215:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1216:     pdfdir=$ac_optarg ;;
 1217: 
 1218:   -psdir | --psdir | --psdi | --psd | --ps)
 1219:     ac_prev=psdir ;;
 1220:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1221:     psdir=$ac_optarg ;;
 1222: 
 1223:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1224:   | -silent | --silent | --silen | --sile | --sil)
 1225:     silent=yes ;;
 1226: 
 1227:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1228:     ac_prev=sbindir ;;
 1229:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1230:   | --sbi=* | --sb=*)
 1231:     sbindir=$ac_optarg ;;
 1232: 
 1233:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1234:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1235:   | --sharedst | --shareds | --shared | --share | --shar \
 1236:   | --sha | --sh)
 1237:     ac_prev=sharedstatedir ;;
 1238:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1239:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1240:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1241:   | --sha=* | --sh=*)
 1242:     sharedstatedir=$ac_optarg ;;
 1243: 
 1244:   -site | --site | --sit)
 1245:     ac_prev=site ;;
 1246:   -site=* | --site=* | --sit=*)
 1247:     site=$ac_optarg ;;
 1248: 
 1249:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1250:     ac_prev=srcdir ;;
 1251:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1252:     srcdir=$ac_optarg ;;
 1253: 
 1254:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1255:   | --syscon | --sysco | --sysc | --sys | --sy)
 1256:     ac_prev=sysconfdir ;;
 1257:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1258:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1259:     sysconfdir=$ac_optarg ;;
 1260: 
 1261:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1262:     ac_prev=target_alias ;;
 1263:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1264:     target_alias=$ac_optarg ;;
 1265: 
 1266:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1267:     verbose=yes ;;
 1268: 
 1269:   -version | --version | --versio | --versi | --vers | -V)
 1270:     ac_init_version=: ;;
 1271: 
 1272:   -with-* | --with-*)
 1273:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1274:     # Reject names that are not valid shell variable names.
 1275:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1276:       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 1277:    { (exit 1); exit 1; }; }
 1278:     ac_useropt_orig=$ac_useropt
 1279:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1280:     case $ac_user_opts in
 1281:       *"
 1282: "with_$ac_useropt"
 1283: "*) ;;
 1284:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1285: 	 ac_unrecognized_sep=', ';;
 1286:     esac
 1287:     eval with_$ac_useropt=\$ac_optarg ;;
 1288: 
 1289:   -without-* | --without-*)
 1290:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1291:     # Reject names that are not valid shell variable names.
 1292:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1293:       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 1294:    { (exit 1); exit 1; }; }
 1295:     ac_useropt_orig=$ac_useropt
 1296:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1297:     case $ac_user_opts in
 1298:       *"
 1299: "with_$ac_useropt"
 1300: "*) ;;
 1301:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1302: 	 ac_unrecognized_sep=', ';;
 1303:     esac
 1304:     eval with_$ac_useropt=no ;;
 1305: 
 1306:   --x)
 1307:     # Obsolete; use --with-x.
 1308:     with_x=yes ;;
 1309: 
 1310:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1311:   | --x-incl | --x-inc | --x-in | --x-i)
 1312:     ac_prev=x_includes ;;
 1313:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1314:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1315:     x_includes=$ac_optarg ;;
 1316: 
 1317:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1318:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1319:     ac_prev=x_libraries ;;
 1320:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1321:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1322:     x_libraries=$ac_optarg ;;
 1323: 
 1324:   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 1325: Try \`$0 --help' for more information." >&2
 1326:    { (exit 1); exit 1; }; }
 1327:     ;;
 1328: 
 1329:   *=*)
 1330:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1331:     # Reject names that are not valid shell variable names.
 1332:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1333:       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1334:    { (exit 1); exit 1; }; }
 1335:     eval $ac_envvar=\$ac_optarg
 1336:     export $ac_envvar ;;
 1337: 
 1338:   *)
 1339:     # FIXME: should be removed in autoconf 3.0.
 1340:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1341:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1342:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1343:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1344:     ;;
 1345: 
 1346:   esac
 1347: done
 1348: 
 1349: if test -n "$ac_prev"; then
 1350:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1351:   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 1352:    { (exit 1); exit 1; }; }
 1353: fi
 1354: 
 1355: if test -n "$ac_unrecognized_opts"; then
 1356:   case $enable_option_checking in
 1357:     no) ;;
 1358:     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 1359:    { (exit 1); exit 1; }; } ;;
 1360:     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1361:   esac
 1362: fi
 1363: 
 1364: # Check all directory arguments for consistency.
 1365: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1366: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1367: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1368: 		libdir localedir mandir
 1369: do
 1370:   eval ac_val=\$$ac_var
 1371:   # Remove trailing slashes.
 1372:   case $ac_val in
 1373:     */ )
 1374:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1375:       eval $ac_var=\$ac_val;;
 1376:   esac
 1377:   # Be sure to have absolute directory names.
 1378:   case $ac_val in
 1379:     [\\/$]* | ?:[\\/]* )  continue;;
 1380:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1381:   esac
 1382:   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1383:    { (exit 1); exit 1; }; }
 1384: done
 1385: 
 1386: # There might be people who depend on the old broken behavior: `$host'
 1387: # used to hold the argument of --host etc.
 1388: # FIXME: To remove some day.
 1389: build=$build_alias
 1390: host=$host_alias
 1391: target=$target_alias
 1392: 
 1393: # FIXME: To remove some day.
 1394: if test "x$host_alias" != x; then
 1395:   if test "x$build_alias" = x; then
 1396:     cross_compiling=maybe
 1397:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1398:     If a cross compiler is detected then cross compile mode will be used." >&2
 1399:   elif test "x$build_alias" != "x$host_alias"; then
 1400:     cross_compiling=yes
 1401:   fi
 1402: fi
 1403: 
 1404: ac_tool_prefix=
 1405: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1406: 
 1407: test "$silent" = yes && exec 6>/dev/null
 1408: 
 1409: 
 1410: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1411: ac_ls_di=`ls -di .` &&
 1412: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1413:   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
 1414:    { (exit 1); exit 1; }; }
 1415: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1416:   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 1417:    { (exit 1); exit 1; }; }
 1418: 
 1419: 
 1420: # Find the source files, if location was not specified.
 1421: if test -z "$srcdir"; then
 1422:   ac_srcdir_defaulted=yes
 1423:   # Try the directory containing this script, then the parent directory.
 1424:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1425: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1426: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1427: 	 X"$as_myself" : 'X\(//\)$' \| \
 1428: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1429: $as_echo X"$as_myself" |
 1430:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1431: 	    s//\1/
 1432: 	    q
 1433: 	  }
 1434: 	  /^X\(\/\/\)[^/].*/{
 1435: 	    s//\1/
 1436: 	    q
 1437: 	  }
 1438: 	  /^X\(\/\/\)$/{
 1439: 	    s//\1/
 1440: 	    q
 1441: 	  }
 1442: 	  /^X\(\/\).*/{
 1443: 	    s//\1/
 1444: 	    q
 1445: 	  }
 1446: 	  s/.*/./; q'`
 1447:   srcdir=$ac_confdir
 1448:   if test ! -r "$srcdir/$ac_unique_file"; then
 1449:     srcdir=..
 1450:   fi
 1451: else
 1452:   ac_srcdir_defaulted=no
 1453: fi
 1454: if test ! -r "$srcdir/$ac_unique_file"; then
 1455:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1456:   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1457:    { (exit 1); exit 1; }; }
 1458: fi
 1459: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1460: ac_abs_confdir=`(
 1461: 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 1462:    { (exit 1); exit 1; }; }
 1463: 	pwd)`
 1464: # When building in place, set srcdir=.
 1465: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1466:   srcdir=.
 1467: fi
 1468: # Remove unnecessary trailing slashes from srcdir.
 1469: # Double slashes in file names in object file debugging info
 1470: # mess up M-x gdb in Emacs.
 1471: case $srcdir in
 1472: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1473: esac
 1474: for ac_var in $ac_precious_vars; do
 1475:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1476:   eval ac_env_${ac_var}_value=\$${ac_var}
 1477:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1478:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1479: done
 1480: 
 1481: #
 1482: # Report the --help message.
 1483: #
 1484: if test "$ac_init_help" = "long"; then
 1485:   # Omit some internal or obsolete options to make the list less imposing.
 1486:   # This message is too long to be a string in the A/UX 3.1 sh.
 1487:   cat <<_ACEOF
 1488: \`configure' configures sqlite 3.7.10 to adapt to many kinds of systems.
 1489: 
 1490: Usage: $0 [OPTION]... [VAR=VALUE]...
 1491: 
 1492: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1493: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1494: 
 1495: Defaults for the options are specified in brackets.
 1496: 
 1497: Configuration:
 1498:   -h, --help              display this help and exit
 1499:       --help=short        display options specific to this package
 1500:       --help=recursive    display the short help of all the included packages
 1501:   -V, --version           display version information and exit
 1502:   -q, --quiet, --silent   do not print \`checking...' messages
 1503:       --cache-file=FILE   cache test results in FILE [disabled]
 1504:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1505:   -n, --no-create         do not create output files
 1506:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1507: 
 1508: Installation directories:
 1509:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1510:                           [$ac_default_prefix]
 1511:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1512:                           [PREFIX]
 1513: 
 1514: By default, \`make install' will install all the files in
 1515: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1516: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1517: for instance \`--prefix=\$HOME'.
 1518: 
 1519: For better control, use the options below.
 1520: 
 1521: Fine tuning of the installation directories:
 1522:   --bindir=DIR            user executables [EPREFIX/bin]
 1523:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1524:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1525:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1526:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1527:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1528:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1529:   --includedir=DIR        C header files [PREFIX/include]
 1530:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1531:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1532:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1533:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1534:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1535:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1536:   --docdir=DIR            documentation root [DATAROOTDIR/doc/sqlite]
 1537:   --htmldir=DIR           html documentation [DOCDIR]
 1538:   --dvidir=DIR            dvi documentation [DOCDIR]
 1539:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1540:   --psdir=DIR             ps documentation [DOCDIR]
 1541: _ACEOF
 1542: 
 1543:   cat <<\_ACEOF
 1544: 
 1545: System types:
 1546:   --build=BUILD     configure for building on BUILD [guessed]
 1547:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1548: _ACEOF
 1549: fi
 1550: 
 1551: if test -n "$ac_init_help"; then
 1552:   case $ac_init_help in
 1553:      short | recursive ) echo "Configuration of sqlite 3.7.10:";;
 1554:    esac
 1555:   cat <<\_ACEOF
 1556: 
 1557: Optional Features:
 1558:   --disable-option-checking  ignore unrecognized --enable/--with options
 1559:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1560:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1561:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1562:   --enable-static[=PKGS]  build static libraries [default=yes]
 1563:   --enable-fast-install[=PKGS]
 1564:                           optimize for fast installation [default=yes]
 1565:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1566:   --disable-largefile     omit support for large files
 1567:   --enable-threadsafe     Support threadsafe operation
 1568:   --enable-cross-thread-connections
 1569:                           Allow connection sharing across threads
 1570:   --enable-releasemode    Support libtool link to release mode
 1571:   --enable-tempstore      Use an in-ram database for temporary tables
 1572:                           (never,no,yes,always)
 1573:   --disable-tcl           do not build TCL extension
 1574:   --disable-readline      disable readline support [default=detect]
 1575:   --enable-debug          enable debugging & verbose explain
 1576:   --disable-amalgamation  Disable the amalgamation and instead build all files
 1577:                           separately
 1578:   --enable-load-extension Enable loading of external extensions
 1579:   --enable-gcov           Enable coverage testing using gcov
 1580: 
 1581: Optional Packages:
 1582:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1583:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1584:   --with-pic              try to use only PIC/non-PIC objects [default=use
 1585:                           both]
 1586:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1587:   --with-hints=FILE       Read configuration options from FILE
 1588:   --with-tcl=DIR          directory containing tcl configuration
 1589:                           (tclConfig.sh)
 1590:   --with-readline-lib     specify readline library
 1591:   --with-readline-inc     specify readline include paths
 1592: 
 1593: Some influential environment variables:
 1594:   CC          C compiler command
 1595:   CFLAGS      C compiler flags
 1596:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1597:               nonstandard directory <lib dir>
 1598:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1599:   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1600:               you have headers in a nonstandard directory <include dir>
 1601:   CPP         C preprocessor
 1602:   TCLLIBDIR   Where to install tcl plugin
 1603: 
 1604: Use these variables to override the choices made by `configure' or to help
 1605: it to find libraries and programs with nonstandard names/locations.
 1606: 
 1607: _ACEOF
 1608: ac_status=$?
 1609: fi
 1610: 
 1611: if test "$ac_init_help" = "recursive"; then
 1612:   # If there are subdirs, report their specific --help.
 1613:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1614:     test -d "$ac_dir" ||
 1615:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1616:       continue
 1617:     ac_builddir=.
 1618: 
 1619: case "$ac_dir" in
 1620: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1621: *)
 1622:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1623:   # A ".." for each directory in $ac_dir_suffix.
 1624:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1625:   case $ac_top_builddir_sub in
 1626:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1627:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1628:   esac ;;
 1629: esac
 1630: ac_abs_top_builddir=$ac_pwd
 1631: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1632: # for backward compatibility:
 1633: ac_top_builddir=$ac_top_build_prefix
 1634: 
 1635: case $srcdir in
 1636:   .)  # We are building in place.
 1637:     ac_srcdir=.
 1638:     ac_top_srcdir=$ac_top_builddir_sub
 1639:     ac_abs_top_srcdir=$ac_pwd ;;
 1640:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1641:     ac_srcdir=$srcdir$ac_dir_suffix;
 1642:     ac_top_srcdir=$srcdir
 1643:     ac_abs_top_srcdir=$srcdir ;;
 1644:   *) # Relative name.
 1645:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1646:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1647:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1648: esac
 1649: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1650: 
 1651:     cd "$ac_dir" || { ac_status=$?; continue; }
 1652:     # Check for guested configure.
 1653:     if test -f "$ac_srcdir/configure.gnu"; then
 1654:       echo &&
 1655:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1656:     elif test -f "$ac_srcdir/configure"; then
 1657:       echo &&
 1658:       $SHELL "$ac_srcdir/configure" --help=recursive
 1659:     else
 1660:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1661:     fi || ac_status=$?
 1662:     cd "$ac_pwd" || { ac_status=$?; break; }
 1663:   done
 1664: fi
 1665: 
 1666: test -n "$ac_init_help" && exit $ac_status
 1667: if $ac_init_version; then
 1668:   cat <<\_ACEOF
 1669: sqlite configure 3.7.10
 1670: generated by GNU Autoconf 2.62
 1671: 
 1672: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 1673: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 1674: This configure script is free software; the Free Software Foundation
 1675: gives unlimited permission to copy, distribute and modify it.
 1676: _ACEOF
 1677:   exit
 1678: fi
 1679: cat >config.log <<_ACEOF
 1680: This file contains any messages produced by compilers while
 1681: running configure, to aid debugging if configure makes a mistake.
 1682: 
 1683: It was created by sqlite $as_me 3.7.10, which was
 1684: generated by GNU Autoconf 2.62.  Invocation command line was
 1685: 
 1686:   $ $0 $@
 1687: 
 1688: _ACEOF
 1689: exec 5>>config.log
 1690: {
 1691: cat <<_ASUNAME
 1692: ## --------- ##
 1693: ## Platform. ##
 1694: ## --------- ##
 1695: 
 1696: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1697: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1698: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1699: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1700: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1701: 
 1702: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1703: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1704: 
 1705: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1706: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1707: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1708: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1709: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1710: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1711: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1712: 
 1713: _ASUNAME
 1714: 
 1715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1716: for as_dir in $PATH
 1717: do
 1718:   IFS=$as_save_IFS
 1719:   test -z "$as_dir" && as_dir=.
 1720:   $as_echo "PATH: $as_dir"
 1721: done
 1722: IFS=$as_save_IFS
 1723: 
 1724: } >&5
 1725: 
 1726: cat >&5 <<_ACEOF
 1727: 
 1728: 
 1729: ## ----------- ##
 1730: ## Core tests. ##
 1731: ## ----------- ##
 1732: 
 1733: _ACEOF
 1734: 
 1735: 
 1736: # Keep a trace of the command line.
 1737: # Strip out --no-create and --no-recursion so they do not pile up.
 1738: # Strip out --silent because we don't want to record it for future runs.
 1739: # Also quote any args containing shell meta-characters.
 1740: # Make two passes to allow for proper duplicate-argument suppression.
 1741: ac_configure_args=
 1742: ac_configure_args0=
 1743: ac_configure_args1=
 1744: ac_must_keep_next=false
 1745: for ac_pass in 1 2
 1746: do
 1747:   for ac_arg
 1748:   do
 1749:     case $ac_arg in
 1750:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1751:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1752:     | -silent | --silent | --silen | --sile | --sil)
 1753:       continue ;;
 1754:     *\'*)
 1755:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1756:     esac
 1757:     case $ac_pass in
 1758:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1759:     2)
 1760:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1761:       if test $ac_must_keep_next = true; then
 1762: 	ac_must_keep_next=false # Got value, back to normal.
 1763:       else
 1764: 	case $ac_arg in
 1765: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1766: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1767: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1768: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1769: 	    case "$ac_configure_args0 " in
 1770: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1771: 	    esac
 1772: 	    ;;
 1773: 	  -* ) ac_must_keep_next=true ;;
 1774: 	esac
 1775:       fi
 1776:       ac_configure_args="$ac_configure_args '$ac_arg'"
 1777:       ;;
 1778:     esac
 1779:   done
 1780: done
 1781: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1782: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1783: 
 1784: # When interrupted or exit'd, cleanup temporary files, and complete
 1785: # config.log.  We remove comments because anyway the quotes in there
 1786: # would cause problems or look ugly.
 1787: # WARNING: Use '\'' to represent an apostrophe within the trap.
 1788: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1789: trap 'exit_status=$?
 1790:   # Save into config.log some information that might help in debugging.
 1791:   {
 1792:     echo
 1793: 
 1794:     cat <<\_ASBOX
 1795: ## ---------------- ##
 1796: ## Cache variables. ##
 1797: ## ---------------- ##
 1798: _ASBOX
 1799:     echo
 1800:     # The following way of writing the cache mishandles newlines in values,
 1801: (
 1802:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1803:     eval ac_val=\$$ac_var
 1804:     case $ac_val in #(
 1805:     *${as_nl}*)
 1806:       case $ac_var in #(
 1807:       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1808: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1809:       esac
 1810:       case $ac_var in #(
 1811:       _ | IFS | as_nl) ;; #(
 1812:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1813:       *) $as_unset $ac_var ;;
 1814:       esac ;;
 1815:     esac
 1816:   done
 1817:   (set) 2>&1 |
 1818:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1819:     *${as_nl}ac_space=\ *)
 1820:       sed -n \
 1821: 	"s/'\''/'\''\\\\'\'''\''/g;
 1822: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1823:       ;; #(
 1824:     *)
 1825:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1826:       ;;
 1827:     esac |
 1828:     sort
 1829: )
 1830:     echo
 1831: 
 1832:     cat <<\_ASBOX
 1833: ## ----------------- ##
 1834: ## Output variables. ##
 1835: ## ----------------- ##
 1836: _ASBOX
 1837:     echo
 1838:     for ac_var in $ac_subst_vars
 1839:     do
 1840:       eval ac_val=\$$ac_var
 1841:       case $ac_val in
 1842:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1843:       esac
 1844:       $as_echo "$ac_var='\''$ac_val'\''"
 1845:     done | sort
 1846:     echo
 1847: 
 1848:     if test -n "$ac_subst_files"; then
 1849:       cat <<\_ASBOX
 1850: ## ------------------- ##
 1851: ## File substitutions. ##
 1852: ## ------------------- ##
 1853: _ASBOX
 1854:       echo
 1855:       for ac_var in $ac_subst_files
 1856:       do
 1857: 	eval ac_val=\$$ac_var
 1858: 	case $ac_val in
 1859: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1860: 	esac
 1861: 	$as_echo "$ac_var='\''$ac_val'\''"
 1862:       done | sort
 1863:       echo
 1864:     fi
 1865: 
 1866:     if test -s confdefs.h; then
 1867:       cat <<\_ASBOX
 1868: ## ----------- ##
 1869: ## confdefs.h. ##
 1870: ## ----------- ##
 1871: _ASBOX
 1872:       echo
 1873:       cat confdefs.h
 1874:       echo
 1875:     fi
 1876:     test "$ac_signal" != 0 &&
 1877:       $as_echo "$as_me: caught signal $ac_signal"
 1878:     $as_echo "$as_me: exit $exit_status"
 1879:   } >&5
 1880:   rm -f core *.core core.conftest.* &&
 1881:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1882:     exit $exit_status
 1883: ' 0
 1884: for ac_signal in 1 2 13 15; do
 1885:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1886: done
 1887: ac_signal=0
 1888: 
 1889: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1890: rm -f -r conftest* confdefs.h
 1891: 
 1892: # Predefined preprocessor variables.
 1893: 
 1894: cat >>confdefs.h <<_ACEOF
 1895: #define PACKAGE_NAME "$PACKAGE_NAME"
 1896: _ACEOF
 1897: 
 1898: 
 1899: cat >>confdefs.h <<_ACEOF
 1900: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1901: _ACEOF
 1902: 
 1903: 
 1904: cat >>confdefs.h <<_ACEOF
 1905: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1906: _ACEOF
 1907: 
 1908: 
 1909: cat >>confdefs.h <<_ACEOF
 1910: #define PACKAGE_STRING "$PACKAGE_STRING"
 1911: _ACEOF
 1912: 
 1913: 
 1914: cat >>confdefs.h <<_ACEOF
 1915: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1916: _ACEOF
 1917: 
 1918: 
 1919: # Let the site file select an alternate cache file if it wants to.
 1920: # Prefer an explicitly selected file to automatically selected ones.
 1921: ac_site_file1=NONE
 1922: ac_site_file2=NONE
 1923: if test -n "$CONFIG_SITE"; then
 1924:   ac_site_file1=$CONFIG_SITE
 1925: elif test "x$prefix" != xNONE; then
 1926:   ac_site_file1=$prefix/share/config.site
 1927:   ac_site_file2=$prefix/etc/config.site
 1928: else
 1929:   ac_site_file1=$ac_default_prefix/share/config.site
 1930:   ac_site_file2=$ac_default_prefix/etc/config.site
 1931: fi
 1932: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 1933: do
 1934:   test "x$ac_site_file" = xNONE && continue
 1935:   if test -r "$ac_site_file"; then
 1936:     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1937: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 1938:     sed 's/^/| /' "$ac_site_file" >&5
 1939:     . "$ac_site_file"
 1940:   fi
 1941: done
 1942: 
 1943: if test -r "$cache_file"; then
 1944:   # Some versions of bash will fail to source /dev/null (special
 1945:   # files actually), so we avoid doing that.
 1946:   if test -f "$cache_file"; then
 1947:     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1948: $as_echo "$as_me: loading cache $cache_file" >&6;}
 1949:     case $cache_file in
 1950:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1951:       *)                      . "./$cache_file";;
 1952:     esac
 1953:   fi
 1954: else
 1955:   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1956: $as_echo "$as_me: creating cache $cache_file" >&6;}
 1957:   >$cache_file
 1958: fi
 1959: 
 1960: # Check that the precious variables saved in the cache have kept the same
 1961: # value.
 1962: ac_cache_corrupted=false
 1963: for ac_var in $ac_precious_vars; do
 1964:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1965:   eval ac_new_set=\$ac_env_${ac_var}_set
 1966:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1967:   eval ac_new_val=\$ac_env_${ac_var}_value
 1968:   case $ac_old_set,$ac_new_set in
 1969:     set,)
 1970:       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1971: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1972:       ac_cache_corrupted=: ;;
 1973:     ,set)
 1974:       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1975: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1976:       ac_cache_corrupted=: ;;
 1977:     ,);;
 1978:     *)
 1979:       if test "x$ac_old_val" != "x$ac_new_val"; then
 1980: 	# differences in whitespace do not lead to failure.
 1981: 	ac_old_val_w=`echo x $ac_old_val`
 1982: 	ac_new_val_w=`echo x $ac_new_val`
 1983: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 1984: 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1985: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1986: 	  ac_cache_corrupted=:
 1987: 	else
 1988: 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 1989: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 1990: 	  eval $ac_var=\$ac_old_val
 1991: 	fi
 1992: 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 1993: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 1994: 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 1995: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 1996:       fi;;
 1997:   esac
 1998:   # Pass precious variables to config.status.
 1999:   if test "$ac_new_set" = set; then
 2000:     case $ac_new_val in
 2001:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2002:     *) ac_arg=$ac_var=$ac_new_val ;;
 2003:     esac
 2004:     case " $ac_configure_args " in
 2005:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2006:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 2007:     esac
 2008:   fi
 2009: done
 2010: if $ac_cache_corrupted; then
 2011:   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 2012: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2013:   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 2014: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 2015:    { (exit 1); exit 1; }; }
 2016: fi
 2017: 
 2018: 
 2019: 
 2020: 
 2021: 
 2022: 
 2023: 
 2024: 
 2025: 
 2026: 
 2027: 
 2028: 
 2029: 
 2030: 
 2031: 
 2032: 
 2033: 
 2034: 
 2035: 
 2036: 
 2037: 
 2038: 
 2039: 
 2040: 
 2041: 
 2042: ac_ext=c
 2043: ac_cpp='$CPP $CPPFLAGS'
 2044: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2045: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2046: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2047: 
 2048: 
 2049: 
 2050: sqlite_version_sanity_check=`cat $srcdir/VERSION | tr -d '\n'`
 2051: if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
 2052: { { $as_echo "$as_me:$LINENO: error: configure script is out of date:
 2053:  configure \$PACKAGE_VERSION = $PACKAGE_VERSION
 2054:  top level VERSION file     = $sqlite_version_sanity_check
 2055: please regen with autoconf" >&5
 2056: $as_echo "$as_me: error: configure script is out of date:
 2057:  configure \$PACKAGE_VERSION = $PACKAGE_VERSION
 2058:  top level VERSION file     = $sqlite_version_sanity_check
 2059: please regen with autoconf" >&2;}
 2060:    { (exit 1); exit 1; }; }
 2061: fi
 2062: 
 2063: # The following RCS revision string applies to configure.in
 2064: # $Revision: 1.1.1.1 $
 2065: 
 2066: #########
 2067: # Programs needed
 2068: #
 2069: case `pwd` in
 2070:   *\ * | *\	*)
 2071:     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 2072: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 2073: esac
 2074: 
 2075: 
 2076: 
 2077: macro_version='2.2.6'
 2078: macro_revision='1.3012'
 2079: 
 2080: 
 2081: 
 2082: 
 2083: 
 2084: 
 2085: 
 2086: 
 2087: 
 2088: 
 2089: 
 2090: 
 2091: 
 2092: ltmain="$ac_aux_dir/ltmain.sh"
 2093: 
 2094: ac_aux_dir=
 2095: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2096:   if test -f "$ac_dir/install-sh"; then
 2097:     ac_aux_dir=$ac_dir
 2098:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2099:     break
 2100:   elif test -f "$ac_dir/install.sh"; then
 2101:     ac_aux_dir=$ac_dir
 2102:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2103:     break
 2104:   elif test -f "$ac_dir/shtool"; then
 2105:     ac_aux_dir=$ac_dir
 2106:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2107:     break
 2108:   fi
 2109: done
 2110: if test -z "$ac_aux_dir"; then
 2111:   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 2112: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 2113:    { (exit 1); exit 1; }; }
 2114: fi
 2115: 
 2116: # These three variables are undocumented and unsupported,
 2117: # and are intended to be withdrawn in a future Autoconf release.
 2118: # They can cause serious problems if a builder's source tree is in a directory
 2119: # whose full name contains unusual characters.
 2120: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2121: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2122: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2123: 
 2124: 
 2125: # Make sure we can run config.sub.
 2126: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2127:   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 2128: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 2129:    { (exit 1); exit 1; }; }
 2130: 
 2131: { $as_echo "$as_me:$LINENO: checking build system type" >&5
 2132: $as_echo_n "checking build system type... " >&6; }
 2133: if test "${ac_cv_build+set}" = set; then
 2134:   $as_echo_n "(cached) " >&6
 2135: else
 2136:   ac_build_alias=$build_alias
 2137: test "x$ac_build_alias" = x &&
 2138:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2139: test "x$ac_build_alias" = x &&
 2140:   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2141: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2142:    { (exit 1); exit 1; }; }
 2143: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2144:   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 2145: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 2146:    { (exit 1); exit 1; }; }
 2147: 
 2148: fi
 2149: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2150: $as_echo "$ac_cv_build" >&6; }
 2151: case $ac_cv_build in
 2152: *-*-*) ;;
 2153: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 2154: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
 2155:    { (exit 1); exit 1; }; };;
 2156: esac
 2157: build=$ac_cv_build
 2158: ac_save_IFS=$IFS; IFS='-'
 2159: set x $ac_cv_build
 2160: shift
 2161: build_cpu=$1
 2162: build_vendor=$2
 2163: shift; shift
 2164: # Remember, the first character of IFS is used to create $*,
 2165: # except with old shells:
 2166: build_os=$*
 2167: IFS=$ac_save_IFS
 2168: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2169: 
 2170: 
 2171: { $as_echo "$as_me:$LINENO: checking host system type" >&5
 2172: $as_echo_n "checking host system type... " >&6; }
 2173: if test "${ac_cv_host+set}" = set; then
 2174:   $as_echo_n "(cached) " >&6
 2175: else
 2176:   if test "x$host_alias" = x; then
 2177:   ac_cv_host=$ac_cv_build
 2178: else
 2179:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2180:     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 2181: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 2182:    { (exit 1); exit 1; }; }
 2183: fi
 2184: 
 2185: fi
 2186: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2187: $as_echo "$ac_cv_host" >&6; }
 2188: case $ac_cv_host in
 2189: *-*-*) ;;
 2190: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 2191: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
 2192:    { (exit 1); exit 1; }; };;
 2193: esac
 2194: host=$ac_cv_host
 2195: ac_save_IFS=$IFS; IFS='-'
 2196: set x $ac_cv_host
 2197: shift
 2198: host_cpu=$1
 2199: host_vendor=$2
 2200: shift; shift
 2201: # Remember, the first character of IFS is used to create $*,
 2202: # except with old shells:
 2203: host_os=$*
 2204: IFS=$ac_save_IFS
 2205: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2206: 
 2207: 
 2208: ac_ext=c
 2209: ac_cpp='$CPP $CPPFLAGS'
 2210: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2211: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2212: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2213: if test -n "$ac_tool_prefix"; then
 2214:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2215: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2216: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2217: $as_echo_n "checking for $ac_word... " >&6; }
 2218: if test "${ac_cv_prog_CC+set}" = set; then
 2219:   $as_echo_n "(cached) " >&6
 2220: else
 2221:   if test -n "$CC"; then
 2222:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2223: else
 2224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2225: for as_dir in $PATH
 2226: do
 2227:   IFS=$as_save_IFS
 2228:   test -z "$as_dir" && as_dir=.
 2229:   for ac_exec_ext in '' $ac_executable_extensions; do
 2230:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2231:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2232:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2233:     break 2
 2234:   fi
 2235: done
 2236: done
 2237: IFS=$as_save_IFS
 2238: 
 2239: fi
 2240: fi
 2241: CC=$ac_cv_prog_CC
 2242: if test -n "$CC"; then
 2243:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 2244: $as_echo "$CC" >&6; }
 2245: else
 2246:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2247: $as_echo "no" >&6; }
 2248: fi
 2249: 
 2250: 
 2251: fi
 2252: if test -z "$ac_cv_prog_CC"; then
 2253:   ac_ct_CC=$CC
 2254:   # Extract the first word of "gcc", so it can be a program name with args.
 2255: set dummy gcc; ac_word=$2
 2256: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2257: $as_echo_n "checking for $ac_word... " >&6; }
 2258: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2259:   $as_echo_n "(cached) " >&6
 2260: else
 2261:   if test -n "$ac_ct_CC"; then
 2262:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2263: else
 2264: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2265: for as_dir in $PATH
 2266: do
 2267:   IFS=$as_save_IFS
 2268:   test -z "$as_dir" && as_dir=.
 2269:   for ac_exec_ext in '' $ac_executable_extensions; do
 2270:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2271:     ac_cv_prog_ac_ct_CC="gcc"
 2272:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2273:     break 2
 2274:   fi
 2275: done
 2276: done
 2277: IFS=$as_save_IFS
 2278: 
 2279: fi
 2280: fi
 2281: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2282: if test -n "$ac_ct_CC"; then
 2283:   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2284: $as_echo "$ac_ct_CC" >&6; }
 2285: else
 2286:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2287: $as_echo "no" >&6; }
 2288: fi
 2289: 
 2290:   if test "x$ac_ct_CC" = x; then
 2291:     CC=""
 2292:   else
 2293:     case $cross_compiling:$ac_tool_warned in
 2294: yes:)
 2295: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2296: whose name does not start with the host triplet.  If you think this
 2297: configuration is useful to you, please write to autoconf@gnu.org." >&5
 2298: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2299: whose name does not start with the host triplet.  If you think this
 2300: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2301: ac_tool_warned=yes ;;
 2302: esac
 2303:     CC=$ac_ct_CC
 2304:   fi
 2305: else
 2306:   CC="$ac_cv_prog_CC"
 2307: fi
 2308: 
 2309: if test -z "$CC"; then
 2310:           if test -n "$ac_tool_prefix"; then
 2311:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2312: set dummy ${ac_tool_prefix}cc; ac_word=$2
 2313: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2314: $as_echo_n "checking for $ac_word... " >&6; }
 2315: if test "${ac_cv_prog_CC+set}" = set; then
 2316:   $as_echo_n "(cached) " >&6
 2317: else
 2318:   if test -n "$CC"; then
 2319:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2320: else
 2321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2322: for as_dir in $PATH
 2323: do
 2324:   IFS=$as_save_IFS
 2325:   test -z "$as_dir" && as_dir=.
 2326:   for ac_exec_ext in '' $ac_executable_extensions; do
 2327:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2328:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2329:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2330:     break 2
 2331:   fi
 2332: done
 2333: done
 2334: IFS=$as_save_IFS
 2335: 
 2336: fi
 2337: fi
 2338: CC=$ac_cv_prog_CC
 2339: if test -n "$CC"; then
 2340:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 2341: $as_echo "$CC" >&6; }
 2342: else
 2343:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2344: $as_echo "no" >&6; }
 2345: fi
 2346: 
 2347: 
 2348:   fi
 2349: fi
 2350: if test -z "$CC"; then
 2351:   # Extract the first word of "cc", so it can be a program name with args.
 2352: set dummy cc; ac_word=$2
 2353: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2354: $as_echo_n "checking for $ac_word... " >&6; }
 2355: if test "${ac_cv_prog_CC+set}" = set; then
 2356:   $as_echo_n "(cached) " >&6
 2357: else
 2358:   if test -n "$CC"; then
 2359:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2360: else
 2361:   ac_prog_rejected=no
 2362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2363: for as_dir in $PATH
 2364: do
 2365:   IFS=$as_save_IFS
 2366:   test -z "$as_dir" && as_dir=.
 2367:   for ac_exec_ext in '' $ac_executable_extensions; do
 2368:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2369:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2370:        ac_prog_rejected=yes
 2371:        continue
 2372:      fi
 2373:     ac_cv_prog_CC="cc"
 2374:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2375:     break 2
 2376:   fi
 2377: done
 2378: done
 2379: IFS=$as_save_IFS
 2380: 
 2381: if test $ac_prog_rejected = yes; then
 2382:   # We found a bogon in the path, so make sure we never use it.
 2383:   set dummy $ac_cv_prog_CC
 2384:   shift
 2385:   if test $# != 0; then
 2386:     # We chose a different compiler from the bogus one.
 2387:     # However, it has the same basename, so the bogon will be chosen
 2388:     # first if we set CC to just the basename; use the full file name.
 2389:     shift
 2390:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2391:   fi
 2392: fi
 2393: fi
 2394: fi
 2395: CC=$ac_cv_prog_CC
 2396: if test -n "$CC"; then
 2397:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 2398: $as_echo "$CC" >&6; }
 2399: else
 2400:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2401: $as_echo "no" >&6; }
 2402: fi
 2403: 
 2404: 
 2405: fi
 2406: if test -z "$CC"; then
 2407:   if test -n "$ac_tool_prefix"; then
 2408:   for ac_prog in cl.exe
 2409:   do
 2410:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2411: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2412: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2413: $as_echo_n "checking for $ac_word... " >&6; }
 2414: if test "${ac_cv_prog_CC+set}" = set; then
 2415:   $as_echo_n "(cached) " >&6
 2416: else
 2417:   if test -n "$CC"; then
 2418:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2419: else
 2420: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2421: for as_dir in $PATH
 2422: do
 2423:   IFS=$as_save_IFS
 2424:   test -z "$as_dir" && as_dir=.
 2425:   for ac_exec_ext in '' $ac_executable_extensions; do
 2426:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2427:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2428:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2429:     break 2
 2430:   fi
 2431: done
 2432: done
 2433: IFS=$as_save_IFS
 2434: 
 2435: fi
 2436: fi
 2437: CC=$ac_cv_prog_CC
 2438: if test -n "$CC"; then
 2439:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 2440: $as_echo "$CC" >&6; }
 2441: else
 2442:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2443: $as_echo "no" >&6; }
 2444: fi
 2445: 
 2446: 
 2447:     test -n "$CC" && break
 2448:   done
 2449: fi
 2450: if test -z "$CC"; then
 2451:   ac_ct_CC=$CC
 2452:   for ac_prog in cl.exe
 2453: do
 2454:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2455: set dummy $ac_prog; ac_word=$2
 2456: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2457: $as_echo_n "checking for $ac_word... " >&6; }
 2458: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2459:   $as_echo_n "(cached) " >&6
 2460: else
 2461:   if test -n "$ac_ct_CC"; then
 2462:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2463: else
 2464: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2465: for as_dir in $PATH
 2466: do
 2467:   IFS=$as_save_IFS
 2468:   test -z "$as_dir" && as_dir=.
 2469:   for ac_exec_ext in '' $ac_executable_extensions; do
 2470:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2471:     ac_cv_prog_ac_ct_CC="$ac_prog"
 2472:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2473:     break 2
 2474:   fi
 2475: done
 2476: done
 2477: IFS=$as_save_IFS
 2478: 
 2479: fi
 2480: fi
 2481: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2482: if test -n "$ac_ct_CC"; then
 2483:   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2484: $as_echo "$ac_ct_CC" >&6; }
 2485: else
 2486:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2487: $as_echo "no" >&6; }
 2488: fi
 2489: 
 2490: 
 2491:   test -n "$ac_ct_CC" && break
 2492: done
 2493: 
 2494:   if test "x$ac_ct_CC" = x; then
 2495:     CC=""
 2496:   else
 2497:     case $cross_compiling:$ac_tool_warned in
 2498: yes:)
 2499: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2500: whose name does not start with the host triplet.  If you think this
 2501: configuration is useful to you, please write to autoconf@gnu.org." >&5
 2502: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2503: whose name does not start with the host triplet.  If you think this
 2504: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2505: ac_tool_warned=yes ;;
 2506: esac
 2507:     CC=$ac_ct_CC
 2508:   fi
 2509: fi
 2510: 
 2511: fi
 2512: 
 2513: 
 2514: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2515: See \`config.log' for more details." >&5
 2516: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 2517: See \`config.log' for more details." >&2;}
 2518:    { (exit 1); exit 1; }; }
 2519: 
 2520: # Provide some information about the compiler.
 2521: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 2522: set X $ac_compile
 2523: ac_compiler=$2
 2524: { (ac_try="$ac_compiler --version >&5"
 2525: case "(($ac_try" in
 2526:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2527:   *) ac_try_echo=$ac_try;;
 2528: esac
 2529: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2530: $as_echo "$ac_try_echo") >&5
 2531:   (eval "$ac_compiler --version >&5") 2>&5
 2532:   ac_status=$?
 2533:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2534:   (exit $ac_status); }
 2535: { (ac_try="$ac_compiler -v >&5"
 2536: case "(($ac_try" in
 2537:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2538:   *) ac_try_echo=$ac_try;;
 2539: esac
 2540: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2541: $as_echo "$ac_try_echo") >&5
 2542:   (eval "$ac_compiler -v >&5") 2>&5
 2543:   ac_status=$?
 2544:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2545:   (exit $ac_status); }
 2546: { (ac_try="$ac_compiler -V >&5"
 2547: case "(($ac_try" in
 2548:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2549:   *) ac_try_echo=$ac_try;;
 2550: esac
 2551: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2552: $as_echo "$ac_try_echo") >&5
 2553:   (eval "$ac_compiler -V >&5") 2>&5
 2554:   ac_status=$?
 2555:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2556:   (exit $ac_status); }
 2557: 
 2558: cat >conftest.$ac_ext <<_ACEOF
 2559: /* confdefs.h.  */
 2560: _ACEOF
 2561: cat confdefs.h >>conftest.$ac_ext
 2562: cat >>conftest.$ac_ext <<_ACEOF
 2563: /* end confdefs.h.  */
 2564: 
 2565: int
 2566: main ()
 2567: {
 2568: 
 2569:   ;
 2570:   return 0;
 2571: }
 2572: _ACEOF
 2573: ac_clean_files_save=$ac_clean_files
 2574: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2575: # Try to create an executable without -o first, disregard a.out.
 2576: # It will help us diagnose broken compilers, and finding out an intuition
 2577: # of exeext.
 2578: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2579: $as_echo_n "checking for C compiler default output file name... " >&6; }
 2580: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2581: 
 2582: # The possible output files:
 2583: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2584: 
 2585: ac_rmfiles=
 2586: for ac_file in $ac_files
 2587: do
 2588:   case $ac_file in
 2589:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2590:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2591:   esac
 2592: done
 2593: rm -f $ac_rmfiles
 2594: 
 2595: if { (ac_try="$ac_link_default"
 2596: case "(($ac_try" in
 2597:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2598:   *) ac_try_echo=$ac_try;;
 2599: esac
 2600: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2601: $as_echo "$ac_try_echo") >&5
 2602:   (eval "$ac_link_default") 2>&5
 2603:   ac_status=$?
 2604:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2605:   (exit $ac_status); }; then
 2606:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2607: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2608: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2609: # so that the user can short-circuit this test for compilers unknown to
 2610: # Autoconf.
 2611: for ac_file in $ac_files ''
 2612: do
 2613:   test -f "$ac_file" || continue
 2614:   case $ac_file in
 2615:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2616: 	;;
 2617:     [ab].out )
 2618: 	# We found the default executable, but exeext='' is most
 2619: 	# certainly right.
 2620: 	break;;
 2621:     *.* )
 2622:         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2623: 	then :; else
 2624: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2625: 	fi
 2626: 	# We set ac_cv_exeext here because the later test for it is not
 2627: 	# safe: cross compilers may not add the suffix if given an `-o'
 2628: 	# argument, so we may need to know it at that point already.
 2629: 	# Even if this section looks crufty: it has the advantage of
 2630: 	# actually working.
 2631: 	break;;
 2632:     * )
 2633: 	break;;
 2634:   esac
 2635: done
 2636: test "$ac_cv_exeext" = no && ac_cv_exeext=
 2637: 
 2638: else
 2639:   ac_file=''
 2640: fi
 2641: 
 2642: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 2643: $as_echo "$ac_file" >&6; }
 2644: if test -z "$ac_file"; then
 2645:   $as_echo "$as_me: failed program was:" >&5
 2646: sed 's/^/| /' conftest.$ac_ext >&5
 2647: 
 2648: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 2649: See \`config.log' for more details." >&5
 2650: $as_echo "$as_me: error: C compiler cannot create executables
 2651: See \`config.log' for more details." >&2;}
 2652:    { (exit 77); exit 77; }; }
 2653: fi
 2654: 
 2655: ac_exeext=$ac_cv_exeext
 2656: 
 2657: # Check that the compiler produces executables we can run.  If not, either
 2658: # the compiler is broken, or we cross compile.
 2659: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2660: $as_echo_n "checking whether the C compiler works... " >&6; }
 2661: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2662: # If not cross compiling, check that we can run a simple program.
 2663: if test "$cross_compiling" != yes; then
 2664:   if { ac_try='./$ac_file'
 2665:   { (case "(($ac_try" in
 2666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2667:   *) ac_try_echo=$ac_try;;
 2668: esac
 2669: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2670: $as_echo "$ac_try_echo") >&5
 2671:   (eval "$ac_try") 2>&5
 2672:   ac_status=$?
 2673:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2674:   (exit $ac_status); }; }; then
 2675:     cross_compiling=no
 2676:   else
 2677:     if test "$cross_compiling" = maybe; then
 2678: 	cross_compiling=yes
 2679:     else
 2680: 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2681: If you meant to cross compile, use \`--host'.
 2682: See \`config.log' for more details." >&5
 2683: $as_echo "$as_me: error: cannot run C compiled programs.
 2684: If you meant to cross compile, use \`--host'.
 2685: See \`config.log' for more details." >&2;}
 2686:    { (exit 1); exit 1; }; }
 2687:     fi
 2688:   fi
 2689: fi
 2690: { $as_echo "$as_me:$LINENO: result: yes" >&5
 2691: $as_echo "yes" >&6; }
 2692: 
 2693: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2694: ac_clean_files=$ac_clean_files_save
 2695: # Check that the compiler produces executables we can run.  If not, either
 2696: # the compiler is broken, or we cross compile.
 2697: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2698: $as_echo_n "checking whether we are cross compiling... " >&6; }
 2699: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2700: $as_echo "$cross_compiling" >&6; }
 2701: 
 2702: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2703: $as_echo_n "checking for suffix of executables... " >&6; }
 2704: if { (ac_try="$ac_link"
 2705: case "(($ac_try" in
 2706:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2707:   *) ac_try_echo=$ac_try;;
 2708: esac
 2709: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2710: $as_echo "$ac_try_echo") >&5
 2711:   (eval "$ac_link") 2>&5
 2712:   ac_status=$?
 2713:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2714:   (exit $ac_status); }; then
 2715:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2716: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2717: # work properly (i.e., refer to `conftest.exe'), while it won't with
 2718: # `rm'.
 2719: for ac_file in conftest.exe conftest conftest.*; do
 2720:   test -f "$ac_file" || continue
 2721:   case $ac_file in
 2722:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2723:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2724: 	  break;;
 2725:     * ) break;;
 2726:   esac
 2727: done
 2728: else
 2729:   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2730: See \`config.log' for more details." >&5
 2731: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2732: See \`config.log' for more details." >&2;}
 2733:    { (exit 1); exit 1; }; }
 2734: fi
 2735: 
 2736: rm -f conftest$ac_cv_exeext
 2737: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2738: $as_echo "$ac_cv_exeext" >&6; }
 2739: 
 2740: rm -f conftest.$ac_ext
 2741: EXEEXT=$ac_cv_exeext
 2742: ac_exeext=$EXEEXT
 2743: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2744: $as_echo_n "checking for suffix of object files... " >&6; }
 2745: if test "${ac_cv_objext+set}" = set; then
 2746:   $as_echo_n "(cached) " >&6
 2747: else
 2748:   cat >conftest.$ac_ext <<_ACEOF
 2749: /* confdefs.h.  */
 2750: _ACEOF
 2751: cat confdefs.h >>conftest.$ac_ext
 2752: cat >>conftest.$ac_ext <<_ACEOF
 2753: /* end confdefs.h.  */
 2754: 
 2755: int
 2756: main ()
 2757: {
 2758: 
 2759:   ;
 2760:   return 0;
 2761: }
 2762: _ACEOF
 2763: rm -f conftest.o conftest.obj
 2764: if { (ac_try="$ac_compile"
 2765: case "(($ac_try" in
 2766:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2767:   *) ac_try_echo=$ac_try;;
 2768: esac
 2769: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2770: $as_echo "$ac_try_echo") >&5
 2771:   (eval "$ac_compile") 2>&5
 2772:   ac_status=$?
 2773:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2774:   (exit $ac_status); }; then
 2775:   for ac_file in conftest.o conftest.obj conftest.*; do
 2776:   test -f "$ac_file" || continue;
 2777:   case $ac_file in
 2778:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 2779:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2780:        break;;
 2781:   esac
 2782: done
 2783: else
 2784:   $as_echo "$as_me: failed program was:" >&5
 2785: sed 's/^/| /' conftest.$ac_ext >&5
 2786: 
 2787: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2788: See \`config.log' for more details." >&5
 2789: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2790: See \`config.log' for more details." >&2;}
 2791:    { (exit 1); exit 1; }; }
 2792: fi
 2793: 
 2794: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2795: fi
 2796: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2797: $as_echo "$ac_cv_objext" >&6; }
 2798: OBJEXT=$ac_cv_objext
 2799: ac_objext=$OBJEXT
 2800: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2801: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 2802: if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2803:   $as_echo_n "(cached) " >&6
 2804: else
 2805:   cat >conftest.$ac_ext <<_ACEOF
 2806: /* confdefs.h.  */
 2807: _ACEOF
 2808: cat confdefs.h >>conftest.$ac_ext
 2809: cat >>conftest.$ac_ext <<_ACEOF
 2810: /* end confdefs.h.  */
 2811: 
 2812: int
 2813: main ()
 2814: {
 2815: #ifndef __GNUC__
 2816:        choke me
 2817: #endif
 2818: 
 2819:   ;
 2820:   return 0;
 2821: }
 2822: _ACEOF
 2823: rm -f conftest.$ac_objext
 2824: if { (ac_try="$ac_compile"
 2825: case "(($ac_try" in
 2826:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2827:   *) ac_try_echo=$ac_try;;
 2828: esac
 2829: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2830: $as_echo "$ac_try_echo") >&5
 2831:   (eval "$ac_compile") 2>conftest.er1
 2832:   ac_status=$?
 2833:   grep -v '^ *+' conftest.er1 >conftest.err
 2834:   rm -f conftest.er1
 2835:   cat conftest.err >&5
 2836:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2837:   (exit $ac_status); } && {
 2838: 	 test -z "$ac_c_werror_flag" ||
 2839: 	 test ! -s conftest.err
 2840:        } && test -s conftest.$ac_objext; then
 2841:   ac_compiler_gnu=yes
 2842: else
 2843:   $as_echo "$as_me: failed program was:" >&5
 2844: sed 's/^/| /' conftest.$ac_ext >&5
 2845: 
 2846: 	ac_compiler_gnu=no
 2847: fi
 2848: 
 2849: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2850: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2851: 
 2852: fi
 2853: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2854: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 2855: if test $ac_compiler_gnu = yes; then
 2856:   GCC=yes
 2857: else
 2858:   GCC=
 2859: fi
 2860: ac_test_CFLAGS=${CFLAGS+set}
 2861: ac_save_CFLAGS=$CFLAGS
 2862: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2863: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 2864: if test "${ac_cv_prog_cc_g+set}" = set; then
 2865:   $as_echo_n "(cached) " >&6
 2866: else
 2867:   ac_save_c_werror_flag=$ac_c_werror_flag
 2868:    ac_c_werror_flag=yes
 2869:    ac_cv_prog_cc_g=no
 2870:    CFLAGS="-g"
 2871:    cat >conftest.$ac_ext <<_ACEOF
 2872: /* confdefs.h.  */
 2873: _ACEOF
 2874: cat confdefs.h >>conftest.$ac_ext
 2875: cat >>conftest.$ac_ext <<_ACEOF
 2876: /* end confdefs.h.  */
 2877: 
 2878: int
 2879: main ()
 2880: {
 2881: 
 2882:   ;
 2883:   return 0;
 2884: }
 2885: _ACEOF
 2886: rm -f conftest.$ac_objext
 2887: if { (ac_try="$ac_compile"
 2888: case "(($ac_try" in
 2889:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2890:   *) ac_try_echo=$ac_try;;
 2891: esac
 2892: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2893: $as_echo "$ac_try_echo") >&5
 2894:   (eval "$ac_compile") 2>conftest.er1
 2895:   ac_status=$?
 2896:   grep -v '^ *+' conftest.er1 >conftest.err
 2897:   rm -f conftest.er1
 2898:   cat conftest.err >&5
 2899:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2900:   (exit $ac_status); } && {
 2901: 	 test -z "$ac_c_werror_flag" ||
 2902: 	 test ! -s conftest.err
 2903:        } && test -s conftest.$ac_objext; then
 2904:   ac_cv_prog_cc_g=yes
 2905: else
 2906:   $as_echo "$as_me: failed program was:" >&5
 2907: sed 's/^/| /' conftest.$ac_ext >&5
 2908: 
 2909: 	CFLAGS=""
 2910:       cat >conftest.$ac_ext <<_ACEOF
 2911: /* confdefs.h.  */
 2912: _ACEOF
 2913: cat confdefs.h >>conftest.$ac_ext
 2914: cat >>conftest.$ac_ext <<_ACEOF
 2915: /* end confdefs.h.  */
 2916: 
 2917: int
 2918: main ()
 2919: {
 2920: 
 2921:   ;
 2922:   return 0;
 2923: }
 2924: _ACEOF
 2925: rm -f conftest.$ac_objext
 2926: if { (ac_try="$ac_compile"
 2927: case "(($ac_try" in
 2928:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2929:   *) ac_try_echo=$ac_try;;
 2930: esac
 2931: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2932: $as_echo "$ac_try_echo") >&5
 2933:   (eval "$ac_compile") 2>conftest.er1
 2934:   ac_status=$?
 2935:   grep -v '^ *+' conftest.er1 >conftest.err
 2936:   rm -f conftest.er1
 2937:   cat conftest.err >&5
 2938:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2939:   (exit $ac_status); } && {
 2940: 	 test -z "$ac_c_werror_flag" ||
 2941: 	 test ! -s conftest.err
 2942:        } && test -s conftest.$ac_objext; then
 2943:   :
 2944: else
 2945:   $as_echo "$as_me: failed program was:" >&5
 2946: sed 's/^/| /' conftest.$ac_ext >&5
 2947: 
 2948: 	ac_c_werror_flag=$ac_save_c_werror_flag
 2949: 	 CFLAGS="-g"
 2950: 	 cat >conftest.$ac_ext <<_ACEOF
 2951: /* confdefs.h.  */
 2952: _ACEOF
 2953: cat confdefs.h >>conftest.$ac_ext
 2954: cat >>conftest.$ac_ext <<_ACEOF
 2955: /* end confdefs.h.  */
 2956: 
 2957: int
 2958: main ()
 2959: {
 2960: 
 2961:   ;
 2962:   return 0;
 2963: }
 2964: _ACEOF
 2965: rm -f conftest.$ac_objext
 2966: if { (ac_try="$ac_compile"
 2967: case "(($ac_try" in
 2968:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2969:   *) ac_try_echo=$ac_try;;
 2970: esac
 2971: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2972: $as_echo "$ac_try_echo") >&5
 2973:   (eval "$ac_compile") 2>conftest.er1
 2974:   ac_status=$?
 2975:   grep -v '^ *+' conftest.er1 >conftest.err
 2976:   rm -f conftest.er1
 2977:   cat conftest.err >&5
 2978:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2979:   (exit $ac_status); } && {
 2980: 	 test -z "$ac_c_werror_flag" ||
 2981: 	 test ! -s conftest.err
 2982:        } && test -s conftest.$ac_objext; then
 2983:   ac_cv_prog_cc_g=yes
 2984: else
 2985:   $as_echo "$as_me: failed program was:" >&5
 2986: sed 's/^/| /' conftest.$ac_ext >&5
 2987: 
 2988: 
 2989: fi
 2990: 
 2991: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2992: fi
 2993: 
 2994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2995: fi
 2996: 
 2997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2998:    ac_c_werror_flag=$ac_save_c_werror_flag
 2999: fi
 3000: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3001: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3002: if test "$ac_test_CFLAGS" = set; then
 3003:   CFLAGS=$ac_save_CFLAGS
 3004: elif test $ac_cv_prog_cc_g = yes; then
 3005:   if test "$GCC" = yes; then
 3006:     CFLAGS="-g -O2"
 3007:   else
 3008:     CFLAGS="-g"
 3009:   fi
 3010: else
 3011:   if test "$GCC" = yes; then
 3012:     CFLAGS="-O2"
 3013:   else
 3014:     CFLAGS=
 3015:   fi
 3016: fi
 3017: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 3018: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3019: if test "${ac_cv_prog_cc_c89+set}" = set; then
 3020:   $as_echo_n "(cached) " >&6
 3021: else
 3022:   ac_cv_prog_cc_c89=no
 3023: ac_save_CC=$CC
 3024: cat >conftest.$ac_ext <<_ACEOF
 3025: /* confdefs.h.  */
 3026: _ACEOF
 3027: cat confdefs.h >>conftest.$ac_ext
 3028: cat >>conftest.$ac_ext <<_ACEOF
 3029: /* end confdefs.h.  */
 3030: #include <stdarg.h>
 3031: #include <stdio.h>
 3032: #include <sys/types.h>
 3033: #include <sys/stat.h>
 3034: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3035: struct buf { int x; };
 3036: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3037: static char *e (p, i)
 3038:      char **p;
 3039:      int i;
 3040: {
 3041:   return p[i];
 3042: }
 3043: static char *f (char * (*g) (char **, int), char **p, ...)
 3044: {
 3045:   char *s;
 3046:   va_list v;
 3047:   va_start (v,p);
 3048:   s = g (p, va_arg (v,int));
 3049:   va_end (v);
 3050:   return s;
 3051: }
 3052: 
 3053: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3054:    function prototypes and stuff, but not '\xHH' hex character constants.
 3055:    These don't provoke an error unfortunately, instead are silently treated
 3056:    as 'x'.  The following induces an error, until -std is added to get
 3057:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3058:    array size at least.  It's necessary to write '\x00'==0 to get something
 3059:    that's true only with -std.  */
 3060: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3061: 
 3062: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3063:    inside strings and character constants.  */
 3064: #define FOO(x) 'x'
 3065: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3066: 
 3067: int test (int i, double x);
 3068: struct s1 {int (*f) (int a);};
 3069: struct s2 {int (*f) (double a);};
 3070: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3071: int argc;
 3072: char **argv;
 3073: int
 3074: main ()
 3075: {
 3076: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3077:   ;
 3078:   return 0;
 3079: }
 3080: _ACEOF
 3081: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3082: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3083: do
 3084:   CC="$ac_save_CC $ac_arg"
 3085:   rm -f conftest.$ac_objext
 3086: if { (ac_try="$ac_compile"
 3087: case "(($ac_try" in
 3088:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3089:   *) ac_try_echo=$ac_try;;
 3090: esac
 3091: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3092: $as_echo "$ac_try_echo") >&5
 3093:   (eval "$ac_compile") 2>conftest.er1
 3094:   ac_status=$?
 3095:   grep -v '^ *+' conftest.er1 >conftest.err
 3096:   rm -f conftest.er1
 3097:   cat conftest.err >&5
 3098:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3099:   (exit $ac_status); } && {
 3100: 	 test -z "$ac_c_werror_flag" ||
 3101: 	 test ! -s conftest.err
 3102:        } && test -s conftest.$ac_objext; then
 3103:   ac_cv_prog_cc_c89=$ac_arg
 3104: else
 3105:   $as_echo "$as_me: failed program was:" >&5
 3106: sed 's/^/| /' conftest.$ac_ext >&5
 3107: 
 3108: 
 3109: fi
 3110: 
 3111: rm -f core conftest.err conftest.$ac_objext
 3112:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3113: done
 3114: rm -f conftest.$ac_ext
 3115: CC=$ac_save_CC
 3116: 
 3117: fi
 3118: # AC_CACHE_VAL
 3119: case "x$ac_cv_prog_cc_c89" in
 3120:   x)
 3121:     { $as_echo "$as_me:$LINENO: result: none needed" >&5
 3122: $as_echo "none needed" >&6; } ;;
 3123:   xno)
 3124:     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 3125: $as_echo "unsupported" >&6; } ;;
 3126:   *)
 3127:     CC="$CC $ac_cv_prog_cc_c89"
 3128:     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 3129: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3130: esac
 3131: 
 3132: 
 3133: ac_ext=c
 3134: ac_cpp='$CPP $CPPFLAGS'
 3135: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3136: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3137: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3138: 
 3139: { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 3140: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 3141: if test "${ac_cv_path_SED+set}" = set; then
 3142:   $as_echo_n "(cached) " >&6
 3143: else
 3144:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 3145:      for ac_i in 1 2 3 4 5 6 7; do
 3146:        ac_script="$ac_script$as_nl$ac_script"
 3147:      done
 3148:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 3149:      $as_unset ac_script || ac_script=
 3150:      if test -z "$SED"; then
 3151:   ac_path_SED_found=false
 3152:   # Loop through the user's path and test for each of PROGNAME-LIST
 3153:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3154: for as_dir in $PATH
 3155: do
 3156:   IFS=$as_save_IFS
 3157:   test -z "$as_dir" && as_dir=.
 3158:   for ac_prog in sed gsed; do
 3159:     for ac_exec_ext in '' $ac_executable_extensions; do
 3160:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 3161:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 3162: # Check for GNU ac_path_SED and select it if it is found.
 3163:   # Check for GNU $ac_path_SED
 3164: case `"$ac_path_SED" --version 2>&1` in
 3165: *GNU*)
 3166:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 3167: *)
 3168:   ac_count=0
 3169:   $as_echo_n 0123456789 >"conftest.in"
 3170:   while :
 3171:   do
 3172:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3173:     mv "conftest.tmp" "conftest.in"
 3174:     cp "conftest.in" "conftest.nl"
 3175:     $as_echo '' >> "conftest.nl"
 3176:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3177:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3178:     ac_count=`expr $ac_count + 1`
 3179:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 3180:       # Best one so far, save it but keep looking for a better one
 3181:       ac_cv_path_SED="$ac_path_SED"
 3182:       ac_path_SED_max=$ac_count
 3183:     fi
 3184:     # 10*(2^10) chars as input seems more than enough
 3185:     test $ac_count -gt 10 && break
 3186:   done
 3187:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3188: esac
 3189: 
 3190:       $ac_path_SED_found && break 3
 3191:     done
 3192:   done
 3193: done
 3194: IFS=$as_save_IFS
 3195:   if test -z "$ac_cv_path_SED"; then
 3196:     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 3197: $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 3198:    { (exit 1); exit 1; }; }
 3199:   fi
 3200: else
 3201:   ac_cv_path_SED=$SED
 3202: fi
 3203: 
 3204: fi
 3205: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 3206: $as_echo "$ac_cv_path_SED" >&6; }
 3207:  SED="$ac_cv_path_SED"
 3208:   rm -f conftest.sed
 3209: 
 3210: test -z "$SED" && SED=sed
 3211: Xsed="$SED -e 1s/^X//"
 3212: 
 3213: 
 3214: 
 3215: 
 3216: 
 3217: 
 3218: 
 3219: 
 3220: 
 3221: 
 3222: 
 3223: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 3224: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3225: if test "${ac_cv_path_GREP+set}" = set; then
 3226:   $as_echo_n "(cached) " >&6
 3227: else
 3228:   if test -z "$GREP"; then
 3229:   ac_path_GREP_found=false
 3230:   # Loop through the user's path and test for each of PROGNAME-LIST
 3231:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3232: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3233: do
 3234:   IFS=$as_save_IFS
 3235:   test -z "$as_dir" && as_dir=.
 3236:   for ac_prog in grep ggrep; do
 3237:     for ac_exec_ext in '' $ac_executable_extensions; do
 3238:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3239:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 3240: # Check for GNU ac_path_GREP and select it if it is found.
 3241:   # Check for GNU $ac_path_GREP
 3242: case `"$ac_path_GREP" --version 2>&1` in
 3243: *GNU*)
 3244:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3245: *)
 3246:   ac_count=0
 3247:   $as_echo_n 0123456789 >"conftest.in"
 3248:   while :
 3249:   do
 3250:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3251:     mv "conftest.tmp" "conftest.in"
 3252:     cp "conftest.in" "conftest.nl"
 3253:     $as_echo 'GREP' >> "conftest.nl"
 3254:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3255:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3256:     ac_count=`expr $ac_count + 1`
 3257:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3258:       # Best one so far, save it but keep looking for a better one
 3259:       ac_cv_path_GREP="$ac_path_GREP"
 3260:       ac_path_GREP_max=$ac_count
 3261:     fi
 3262:     # 10*(2^10) chars as input seems more than enough
 3263:     test $ac_count -gt 10 && break
 3264:   done
 3265:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3266: esac
 3267: 
 3268:       $ac_path_GREP_found && break 3
 3269:     done
 3270:   done
 3271: done
 3272: IFS=$as_save_IFS
 3273:   if test -z "$ac_cv_path_GREP"; then
 3274:     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 3275: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 3276:    { (exit 1); exit 1; }; }
 3277:   fi
 3278: else
 3279:   ac_cv_path_GREP=$GREP
 3280: fi
 3281: 
 3282: fi
 3283: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 3284: $as_echo "$ac_cv_path_GREP" >&6; }
 3285:  GREP="$ac_cv_path_GREP"
 3286: 
 3287: 
 3288: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
 3289: $as_echo_n "checking for egrep... " >&6; }
 3290: if test "${ac_cv_path_EGREP+set}" = set; then
 3291:   $as_echo_n "(cached) " >&6
 3292: else
 3293:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3294:    then ac_cv_path_EGREP="$GREP -E"
 3295:    else
 3296:      if test -z "$EGREP"; then
 3297:   ac_path_EGREP_found=false
 3298:   # Loop through the user's path and test for each of PROGNAME-LIST
 3299:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3300: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3301: do
 3302:   IFS=$as_save_IFS
 3303:   test -z "$as_dir" && as_dir=.
 3304:   for ac_prog in egrep; do
 3305:     for ac_exec_ext in '' $ac_executable_extensions; do
 3306:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3307:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 3308: # Check for GNU ac_path_EGREP and select it if it is found.
 3309:   # Check for GNU $ac_path_EGREP
 3310: case `"$ac_path_EGREP" --version 2>&1` in
 3311: *GNU*)
 3312:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3313: *)
 3314:   ac_count=0
 3315:   $as_echo_n 0123456789 >"conftest.in"
 3316:   while :
 3317:   do
 3318:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3319:     mv "conftest.tmp" "conftest.in"
 3320:     cp "conftest.in" "conftest.nl"
 3321:     $as_echo 'EGREP' >> "conftest.nl"
 3322:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3323:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3324:     ac_count=`expr $ac_count + 1`
 3325:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3326:       # Best one so far, save it but keep looking for a better one
 3327:       ac_cv_path_EGREP="$ac_path_EGREP"
 3328:       ac_path_EGREP_max=$ac_count
 3329:     fi
 3330:     # 10*(2^10) chars as input seems more than enough
 3331:     test $ac_count -gt 10 && break
 3332:   done
 3333:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3334: esac
 3335: 
 3336:       $ac_path_EGREP_found && break 3
 3337:     done
 3338:   done
 3339: done
 3340: IFS=$as_save_IFS
 3341:   if test -z "$ac_cv_path_EGREP"; then
 3342:     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 3343: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 3344:    { (exit 1); exit 1; }; }
 3345:   fi
 3346: else
 3347:   ac_cv_path_EGREP=$EGREP
 3348: fi
 3349: 
 3350:    fi
 3351: fi
 3352: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 3353: $as_echo "$ac_cv_path_EGREP" >&6; }
 3354:  EGREP="$ac_cv_path_EGREP"
 3355: 
 3356: 
 3357: { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 3358: $as_echo_n "checking for fgrep... " >&6; }
 3359: if test "${ac_cv_path_FGREP+set}" = set; then
 3360:   $as_echo_n "(cached) " >&6
 3361: else
 3362:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 3363:    then ac_cv_path_FGREP="$GREP -F"
 3364:    else
 3365:      if test -z "$FGREP"; then
 3366:   ac_path_FGREP_found=false
 3367:   # Loop through the user's path and test for each of PROGNAME-LIST
 3368:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3369: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3370: do
 3371:   IFS=$as_save_IFS
 3372:   test -z "$as_dir" && as_dir=.
 3373:   for ac_prog in fgrep; do
 3374:     for ac_exec_ext in '' $ac_executable_extensions; do
 3375:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 3376:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 3377: # Check for GNU ac_path_FGREP and select it if it is found.
 3378:   # Check for GNU $ac_path_FGREP
 3379: case `"$ac_path_FGREP" --version 2>&1` in
 3380: *GNU*)
 3381:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 3382: *)
 3383:   ac_count=0
 3384:   $as_echo_n 0123456789 >"conftest.in"
 3385:   while :
 3386:   do
 3387:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3388:     mv "conftest.tmp" "conftest.in"
 3389:     cp "conftest.in" "conftest.nl"
 3390:     $as_echo 'FGREP' >> "conftest.nl"
 3391:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3392:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3393:     ac_count=`expr $ac_count + 1`
 3394:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 3395:       # Best one so far, save it but keep looking for a better one
 3396:       ac_cv_path_FGREP="$ac_path_FGREP"
 3397:       ac_path_FGREP_max=$ac_count
 3398:     fi
 3399:     # 10*(2^10) chars as input seems more than enough
 3400:     test $ac_count -gt 10 && break
 3401:   done
 3402:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3403: esac
 3404: 
 3405:       $ac_path_FGREP_found && break 3
 3406:     done
 3407:   done
 3408: done
 3409: IFS=$as_save_IFS
 3410:   if test -z "$ac_cv_path_FGREP"; then
 3411:     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 3412: $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 3413:    { (exit 1); exit 1; }; }
 3414:   fi
 3415: else
 3416:   ac_cv_path_FGREP=$FGREP
 3417: fi
 3418: 
 3419:    fi
 3420: fi
 3421: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 3422: $as_echo "$ac_cv_path_FGREP" >&6; }
 3423:  FGREP="$ac_cv_path_FGREP"
 3424: 
 3425: 
 3426: test -z "$GREP" && GREP=grep
 3427: 
 3428: 
 3429: 
 3430: 
 3431: 
 3432: 
 3433: 
 3434: 
 3435: 
 3436: 
 3437: 
 3438: 
 3439: 
 3440: 
 3441: 
 3442: 
 3443: 
 3444: 
 3445: 
 3446: # Check whether --with-gnu-ld was given.
 3447: if test "${with_gnu_ld+set}" = set; then
 3448:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 3449: else
 3450:   with_gnu_ld=no
 3451: fi
 3452: 
 3453: ac_prog=ld
 3454: if test "$GCC" = yes; then
 3455:   # Check if gcc -print-prog-name=ld gives a path.
 3456:   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 3457: $as_echo_n "checking for ld used by $CC... " >&6; }
 3458:   case $host in
 3459:   *-*-mingw*)
 3460:     # gcc leaves a trailing carriage return which upsets mingw
 3461:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 3462:   *)
 3463:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 3464:   esac
 3465:   case $ac_prog in
 3466:     # Accept absolute paths.
 3467:     [\\/]* | ?:[\\/]*)
 3468:       re_direlt='/[^/][^/]*/\.\./'
 3469:       # Canonicalize the pathname of ld
 3470:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 3471:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 3472: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 3473:       done
 3474:       test -z "$LD" && LD="$ac_prog"
 3475:       ;;
 3476:   "")
 3477:     # If it fails, then pretend we aren't using GCC.
 3478:     ac_prog=ld
 3479:     ;;
 3480:   *)
 3481:     # If it is relative, then search for the first ld in PATH.
 3482:     with_gnu_ld=unknown
 3483:     ;;
 3484:   esac
 3485: elif test "$with_gnu_ld" = yes; then
 3486:   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 3487: $as_echo_n "checking for GNU ld... " >&6; }
 3488: else
 3489:   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 3490: $as_echo_n "checking for non-GNU ld... " >&6; }
 3491: fi
 3492: if test "${lt_cv_path_LD+set}" = set; then
 3493:   $as_echo_n "(cached) " >&6
 3494: else
 3495:   if test -z "$LD"; then
 3496:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 3497:   for ac_dir in $PATH; do
 3498:     IFS="$lt_save_ifs"
 3499:     test -z "$ac_dir" && ac_dir=.
 3500:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 3501:       lt_cv_path_LD="$ac_dir/$ac_prog"
 3502:       # Check to see if the program is GNU ld.  I'd rather use --version,
 3503:       # but apparently some variants of GNU ld only accept -v.
 3504:       # Break only if it was the GNU/non-GNU ld that we prefer.
 3505:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 3506:       *GNU* | *'with BFD'*)
 3507: 	test "$with_gnu_ld" != no && break
 3508: 	;;
 3509:       *)
 3510: 	test "$with_gnu_ld" != yes && break
 3511: 	;;
 3512:       esac
 3513:     fi
 3514:   done
 3515:   IFS="$lt_save_ifs"
 3516: else
 3517:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 3518: fi
 3519: fi
 3520: 
 3521: LD="$lt_cv_path_LD"
 3522: if test -n "$LD"; then
 3523:   { $as_echo "$as_me:$LINENO: result: $LD" >&5
 3524: $as_echo "$LD" >&6; }
 3525: else
 3526:   { $as_echo "$as_me:$LINENO: result: no" >&5
 3527: $as_echo "no" >&6; }
 3528: fi
 3529: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 3530: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 3531:    { (exit 1); exit 1; }; }
 3532: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 3533: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 3534: if test "${lt_cv_prog_gnu_ld+set}" = set; then
 3535:   $as_echo_n "(cached) " >&6
 3536: else
 3537:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 3538: case `$LD -v 2>&1 </dev/null` in
 3539: *GNU* | *'with BFD'*)
 3540:   lt_cv_prog_gnu_ld=yes
 3541:   ;;
 3542: *)
 3543:   lt_cv_prog_gnu_ld=no
 3544:   ;;
 3545: esac
 3546: fi
 3547: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 3548: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 3549: with_gnu_ld=$lt_cv_prog_gnu_ld
 3550: 
 3551: 
 3552: 
 3553: 
 3554: 
 3555: 
 3556: 
 3557: 
 3558: 
 3559: { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 3560: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 3561: if test "${lt_cv_path_NM+set}" = set; then
 3562:   $as_echo_n "(cached) " >&6
 3563: else
 3564:   if test -n "$NM"; then
 3565:   # Let the user override the test.
 3566:   lt_cv_path_NM="$NM"
 3567: else
 3568:   lt_nm_to_check="${ac_tool_prefix}nm"
 3569:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 3570:     lt_nm_to_check="$lt_nm_to_check nm"
 3571:   fi
 3572:   for lt_tmp_nm in $lt_nm_to_check; do
 3573:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 3574:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 3575:       IFS="$lt_save_ifs"
 3576:       test -z "$ac_dir" && ac_dir=.
 3577:       tmp_nm="$ac_dir/$lt_tmp_nm"
 3578:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 3579: 	# Check to see if the nm accepts a BSD-compat flag.
 3580: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 3581: 	#   nm: unknown option "B" ignored
 3582: 	# Tru64's nm complains that /dev/null is an invalid object file
 3583: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 3584: 	*/dev/null* | *'Invalid file or object type'*)
 3585: 	  lt_cv_path_NM="$tmp_nm -B"
 3586: 	  break
 3587: 	  ;;
 3588: 	*)
 3589: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 3590: 	  */dev/null*)
 3591: 	    lt_cv_path_NM="$tmp_nm -p"
 3592: 	    break
 3593: 	    ;;
 3594: 	  *)
 3595: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 3596: 	    continue # so that we can try to find one that supports BSD flags
 3597: 	    ;;
 3598: 	  esac
 3599: 	  ;;
 3600: 	esac
 3601:       fi
 3602:     done
 3603:     IFS="$lt_save_ifs"
 3604:   done
 3605:   : ${lt_cv_path_NM=no}
 3606: fi
 3607: fi
 3608: { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 3609: $as_echo "$lt_cv_path_NM" >&6; }
 3610: if test "$lt_cv_path_NM" != "no"; then
 3611:   NM="$lt_cv_path_NM"
 3612: else
 3613:   # Didn't find any BSD compatible name lister, look for dumpbin.
 3614:   if test -n "$ac_tool_prefix"; then
 3615:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 3616:   do
 3617:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3618: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3619: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 3620: $as_echo_n "checking for $ac_word... " >&6; }
 3621: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 3622:   $as_echo_n "(cached) " >&6
 3623: else
 3624:   if test -n "$DUMPBIN"; then
 3625:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 3626: else
 3627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3628: for as_dir in $PATH
 3629: do
 3630:   IFS=$as_save_IFS
 3631:   test -z "$as_dir" && as_dir=.
 3632:   for ac_exec_ext in '' $ac_executable_extensions; do
 3633:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3634:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 3635:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3636:     break 2
 3637:   fi
 3638: done
 3639: done
 3640: IFS=$as_save_IFS
 3641: 
 3642: fi
 3643: fi
 3644: DUMPBIN=$ac_cv_prog_DUMPBIN
 3645: if test -n "$DUMPBIN"; then
 3646:   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 3647: $as_echo "$DUMPBIN" >&6; }
 3648: else
 3649:   { $as_echo "$as_me:$LINENO: result: no" >&5
 3650: $as_echo "no" >&6; }
 3651: fi
 3652: 
 3653: 
 3654:     test -n "$DUMPBIN" && break
 3655:   done
 3656: fi
 3657: if test -z "$DUMPBIN"; then
 3658:   ac_ct_DUMPBIN=$DUMPBIN
 3659:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 3660: do
 3661:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3662: set dummy $ac_prog; ac_word=$2
 3663: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 3664: $as_echo_n "checking for $ac_word... " >&6; }
 3665: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 3666:   $as_echo_n "(cached) " >&6
 3667: else
 3668:   if test -n "$ac_ct_DUMPBIN"; then
 3669:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 3670: else
 3671: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3672: for as_dir in $PATH
 3673: do
 3674:   IFS=$as_save_IFS
 3675:   test -z "$as_dir" && as_dir=.
 3676:   for ac_exec_ext in '' $ac_executable_extensions; do
 3677:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3678:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 3679:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3680:     break 2
 3681:   fi
 3682: done
 3683: done
 3684: IFS=$as_save_IFS
 3685: 
 3686: fi
 3687: fi
 3688: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 3689: if test -n "$ac_ct_DUMPBIN"; then
 3690:   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 3691: $as_echo "$ac_ct_DUMPBIN" >&6; }
 3692: else
 3693:   { $as_echo "$as_me:$LINENO: result: no" >&5
 3694: $as_echo "no" >&6; }
 3695: fi
 3696: 
 3697: 
 3698:   test -n "$ac_ct_DUMPBIN" && break
 3699: done
 3700: 
 3701:   if test "x$ac_ct_DUMPBIN" = x; then
 3702:     DUMPBIN=":"
 3703:   else
 3704:     case $cross_compiling:$ac_tool_warned in
 3705: yes:)
 3706: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3707: whose name does not start with the host triplet.  If you think this
 3708: configuration is useful to you, please write to autoconf@gnu.org." >&5
 3709: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3710: whose name does not start with the host triplet.  If you think this
 3711: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3712: ac_tool_warned=yes ;;
 3713: esac
 3714:     DUMPBIN=$ac_ct_DUMPBIN
 3715:   fi
 3716: fi
 3717: 
 3718: 
 3719:   if test "$DUMPBIN" != ":"; then
 3720:     NM="$DUMPBIN"
 3721:   fi
 3722: fi
 3723: test -z "$NM" && NM=nm
 3724: 
 3725: 
 3726: 
 3727: 
 3728: 
 3729: 
 3730: { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 3731: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 3732: if test "${lt_cv_nm_interface+set}" = set; then
 3733:   $as_echo_n "(cached) " >&6
 3734: else
 3735:   lt_cv_nm_interface="BSD nm"
 3736:   echo "int some_variable = 0;" > conftest.$ac_ext
 3737:   (eval echo "\"\$as_me:3737: $ac_compile\"" >&5)
 3738:   (eval "$ac_compile" 2>conftest.err)
 3739:   cat conftest.err >&5
 3740:   (eval echo "\"\$as_me:3740: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 3741:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 3742:   cat conftest.err >&5
 3743:   (eval echo "\"\$as_me:3743: output\"" >&5)
 3744:   cat conftest.out >&5
 3745:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 3746:     lt_cv_nm_interface="MS dumpbin"
 3747:   fi
 3748:   rm -f conftest*
 3749: fi
 3750: { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 3751: $as_echo "$lt_cv_nm_interface" >&6; }
 3752: 
 3753: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 3754: $as_echo_n "checking whether ln -s works... " >&6; }
 3755: LN_S=$as_ln_s
 3756: if test "$LN_S" = "ln -s"; then
 3757:   { $as_echo "$as_me:$LINENO: result: yes" >&5
 3758: $as_echo "yes" >&6; }
 3759: else
 3760:   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 3761: $as_echo "no, using $LN_S" >&6; }
 3762: fi
 3763: 
 3764: # find the maximum length of command line arguments
 3765: { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 3766: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 3767: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 3768:   $as_echo_n "(cached) " >&6
 3769: else
 3770:     i=0
 3771:   teststring="ABCD"
 3772: 
 3773:   case $build_os in
 3774:   msdosdjgpp*)
 3775:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 3776:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 3777:     # during glob expansion).  Even if it were fixed, the result of this
 3778:     # check would be larger than it should be.
 3779:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 3780:     ;;
 3781: 
 3782:   gnu*)
 3783:     # Under GNU Hurd, this test is not required because there is
 3784:     # no limit to the length of command line arguments.
 3785:     # Libtool will interpret -1 as no limit whatsoever
 3786:     lt_cv_sys_max_cmd_len=-1;
 3787:     ;;
 3788: 
 3789:   cygwin* | mingw* | cegcc*)
 3790:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 3791:     # about 5 minutes as the teststring grows exponentially.
 3792:     # Worse, since 9x/ME are not pre-emptively multitasking,
 3793:     # you end up with a "frozen" computer, even though with patience
 3794:     # the test eventually succeeds (with a max line length of 256k).
 3795:     # Instead, let's just punt: use the minimum linelength reported by
 3796:     # all of the supported platforms: 8192 (on NT/2K/XP).
 3797:     lt_cv_sys_max_cmd_len=8192;
 3798:     ;;
 3799: 
 3800:   amigaos*)
 3801:     # On AmigaOS with pdksh, this test takes hours, literally.
 3802:     # So we just punt and use a minimum line length of 8192.
 3803:     lt_cv_sys_max_cmd_len=8192;
 3804:     ;;
 3805: 
 3806:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 3807:     # This has been around since 386BSD, at least.  Likely further.
 3808:     if test -x /sbin/sysctl; then
 3809:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 3810:     elif test -x /usr/sbin/sysctl; then
 3811:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 3812:     else
 3813:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 3814:     fi
 3815:     # And add a safety zone
 3816:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 3817:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 3818:     ;;
 3819: 
 3820:   interix*)
 3821:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 3822:     lt_cv_sys_max_cmd_len=196608
 3823:     ;;
 3824: 
 3825:   osf*)
 3826:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 3827:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 3828:     # nice to cause kernel panics so lets avoid the loop below.
 3829:     # First set a reasonable default.
 3830:     lt_cv_sys_max_cmd_len=16384
 3831:     #
 3832:     if test -x /sbin/sysconfig; then
 3833:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 3834:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 3835:       esac
 3836:     fi
 3837:     ;;
 3838:   sco3.2v5*)
 3839:     lt_cv_sys_max_cmd_len=102400
 3840:     ;;
 3841:   sysv5* | sco5v6* | sysv4.2uw2*)
 3842:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 3843:     if test -n "$kargmax"; then
 3844:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 3845:     else
 3846:       lt_cv_sys_max_cmd_len=32768
 3847:     fi
 3848:     ;;
 3849:   *)
 3850:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 3851:     if test -n "$lt_cv_sys_max_cmd_len"; then
 3852:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 3853:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 3854:     else
 3855:       # Make teststring a little bigger before we do anything with it.
 3856:       # a 1K string should be a reasonable start.
 3857:       for i in 1 2 3 4 5 6 7 8 ; do
 3858:         teststring=$teststring$teststring
 3859:       done
 3860:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 3861:       # If test is not a shell built-in, we'll probably end up computing a
 3862:       # maximum length that is only half of the actual maximum length, but
 3863:       # we can't tell.
 3864:       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 3865: 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 3866: 	      test $i != 17 # 1/2 MB should be enough
 3867:       do
 3868:         i=`expr $i + 1`
 3869:         teststring=$teststring$teststring
 3870:       done
 3871:       # Only check the string length outside the loop.
 3872:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 3873:       teststring=
 3874:       # Add a significant safety factor because C++ compilers can tack on
 3875:       # massive amounts of additional arguments before passing them to the
 3876:       # linker.  It appears as though 1/2 is a usable value.
 3877:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 3878:     fi
 3879:     ;;
 3880:   esac
 3881: 
 3882: fi
 3883: 
 3884: if test -n $lt_cv_sys_max_cmd_len ; then
 3885:   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 3886: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 3887: else
 3888:   { $as_echo "$as_me:$LINENO: result: none" >&5
 3889: $as_echo "none" >&6; }
 3890: fi
 3891: max_cmd_len=$lt_cv_sys_max_cmd_len
 3892: 
 3893: 
 3894: 
 3895: 
 3896: 
 3897: 
 3898: : ${CP="cp -f"}
 3899: : ${MV="mv -f"}
 3900: : ${RM="rm -f"}
 3901: 
 3902: { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 3903: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 3904: # Try some XSI features
 3905: xsi_shell=no
 3906: ( _lt_dummy="a/b/c"
 3907:   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 3908:       = c,a/b,, \
 3909:     && eval 'test $(( 1 + 1 )) -eq 2 \
 3910:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 3911:   && xsi_shell=yes
 3912: { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 3913: $as_echo "$xsi_shell" >&6; }
 3914: 
 3915: 
 3916: { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 3917: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 3918: lt_shell_append=no
 3919: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 3920:     >/dev/null 2>&1 \
 3921:   && lt_shell_append=yes
 3922: { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 3923: $as_echo "$lt_shell_append" >&6; }
 3924: 
 3925: 
 3926: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 3927:   lt_unset=unset
 3928: else
 3929:   lt_unset=false
 3930: fi
 3931: 
 3932: 
 3933: 
 3934: 
 3935: 
 3936: # test EBCDIC or ASCII
 3937: case `echo X|tr X '\101'` in
 3938:  A) # ASCII based system
 3939:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 3940:   lt_SP2NL='tr \040 \012'
 3941:   lt_NL2SP='tr \015\012 \040\040'
 3942:   ;;
 3943:  *) # EBCDIC based system
 3944:   lt_SP2NL='tr \100 \n'
 3945:   lt_NL2SP='tr \r\n \100\100'
 3946:   ;;
 3947: esac
 3948: 
 3949: 
 3950: 
 3951: 
 3952: 
 3953: 
 3954: 
 3955: 
 3956: 
 3957: { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 3958: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 3959: if test "${lt_cv_ld_reload_flag+set}" = set; then
 3960:   $as_echo_n "(cached) " >&6
 3961: else
 3962:   lt_cv_ld_reload_flag='-r'
 3963: fi
 3964: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 3965: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 3966: reload_flag=$lt_cv_ld_reload_flag
 3967: case $reload_flag in
 3968: "" | " "*) ;;
 3969: *) reload_flag=" $reload_flag" ;;
 3970: esac
 3971: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 3972: case $host_os in
 3973:   darwin*)
 3974:     if test "$GCC" = yes; then
 3975:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 3976:     else
 3977:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 3978:     fi
 3979:     ;;
 3980: esac
 3981: 
 3982: 
 3983: 
 3984: 
 3985: 
 3986: 
 3987: 
 3988: 
 3989: 
 3990: if test -n "$ac_tool_prefix"; then
 3991:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 3992: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 3993: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 3994: $as_echo_n "checking for $ac_word... " >&6; }
 3995: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 3996:   $as_echo_n "(cached) " >&6
 3997: else
 3998:   if test -n "$OBJDUMP"; then
 3999:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 4000: else
 4001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4002: for as_dir in $PATH
 4003: do
 4004:   IFS=$as_save_IFS
 4005:   test -z "$as_dir" && as_dir=.
 4006:   for ac_exec_ext in '' $ac_executable_extensions; do
 4007:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4008:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 4009:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4010:     break 2
 4011:   fi
 4012: done
 4013: done
 4014: IFS=$as_save_IFS
 4015: 
 4016: fi
 4017: fi
 4018: OBJDUMP=$ac_cv_prog_OBJDUMP
 4019: if test -n "$OBJDUMP"; then
 4020:   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 4021: $as_echo "$OBJDUMP" >&6; }
 4022: else
 4023:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4024: $as_echo "no" >&6; }
 4025: fi
 4026: 
 4027: 
 4028: fi
 4029: if test -z "$ac_cv_prog_OBJDUMP"; then
 4030:   ac_ct_OBJDUMP=$OBJDUMP
 4031:   # Extract the first word of "objdump", so it can be a program name with args.
 4032: set dummy objdump; ac_word=$2
 4033: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4034: $as_echo_n "checking for $ac_word... " >&6; }
 4035: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 4036:   $as_echo_n "(cached) " >&6
 4037: else
 4038:   if test -n "$ac_ct_OBJDUMP"; then
 4039:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 4040: else
 4041: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4042: for as_dir in $PATH
 4043: do
 4044:   IFS=$as_save_IFS
 4045:   test -z "$as_dir" && as_dir=.
 4046:   for ac_exec_ext in '' $ac_executable_extensions; do
 4047:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4048:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 4049:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4050:     break 2
 4051:   fi
 4052: done
 4053: done
 4054: IFS=$as_save_IFS
 4055: 
 4056: fi
 4057: fi
 4058: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 4059: if test -n "$ac_ct_OBJDUMP"; then
 4060:   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 4061: $as_echo "$ac_ct_OBJDUMP" >&6; }
 4062: else
 4063:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4064: $as_echo "no" >&6; }
 4065: fi
 4066: 
 4067:   if test "x$ac_ct_OBJDUMP" = x; then
 4068:     OBJDUMP="false"
 4069:   else
 4070:     case $cross_compiling:$ac_tool_warned in
 4071: yes:)
 4072: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4073: whose name does not start with the host triplet.  If you think this
 4074: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4075: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4076: whose name does not start with the host triplet.  If you think this
 4077: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4078: ac_tool_warned=yes ;;
 4079: esac
 4080:     OBJDUMP=$ac_ct_OBJDUMP
 4081:   fi
 4082: else
 4083:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 4084: fi
 4085: 
 4086: test -z "$OBJDUMP" && OBJDUMP=objdump
 4087: 
 4088: 
 4089: 
 4090: 
 4091: 
 4092: 
 4093: 
 4094: 
 4095: 
 4096: { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 4097: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 4098: if test "${lt_cv_deplibs_check_method+set}" = set; then
 4099:   $as_echo_n "(cached) " >&6
 4100: else
 4101:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 4102: lt_cv_file_magic_test_file=
 4103: lt_cv_deplibs_check_method='unknown'
 4104: # Need to set the preceding variable on all platforms that support
 4105: # interlibrary dependencies.
 4106: # 'none' -- dependencies not supported.
 4107: # `unknown' -- same as none, but documents that we really don't know.
 4108: # 'pass_all' -- all dependencies passed with no checks.
 4109: # 'test_compile' -- check by making test program.
 4110: # 'file_magic [[regex]]' -- check by looking for files in library path
 4111: # which responds to the $file_magic_cmd with a given extended regex.
 4112: # If you have `file' or equivalent on your system and you're not sure
 4113: # whether `pass_all' will *always* work, you probably want this one.
 4114: 
 4115: case $host_os in
 4116: aix[4-9]*)
 4117:   lt_cv_deplibs_check_method=pass_all
 4118:   ;;
 4119: 
 4120: beos*)
 4121:   lt_cv_deplibs_check_method=pass_all
 4122:   ;;
 4123: 
 4124: bsdi[45]*)
 4125:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 4126:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 4127:   lt_cv_file_magic_test_file=/shlib/libc.so
 4128:   ;;
 4129: 
 4130: cygwin*)
 4131:   # func_win32_libid is a shell function defined in ltmain.sh
 4132:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 4133:   lt_cv_file_magic_cmd='func_win32_libid'
 4134:   ;;
 4135: 
 4136: mingw* | pw32*)
 4137:   # Base MSYS/MinGW do not provide the 'file' command needed by
 4138:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 4139:   # unless we find 'file', for example because we are cross-compiling.
 4140:   if ( file / ) >/dev/null 2>&1; then
 4141:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 4142:     lt_cv_file_magic_cmd='func_win32_libid'
 4143:   else
 4144:     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 4145:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 4146:   fi
 4147:   ;;
 4148: 
 4149: cegcc)
 4150:   # use the weaker test based on 'objdump'. See mingw*.
 4151:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 4152:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 4153:   ;;
 4154: 
 4155: darwin* | rhapsody*)
 4156:   lt_cv_deplibs_check_method=pass_all
 4157:   ;;
 4158: 
 4159: freebsd* | dragonfly*)
 4160:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 4161:     case $host_cpu in
 4162:     i*86 )
 4163:       # Not sure whether the presence of OpenBSD here was a mistake.
 4164:       # Let's accept both of them until this is cleared up.
 4165:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 4166:       lt_cv_file_magic_cmd=/usr/bin/file
 4167:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 4168:       ;;
 4169:     esac
 4170:   else
 4171:     lt_cv_deplibs_check_method=pass_all
 4172:   fi
 4173:   ;;
 4174: 
 4175: gnu*)
 4176:   lt_cv_deplibs_check_method=pass_all
 4177:   ;;
 4178: 
 4179: hpux10.20* | hpux11*)
 4180:   lt_cv_file_magic_cmd=/usr/bin/file
 4181:   case $host_cpu in
 4182:   ia64*)
 4183:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 4184:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 4185:     ;;
 4186:   hppa*64*)
 4187:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 4188:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 4189:     ;;
 4190:   *)
 4191:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 4192:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 4193:     ;;
 4194:   esac
 4195:   ;;
 4196: 
 4197: interix[3-9]*)
 4198:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 4199:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 4200:   ;;
 4201: 
 4202: irix5* | irix6* | nonstopux*)
 4203:   case $LD in
 4204:   *-32|*"-32 ") libmagic=32-bit;;
 4205:   *-n32|*"-n32 ") libmagic=N32;;
 4206:   *-64|*"-64 ") libmagic=64-bit;;
 4207:   *) libmagic=never-match;;
 4208:   esac
 4209:   lt_cv_deplibs_check_method=pass_all
 4210:   ;;
 4211: 
 4212: # This must be Linux ELF.
 4213: linux* | k*bsd*-gnu)
 4214:   lt_cv_deplibs_check_method=pass_all
 4215:   ;;
 4216: 
 4217: netbsd*)
 4218:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 4219:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4220:   else
 4221:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 4222:   fi
 4223:   ;;
 4224: 
 4225: newos6*)
 4226:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 4227:   lt_cv_file_magic_cmd=/usr/bin/file
 4228:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 4229:   ;;
 4230: 
 4231: *nto* | *qnx*)
 4232:   lt_cv_deplibs_check_method=pass_all
 4233:   ;;
 4234: 
 4235: openbsd*)
 4236:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 4237:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 4238:   else
 4239:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 4240:   fi
 4241:   ;;
 4242: 
 4243: osf3* | osf4* | osf5*)
 4244:   lt_cv_deplibs_check_method=pass_all
 4245:   ;;
 4246: 
 4247: rdos*)
 4248:   lt_cv_deplibs_check_method=pass_all
 4249:   ;;
 4250: 
 4251: solaris*)
 4252:   lt_cv_deplibs_check_method=pass_all
 4253:   ;;
 4254: 
 4255: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 4256:   lt_cv_deplibs_check_method=pass_all
 4257:   ;;
 4258: 
 4259: sysv4 | sysv4.3*)
 4260:   case $host_vendor in
 4261:   motorola)
 4262:     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]'
 4263:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 4264:     ;;
 4265:   ncr)
 4266:     lt_cv_deplibs_check_method=pass_all
 4267:     ;;
 4268:   sequent)
 4269:     lt_cv_file_magic_cmd='/bin/file'
 4270:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 4271:     ;;
 4272:   sni)
 4273:     lt_cv_file_magic_cmd='/bin/file'
 4274:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 4275:     lt_cv_file_magic_test_file=/lib/libc.so
 4276:     ;;
 4277:   siemens)
 4278:     lt_cv_deplibs_check_method=pass_all
 4279:     ;;
 4280:   pc)
 4281:     lt_cv_deplibs_check_method=pass_all
 4282:     ;;
 4283:   esac
 4284:   ;;
 4285: 
 4286: tpf*)
 4287:   lt_cv_deplibs_check_method=pass_all
 4288:   ;;
 4289: esac
 4290: 
 4291: fi
 4292: { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 4293: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 4294: file_magic_cmd=$lt_cv_file_magic_cmd
 4295: deplibs_check_method=$lt_cv_deplibs_check_method
 4296: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 4297: 
 4298: 
 4299: 
 4300: 
 4301: 
 4302: 
 4303: 
 4304: 
 4305: 
 4306: 
 4307: 
 4308: 
 4309: if test -n "$ac_tool_prefix"; then
 4310:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 4311: set dummy ${ac_tool_prefix}ar; ac_word=$2
 4312: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4313: $as_echo_n "checking for $ac_word... " >&6; }
 4314: if test "${ac_cv_prog_AR+set}" = set; then
 4315:   $as_echo_n "(cached) " >&6
 4316: else
 4317:   if test -n "$AR"; then
 4318:   ac_cv_prog_AR="$AR" # Let the user override the test.
 4319: else
 4320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4321: for as_dir in $PATH
 4322: do
 4323:   IFS=$as_save_IFS
 4324:   test -z "$as_dir" && as_dir=.
 4325:   for ac_exec_ext in '' $ac_executable_extensions; do
 4326:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4327:     ac_cv_prog_AR="${ac_tool_prefix}ar"
 4328:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4329:     break 2
 4330:   fi
 4331: done
 4332: done
 4333: IFS=$as_save_IFS
 4334: 
 4335: fi
 4336: fi
 4337: AR=$ac_cv_prog_AR
 4338: if test -n "$AR"; then
 4339:   { $as_echo "$as_me:$LINENO: result: $AR" >&5
 4340: $as_echo "$AR" >&6; }
 4341: else
 4342:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4343: $as_echo "no" >&6; }
 4344: fi
 4345: 
 4346: 
 4347: fi
 4348: if test -z "$ac_cv_prog_AR"; then
 4349:   ac_ct_AR=$AR
 4350:   # Extract the first word of "ar", so it can be a program name with args.
 4351: set dummy ar; ac_word=$2
 4352: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4353: $as_echo_n "checking for $ac_word... " >&6; }
 4354: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 4355:   $as_echo_n "(cached) " >&6
 4356: else
 4357:   if test -n "$ac_ct_AR"; then
 4358:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 4359: else
 4360: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4361: for as_dir in $PATH
 4362: do
 4363:   IFS=$as_save_IFS
 4364:   test -z "$as_dir" && as_dir=.
 4365:   for ac_exec_ext in '' $ac_executable_extensions; do
 4366:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4367:     ac_cv_prog_ac_ct_AR="ar"
 4368:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4369:     break 2
 4370:   fi
 4371: done
 4372: done
 4373: IFS=$as_save_IFS
 4374: 
 4375: fi
 4376: fi
 4377: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 4378: if test -n "$ac_ct_AR"; then
 4379:   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 4380: $as_echo "$ac_ct_AR" >&6; }
 4381: else
 4382:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4383: $as_echo "no" >&6; }
 4384: fi
 4385: 
 4386:   if test "x$ac_ct_AR" = x; then
 4387:     AR="false"
 4388:   else
 4389:     case $cross_compiling:$ac_tool_warned in
 4390: yes:)
 4391: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4392: whose name does not start with the host triplet.  If you think this
 4393: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4394: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4395: whose name does not start with the host triplet.  If you think this
 4396: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4397: ac_tool_warned=yes ;;
 4398: esac
 4399:     AR=$ac_ct_AR
 4400:   fi
 4401: else
 4402:   AR="$ac_cv_prog_AR"
 4403: fi
 4404: 
 4405: test -z "$AR" && AR=ar
 4406: test -z "$AR_FLAGS" && AR_FLAGS=cru
 4407: 
 4408: 
 4409: 
 4410: 
 4411: 
 4412: 
 4413: 
 4414: 
 4415: 
 4416: 
 4417: 
 4418: if test -n "$ac_tool_prefix"; then
 4419:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 4420: set dummy ${ac_tool_prefix}strip; ac_word=$2
 4421: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4422: $as_echo_n "checking for $ac_word... " >&6; }
 4423: if test "${ac_cv_prog_STRIP+set}" = set; then
 4424:   $as_echo_n "(cached) " >&6
 4425: else
 4426:   if test -n "$STRIP"; then
 4427:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 4428: else
 4429: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4430: for as_dir in $PATH
 4431: do
 4432:   IFS=$as_save_IFS
 4433:   test -z "$as_dir" && as_dir=.
 4434:   for ac_exec_ext in '' $ac_executable_extensions; do
 4435:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4436:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 4437:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4438:     break 2
 4439:   fi
 4440: done
 4441: done
 4442: IFS=$as_save_IFS
 4443: 
 4444: fi
 4445: fi
 4446: STRIP=$ac_cv_prog_STRIP
 4447: if test -n "$STRIP"; then
 4448:   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 4449: $as_echo "$STRIP" >&6; }
 4450: else
 4451:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4452: $as_echo "no" >&6; }
 4453: fi
 4454: 
 4455: 
 4456: fi
 4457: if test -z "$ac_cv_prog_STRIP"; then
 4458:   ac_ct_STRIP=$STRIP
 4459:   # Extract the first word of "strip", so it can be a program name with args.
 4460: set dummy strip; ac_word=$2
 4461: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4462: $as_echo_n "checking for $ac_word... " >&6; }
 4463: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 4464:   $as_echo_n "(cached) " >&6
 4465: else
 4466:   if test -n "$ac_ct_STRIP"; then
 4467:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 4468: else
 4469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4470: for as_dir in $PATH
 4471: do
 4472:   IFS=$as_save_IFS
 4473:   test -z "$as_dir" && as_dir=.
 4474:   for ac_exec_ext in '' $ac_executable_extensions; do
 4475:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4476:     ac_cv_prog_ac_ct_STRIP="strip"
 4477:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4478:     break 2
 4479:   fi
 4480: done
 4481: done
 4482: IFS=$as_save_IFS
 4483: 
 4484: fi
 4485: fi
 4486: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 4487: if test -n "$ac_ct_STRIP"; then
 4488:   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 4489: $as_echo "$ac_ct_STRIP" >&6; }
 4490: else
 4491:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4492: $as_echo "no" >&6; }
 4493: fi
 4494: 
 4495:   if test "x$ac_ct_STRIP" = x; then
 4496:     STRIP=":"
 4497:   else
 4498:     case $cross_compiling:$ac_tool_warned in
 4499: yes:)
 4500: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4501: whose name does not start with the host triplet.  If you think this
 4502: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4503: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4504: whose name does not start with the host triplet.  If you think this
 4505: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4506: ac_tool_warned=yes ;;
 4507: esac
 4508:     STRIP=$ac_ct_STRIP
 4509:   fi
 4510: else
 4511:   STRIP="$ac_cv_prog_STRIP"
 4512: fi
 4513: 
 4514: test -z "$STRIP" && STRIP=:
 4515: 
 4516: 
 4517: 
 4518: 
 4519: 
 4520: 
 4521: if test -n "$ac_tool_prefix"; then
 4522:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 4523: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 4524: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4525: $as_echo_n "checking for $ac_word... " >&6; }
 4526: if test "${ac_cv_prog_RANLIB+set}" = set; then
 4527:   $as_echo_n "(cached) " >&6
 4528: else
 4529:   if test -n "$RANLIB"; then
 4530:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 4531: else
 4532: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4533: for as_dir in $PATH
 4534: do
 4535:   IFS=$as_save_IFS
 4536:   test -z "$as_dir" && as_dir=.
 4537:   for ac_exec_ext in '' $ac_executable_extensions; do
 4538:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4539:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 4540:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4541:     break 2
 4542:   fi
 4543: done
 4544: done
 4545: IFS=$as_save_IFS
 4546: 
 4547: fi
 4548: fi
 4549: RANLIB=$ac_cv_prog_RANLIB
 4550: if test -n "$RANLIB"; then
 4551:   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 4552: $as_echo "$RANLIB" >&6; }
 4553: else
 4554:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4555: $as_echo "no" >&6; }
 4556: fi
 4557: 
 4558: 
 4559: fi
 4560: if test -z "$ac_cv_prog_RANLIB"; then
 4561:   ac_ct_RANLIB=$RANLIB
 4562:   # Extract the first word of "ranlib", so it can be a program name with args.
 4563: set dummy ranlib; ac_word=$2
 4564: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 4565: $as_echo_n "checking for $ac_word... " >&6; }
 4566: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 4567:   $as_echo_n "(cached) " >&6
 4568: else
 4569:   if test -n "$ac_ct_RANLIB"; then
 4570:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 4571: else
 4572: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4573: for as_dir in $PATH
 4574: do
 4575:   IFS=$as_save_IFS
 4576:   test -z "$as_dir" && as_dir=.
 4577:   for ac_exec_ext in '' $ac_executable_extensions; do
 4578:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4579:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 4580:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4581:     break 2
 4582:   fi
 4583: done
 4584: done
 4585: IFS=$as_save_IFS
 4586: 
 4587: fi
 4588: fi
 4589: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 4590: if test -n "$ac_ct_RANLIB"; then
 4591:   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 4592: $as_echo "$ac_ct_RANLIB" >&6; }
 4593: else
 4594:   { $as_echo "$as_me:$LINENO: result: no" >&5
 4595: $as_echo "no" >&6; }
 4596: fi
 4597: 
 4598:   if test "x$ac_ct_RANLIB" = x; then
 4599:     RANLIB=":"
 4600:   else
 4601:     case $cross_compiling:$ac_tool_warned in
 4602: yes:)
 4603: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4604: whose name does not start with the host triplet.  If you think this
 4605: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4606: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4607: whose name does not start with the host triplet.  If you think this
 4608: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4609: ac_tool_warned=yes ;;
 4610: esac
 4611:     RANLIB=$ac_ct_RANLIB
 4612:   fi
 4613: else
 4614:   RANLIB="$ac_cv_prog_RANLIB"
 4615: fi
 4616: 
 4617: test -z "$RANLIB" && RANLIB=:
 4618: 
 4619: 
 4620: 
 4621: 
 4622: 
 4623: 
 4624: # Determine commands to create old-style static archives.
 4625: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 4626: old_postinstall_cmds='chmod 644 $oldlib'
 4627: old_postuninstall_cmds=
 4628: 
 4629: if test -n "$RANLIB"; then
 4630:   case $host_os in
 4631:   openbsd*)
 4632:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 4633:     ;;
 4634:   *)
 4635:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 4636:     ;;
 4637:   esac
 4638:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 4639: fi
 4640: 
 4641: 
 4642: 
 4643: 
 4644: 
 4645: 
 4646: 
 4647: 
 4648: 
 4649: 
 4650: 
 4651: 
 4652: 
 4653: 
 4654: 
 4655: 
 4656: 
 4657: 
 4658: 
 4659: 
 4660: 
 4661: 
 4662: 
 4663: 
 4664: 
 4665: 
 4666: 
 4667: 
 4668: 
 4669: 
 4670: 
 4671: 
 4672: 
 4673: 
 4674: # If no C compiler was specified, use CC.
 4675: LTCC=${LTCC-"$CC"}
 4676: 
 4677: # If no C compiler flags were specified, use CFLAGS.
 4678: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 4679: 
 4680: # Allow CC to be a program name with arguments.
 4681: compiler=$CC
 4682: 
 4683: 
 4684: # Check for command to grab the raw symbol name followed by C symbol from nm.
 4685: { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 4686: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 4687: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 4688:   $as_echo_n "(cached) " >&6
 4689: else
 4690: 
 4691: # These are sane defaults that work on at least a few old systems.
 4692: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 4693: 
 4694: # Character class describing NM global symbol codes.
 4695: symcode='[BCDEGRST]'
 4696: 
 4697: # Regexp to match symbols that can be accessed directly from C.
 4698: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 4699: 
 4700: # Define system-specific variables.
 4701: case $host_os in
 4702: aix*)
 4703:   symcode='[BCDT]'
 4704:   ;;
 4705: cygwin* | mingw* | pw32* | cegcc*)
 4706:   symcode='[ABCDGISTW]'
 4707:   ;;
 4708: hpux*)
 4709:   if test "$host_cpu" = ia64; then
 4710:     symcode='[ABCDEGRST]'
 4711:   fi
 4712:   ;;
 4713: irix* | nonstopux*)
 4714:   symcode='[BCDEGRST]'
 4715:   ;;
 4716: osf*)
 4717:   symcode='[BCDEGQRST]'
 4718:   ;;
 4719: solaris*)
 4720:   symcode='[BDRT]'
 4721:   ;;
 4722: sco3.2v5*)
 4723:   symcode='[DT]'
 4724:   ;;
 4725: sysv4.2uw2*)
 4726:   symcode='[DT]'
 4727:   ;;
 4728: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 4729:   symcode='[ABDT]'
 4730:   ;;
 4731: sysv4)
 4732:   symcode='[DFNSTU]'
 4733:   ;;
 4734: esac
 4735: 
 4736: # If we're using GNU nm, then use its standard symbol codes.
 4737: case `$NM -V 2>&1` in
 4738: *GNU* | *'with BFD'*)
 4739:   symcode='[ABCDGIRSTW]' ;;
 4740: esac
 4741: 
 4742: # Transform an extracted symbol line into a proper C declaration.
 4743: # Some systems (esp. on ia64) link data and code symbols differently,
 4744: # so use this general approach.
 4745: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 4746: 
 4747: # Transform an extracted symbol line into symbol name and symbol address
 4748: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 4749: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 4750: 
 4751: # Handle CRLF in mingw tool chain
 4752: opt_cr=
 4753: case $build_os in
 4754: mingw*)
 4755:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 4756:   ;;
 4757: esac
 4758: 
 4759: # Try without a prefix underscore, then with it.
 4760: for ac_symprfx in "" "_"; do
 4761: 
 4762:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 4763:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 4764: 
 4765:   # Write the raw and C identifiers.
 4766:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 4767:     # Fake it for dumpbin and say T for any non-static function
 4768:     # and D for any global variable.
 4769:     # Also find C++ and __fastcall symbols from MSVC++,
 4770:     # which start with @ or ?.
 4771:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 4772: "     {last_section=section; section=\$ 3};"\
 4773: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 4774: "     \$ 0!~/External *\|/{next};"\
 4775: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 4776: "     {if(hide[section]) next};"\
 4777: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 4778: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 4779: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 4780: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 4781: "     ' prfx=^$ac_symprfx"
 4782:   else
 4783:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 4784:   fi
 4785: 
 4786:   # Check to see that the pipe works correctly.
 4787:   pipe_works=no
 4788: 
 4789:   rm -f conftest*
 4790:   cat > conftest.$ac_ext <<_LT_EOF
 4791: #ifdef __cplusplus
 4792: extern "C" {
 4793: #endif
 4794: char nm_test_var;
 4795: void nm_test_func(void);
 4796: void nm_test_func(void){}
 4797: #ifdef __cplusplus
 4798: }
 4799: #endif
 4800: int main(){nm_test_var='a';nm_test_func();return(0);}
 4801: _LT_EOF
 4802: 
 4803:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4804:   (eval $ac_compile) 2>&5
 4805:   ac_status=$?
 4806:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4807:   (exit $ac_status); }; then
 4808:     # Now try to grab the symbols.
 4809:     nlist=conftest.nm
 4810:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 4811:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 4812:   ac_status=$?
 4813:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4814:   (exit $ac_status); } && test -s "$nlist"; then
 4815:       # Try sorting and uniquifying the output.
 4816:       if sort "$nlist" | uniq > "$nlist"T; then
 4817: 	mv -f "$nlist"T "$nlist"
 4818:       else
 4819: 	rm -f "$nlist"T
 4820:       fi
 4821: 
 4822:       # Make sure that we snagged all the symbols we need.
 4823:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 4824: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 4825: 	  cat <<_LT_EOF > conftest.$ac_ext
 4826: #ifdef __cplusplus
 4827: extern "C" {
 4828: #endif
 4829: 
 4830: _LT_EOF
 4831: 	  # Now generate the symbol file.
 4832: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 4833: 
 4834: 	  cat <<_LT_EOF >> conftest.$ac_ext
 4835: 
 4836: /* The mapping between symbol names and symbols.  */
 4837: const struct {
 4838:   const char *name;
 4839:   void       *address;
 4840: }
 4841: lt__PROGRAM__LTX_preloaded_symbols[] =
 4842: {
 4843:   { "@PROGRAM@", (void *) 0 },
 4844: _LT_EOF
 4845: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 4846: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 4847:   {0, (void *) 0}
 4848: };
 4849: 
 4850: /* This works around a problem in FreeBSD linker */
 4851: #ifdef FREEBSD_WORKAROUND
 4852: static const void *lt_preloaded_setup() {
 4853:   return lt__PROGRAM__LTX_preloaded_symbols;
 4854: }
 4855: #endif
 4856: 
 4857: #ifdef __cplusplus
 4858: }
 4859: #endif
 4860: _LT_EOF
 4861: 	  # Now try linking the two files.
 4862: 	  mv conftest.$ac_objext conftstm.$ac_objext
 4863: 	  lt_save_LIBS="$LIBS"
 4864: 	  lt_save_CFLAGS="$CFLAGS"
 4865: 	  LIBS="conftstm.$ac_objext"
 4866: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 4867: 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4868:   (eval $ac_link) 2>&5
 4869:   ac_status=$?
 4870:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4871:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
 4872: 	    pipe_works=yes
 4873: 	  fi
 4874: 	  LIBS="$lt_save_LIBS"
 4875: 	  CFLAGS="$lt_save_CFLAGS"
 4876: 	else
 4877: 	  echo "cannot find nm_test_func in $nlist" >&5
 4878: 	fi
 4879:       else
 4880: 	echo "cannot find nm_test_var in $nlist" >&5
 4881:       fi
 4882:     else
 4883:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 4884:     fi
 4885:   else
 4886:     echo "$progname: failed program was:" >&5
 4887:     cat conftest.$ac_ext >&5
 4888:   fi
 4889:   rm -rf conftest* conftst*
 4890: 
 4891:   # Do not use the global_symbol_pipe unless it works.
 4892:   if test "$pipe_works" = yes; then
 4893:     break
 4894:   else
 4895:     lt_cv_sys_global_symbol_pipe=
 4896:   fi
 4897: done
 4898: 
 4899: fi
 4900: 
 4901: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 4902:   lt_cv_sys_global_symbol_to_cdecl=
 4903: fi
 4904: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 4905:   { $as_echo "$as_me:$LINENO: result: failed" >&5
 4906: $as_echo "failed" >&6; }
 4907: else
 4908:   { $as_echo "$as_me:$LINENO: result: ok" >&5
 4909: $as_echo "ok" >&6; }
 4910: fi
 4911: 
 4912: 
 4913: 
 4914: 
 4915: 
 4916: 
 4917: 
 4918: 
 4919: 
 4920: 
 4921: 
 4922: 
 4923: 
 4924: 
 4925: 
 4926: 
 4927: 
 4928: 
 4929: 
 4930: 
 4931: 
 4932: 
 4933: 
 4934: # Check whether --enable-libtool-lock was given.
 4935: if test "${enable_libtool_lock+set}" = set; then
 4936:   enableval=$enable_libtool_lock;
 4937: fi
 4938: 
 4939: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 4940: 
 4941: # Some flags need to be propagated to the compiler or linker for good
 4942: # libtool support.
 4943: case $host in
 4944: ia64-*-hpux*)
 4945:   # Find out which ABI we are using.
 4946:   echo 'int i;' > conftest.$ac_ext
 4947:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4948:   (eval $ac_compile) 2>&5
 4949:   ac_status=$?
 4950:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4951:   (exit $ac_status); }; then
 4952:     case `/usr/bin/file conftest.$ac_objext` in
 4953:       *ELF-32*)
 4954: 	HPUX_IA64_MODE="32"
 4955: 	;;
 4956:       *ELF-64*)
 4957: 	HPUX_IA64_MODE="64"
 4958: 	;;
 4959:     esac
 4960:   fi
 4961:   rm -rf conftest*
 4962:   ;;
 4963: *-*-irix6*)
 4964:   # Find out which ABI we are using.
 4965:   echo '#line 4965 "configure"' > conftest.$ac_ext
 4966:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4967:   (eval $ac_compile) 2>&5
 4968:   ac_status=$?
 4969:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4970:   (exit $ac_status); }; then
 4971:     if test "$lt_cv_prog_gnu_ld" = yes; then
 4972:       case `/usr/bin/file conftest.$ac_objext` in
 4973: 	*32-bit*)
 4974: 	  LD="${LD-ld} -melf32bsmip"
 4975: 	  ;;
 4976: 	*N32*)
 4977: 	  LD="${LD-ld} -melf32bmipn32"
 4978: 	  ;;
 4979: 	*64-bit*)
 4980: 	  LD="${LD-ld} -melf64bmip"
 4981: 	;;
 4982:       esac
 4983:     else
 4984:       case `/usr/bin/file conftest.$ac_objext` in
 4985: 	*32-bit*)
 4986: 	  LD="${LD-ld} -32"
 4987: 	  ;;
 4988: 	*N32*)
 4989: 	  LD="${LD-ld} -n32"
 4990: 	  ;;
 4991: 	*64-bit*)
 4992: 	  LD="${LD-ld} -64"
 4993: 	  ;;
 4994:       esac
 4995:     fi
 4996:   fi
 4997:   rm -rf conftest*
 4998:   ;;
 4999: 
 5000: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 5001: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 5002:   # Find out which ABI we are using.
 5003:   echo 'int i;' > conftest.$ac_ext
 5004:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5005:   (eval $ac_compile) 2>&5
 5006:   ac_status=$?
 5007:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5008:   (exit $ac_status); }; then
 5009:     case `/usr/bin/file conftest.o` in
 5010:       *32-bit*)
 5011: 	case $host in
 5012: 	  x86_64-*kfreebsd*-gnu)
 5013: 	    LD="${LD-ld} -m elf_i386_fbsd"
 5014: 	    ;;
 5015: 	  x86_64-*linux*)
 5016: 	    LD="${LD-ld} -m elf_i386"
 5017: 	    ;;
 5018: 	  ppc64-*linux*|powerpc64-*linux*)
 5019: 	    LD="${LD-ld} -m elf32ppclinux"
 5020: 	    ;;
 5021: 	  s390x-*linux*)
 5022: 	    LD="${LD-ld} -m elf_s390"
 5023: 	    ;;
 5024: 	  sparc64-*linux*)
 5025: 	    LD="${LD-ld} -m elf32_sparc"
 5026: 	    ;;
 5027: 	esac
 5028: 	;;
 5029:       *64-bit*)
 5030: 	case $host in
 5031: 	  x86_64-*kfreebsd*-gnu)
 5032: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 5033: 	    ;;
 5034: 	  x86_64-*linux*)
 5035: 	    LD="${LD-ld} -m elf_x86_64"
 5036: 	    ;;
 5037: 	  ppc*-*linux*|powerpc*-*linux*)
 5038: 	    LD="${LD-ld} -m elf64ppc"
 5039: 	    ;;
 5040: 	  s390*-*linux*|s390*-*tpf*)
 5041: 	    LD="${LD-ld} -m elf64_s390"
 5042: 	    ;;
 5043: 	  sparc*-*linux*)
 5044: 	    LD="${LD-ld} -m elf64_sparc"
 5045: 	    ;;
 5046: 	esac
 5047: 	;;
 5048:     esac
 5049:   fi
 5050:   rm -rf conftest*
 5051:   ;;
 5052: 
 5053: *-*-sco3.2v5*)
 5054:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 5055:   SAVE_CFLAGS="$CFLAGS"
 5056:   CFLAGS="$CFLAGS -belf"
 5057:   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 5058: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 5059: if test "${lt_cv_cc_needs_belf+set}" = set; then
 5060:   $as_echo_n "(cached) " >&6
 5061: else
 5062:   ac_ext=c
 5063: ac_cpp='$CPP $CPPFLAGS'
 5064: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5065: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5066: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5067: 
 5068:      cat >conftest.$ac_ext <<_ACEOF
 5069: /* confdefs.h.  */
 5070: _ACEOF
 5071: cat confdefs.h >>conftest.$ac_ext
 5072: cat >>conftest.$ac_ext <<_ACEOF
 5073: /* end confdefs.h.  */
 5074: 
 5075: int
 5076: main ()
 5077: {
 5078: 
 5079:   ;
 5080:   return 0;
 5081: }
 5082: _ACEOF
 5083: rm -f conftest.$ac_objext conftest$ac_exeext
 5084: if { (ac_try="$ac_link"
 5085: case "(($ac_try" in
 5086:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5087:   *) ac_try_echo=$ac_try;;
 5088: esac
 5089: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5090: $as_echo "$ac_try_echo") >&5
 5091:   (eval "$ac_link") 2>conftest.er1
 5092:   ac_status=$?
 5093:   grep -v '^ *+' conftest.er1 >conftest.err
 5094:   rm -f conftest.er1
 5095:   cat conftest.err >&5
 5096:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5097:   (exit $ac_status); } && {
 5098: 	 test -z "$ac_c_werror_flag" ||
 5099: 	 test ! -s conftest.err
 5100:        } && test -s conftest$ac_exeext && {
 5101: 	 test "$cross_compiling" = yes ||
 5102: 	 $as_test_x conftest$ac_exeext
 5103:        }; then
 5104:   lt_cv_cc_needs_belf=yes
 5105: else
 5106:   $as_echo "$as_me: failed program was:" >&5
 5107: sed 's/^/| /' conftest.$ac_ext >&5
 5108: 
 5109: 	lt_cv_cc_needs_belf=no
 5110: fi
 5111: 
 5112: rm -rf conftest.dSYM
 5113: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5114:       conftest$ac_exeext conftest.$ac_ext
 5115:      ac_ext=c
 5116: ac_cpp='$CPP $CPPFLAGS'
 5117: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5118: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5119: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5120: 
 5121: fi
 5122: { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 5123: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 5124:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 5125:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 5126:     CFLAGS="$SAVE_CFLAGS"
 5127:   fi
 5128:   ;;
 5129: sparc*-*solaris*)
 5130:   # Find out which ABI we are using.
 5131:   echo 'int i;' > conftest.$ac_ext
 5132:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5133:   (eval $ac_compile) 2>&5
 5134:   ac_status=$?
 5135:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5136:   (exit $ac_status); }; then
 5137:     case `/usr/bin/file conftest.o` in
 5138:     *64-bit*)
 5139:       case $lt_cv_prog_gnu_ld in
 5140:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 5141:       *)
 5142: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 5143: 	  LD="${LD-ld} -64"
 5144: 	fi
 5145: 	;;
 5146:       esac
 5147:       ;;
 5148:     esac
 5149:   fi
 5150:   rm -rf conftest*
 5151:   ;;
 5152: esac
 5153: 
 5154: need_locks="$enable_libtool_lock"
 5155: 
 5156: 
 5157:   case $host_os in
 5158:     rhapsody* | darwin*)
 5159:     if test -n "$ac_tool_prefix"; then
 5160:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 5161: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 5162: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5163: $as_echo_n "checking for $ac_word... " >&6; }
 5164: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 5165:   $as_echo_n "(cached) " >&6
 5166: else
 5167:   if test -n "$DSYMUTIL"; then
 5168:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 5169: else
 5170: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5171: for as_dir in $PATH
 5172: do
 5173:   IFS=$as_save_IFS
 5174:   test -z "$as_dir" && as_dir=.
 5175:   for ac_exec_ext in '' $ac_executable_extensions; do
 5176:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5177:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 5178:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5179:     break 2
 5180:   fi
 5181: done
 5182: done
 5183: IFS=$as_save_IFS
 5184: 
 5185: fi
 5186: fi
 5187: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 5188: if test -n "$DSYMUTIL"; then
 5189:   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 5190: $as_echo "$DSYMUTIL" >&6; }
 5191: else
 5192:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5193: $as_echo "no" >&6; }
 5194: fi
 5195: 
 5196: 
 5197: fi
 5198: if test -z "$ac_cv_prog_DSYMUTIL"; then
 5199:   ac_ct_DSYMUTIL=$DSYMUTIL
 5200:   # Extract the first word of "dsymutil", so it can be a program name with args.
 5201: set dummy dsymutil; ac_word=$2
 5202: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5203: $as_echo_n "checking for $ac_word... " >&6; }
 5204: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 5205:   $as_echo_n "(cached) " >&6
 5206: else
 5207:   if test -n "$ac_ct_DSYMUTIL"; then
 5208:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 5209: else
 5210: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5211: for as_dir in $PATH
 5212: do
 5213:   IFS=$as_save_IFS
 5214:   test -z "$as_dir" && as_dir=.
 5215:   for ac_exec_ext in '' $ac_executable_extensions; do
 5216:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5217:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 5218:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5219:     break 2
 5220:   fi
 5221: done
 5222: done
 5223: IFS=$as_save_IFS
 5224: 
 5225: fi
 5226: fi
 5227: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 5228: if test -n "$ac_ct_DSYMUTIL"; then
 5229:   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 5230: $as_echo "$ac_ct_DSYMUTIL" >&6; }
 5231: else
 5232:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5233: $as_echo "no" >&6; }
 5234: fi
 5235: 
 5236:   if test "x$ac_ct_DSYMUTIL" = x; then
 5237:     DSYMUTIL=":"
 5238:   else
 5239:     case $cross_compiling:$ac_tool_warned in
 5240: yes:)
 5241: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 5242: whose name does not start with the host triplet.  If you think this
 5243: configuration is useful to you, please write to autoconf@gnu.org." >&5
 5244: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 5245: whose name does not start with the host triplet.  If you think this
 5246: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 5247: ac_tool_warned=yes ;;
 5248: esac
 5249:     DSYMUTIL=$ac_ct_DSYMUTIL
 5250:   fi
 5251: else
 5252:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 5253: fi
 5254: 
 5255:     if test -n "$ac_tool_prefix"; then
 5256:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 5257: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 5258: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5259: $as_echo_n "checking for $ac_word... " >&6; }
 5260: if test "${ac_cv_prog_NMEDIT+set}" = set; then
 5261:   $as_echo_n "(cached) " >&6
 5262: else
 5263:   if test -n "$NMEDIT"; then
 5264:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 5265: else
 5266: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5267: for as_dir in $PATH
 5268: do
 5269:   IFS=$as_save_IFS
 5270:   test -z "$as_dir" && as_dir=.
 5271:   for ac_exec_ext in '' $ac_executable_extensions; do
 5272:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5273:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 5274:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5275:     break 2
 5276:   fi
 5277: done
 5278: done
 5279: IFS=$as_save_IFS
 5280: 
 5281: fi
 5282: fi
 5283: NMEDIT=$ac_cv_prog_NMEDIT
 5284: if test -n "$NMEDIT"; then
 5285:   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 5286: $as_echo "$NMEDIT" >&6; }
 5287: else
 5288:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5289: $as_echo "no" >&6; }
 5290: fi
 5291: 
 5292: 
 5293: fi
 5294: if test -z "$ac_cv_prog_NMEDIT"; then
 5295:   ac_ct_NMEDIT=$NMEDIT
 5296:   # Extract the first word of "nmedit", so it can be a program name with args.
 5297: set dummy nmedit; ac_word=$2
 5298: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5299: $as_echo_n "checking for $ac_word... " >&6; }
 5300: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 5301:   $as_echo_n "(cached) " >&6
 5302: else
 5303:   if test -n "$ac_ct_NMEDIT"; then
 5304:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 5305: else
 5306: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5307: for as_dir in $PATH
 5308: do
 5309:   IFS=$as_save_IFS
 5310:   test -z "$as_dir" && as_dir=.
 5311:   for ac_exec_ext in '' $ac_executable_extensions; do
 5312:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5313:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 5314:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5315:     break 2
 5316:   fi
 5317: done
 5318: done
 5319: IFS=$as_save_IFS
 5320: 
 5321: fi
 5322: fi
 5323: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 5324: if test -n "$ac_ct_NMEDIT"; then
 5325:   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 5326: $as_echo "$ac_ct_NMEDIT" >&6; }
 5327: else
 5328:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5329: $as_echo "no" >&6; }
 5330: fi
 5331: 
 5332:   if test "x$ac_ct_NMEDIT" = x; then
 5333:     NMEDIT=":"
 5334:   else
 5335:     case $cross_compiling:$ac_tool_warned in
 5336: yes:)
 5337: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 5338: whose name does not start with the host triplet.  If you think this
 5339: configuration is useful to you, please write to autoconf@gnu.org." >&5
 5340: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 5341: whose name does not start with the host triplet.  If you think this
 5342: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 5343: ac_tool_warned=yes ;;
 5344: esac
 5345:     NMEDIT=$ac_ct_NMEDIT
 5346:   fi
 5347: else
 5348:   NMEDIT="$ac_cv_prog_NMEDIT"
 5349: fi
 5350: 
 5351:     if test -n "$ac_tool_prefix"; then
 5352:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 5353: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 5354: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5355: $as_echo_n "checking for $ac_word... " >&6; }
 5356: if test "${ac_cv_prog_LIPO+set}" = set; then
 5357:   $as_echo_n "(cached) " >&6
 5358: else
 5359:   if test -n "$LIPO"; then
 5360:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 5361: else
 5362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5363: for as_dir in $PATH
 5364: do
 5365:   IFS=$as_save_IFS
 5366:   test -z "$as_dir" && as_dir=.
 5367:   for ac_exec_ext in '' $ac_executable_extensions; do
 5368:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5369:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 5370:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5371:     break 2
 5372:   fi
 5373: done
 5374: done
 5375: IFS=$as_save_IFS
 5376: 
 5377: fi
 5378: fi
 5379: LIPO=$ac_cv_prog_LIPO
 5380: if test -n "$LIPO"; then
 5381:   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 5382: $as_echo "$LIPO" >&6; }
 5383: else
 5384:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5385: $as_echo "no" >&6; }
 5386: fi
 5387: 
 5388: 
 5389: fi
 5390: if test -z "$ac_cv_prog_LIPO"; then
 5391:   ac_ct_LIPO=$LIPO
 5392:   # Extract the first word of "lipo", so it can be a program name with args.
 5393: set dummy lipo; ac_word=$2
 5394: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5395: $as_echo_n "checking for $ac_word... " >&6; }
 5396: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 5397:   $as_echo_n "(cached) " >&6
 5398: else
 5399:   if test -n "$ac_ct_LIPO"; then
 5400:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 5401: else
 5402: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5403: for as_dir in $PATH
 5404: do
 5405:   IFS=$as_save_IFS
 5406:   test -z "$as_dir" && as_dir=.
 5407:   for ac_exec_ext in '' $ac_executable_extensions; do
 5408:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5409:     ac_cv_prog_ac_ct_LIPO="lipo"
 5410:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5411:     break 2
 5412:   fi
 5413: done
 5414: done
 5415: IFS=$as_save_IFS
 5416: 
 5417: fi
 5418: fi
 5419: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 5420: if test -n "$ac_ct_LIPO"; then
 5421:   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 5422: $as_echo "$ac_ct_LIPO" >&6; }
 5423: else
 5424:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5425: $as_echo "no" >&6; }
 5426: fi
 5427: 
 5428:   if test "x$ac_ct_LIPO" = x; then
 5429:     LIPO=":"
 5430:   else
 5431:     case $cross_compiling:$ac_tool_warned in
 5432: yes:)
 5433: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 5434: whose name does not start with the host triplet.  If you think this
 5435: configuration is useful to you, please write to autoconf@gnu.org." >&5
 5436: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 5437: whose name does not start with the host triplet.  If you think this
 5438: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 5439: ac_tool_warned=yes ;;
 5440: esac
 5441:     LIPO=$ac_ct_LIPO
 5442:   fi
 5443: else
 5444:   LIPO="$ac_cv_prog_LIPO"
 5445: fi
 5446: 
 5447:     if test -n "$ac_tool_prefix"; then
 5448:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 5449: set dummy ${ac_tool_prefix}otool; ac_word=$2
 5450: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5451: $as_echo_n "checking for $ac_word... " >&6; }
 5452: if test "${ac_cv_prog_OTOOL+set}" = set; then
 5453:   $as_echo_n "(cached) " >&6
 5454: else
 5455:   if test -n "$OTOOL"; then
 5456:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 5457: else
 5458: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5459: for as_dir in $PATH
 5460: do
 5461:   IFS=$as_save_IFS
 5462:   test -z "$as_dir" && as_dir=.
 5463:   for ac_exec_ext in '' $ac_executable_extensions; do
 5464:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5465:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 5466:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5467:     break 2
 5468:   fi
 5469: done
 5470: done
 5471: IFS=$as_save_IFS
 5472: 
 5473: fi
 5474: fi
 5475: OTOOL=$ac_cv_prog_OTOOL
 5476: if test -n "$OTOOL"; then
 5477:   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 5478: $as_echo "$OTOOL" >&6; }
 5479: else
 5480:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5481: $as_echo "no" >&6; }
 5482: fi
 5483: 
 5484: 
 5485: fi
 5486: if test -z "$ac_cv_prog_OTOOL"; then
 5487:   ac_ct_OTOOL=$OTOOL
 5488:   # Extract the first word of "otool", so it can be a program name with args.
 5489: set dummy otool; ac_word=$2
 5490: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5491: $as_echo_n "checking for $ac_word... " >&6; }
 5492: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 5493:   $as_echo_n "(cached) " >&6
 5494: else
 5495:   if test -n "$ac_ct_OTOOL"; then
 5496:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 5497: else
 5498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5499: for as_dir in $PATH
 5500: do
 5501:   IFS=$as_save_IFS
 5502:   test -z "$as_dir" && as_dir=.
 5503:   for ac_exec_ext in '' $ac_executable_extensions; do
 5504:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5505:     ac_cv_prog_ac_ct_OTOOL="otool"
 5506:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5507:     break 2
 5508:   fi
 5509: done
 5510: done
 5511: IFS=$as_save_IFS
 5512: 
 5513: fi
 5514: fi
 5515: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 5516: if test -n "$ac_ct_OTOOL"; then
 5517:   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 5518: $as_echo "$ac_ct_OTOOL" >&6; }
 5519: else
 5520:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5521: $as_echo "no" >&6; }
 5522: fi
 5523: 
 5524:   if test "x$ac_ct_OTOOL" = x; then
 5525:     OTOOL=":"
 5526:   else
 5527:     case $cross_compiling:$ac_tool_warned in
 5528: yes:)
 5529: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 5530: whose name does not start with the host triplet.  If you think this
 5531: configuration is useful to you, please write to autoconf@gnu.org." >&5
 5532: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 5533: whose name does not start with the host triplet.  If you think this
 5534: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 5535: ac_tool_warned=yes ;;
 5536: esac
 5537:     OTOOL=$ac_ct_OTOOL
 5538:   fi
 5539: else
 5540:   OTOOL="$ac_cv_prog_OTOOL"
 5541: fi
 5542: 
 5543:     if test -n "$ac_tool_prefix"; then
 5544:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 5545: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 5546: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5547: $as_echo_n "checking for $ac_word... " >&6; }
 5548: if test "${ac_cv_prog_OTOOL64+set}" = set; then
 5549:   $as_echo_n "(cached) " >&6
 5550: else
 5551:   if test -n "$OTOOL64"; then
 5552:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 5553: else
 5554: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5555: for as_dir in $PATH
 5556: do
 5557:   IFS=$as_save_IFS
 5558:   test -z "$as_dir" && as_dir=.
 5559:   for ac_exec_ext in '' $ac_executable_extensions; do
 5560:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5561:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 5562:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5563:     break 2
 5564:   fi
 5565: done
 5566: done
 5567: IFS=$as_save_IFS
 5568: 
 5569: fi
 5570: fi
 5571: OTOOL64=$ac_cv_prog_OTOOL64
 5572: if test -n "$OTOOL64"; then
 5573:   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 5574: $as_echo "$OTOOL64" >&6; }
 5575: else
 5576:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5577: $as_echo "no" >&6; }
 5578: fi
 5579: 
 5580: 
 5581: fi
 5582: if test -z "$ac_cv_prog_OTOOL64"; then
 5583:   ac_ct_OTOOL64=$OTOOL64
 5584:   # Extract the first word of "otool64", so it can be a program name with args.
 5585: set dummy otool64; ac_word=$2
 5586: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 5587: $as_echo_n "checking for $ac_word... " >&6; }
 5588: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 5589:   $as_echo_n "(cached) " >&6
 5590: else
 5591:   if test -n "$ac_ct_OTOOL64"; then
 5592:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 5593: else
 5594: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5595: for as_dir in $PATH
 5596: do
 5597:   IFS=$as_save_IFS
 5598:   test -z "$as_dir" && as_dir=.
 5599:   for ac_exec_ext in '' $ac_executable_extensions; do
 5600:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5601:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 5602:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 5603:     break 2
 5604:   fi
 5605: done
 5606: done
 5607: IFS=$as_save_IFS
 5608: 
 5609: fi
 5610: fi
 5611: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 5612: if test -n "$ac_ct_OTOOL64"; then
 5613:   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 5614: $as_echo "$ac_ct_OTOOL64" >&6; }
 5615: else
 5616:   { $as_echo "$as_me:$LINENO: result: no" >&5
 5617: $as_echo "no" >&6; }
 5618: fi
 5619: 
 5620:   if test "x$ac_ct_OTOOL64" = x; then
 5621:     OTOOL64=":"
 5622:   else
 5623:     case $cross_compiling:$ac_tool_warned in
 5624: yes:)
 5625: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 5626: whose name does not start with the host triplet.  If you think this
 5627: configuration is useful to you, please write to autoconf@gnu.org." >&5
 5628: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 5629: whose name does not start with the host triplet.  If you think this
 5630: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 5631: ac_tool_warned=yes ;;
 5632: esac
 5633:     OTOOL64=$ac_ct_OTOOL64
 5634:   fi
 5635: else
 5636:   OTOOL64="$ac_cv_prog_OTOOL64"
 5637: fi
 5638: 
 5639: 
 5640: 
 5641: 
 5642: 
 5643: 
 5644: 
 5645: 
 5646: 
 5647: 
 5648: 
 5649: 
 5650: 
 5651: 
 5652: 
 5653: 
 5654: 
 5655: 
 5656: 
 5657: 
 5658: 
 5659: 
 5660: 
 5661: 
 5662: 
 5663: 
 5664: 
 5665:     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 5666: $as_echo_n "checking for -single_module linker flag... " >&6; }
 5667: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 5668:   $as_echo_n "(cached) " >&6
 5669: else
 5670:   lt_cv_apple_cc_single_mod=no
 5671:       if test -z "${LT_MULTI_MODULE}"; then
 5672: 	# By default we will add the -single_module flag. You can override
 5673: 	# by either setting the environment variable LT_MULTI_MODULE
 5674: 	# non-empty at configure time, or by adding -multi_module to the
 5675: 	# link flags.
 5676: 	rm -rf libconftest.dylib*
 5677: 	echo "int foo(void){return 1;}" > conftest.c
 5678: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 5679: -dynamiclib -Wl,-single_module conftest.c" >&5
 5680: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 5681: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 5682:         _lt_result=$?
 5683: 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 5684: 	  lt_cv_apple_cc_single_mod=yes
 5685: 	else
 5686: 	  cat conftest.err >&5
 5687: 	fi
 5688: 	rm -rf libconftest.dylib*
 5689: 	rm -f conftest.*
 5690:       fi
 5691: fi
 5692: { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 5693: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 5694:     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 5695: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 5696: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 5697:   $as_echo_n "(cached) " >&6
 5698: else
 5699:   lt_cv_ld_exported_symbols_list=no
 5700:       save_LDFLAGS=$LDFLAGS
 5701:       echo "_main" > conftest.sym
 5702:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 5703:       cat >conftest.$ac_ext <<_ACEOF
 5704: /* confdefs.h.  */
 5705: _ACEOF
 5706: cat confdefs.h >>conftest.$ac_ext
 5707: cat >>conftest.$ac_ext <<_ACEOF
 5708: /* end confdefs.h.  */
 5709: 
 5710: int
 5711: main ()
 5712: {
 5713: 
 5714:   ;
 5715:   return 0;
 5716: }
 5717: _ACEOF
 5718: rm -f conftest.$ac_objext conftest$ac_exeext
 5719: if { (ac_try="$ac_link"
 5720: case "(($ac_try" in
 5721:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5722:   *) ac_try_echo=$ac_try;;
 5723: esac
 5724: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5725: $as_echo "$ac_try_echo") >&5
 5726:   (eval "$ac_link") 2>conftest.er1
 5727:   ac_status=$?
 5728:   grep -v '^ *+' conftest.er1 >conftest.err
 5729:   rm -f conftest.er1
 5730:   cat conftest.err >&5
 5731:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5732:   (exit $ac_status); } && {
 5733: 	 test -z "$ac_c_werror_flag" ||
 5734: 	 test ! -s conftest.err
 5735:        } && test -s conftest$ac_exeext && {
 5736: 	 test "$cross_compiling" = yes ||
 5737: 	 $as_test_x conftest$ac_exeext
 5738:        }; then
 5739:   lt_cv_ld_exported_symbols_list=yes
 5740: else
 5741:   $as_echo "$as_me: failed program was:" >&5
 5742: sed 's/^/| /' conftest.$ac_ext >&5
 5743: 
 5744: 	lt_cv_ld_exported_symbols_list=no
 5745: fi
 5746: 
 5747: rm -rf conftest.dSYM
 5748: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5749:       conftest$ac_exeext conftest.$ac_ext
 5750: 	LDFLAGS="$save_LDFLAGS"
 5751: 
 5752: fi
 5753: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 5754: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 5755:     case $host_os in
 5756:     rhapsody* | darwin1.[012])
 5757:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 5758:     darwin1.*)
 5759:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 5760:     darwin*) # darwin 5.x on
 5761:       # if running on 10.5 or later, the deployment target defaults
 5762:       # to the OS version, if on x86, and 10.4, the deployment
 5763:       # target defaults to 10.4. Don't you love it?
 5764:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 5765: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 5766: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 5767: 	10.[012]*)
 5768: 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 5769: 	10.*)
 5770: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 5771:       esac
 5772:     ;;
 5773:   esac
 5774:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 5775:       _lt_dar_single_mod='$single_module'
 5776:     fi
 5777:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 5778:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 5779:     else
 5780:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 5781:     fi
 5782:     if test "$DSYMUTIL" != ":"; then
 5783:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 5784:     else
 5785:       _lt_dsymutil=
 5786:     fi
 5787:     ;;
 5788:   esac
 5789: 
 5790: ac_ext=c
 5791: ac_cpp='$CPP $CPPFLAGS'
 5792: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5793: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5794: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5795: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 5796: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5797: # On Suns, sometimes $CPP names a directory.
 5798: if test -n "$CPP" && test -d "$CPP"; then
 5799:   CPP=
 5800: fi
 5801: if test -z "$CPP"; then
 5802:   if test "${ac_cv_prog_CPP+set}" = set; then
 5803:   $as_echo_n "(cached) " >&6
 5804: else
 5805:       # Double quotes because CPP needs to be expanded
 5806:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5807:     do
 5808:       ac_preproc_ok=false
 5809: for ac_c_preproc_warn_flag in '' yes
 5810: do
 5811:   # Use a header file that comes with gcc, so configuring glibc
 5812:   # with a fresh cross-compiler works.
 5813:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5814:   # <limits.h> exists even on freestanding compilers.
 5815:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5816:   # not just through cpp. "Syntax error" is here to catch this case.
 5817:   cat >conftest.$ac_ext <<_ACEOF
 5818: /* confdefs.h.  */
 5819: _ACEOF
 5820: cat confdefs.h >>conftest.$ac_ext
 5821: cat >>conftest.$ac_ext <<_ACEOF
 5822: /* end confdefs.h.  */
 5823: #ifdef __STDC__
 5824: # include <limits.h>
 5825: #else
 5826: # include <assert.h>
 5827: #endif
 5828: 		     Syntax error
 5829: _ACEOF
 5830: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5831: case "(($ac_try" in
 5832:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5833:   *) ac_try_echo=$ac_try;;
 5834: esac
 5835: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5836: $as_echo "$ac_try_echo") >&5
 5837:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5838:   ac_status=$?
 5839:   grep -v '^ *+' conftest.er1 >conftest.err
 5840:   rm -f conftest.er1
 5841:   cat conftest.err >&5
 5842:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5843:   (exit $ac_status); } >/dev/null && {
 5844: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5845: 	 test ! -s conftest.err
 5846:        }; then
 5847:   :
 5848: else
 5849:   $as_echo "$as_me: failed program was:" >&5
 5850: sed 's/^/| /' conftest.$ac_ext >&5
 5851: 
 5852:   # Broken: fails on valid input.
 5853: continue
 5854: fi
 5855: 
 5856: rm -f conftest.err conftest.$ac_ext
 5857: 
 5858:   # OK, works on sane cases.  Now check whether nonexistent headers
 5859:   # can be detected and how.
 5860:   cat >conftest.$ac_ext <<_ACEOF
 5861: /* confdefs.h.  */
 5862: _ACEOF
 5863: cat confdefs.h >>conftest.$ac_ext
 5864: cat >>conftest.$ac_ext <<_ACEOF
 5865: /* end confdefs.h.  */
 5866: #include <ac_nonexistent.h>
 5867: _ACEOF
 5868: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5869: case "(($ac_try" in
 5870:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5871:   *) ac_try_echo=$ac_try;;
 5872: esac
 5873: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5874: $as_echo "$ac_try_echo") >&5
 5875:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5876:   ac_status=$?
 5877:   grep -v '^ *+' conftest.er1 >conftest.err
 5878:   rm -f conftest.er1
 5879:   cat conftest.err >&5
 5880:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5881:   (exit $ac_status); } >/dev/null && {
 5882: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5883: 	 test ! -s conftest.err
 5884:        }; then
 5885:   # Broken: success on invalid input.
 5886: continue
 5887: else
 5888:   $as_echo "$as_me: failed program was:" >&5
 5889: sed 's/^/| /' conftest.$ac_ext >&5
 5890: 
 5891:   # Passes both tests.
 5892: ac_preproc_ok=:
 5893: break
 5894: fi
 5895: 
 5896: rm -f conftest.err conftest.$ac_ext
 5897: 
 5898: done
 5899: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5900: rm -f conftest.err conftest.$ac_ext
 5901: if $ac_preproc_ok; then
 5902:   break
 5903: fi
 5904: 
 5905:     done
 5906:     ac_cv_prog_CPP=$CPP
 5907: 
 5908: fi
 5909:   CPP=$ac_cv_prog_CPP
 5910: else
 5911:   ac_cv_prog_CPP=$CPP
 5912: fi
 5913: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
 5914: $as_echo "$CPP" >&6; }
 5915: ac_preproc_ok=false
 5916: for ac_c_preproc_warn_flag in '' yes
 5917: do
 5918:   # Use a header file that comes with gcc, so configuring glibc
 5919:   # with a fresh cross-compiler works.
 5920:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5921:   # <limits.h> exists even on freestanding compilers.
 5922:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5923:   # not just through cpp. "Syntax error" is here to catch this case.
 5924:   cat >conftest.$ac_ext <<_ACEOF
 5925: /* confdefs.h.  */
 5926: _ACEOF
 5927: cat confdefs.h >>conftest.$ac_ext
 5928: cat >>conftest.$ac_ext <<_ACEOF
 5929: /* end confdefs.h.  */
 5930: #ifdef __STDC__
 5931: # include <limits.h>
 5932: #else
 5933: # include <assert.h>
 5934: #endif
 5935: 		     Syntax error
 5936: _ACEOF
 5937: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5938: case "(($ac_try" in
 5939:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5940:   *) ac_try_echo=$ac_try;;
 5941: esac
 5942: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5943: $as_echo "$ac_try_echo") >&5
 5944:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5945:   ac_status=$?
 5946:   grep -v '^ *+' conftest.er1 >conftest.err
 5947:   rm -f conftest.er1
 5948:   cat conftest.err >&5
 5949:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5950:   (exit $ac_status); } >/dev/null && {
 5951: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5952: 	 test ! -s conftest.err
 5953:        }; then
 5954:   :
 5955: else
 5956:   $as_echo "$as_me: failed program was:" >&5
 5957: sed 's/^/| /' conftest.$ac_ext >&5
 5958: 
 5959:   # Broken: fails on valid input.
 5960: continue
 5961: fi
 5962: 
 5963: rm -f conftest.err conftest.$ac_ext
 5964: 
 5965:   # OK, works on sane cases.  Now check whether nonexistent headers
 5966:   # can be detected and how.
 5967:   cat >conftest.$ac_ext <<_ACEOF
 5968: /* confdefs.h.  */
 5969: _ACEOF
 5970: cat confdefs.h >>conftest.$ac_ext
 5971: cat >>conftest.$ac_ext <<_ACEOF
 5972: /* end confdefs.h.  */
 5973: #include <ac_nonexistent.h>
 5974: _ACEOF
 5975: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5976: case "(($ac_try" in
 5977:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5978:   *) ac_try_echo=$ac_try;;
 5979: esac
 5980: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5981: $as_echo "$ac_try_echo") >&5
 5982:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5983:   ac_status=$?
 5984:   grep -v '^ *+' conftest.er1 >conftest.err
 5985:   rm -f conftest.er1
 5986:   cat conftest.err >&5
 5987:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5988:   (exit $ac_status); } >/dev/null && {
 5989: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5990: 	 test ! -s conftest.err
 5991:        }; then
 5992:   # Broken: success on invalid input.
 5993: continue
 5994: else
 5995:   $as_echo "$as_me: failed program was:" >&5
 5996: sed 's/^/| /' conftest.$ac_ext >&5
 5997: 
 5998:   # Passes both tests.
 5999: ac_preproc_ok=:
 6000: break
 6001: fi
 6002: 
 6003: rm -f conftest.err conftest.$ac_ext
 6004: 
 6005: done
 6006: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 6007: rm -f conftest.err conftest.$ac_ext
 6008: if $ac_preproc_ok; then
 6009:   :
 6010: else
 6011:   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 6012: See \`config.log' for more details." >&5
 6013: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 6014: See \`config.log' for more details." >&2;}
 6015:    { (exit 1); exit 1; }; }
 6016: fi
 6017: 
 6018: ac_ext=c
 6019: ac_cpp='$CPP $CPPFLAGS'
 6020: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6021: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6022: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6023: 
 6024: 
 6025: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 6026: $as_echo_n "checking for ANSI C header files... " >&6; }
 6027: if test "${ac_cv_header_stdc+set}" = set; then
 6028:   $as_echo_n "(cached) " >&6
 6029: else
 6030:   cat >conftest.$ac_ext <<_ACEOF
 6031: /* confdefs.h.  */
 6032: _ACEOF
 6033: cat confdefs.h >>conftest.$ac_ext
 6034: cat >>conftest.$ac_ext <<_ACEOF
 6035: /* end confdefs.h.  */
 6036: #include <stdlib.h>
 6037: #include <stdarg.h>
 6038: #include <string.h>
 6039: #include <float.h>
 6040: 
 6041: int
 6042: main ()
 6043: {
 6044: 
 6045:   ;
 6046:   return 0;
 6047: }
 6048: _ACEOF
 6049: rm -f conftest.$ac_objext
 6050: if { (ac_try="$ac_compile"
 6051: case "(($ac_try" in
 6052:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6053:   *) ac_try_echo=$ac_try;;
 6054: esac
 6055: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6056: $as_echo "$ac_try_echo") >&5
 6057:   (eval "$ac_compile") 2>conftest.er1
 6058:   ac_status=$?
 6059:   grep -v '^ *+' conftest.er1 >conftest.err
 6060:   rm -f conftest.er1
 6061:   cat conftest.err >&5
 6062:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6063:   (exit $ac_status); } && {
 6064: 	 test -z "$ac_c_werror_flag" ||
 6065: 	 test ! -s conftest.err
 6066:        } && test -s conftest.$ac_objext; then
 6067:   ac_cv_header_stdc=yes
 6068: else
 6069:   $as_echo "$as_me: failed program was:" >&5
 6070: sed 's/^/| /' conftest.$ac_ext >&5
 6071: 
 6072: 	ac_cv_header_stdc=no
 6073: fi
 6074: 
 6075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6076: 
 6077: if test $ac_cv_header_stdc = yes; then
 6078:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 6079:   cat >conftest.$ac_ext <<_ACEOF
 6080: /* confdefs.h.  */
 6081: _ACEOF
 6082: cat confdefs.h >>conftest.$ac_ext
 6083: cat >>conftest.$ac_ext <<_ACEOF
 6084: /* end confdefs.h.  */
 6085: #include <string.h>
 6086: 
 6087: _ACEOF
 6088: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 6089:   $EGREP "memchr" >/dev/null 2>&1; then
 6090:   :
 6091: else
 6092:   ac_cv_header_stdc=no
 6093: fi
 6094: rm -f conftest*
 6095: 
 6096: fi
 6097: 
 6098: if test $ac_cv_header_stdc = yes; then
 6099:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 6100:   cat >conftest.$ac_ext <<_ACEOF
 6101: /* confdefs.h.  */
 6102: _ACEOF
 6103: cat confdefs.h >>conftest.$ac_ext
 6104: cat >>conftest.$ac_ext <<_ACEOF
 6105: /* end confdefs.h.  */
 6106: #include <stdlib.h>
 6107: 
 6108: _ACEOF
 6109: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 6110:   $EGREP "free" >/dev/null 2>&1; then
 6111:   :
 6112: else
 6113:   ac_cv_header_stdc=no
 6114: fi
 6115: rm -f conftest*
 6116: 
 6117: fi
 6118: 
 6119: if test $ac_cv_header_stdc = yes; then
 6120:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 6121:   if test "$cross_compiling" = yes; then
 6122:   :
 6123: else
 6124:   cat >conftest.$ac_ext <<_ACEOF
 6125: /* confdefs.h.  */
 6126: _ACEOF
 6127: cat confdefs.h >>conftest.$ac_ext
 6128: cat >>conftest.$ac_ext <<_ACEOF
 6129: /* end confdefs.h.  */
 6130: #include <ctype.h>
 6131: #include <stdlib.h>
 6132: #if ((' ' & 0x0FF) == 0x020)
 6133: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 6134: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 6135: #else
 6136: # define ISLOWER(c) \
 6137: 		   (('a' <= (c) && (c) <= 'i') \
 6138: 		     || ('j' <= (c) && (c) <= 'r') \
 6139: 		     || ('s' <= (c) && (c) <= 'z'))
 6140: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 6141: #endif
 6142: 
 6143: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 6144: int
 6145: main ()
 6146: {
 6147:   int i;
 6148:   for (i = 0; i < 256; i++)
 6149:     if (XOR (islower (i), ISLOWER (i))
 6150: 	|| toupper (i) != TOUPPER (i))
 6151:       return 2;
 6152:   return 0;
 6153: }
 6154: _ACEOF
 6155: rm -f conftest$ac_exeext
 6156: if { (ac_try="$ac_link"
 6157: case "(($ac_try" in
 6158:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6159:   *) ac_try_echo=$ac_try;;
 6160: esac
 6161: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6162: $as_echo "$ac_try_echo") >&5
 6163:   (eval "$ac_link") 2>&5
 6164:   ac_status=$?
 6165:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6166:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6167:   { (case "(($ac_try" in
 6168:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6169:   *) ac_try_echo=$ac_try;;
 6170: esac
 6171: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6172: $as_echo "$ac_try_echo") >&5
 6173:   (eval "$ac_try") 2>&5
 6174:   ac_status=$?
 6175:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6176:   (exit $ac_status); }; }; then
 6177:   :
 6178: else
 6179:   $as_echo "$as_me: program exited with status $ac_status" >&5
 6180: $as_echo "$as_me: failed program was:" >&5
 6181: sed 's/^/| /' conftest.$ac_ext >&5
 6182: 
 6183: ( exit $ac_status )
 6184: ac_cv_header_stdc=no
 6185: fi
 6186: rm -rf conftest.dSYM
 6187: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6188: fi
 6189: 
 6190: 
 6191: fi
 6192: fi
 6193: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 6194: $as_echo "$ac_cv_header_stdc" >&6; }
 6195: if test $ac_cv_header_stdc = yes; then
 6196: 
 6197: cat >>confdefs.h <<\_ACEOF
 6198: #define STDC_HEADERS 1
 6199: _ACEOF
 6200: 
 6201: fi
 6202: 
 6203: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 6204: 
 6205: 
 6206: 
 6207: 
 6208: 
 6209: 
 6210: 
 6211: 
 6212: 
 6213: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 6214: 		  inttypes.h stdint.h unistd.h
 6215: do
 6216: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 6217: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 6218: $as_echo_n "checking for $ac_header... " >&6; }
 6219: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 6220:   $as_echo_n "(cached) " >&6
 6221: else
 6222:   cat >conftest.$ac_ext <<_ACEOF
 6223: /* confdefs.h.  */
 6224: _ACEOF
 6225: cat confdefs.h >>conftest.$ac_ext
 6226: cat >>conftest.$ac_ext <<_ACEOF
 6227: /* end confdefs.h.  */
 6228: $ac_includes_default
 6229: 
 6230: #include <$ac_header>
 6231: _ACEOF
 6232: rm -f conftest.$ac_objext
 6233: if { (ac_try="$ac_compile"
 6234: case "(($ac_try" in
 6235:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6236:   *) ac_try_echo=$ac_try;;
 6237: esac
 6238: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6239: $as_echo "$ac_try_echo") >&5
 6240:   (eval "$ac_compile") 2>conftest.er1
 6241:   ac_status=$?
 6242:   grep -v '^ *+' conftest.er1 >conftest.err
 6243:   rm -f conftest.er1
 6244:   cat conftest.err >&5
 6245:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6246:   (exit $ac_status); } && {
 6247: 	 test -z "$ac_c_werror_flag" ||
 6248: 	 test ! -s conftest.err
 6249:        } && test -s conftest.$ac_objext; then
 6250:   eval "$as_ac_Header=yes"
 6251: else
 6252:   $as_echo "$as_me: failed program was:" >&5
 6253: sed 's/^/| /' conftest.$ac_ext >&5
 6254: 
 6255: 	eval "$as_ac_Header=no"
 6256: fi
 6257: 
 6258: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6259: fi
 6260: ac_res=`eval 'as_val=${'$as_ac_Header'}
 6261: 		 $as_echo "$as_val"'`
 6262: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 6263: $as_echo "$ac_res" >&6; }
 6264: if test `eval 'as_val=${'$as_ac_Header'}
 6265: 		 $as_echo "$as_val"'` = yes; then
 6266:   cat >>confdefs.h <<_ACEOF
 6267: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6268: _ACEOF
 6269: 
 6270: fi
 6271: 
 6272: done
 6273: 
 6274: 
 6275: 
 6276: for ac_header in dlfcn.h
 6277: do
 6278: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 6279: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 6280: $as_echo_n "checking for $ac_header... " >&6; }
 6281: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 6282:   $as_echo_n "(cached) " >&6
 6283: else
 6284:   cat >conftest.$ac_ext <<_ACEOF
 6285: /* confdefs.h.  */
 6286: _ACEOF
 6287: cat confdefs.h >>conftest.$ac_ext
 6288: cat >>conftest.$ac_ext <<_ACEOF
 6289: /* end confdefs.h.  */
 6290: $ac_includes_default
 6291: 
 6292: #include <$ac_header>
 6293: _ACEOF
 6294: rm -f conftest.$ac_objext
 6295: if { (ac_try="$ac_compile"
 6296: case "(($ac_try" in
 6297:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6298:   *) ac_try_echo=$ac_try;;
 6299: esac
 6300: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6301: $as_echo "$ac_try_echo") >&5
 6302:   (eval "$ac_compile") 2>conftest.er1
 6303:   ac_status=$?
 6304:   grep -v '^ *+' conftest.er1 >conftest.err
 6305:   rm -f conftest.er1
 6306:   cat conftest.err >&5
 6307:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6308:   (exit $ac_status); } && {
 6309: 	 test -z "$ac_c_werror_flag" ||
 6310: 	 test ! -s conftest.err
 6311:        } && test -s conftest.$ac_objext; then
 6312:   eval "$as_ac_Header=yes"
 6313: else
 6314:   $as_echo "$as_me: failed program was:" >&5
 6315: sed 's/^/| /' conftest.$ac_ext >&5
 6316: 
 6317: 	eval "$as_ac_Header=no"
 6318: fi
 6319: 
 6320: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6321: fi
 6322: ac_res=`eval 'as_val=${'$as_ac_Header'}
 6323: 		 $as_echo "$as_val"'`
 6324: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 6325: $as_echo "$ac_res" >&6; }
 6326: if test `eval 'as_val=${'$as_ac_Header'}
 6327: 		 $as_echo "$as_val"'` = yes; then
 6328:   cat >>confdefs.h <<_ACEOF
 6329: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6330: _ACEOF
 6331: 
 6332: fi
 6333: 
 6334: done
 6335: 
 6336: 
 6337: 
 6338: # Set options
 6339: 
 6340: 
 6341: 
 6342:         enable_dlopen=no
 6343: 
 6344: 
 6345:   enable_win32_dll=no
 6346: 
 6347: 
 6348:             # Check whether --enable-shared was given.
 6349: if test "${enable_shared+set}" = set; then
 6350:   enableval=$enable_shared; p=${PACKAGE-default}
 6351:     case $enableval in
 6352:     yes) enable_shared=yes ;;
 6353:     no) enable_shared=no ;;
 6354:     *)
 6355:       enable_shared=no
 6356:       # Look at the argument we got.  We use all the common list separators.
 6357:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6358:       for pkg in $enableval; do
 6359: 	IFS="$lt_save_ifs"
 6360: 	if test "X$pkg" = "X$p"; then
 6361: 	  enable_shared=yes
 6362: 	fi
 6363:       done
 6364:       IFS="$lt_save_ifs"
 6365:       ;;
 6366:     esac
 6367: else
 6368:   enable_shared=yes
 6369: fi
 6370: 
 6371: 
 6372: 
 6373: 
 6374: 
 6375: 
 6376: 
 6377: 
 6378: 
 6379:   # Check whether --enable-static was given.
 6380: if test "${enable_static+set}" = set; then
 6381:   enableval=$enable_static; p=${PACKAGE-default}
 6382:     case $enableval in
 6383:     yes) enable_static=yes ;;
 6384:     no) enable_static=no ;;
 6385:     *)
 6386:      enable_static=no
 6387:       # Look at the argument we got.  We use all the common list separators.
 6388:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6389:       for pkg in $enableval; do
 6390: 	IFS="$lt_save_ifs"
 6391: 	if test "X$pkg" = "X$p"; then
 6392: 	  enable_static=yes
 6393: 	fi
 6394:       done
 6395:       IFS="$lt_save_ifs"
 6396:       ;;
 6397:     esac
 6398: else
 6399:   enable_static=yes
 6400: fi
 6401: 
 6402: 
 6403: 
 6404: 
 6405: 
 6406: 
 6407: 
 6408: 
 6409: 
 6410: 
 6411: # Check whether --with-pic was given.
 6412: if test "${with_pic+set}" = set; then
 6413:   withval=$with_pic; pic_mode="$withval"
 6414: else
 6415:   pic_mode=default
 6416: fi
 6417: 
 6418: 
 6419: test -z "$pic_mode" && pic_mode=default
 6420: 
 6421: 
 6422: 
 6423: 
 6424: 
 6425: 
 6426: 
 6427:   # Check whether --enable-fast-install was given.
 6428: if test "${enable_fast_install+set}" = set; then
 6429:   enableval=$enable_fast_install; p=${PACKAGE-default}
 6430:     case $enableval in
 6431:     yes) enable_fast_install=yes ;;
 6432:     no) enable_fast_install=no ;;
 6433:     *)
 6434:       enable_fast_install=no
 6435:       # Look at the argument we got.  We use all the common list separators.
 6436:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6437:       for pkg in $enableval; do
 6438: 	IFS="$lt_save_ifs"
 6439: 	if test "X$pkg" = "X$p"; then
 6440: 	  enable_fast_install=yes
 6441: 	fi
 6442:       done
 6443:       IFS="$lt_save_ifs"
 6444:       ;;
 6445:     esac
 6446: else
 6447:   enable_fast_install=yes
 6448: fi
 6449: 
 6450: 
 6451: 
 6452: 
 6453: 
 6454: 
 6455: 
 6456: 
 6457: 
 6458: 
 6459: 
 6460: # This can be used to rebuild libtool when needed
 6461: LIBTOOL_DEPS="$ltmain"
 6462: 
 6463: # Always use our own libtool.
 6464: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 6465: 
 6466: 
 6467: 
 6468: 
 6469: 
 6470: 
 6471: 
 6472: 
 6473: 
 6474: 
 6475: 
 6476: 
 6477: 
 6478: 
 6479: 
 6480: 
 6481: 
 6482: 
 6483: 
 6484: 
 6485: 
 6486: 
 6487: 
 6488: 
 6489: 
 6490: test -z "$LN_S" && LN_S="ln -s"
 6491: 
 6492: 
 6493: 
 6494: 
 6495: 
 6496: 
 6497: 
 6498: 
 6499: 
 6500: 
 6501: 
 6502: 
 6503: 
 6504: 
 6505: if test -n "${ZSH_VERSION+set}" ; then
 6506:    setopt NO_GLOB_SUBST
 6507: fi
 6508: 
 6509: { $as_echo "$as_me:$LINENO: checking for objdir" >&5
 6510: $as_echo_n "checking for objdir... " >&6; }
 6511: if test "${lt_cv_objdir+set}" = set; then
 6512:   $as_echo_n "(cached) " >&6
 6513: else
 6514:   rm -f .libs 2>/dev/null
 6515: mkdir .libs 2>/dev/null
 6516: if test -d .libs; then
 6517:   lt_cv_objdir=.libs
 6518: else
 6519:   # MS-DOS does not allow filenames that begin with a dot.
 6520:   lt_cv_objdir=_libs
 6521: fi
 6522: rmdir .libs 2>/dev/null
 6523: fi
 6524: { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 6525: $as_echo "$lt_cv_objdir" >&6; }
 6526: objdir=$lt_cv_objdir
 6527: 
 6528: 
 6529: 
 6530: 
 6531: 
 6532: cat >>confdefs.h <<_ACEOF
 6533: #define LT_OBJDIR "$lt_cv_objdir/"
 6534: _ACEOF
 6535: 
 6536: 
 6537: 
 6538: 
 6539: 
 6540: 
 6541: 
 6542: 
 6543: 
 6544: 
 6545: 
 6546: 
 6547: 
 6548: 
 6549: 
 6550: 
 6551: 
 6552: case $host_os in
 6553: aix3*)
 6554:   # AIX sometimes has problems with the GCC collect2 program.  For some
 6555:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 6556:   # vanish in a puff of smoke.
 6557:   if test "X${COLLECT_NAMES+set}" != Xset; then
 6558:     COLLECT_NAMES=
 6559:     export COLLECT_NAMES
 6560:   fi
 6561:   ;;
 6562: esac
 6563: 
 6564: # Sed substitution that helps us do robust quoting.  It backslashifies
 6565: # metacharacters that are still active within double-quoted strings.
 6566: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 6567: 
 6568: # Same as above, but do not quote variable references.
 6569: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 6570: 
 6571: # Sed substitution to delay expansion of an escaped shell variable in a
 6572: # double_quote_subst'ed string.
 6573: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 6574: 
 6575: # Sed substitution to delay expansion of an escaped single quote.
 6576: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 6577: 
 6578: # Sed substitution to avoid accidental globbing in evaled expressions
 6579: no_glob_subst='s/\*/\\\*/g'
 6580: 
 6581: # Global variables:
 6582: ofile=libtool
 6583: can_build_shared=yes
 6584: 
 6585: # All known linkers require a `.a' archive for static linking (except MSVC,
 6586: # which needs '.lib').
 6587: libext=a
 6588: 
 6589: with_gnu_ld="$lt_cv_prog_gnu_ld"
 6590: 
 6591: old_CC="$CC"
 6592: old_CFLAGS="$CFLAGS"
 6593: 
 6594: # Set sane defaults for various variables
 6595: test -z "$CC" && CC=cc
 6596: test -z "$LTCC" && LTCC=$CC
 6597: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 6598: test -z "$LD" && LD=ld
 6599: test -z "$ac_objext" && ac_objext=o
 6600: 
 6601: for cc_temp in $compiler""; do
 6602:   case $cc_temp in
 6603:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6604:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6605:     \-*) ;;
 6606:     *) break;;
 6607:   esac
 6608: done
 6609: cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 6610: 
 6611: 
 6612: # Only perform the check for file, if the check method requires it
 6613: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 6614: case $deplibs_check_method in
 6615: file_magic*)
 6616:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 6617:     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 6618: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 6619: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6620:   $as_echo_n "(cached) " >&6
 6621: else
 6622:   case $MAGIC_CMD in
 6623: [\\/*] |  ?:[\\/]*)
 6624:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6625:   ;;
 6626: *)
 6627:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 6628:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6629:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6630:   for ac_dir in $ac_dummy; do
 6631:     IFS="$lt_save_ifs"
 6632:     test -z "$ac_dir" && ac_dir=.
 6633:     if test -f $ac_dir/${ac_tool_prefix}file; then
 6634:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 6635:       if test -n "$file_magic_test_file"; then
 6636: 	case $deplibs_check_method in
 6637: 	"file_magic "*)
 6638: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6639: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6640: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6641: 	    $EGREP "$file_magic_regex" > /dev/null; then
 6642: 	    :
 6643: 	  else
 6644: 	    cat <<_LT_EOF 1>&2
 6645: 
 6646: *** Warning: the command libtool uses to detect shared libraries,
 6647: *** $file_magic_cmd, produces output that libtool cannot recognize.
 6648: *** The result is that libtool may fail to recognize shared libraries
 6649: *** as such.  This will affect the creation of libtool libraries that
 6650: *** depend on shared libraries, but programs linked with such libtool
 6651: *** libraries will work regardless of this problem.  Nevertheless, you
 6652: *** may want to report the problem to your system manager and/or to
 6653: *** bug-libtool@gnu.org
 6654: 
 6655: _LT_EOF
 6656: 	  fi ;;
 6657: 	esac
 6658:       fi
 6659:       break
 6660:     fi
 6661:   done
 6662:   IFS="$lt_save_ifs"
 6663:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 6664:   ;;
 6665: esac
 6666: fi
 6667: 
 6668: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6669: if test -n "$MAGIC_CMD"; then
 6670:   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6671: $as_echo "$MAGIC_CMD" >&6; }
 6672: else
 6673:   { $as_echo "$as_me:$LINENO: result: no" >&5
 6674: $as_echo "no" >&6; }
 6675: fi
 6676: 
 6677: 
 6678: 
 6679: 
 6680: 
 6681: if test -z "$lt_cv_path_MAGIC_CMD"; then
 6682:   if test -n "$ac_tool_prefix"; then
 6683:     { $as_echo "$as_me:$LINENO: checking for file" >&5
 6684: $as_echo_n "checking for file... " >&6; }
 6685: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 6686:   $as_echo_n "(cached) " >&6
 6687: else
 6688:   case $MAGIC_CMD in
 6689: [\\/*] |  ?:[\\/]*)
 6690:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 6691:   ;;
 6692: *)
 6693:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 6694:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 6695:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 6696:   for ac_dir in $ac_dummy; do
 6697:     IFS="$lt_save_ifs"
 6698:     test -z "$ac_dir" && ac_dir=.
 6699:     if test -f $ac_dir/file; then
 6700:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 6701:       if test -n "$file_magic_test_file"; then
 6702: 	case $deplibs_check_method in
 6703: 	"file_magic "*)
 6704: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 6705: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6706: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 6707: 	    $EGREP "$file_magic_regex" > /dev/null; then
 6708: 	    :
 6709: 	  else
 6710: 	    cat <<_LT_EOF 1>&2
 6711: 
 6712: *** Warning: the command libtool uses to detect shared libraries,
 6713: *** $file_magic_cmd, produces output that libtool cannot recognize.
 6714: *** The result is that libtool may fail to recognize shared libraries
 6715: *** as such.  This will affect the creation of libtool libraries that
 6716: *** depend on shared libraries, but programs linked with such libtool
 6717: *** libraries will work regardless of this problem.  Nevertheless, you
 6718: *** may want to report the problem to your system manager and/or to
 6719: *** bug-libtool@gnu.org
 6720: 
 6721: _LT_EOF
 6722: 	  fi ;;
 6723: 	esac
 6724:       fi
 6725:       break
 6726:     fi
 6727:   done
 6728:   IFS="$lt_save_ifs"
 6729:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 6730:   ;;
 6731: esac
 6732: fi
 6733: 
 6734: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 6735: if test -n "$MAGIC_CMD"; then
 6736:   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 6737: $as_echo "$MAGIC_CMD" >&6; }
 6738: else
 6739:   { $as_echo "$as_me:$LINENO: result: no" >&5
 6740: $as_echo "no" >&6; }
 6741: fi
 6742: 
 6743: 
 6744:   else
 6745:     MAGIC_CMD=:
 6746:   fi
 6747: fi
 6748: 
 6749:   fi
 6750:   ;;
 6751: esac
 6752: 
 6753: # Use C for the default configuration in the libtool script
 6754: 
 6755: lt_save_CC="$CC"
 6756: ac_ext=c
 6757: ac_cpp='$CPP $CPPFLAGS'
 6758: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6759: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6760: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6761: 
 6762: 
 6763: # Source file extension for C test sources.
 6764: ac_ext=c
 6765: 
 6766: # Object file extension for compiled C test sources.
 6767: objext=o
 6768: objext=$objext
 6769: 
 6770: # Code to be used in simple compile tests
 6771: lt_simple_compile_test_code="int some_variable = 0;"
 6772: 
 6773: # Code to be used in simple link tests
 6774: lt_simple_link_test_code='int main(){return(0);}'
 6775: 
 6776: 
 6777: 
 6778: 
 6779: 
 6780: 
 6781: 
 6782: # If no C compiler was specified, use CC.
 6783: LTCC=${LTCC-"$CC"}
 6784: 
 6785: # If no C compiler flags were specified, use CFLAGS.
 6786: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 6787: 
 6788: # Allow CC to be a program name with arguments.
 6789: compiler=$CC
 6790: 
 6791: # Save the default compiler, since it gets overwritten when the other
 6792: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 6793: compiler_DEFAULT=$CC
 6794: 
 6795: # save warnings/boilerplate of simple test code
 6796: ac_outfile=conftest.$ac_objext
 6797: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 6798: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6799: _lt_compiler_boilerplate=`cat conftest.err`
 6800: $RM conftest*
 6801: 
 6802: ac_outfile=conftest.$ac_objext
 6803: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 6804: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 6805: _lt_linker_boilerplate=`cat conftest.err`
 6806: $RM -r conftest*
 6807: 
 6808: 
 6809: if test -n "$compiler"; then
 6810: 
 6811: lt_prog_compiler_no_builtin_flag=
 6812: 
 6813: if test "$GCC" = yes; then
 6814:   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 6815: 
 6816:   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 6817: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 6818: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 6819:   $as_echo_n "(cached) " >&6
 6820: else
 6821:   lt_cv_prog_compiler_rtti_exceptions=no
 6822:    ac_outfile=conftest.$ac_objext
 6823:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 6824:    lt_compiler_flag="-fno-rtti -fno-exceptions"
 6825:    # Insert the option either (1) after the last *FLAGS variable, or
 6826:    # (2) before a word containing "conftest.", or (3) at the end.
 6827:    # Note that $ac_compile itself does not contain backslashes and begins
 6828:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 6829:    # The option is referenced via a variable to avoid confusing sed.
 6830:    lt_compile=`echo "$ac_compile" | $SED \
 6831:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 6832:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 6833:    -e 's:$: $lt_compiler_flag:'`
 6834:    (eval echo "\"\$as_me:6834: $lt_compile\"" >&5)
 6835:    (eval "$lt_compile" 2>conftest.err)
 6836:    ac_status=$?
 6837:    cat conftest.err >&5
 6838:    echo "$as_me:6838: \$? = $ac_status" >&5
 6839:    if (exit $ac_status) && test -s "$ac_outfile"; then
 6840:      # The compiler can only warn and ignore the option if not recognized
 6841:      # So say no if there are warnings other than the usual output.
 6842:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 6843:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 6844:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 6845:        lt_cv_prog_compiler_rtti_exceptions=yes
 6846:      fi
 6847:    fi
 6848:    $RM conftest*
 6849: 
 6850: fi
 6851: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 6852: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 6853: 
 6854: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 6855:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 6856: else
 6857:     :
 6858: fi
 6859: 
 6860: fi
 6861: 
 6862: 
 6863: 
 6864: 
 6865: 
 6866: 
 6867:   lt_prog_compiler_wl=
 6868: lt_prog_compiler_pic=
 6869: lt_prog_compiler_static=
 6870: 
 6871: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 6872: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 6873: 
 6874:   if test "$GCC" = yes; then
 6875:     lt_prog_compiler_wl='-Wl,'
 6876:     lt_prog_compiler_static='-static'
 6877: 
 6878:     case $host_os in
 6879:       aix*)
 6880:       # All AIX code is PIC.
 6881:       if test "$host_cpu" = ia64; then
 6882: 	# AIX 5 now supports IA64 processor
 6883: 	lt_prog_compiler_static='-Bstatic'
 6884:       fi
 6885:       ;;
 6886: 
 6887:     amigaos*)
 6888:       case $host_cpu in
 6889:       powerpc)
 6890:             # see comment about AmigaOS4 .so support
 6891:             lt_prog_compiler_pic='-fPIC'
 6892:         ;;
 6893:       m68k)
 6894:             # FIXME: we need at least 68020 code to build shared libraries, but
 6895:             # adding the `-m68020' flag to GCC prevents building anything better,
 6896:             # like `-m68040'.
 6897:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 6898:         ;;
 6899:       esac
 6900:       ;;
 6901: 
 6902:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 6903:       # PIC is the default for these OSes.
 6904:       ;;
 6905: 
 6906:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 6907:       # This hack is so that the source file can tell whether it is being
 6908:       # built for inclusion in a dll (and should export symbols for example).
 6909:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 6910:       # (--disable-auto-import) libraries
 6911:       lt_prog_compiler_pic='-DDLL_EXPORT'
 6912:       ;;
 6913: 
 6914:     darwin* | rhapsody*)
 6915:       # PIC is the default on this platform
 6916:       # Common symbols not allowed in MH_DYLIB files
 6917:       lt_prog_compiler_pic='-fno-common'
 6918:       ;;
 6919: 
 6920:     hpux*)
 6921:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 6922:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 6923:       # sets the default TLS model and affects inlining.
 6924:       case $host_cpu in
 6925:       hppa*64*)
 6926: 	# +Z the default
 6927: 	;;
 6928:       *)
 6929: 	lt_prog_compiler_pic='-fPIC'
 6930: 	;;
 6931:       esac
 6932:       ;;
 6933: 
 6934:     interix[3-9]*)
 6935:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 6936:       # Instead, we relocate shared libraries at runtime.
 6937:       ;;
 6938: 
 6939:     msdosdjgpp*)
 6940:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 6941:       # on systems that don't support them.
 6942:       lt_prog_compiler_can_build_shared=no
 6943:       enable_shared=no
 6944:       ;;
 6945: 
 6946:     *nto* | *qnx*)
 6947:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 6948:       # it will coredump.
 6949:       lt_prog_compiler_pic='-fPIC -shared'
 6950:       ;;
 6951: 
 6952:     sysv4*MP*)
 6953:       if test -d /usr/nec; then
 6954: 	lt_prog_compiler_pic=-Kconform_pic
 6955:       fi
 6956:       ;;
 6957: 
 6958:     *)
 6959:       lt_prog_compiler_pic='-fPIC'
 6960:       ;;
 6961:     esac
 6962:   else
 6963:     # PORTME Check for flag to pass linker flags through the system compiler.
 6964:     case $host_os in
 6965:     aix*)
 6966:       lt_prog_compiler_wl='-Wl,'
 6967:       if test "$host_cpu" = ia64; then
 6968: 	# AIX 5 now supports IA64 processor
 6969: 	lt_prog_compiler_static='-Bstatic'
 6970:       else
 6971: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 6972:       fi
 6973:       ;;
 6974: 
 6975:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 6976:       # This hack is so that the source file can tell whether it is being
 6977:       # built for inclusion in a dll (and should export symbols for example).
 6978:       lt_prog_compiler_pic='-DDLL_EXPORT'
 6979:       ;;
 6980: 
 6981:     hpux9* | hpux10* | hpux11*)
 6982:       lt_prog_compiler_wl='-Wl,'
 6983:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 6984:       # not for PA HP-UX.
 6985:       case $host_cpu in
 6986:       hppa*64*|ia64*)
 6987: 	# +Z the default
 6988: 	;;
 6989:       *)
 6990: 	lt_prog_compiler_pic='+Z'
 6991: 	;;
 6992:       esac
 6993:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 6994:       lt_prog_compiler_static='${wl}-a ${wl}archive'
 6995:       ;;
 6996: 
 6997:     irix5* | irix6* | nonstopux*)
 6998:       lt_prog_compiler_wl='-Wl,'
 6999:       # PIC (with -KPIC) is the default.
 7000:       lt_prog_compiler_static='-non_shared'
 7001:       ;;
 7002: 
 7003:     linux* | k*bsd*-gnu)
 7004:       case $cc_basename in
 7005:       # old Intel for x86_64 which still supported -KPIC.
 7006:       ecc*)
 7007: 	lt_prog_compiler_wl='-Wl,'
 7008: 	lt_prog_compiler_pic='-KPIC'
 7009: 	lt_prog_compiler_static='-static'
 7010:         ;;
 7011:       # icc used to be incompatible with GCC.
 7012:       # ICC 10 doesn't accept -KPIC any more.
 7013:       icc* | ifort*)
 7014: 	lt_prog_compiler_wl='-Wl,'
 7015: 	lt_prog_compiler_pic='-fPIC'
 7016: 	lt_prog_compiler_static='-static'
 7017:         ;;
 7018:       # Lahey Fortran 8.1.
 7019:       lf95*)
 7020: 	lt_prog_compiler_wl='-Wl,'
 7021: 	lt_prog_compiler_pic='--shared'
 7022: 	lt_prog_compiler_static='--static'
 7023: 	;;
 7024:       pgcc* | pgf77* | pgf90* | pgf95*)
 7025:         # Portland Group compilers (*not* the Pentium gcc compiler,
 7026: 	# which looks to be a dead project)
 7027: 	lt_prog_compiler_wl='-Wl,'
 7028: 	lt_prog_compiler_pic='-fpic'
 7029: 	lt_prog_compiler_static='-Bstatic'
 7030:         ;;
 7031:       ccc*)
 7032:         lt_prog_compiler_wl='-Wl,'
 7033:         # All Alpha code is PIC.
 7034:         lt_prog_compiler_static='-non_shared'
 7035:         ;;
 7036:       xl*)
 7037: 	# IBM XL C 8.0/Fortran 10.1 on PPC
 7038: 	lt_prog_compiler_wl='-Wl,'
 7039: 	lt_prog_compiler_pic='-qpic'
 7040: 	lt_prog_compiler_static='-qstaticlink'
 7041: 	;;
 7042:       *)
 7043: 	case `$CC -V 2>&1 | sed 5q` in
 7044: 	*Sun\ C*)
 7045: 	  # Sun C 5.9
 7046: 	  lt_prog_compiler_pic='-KPIC'
 7047: 	  lt_prog_compiler_static='-Bstatic'
 7048: 	  lt_prog_compiler_wl='-Wl,'
 7049: 	  ;;
 7050: 	*Sun\ F*)
 7051: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 7052: 	  lt_prog_compiler_pic='-KPIC'
 7053: 	  lt_prog_compiler_static='-Bstatic'
 7054: 	  lt_prog_compiler_wl=''
 7055: 	  ;;
 7056: 	esac
 7057: 	;;
 7058:       esac
 7059:       ;;
 7060: 
 7061:     newsos6)
 7062:       lt_prog_compiler_pic='-KPIC'
 7063:       lt_prog_compiler_static='-Bstatic'
 7064:       ;;
 7065: 
 7066:     *nto* | *qnx*)
 7067:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 7068:       # it will coredump.
 7069:       lt_prog_compiler_pic='-fPIC -shared'
 7070:       ;;
 7071: 
 7072:     osf3* | osf4* | osf5*)
 7073:       lt_prog_compiler_wl='-Wl,'
 7074:       # All OSF/1 code is PIC.
 7075:       lt_prog_compiler_static='-non_shared'
 7076:       ;;
 7077: 
 7078:     rdos*)
 7079:       lt_prog_compiler_static='-non_shared'
 7080:       ;;
 7081: 
 7082:     solaris*)
 7083:       lt_prog_compiler_pic='-KPIC'
 7084:       lt_prog_compiler_static='-Bstatic'
 7085:       case $cc_basename in
 7086:       f77* | f90* | f95*)
 7087: 	lt_prog_compiler_wl='-Qoption ld ';;
 7088:       *)
 7089: 	lt_prog_compiler_wl='-Wl,';;
 7090:       esac
 7091:       ;;
 7092: 
 7093:     sunos4*)
 7094:       lt_prog_compiler_wl='-Qoption ld '
 7095:       lt_prog_compiler_pic='-PIC'
 7096:       lt_prog_compiler_static='-Bstatic'
 7097:       ;;
 7098: 
 7099:     sysv4 | sysv4.2uw2* | sysv4.3*)
 7100:       lt_prog_compiler_wl='-Wl,'
 7101:       lt_prog_compiler_pic='-KPIC'
 7102:       lt_prog_compiler_static='-Bstatic'
 7103:       ;;
 7104: 
 7105:     sysv4*MP*)
 7106:       if test -d /usr/nec ;then
 7107: 	lt_prog_compiler_pic='-Kconform_pic'
 7108: 	lt_prog_compiler_static='-Bstatic'
 7109:       fi
 7110:       ;;
 7111: 
 7112:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 7113:       lt_prog_compiler_wl='-Wl,'
 7114:       lt_prog_compiler_pic='-KPIC'
 7115:       lt_prog_compiler_static='-Bstatic'
 7116:       ;;
 7117: 
 7118:     unicos*)
 7119:       lt_prog_compiler_wl='-Wl,'
 7120:       lt_prog_compiler_can_build_shared=no
 7121:       ;;
 7122: 
 7123:     uts4*)
 7124:       lt_prog_compiler_pic='-pic'
 7125:       lt_prog_compiler_static='-Bstatic'
 7126:       ;;
 7127: 
 7128:     *)
 7129:       lt_prog_compiler_can_build_shared=no
 7130:       ;;
 7131:     esac
 7132:   fi
 7133: 
 7134: case $host_os in
 7135:   # For platforms which do not support PIC, -DPIC is meaningless:
 7136:   *djgpp*)
 7137:     lt_prog_compiler_pic=
 7138:     ;;
 7139:   *)
 7140:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 7141:     ;;
 7142: esac
 7143: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 7144: $as_echo "$lt_prog_compiler_pic" >&6; }
 7145: 
 7146: 
 7147: 
 7148: 
 7149: 
 7150: 
 7151: #
 7152: # Check to make sure the PIC flag actually works.
 7153: #
 7154: if test -n "$lt_prog_compiler_pic"; then
 7155:   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 7156: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 7157: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 7158:   $as_echo_n "(cached) " >&6
 7159: else
 7160:   lt_cv_prog_compiler_pic_works=no
 7161:    ac_outfile=conftest.$ac_objext
 7162:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7163:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 7164:    # Insert the option either (1) after the last *FLAGS variable, or
 7165:    # (2) before a word containing "conftest.", or (3) at the end.
 7166:    # Note that $ac_compile itself does not contain backslashes and begins
 7167:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7168:    # The option is referenced via a variable to avoid confusing sed.
 7169:    lt_compile=`echo "$ac_compile" | $SED \
 7170:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7171:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7172:    -e 's:$: $lt_compiler_flag:'`
 7173:    (eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
 7174:    (eval "$lt_compile" 2>conftest.err)
 7175:    ac_status=$?
 7176:    cat conftest.err >&5
 7177:    echo "$as_me:7177: \$? = $ac_status" >&5
 7178:    if (exit $ac_status) && test -s "$ac_outfile"; then
 7179:      # The compiler can only warn and ignore the option if not recognized
 7180:      # So say no if there are warnings other than the usual output.
 7181:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 7182:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 7183:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 7184:        lt_cv_prog_compiler_pic_works=yes
 7185:      fi
 7186:    fi
 7187:    $RM conftest*
 7188: 
 7189: fi
 7190: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 7191: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 7192: 
 7193: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 7194:     case $lt_prog_compiler_pic in
 7195:      "" | " "*) ;;
 7196:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 7197:      esac
 7198: else
 7199:     lt_prog_compiler_pic=
 7200:      lt_prog_compiler_can_build_shared=no
 7201: fi
 7202: 
 7203: fi
 7204: 
 7205: 
 7206: 
 7207: 
 7208: 
 7209: 
 7210: #
 7211: # Check to make sure the static flag actually works.
 7212: #
 7213: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 7214: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 7215: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 7216: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 7217:   $as_echo_n "(cached) " >&6
 7218: else
 7219:   lt_cv_prog_compiler_static_works=no
 7220:    save_LDFLAGS="$LDFLAGS"
 7221:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 7222:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 7223:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 7224:      # The linker can only warn and ignore the option if not recognized
 7225:      # So say no if there are warnings
 7226:      if test -s conftest.err; then
 7227:        # Append any errors to the config.log.
 7228:        cat conftest.err 1>&5
 7229:        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 7230:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 7231:        if diff conftest.exp conftest.er2 >/dev/null; then
 7232:          lt_cv_prog_compiler_static_works=yes
 7233:        fi
 7234:      else
 7235:        lt_cv_prog_compiler_static_works=yes
 7236:      fi
 7237:    fi
 7238:    $RM -r conftest*
 7239:    LDFLAGS="$save_LDFLAGS"
 7240: 
 7241: fi
 7242: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 7243: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 7244: 
 7245: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 7246:     :
 7247: else
 7248:     lt_prog_compiler_static=
 7249: fi
 7250: 
 7251: 
 7252: 
 7253: 
 7254: 
 7255: 
 7256: 
 7257:   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 7258: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 7259: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 7260:   $as_echo_n "(cached) " >&6
 7261: else
 7262:   lt_cv_prog_compiler_c_o=no
 7263:    $RM -r conftest 2>/dev/null
 7264:    mkdir conftest
 7265:    cd conftest
 7266:    mkdir out
 7267:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7268: 
 7269:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 7270:    # Insert the option either (1) after the last *FLAGS variable, or
 7271:    # (2) before a word containing "conftest.", or (3) at the end.
 7272:    # Note that $ac_compile itself does not contain backslashes and begins
 7273:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7274:    lt_compile=`echo "$ac_compile" | $SED \
 7275:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7276:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7277:    -e 's:$: $lt_compiler_flag:'`
 7278:    (eval echo "\"\$as_me:7278: $lt_compile\"" >&5)
 7279:    (eval "$lt_compile" 2>out/conftest.err)
 7280:    ac_status=$?
 7281:    cat out/conftest.err >&5
 7282:    echo "$as_me:7282: \$? = $ac_status" >&5
 7283:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 7284:    then
 7285:      # The compiler can only warn and ignore the option if not recognized
 7286:      # So say no if there are warnings
 7287:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 7288:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 7289:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 7290:        lt_cv_prog_compiler_c_o=yes
 7291:      fi
 7292:    fi
 7293:    chmod u+w . 2>&5
 7294:    $RM conftest*
 7295:    # SGI C++ compiler will create directory out/ii_files/ for
 7296:    # template instantiation
 7297:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 7298:    $RM out/* && rmdir out
 7299:    cd ..
 7300:    $RM -r conftest
 7301:    $RM conftest*
 7302: 
 7303: fi
 7304: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 7305: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 7306: 
 7307: 
 7308: 
 7309: 
 7310: 
 7311: 
 7312:   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 7313: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 7314: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 7315:   $as_echo_n "(cached) " >&6
 7316: else
 7317:   lt_cv_prog_compiler_c_o=no
 7318:    $RM -r conftest 2>/dev/null
 7319:    mkdir conftest
 7320:    cd conftest
 7321:    mkdir out
 7322:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7323: 
 7324:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 7325:    # Insert the option either (1) after the last *FLAGS variable, or
 7326:    # (2) before a word containing "conftest.", or (3) at the end.
 7327:    # Note that $ac_compile itself does not contain backslashes and begins
 7328:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7329:    lt_compile=`echo "$ac_compile" | $SED \
 7330:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7331:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7332:    -e 's:$: $lt_compiler_flag:'`
 7333:    (eval echo "\"\$as_me:7333: $lt_compile\"" >&5)
 7334:    (eval "$lt_compile" 2>out/conftest.err)
 7335:    ac_status=$?
 7336:    cat out/conftest.err >&5
 7337:    echo "$as_me:7337: \$? = $ac_status" >&5
 7338:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 7339:    then
 7340:      # The compiler can only warn and ignore the option if not recognized
 7341:      # So say no if there are warnings
 7342:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 7343:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 7344:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 7345:        lt_cv_prog_compiler_c_o=yes
 7346:      fi
 7347:    fi
 7348:    chmod u+w . 2>&5
 7349:    $RM conftest*
 7350:    # SGI C++ compiler will create directory out/ii_files/ for
 7351:    # template instantiation
 7352:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 7353:    $RM out/* && rmdir out
 7354:    cd ..
 7355:    $RM -r conftest
 7356:    $RM conftest*
 7357: 
 7358: fi
 7359: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 7360: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 7361: 
 7362: 
 7363: 
 7364: 
 7365: hard_links="nottested"
 7366: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 7367:   # do not overwrite the value of need_locks provided by the user
 7368:   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 7369: $as_echo_n "checking if we can lock with hard links... " >&6; }
 7370:   hard_links=yes
 7371:   $RM conftest*
 7372:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 7373:   touch conftest.a
 7374:   ln conftest.a conftest.b 2>&5 || hard_links=no
 7375:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 7376:   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 7377: $as_echo "$hard_links" >&6; }
 7378:   if test "$hard_links" = no; then
 7379:     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 7380: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 7381:     need_locks=warn
 7382:   fi
 7383: else
 7384:   need_locks=no
 7385: fi
 7386: 
 7387: 
 7388: 
 7389: 
 7390: 
 7391: 
 7392:   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 7393: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 7394: 
 7395:   runpath_var=
 7396:   allow_undefined_flag=
 7397:   always_export_symbols=no
 7398:   archive_cmds=
 7399:   archive_expsym_cmds=
 7400:   compiler_needs_object=no
 7401:   enable_shared_with_static_runtimes=no
 7402:   export_dynamic_flag_spec=
 7403:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 7404:   hardcode_automatic=no
 7405:   hardcode_direct=no
 7406:   hardcode_direct_absolute=no
 7407:   hardcode_libdir_flag_spec=
 7408:   hardcode_libdir_flag_spec_ld=
 7409:   hardcode_libdir_separator=
 7410:   hardcode_minus_L=no
 7411:   hardcode_shlibpath_var=unsupported
 7412:   inherit_rpath=no
 7413:   link_all_deplibs=unknown
 7414:   module_cmds=
 7415:   module_expsym_cmds=
 7416:   old_archive_from_new_cmds=
 7417:   old_archive_from_expsyms_cmds=
 7418:   thread_safe_flag_spec=
 7419:   whole_archive_flag_spec=
 7420:   # include_expsyms should be a list of space-separated symbols to be *always*
 7421:   # included in the symbol list
 7422:   include_expsyms=
 7423:   # exclude_expsyms can be an extended regexp of symbols to exclude
 7424:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 7425:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 7426:   # as well as any symbol that contains `d'.
 7427:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 7428:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 7429:   # platforms (ab)use it in PIC code, but their linkers get confused if
 7430:   # the symbol is explicitly referenced.  Since portable code cannot
 7431:   # rely on this symbol name, it's probably fine to never include it in
 7432:   # preloaded symbol tables.
 7433:   # Exclude shared library initialization/finalization symbols.
 7434:   extract_expsyms_cmds=
 7435: 
 7436:   case $host_os in
 7437:   cygwin* | mingw* | pw32* | cegcc*)
 7438:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 7439:     # When not using gcc, we currently assume that we are using
 7440:     # Microsoft Visual C++.
 7441:     if test "$GCC" != yes; then
 7442:       with_gnu_ld=no
 7443:     fi
 7444:     ;;
 7445:   interix*)
 7446:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 7447:     with_gnu_ld=yes
 7448:     ;;
 7449:   openbsd*)
 7450:     with_gnu_ld=no
 7451:     ;;
 7452:   esac
 7453: 
 7454:   ld_shlibs=yes
 7455:   if test "$with_gnu_ld" = yes; then
 7456:     # If archive_cmds runs LD, not CC, wlarc should be empty
 7457:     wlarc='${wl}'
 7458: 
 7459:     # Set some defaults for GNU ld with shared library support. These
 7460:     # are reset later if shared libraries are not supported. Putting them
 7461:     # here allows them to be overridden if necessary.
 7462:     runpath_var=LD_RUN_PATH
 7463:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7464:     export_dynamic_flag_spec='${wl}--export-dynamic'
 7465:     # ancient GNU ld didn't support --whole-archive et. al.
 7466:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 7467:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 7468:     else
 7469:       whole_archive_flag_spec=
 7470:     fi
 7471:     supports_anon_versioning=no
 7472:     case `$LD -v 2>&1` in
 7473:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 7474:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 7475:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 7476:       *\ 2.11.*) ;; # other 2.11 versions
 7477:       *) supports_anon_versioning=yes ;;
 7478:     esac
 7479: 
 7480:     # See if GNU ld supports shared libraries.
 7481:     case $host_os in
 7482:     aix[3-9]*)
 7483:       # On AIX/PPC, the GNU linker is very broken
 7484:       if test "$host_cpu" != ia64; then
 7485: 	ld_shlibs=no
 7486: 	cat <<_LT_EOF 1>&2
 7487: 
 7488: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 7489: *** to be unable to reliably create shared libraries on AIX.
 7490: *** Therefore, libtool is disabling shared libraries support.  If you
 7491: *** really care for shared libraries, you may want to modify your PATH
 7492: *** so that a non-GNU linker is found, and then restart.
 7493: 
 7494: _LT_EOF
 7495:       fi
 7496:       ;;
 7497: 
 7498:     amigaos*)
 7499:       case $host_cpu in
 7500:       powerpc)
 7501:             # see comment about AmigaOS4 .so support
 7502:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7503:             archive_expsym_cmds=''
 7504:         ;;
 7505:       m68k)
 7506:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 7507:             hardcode_libdir_flag_spec='-L$libdir'
 7508:             hardcode_minus_L=yes
 7509:         ;;
 7510:       esac
 7511:       ;;
 7512: 
 7513:     beos*)
 7514:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 7515: 	allow_undefined_flag=unsupported
 7516: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 7517: 	# support --undefined.  This deserves some investigation.  FIXME
 7518: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7519:       else
 7520: 	ld_shlibs=no
 7521:       fi
 7522:       ;;
 7523: 
 7524:     cygwin* | mingw* | pw32* | cegcc*)
 7525:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 7526:       # as there is no search path for DLLs.
 7527:       hardcode_libdir_flag_spec='-L$libdir'
 7528:       allow_undefined_flag=unsupported
 7529:       always_export_symbols=no
 7530:       enable_shared_with_static_runtimes=yes
 7531:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 7532: 
 7533:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 7534:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 7535: 	# If the export-symbols file already is a .def file (1st line
 7536: 	# is EXPORTS), use it as is; otherwise, prepend...
 7537: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 7538: 	  cp $export_symbols $output_objdir/$soname.def;
 7539: 	else
 7540: 	  echo EXPORTS > $output_objdir/$soname.def;
 7541: 	  cat $export_symbols >> $output_objdir/$soname.def;
 7542: 	fi~
 7543: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 7544:       else
 7545: 	ld_shlibs=no
 7546:       fi
 7547:       ;;
 7548: 
 7549:     interix[3-9]*)
 7550:       hardcode_direct=no
 7551:       hardcode_shlibpath_var=no
 7552:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 7553:       export_dynamic_flag_spec='${wl}-E'
 7554:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 7555:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 7556:       # default) and relocated if they conflict, which is a slow very memory
 7557:       # consuming and fragmenting process.  To avoid this, we pick a random,
 7558:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 7559:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 7560:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 7561:       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 7562:       ;;
 7563: 
 7564:     gnu* | linux* | tpf* | k*bsd*-gnu)
 7565:       tmp_diet=no
 7566:       if test "$host_os" = linux-dietlibc; then
 7567: 	case $cc_basename in
 7568: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 7569: 	esac
 7570:       fi
 7571:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 7572: 	 && test "$tmp_diet" = no
 7573:       then
 7574: 	tmp_addflag=
 7575: 	tmp_sharedflag='-shared'
 7576: 	case $cc_basename,$host_cpu in
 7577:         pgcc*)				# Portland Group C compiler
 7578: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 7579: 	  tmp_addflag=' $pic_flag'
 7580: 	  ;;
 7581: 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 7582: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 7583: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 7584: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 7585: 	  tmp_addflag=' -i_dynamic' ;;
 7586: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 7587: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 7588: 	ifc* | ifort*)			# Intel Fortran compiler
 7589: 	  tmp_addflag=' -nofor_main' ;;
 7590: 	lf95*)				# Lahey Fortran 8.1
 7591: 	  whole_archive_flag_spec=
 7592: 	  tmp_sharedflag='--shared' ;;
 7593: 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
 7594: 	  tmp_sharedflag='-qmkshrobj'
 7595: 	  tmp_addflag= ;;
 7596: 	esac
 7597: 	case `$CC -V 2>&1 | sed 5q` in
 7598: 	*Sun\ C*)			# Sun C 5.9
 7599: 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 7600: 	  compiler_needs_object=yes
 7601: 	  tmp_sharedflag='-G' ;;
 7602: 	*Sun\ F*)			# Sun Fortran 8.3
 7603: 	  tmp_sharedflag='-G' ;;
 7604: 	esac
 7605: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7606: 
 7607:         if test "x$supports_anon_versioning" = xyes; then
 7608:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 7609: 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 7610: 	    echo "local: *; };" >> $output_objdir/$libname.ver~
 7611: 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 7612:         fi
 7613: 
 7614: 	case $cc_basename in
 7615: 	xlf*)
 7616: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 7617: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 7618: 	  hardcode_libdir_flag_spec=
 7619: 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
 7620: 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 7621: 	  if test "x$supports_anon_versioning" = xyes; then
 7622: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 7623: 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 7624: 	      echo "local: *; };" >> $output_objdir/$libname.ver~
 7625: 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 7626: 	  fi
 7627: 	  ;;
 7628: 	esac
 7629:       else
 7630:         ld_shlibs=no
 7631:       fi
 7632:       ;;
 7633: 
 7634:     netbsd*)
 7635:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 7636: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 7637: 	wlarc=
 7638:       else
 7639: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7640: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7641:       fi
 7642:       ;;
 7643: 
 7644:     solaris*)
 7645:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 7646: 	ld_shlibs=no
 7647: 	cat <<_LT_EOF 1>&2
 7648: 
 7649: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 7650: *** create shared libraries on Solaris systems.  Therefore, libtool
 7651: *** is disabling shared libraries support.  We urge you to upgrade GNU
 7652: *** binutils to release 2.9.1 or newer.  Another option is to modify
 7653: *** your PATH or compiler configuration so that the native linker is
 7654: *** used, and then restart.
 7655: 
 7656: _LT_EOF
 7657:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 7658: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7659: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7660:       else
 7661: 	ld_shlibs=no
 7662:       fi
 7663:       ;;
 7664: 
 7665:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 7666:       case `$LD -v 2>&1` in
 7667:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 7668: 	ld_shlibs=no
 7669: 	cat <<_LT_EOF 1>&2
 7670: 
 7671: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 7672: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 7673: *** is disabling shared libraries support.  We urge you to upgrade GNU
 7674: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 7675: *** your PATH or compiler configuration so that the native linker is
 7676: *** used, and then restart.
 7677: 
 7678: _LT_EOF
 7679: 	;;
 7680: 	*)
 7681: 	  # For security reasons, it is highly recommended that you always
 7682: 	  # use absolute paths for naming shared libraries, and exclude the
 7683: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 7684: 	  # requires that you compile everything twice, which is a pain.
 7685: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 7686: 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 7687: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7688: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7689: 	  else
 7690: 	    ld_shlibs=no
 7691: 	  fi
 7692: 	;;
 7693:       esac
 7694:       ;;
 7695: 
 7696:     sunos4*)
 7697:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 7698:       wlarc=
 7699:       hardcode_direct=yes
 7700:       hardcode_shlibpath_var=no
 7701:       ;;
 7702: 
 7703:     *)
 7704:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 7705: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7706: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 7707:       else
 7708: 	ld_shlibs=no
 7709:       fi
 7710:       ;;
 7711:     esac
 7712: 
 7713:     if test "$ld_shlibs" = no; then
 7714:       runpath_var=
 7715:       hardcode_libdir_flag_spec=
 7716:       export_dynamic_flag_spec=
 7717:       whole_archive_flag_spec=
 7718:     fi
 7719:   else
 7720:     # PORTME fill in a description of your system's linker (not GNU ld)
 7721:     case $host_os in
 7722:     aix3*)
 7723:       allow_undefined_flag=unsupported
 7724:       always_export_symbols=yes
 7725:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 7726:       # Note: this linker hardcodes the directories in LIBPATH if there
 7727:       # are no directories specified by -L.
 7728:       hardcode_minus_L=yes
 7729:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 7730: 	# Neither direct hardcoding nor static linking is supported with a
 7731: 	# broken collect2.
 7732: 	hardcode_direct=unsupported
 7733:       fi
 7734:       ;;
 7735: 
 7736:     aix[4-9]*)
 7737:       if test "$host_cpu" = ia64; then
 7738: 	# On IA64, the linker does run time linking by default, so we don't
 7739: 	# have to do anything special.
 7740: 	aix_use_runtimelinking=no
 7741: 	exp_sym_flag='-Bexport'
 7742: 	no_entry_flag=""
 7743:       else
 7744: 	# If we're using GNU nm, then we don't want the "-C" option.
 7745: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 7746: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 7747: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 7748: 	else
 7749: 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 7750: 	fi
 7751: 	aix_use_runtimelinking=no
 7752: 
 7753: 	# Test if we are trying to use run time linking or normal
 7754: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 7755: 	# need to do runtime linking.
 7756: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 7757: 	  for ld_flag in $LDFLAGS; do
 7758: 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 7759: 	    aix_use_runtimelinking=yes
 7760: 	    break
 7761: 	  fi
 7762: 	  done
 7763: 	  ;;
 7764: 	esac
 7765: 
 7766: 	exp_sym_flag='-bexport'
 7767: 	no_entry_flag='-bnoentry'
 7768:       fi
 7769: 
 7770:       # When large executables or shared objects are built, AIX ld can
 7771:       # have problems creating the table of contents.  If linking a library
 7772:       # or program results in "error TOC overflow" add -mminimal-toc to
 7773:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 7774:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 7775: 
 7776:       archive_cmds=''
 7777:       hardcode_direct=yes
 7778:       hardcode_direct_absolute=yes
 7779:       hardcode_libdir_separator=':'
 7780:       link_all_deplibs=yes
 7781:       file_list_spec='${wl}-f,'
 7782: 
 7783:       if test "$GCC" = yes; then
 7784: 	case $host_os in aix4.[012]|aix4.[012].*)
 7785: 	# We only want to do this on AIX 4.2 and lower, the check
 7786: 	# below for broken collect2 doesn't work under 4.3+
 7787: 	  collect2name=`${CC} -print-prog-name=collect2`
 7788: 	  if test -f "$collect2name" &&
 7789: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 7790: 	  then
 7791: 	  # We have reworked collect2
 7792: 	  :
 7793: 	  else
 7794: 	  # We have old collect2
 7795: 	  hardcode_direct=unsupported
 7796: 	  # It fails to find uninstalled libraries when the uninstalled
 7797: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 7798: 	  # to unsupported forces relinking
 7799: 	  hardcode_minus_L=yes
 7800: 	  hardcode_libdir_flag_spec='-L$libdir'
 7801: 	  hardcode_libdir_separator=
 7802: 	  fi
 7803: 	  ;;
 7804: 	esac
 7805: 	shared_flag='-shared'
 7806: 	if test "$aix_use_runtimelinking" = yes; then
 7807: 	  shared_flag="$shared_flag "'${wl}-G'
 7808: 	fi
 7809:       else
 7810: 	# not using gcc
 7811: 	if test "$host_cpu" = ia64; then
 7812: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 7813: 	# chokes on -Wl,-G. The following line is correct:
 7814: 	  shared_flag='-G'
 7815: 	else
 7816: 	  if test "$aix_use_runtimelinking" = yes; then
 7817: 	    shared_flag='${wl}-G'
 7818: 	  else
 7819: 	    shared_flag='${wl}-bM:SRE'
 7820: 	  fi
 7821: 	fi
 7822:       fi
 7823: 
 7824:       export_dynamic_flag_spec='${wl}-bexpall'
 7825:       # It seems that -bexpall does not export symbols beginning with
 7826:       # underscore (_), so it is better to generate a list of symbols to export.
 7827:       always_export_symbols=yes
 7828:       if test "$aix_use_runtimelinking" = yes; then
 7829: 	# Warning - without using the other runtime loading flags (-brtl),
 7830: 	# -berok will link without error, but may produce a broken library.
 7831: 	allow_undefined_flag='-berok'
 7832:         # Determine the default libpath from the value encoded in an
 7833:         # empty executable.
 7834:         cat >conftest.$ac_ext <<_ACEOF
 7835: /* confdefs.h.  */
 7836: _ACEOF
 7837: cat confdefs.h >>conftest.$ac_ext
 7838: cat >>conftest.$ac_ext <<_ACEOF
 7839: /* end confdefs.h.  */
 7840: 
 7841: int
 7842: main ()
 7843: {
 7844: 
 7845:   ;
 7846:   return 0;
 7847: }
 7848: _ACEOF
 7849: rm -f conftest.$ac_objext conftest$ac_exeext
 7850: if { (ac_try="$ac_link"
 7851: case "(($ac_try" in
 7852:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7853:   *) ac_try_echo=$ac_try;;
 7854: esac
 7855: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 7856: $as_echo "$ac_try_echo") >&5
 7857:   (eval "$ac_link") 2>conftest.er1
 7858:   ac_status=$?
 7859:   grep -v '^ *+' conftest.er1 >conftest.err
 7860:   rm -f conftest.er1
 7861:   cat conftest.err >&5
 7862:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7863:   (exit $ac_status); } && {
 7864: 	 test -z "$ac_c_werror_flag" ||
 7865: 	 test ! -s conftest.err
 7866:        } && test -s conftest$ac_exeext && {
 7867: 	 test "$cross_compiling" = yes ||
 7868: 	 $as_test_x conftest$ac_exeext
 7869:        }; then
 7870: 
 7871: lt_aix_libpath_sed='
 7872:     /Import File Strings/,/^$/ {
 7873: 	/^0/ {
 7874: 	    s/^0  *\(.*\)$/\1/
 7875: 	    p
 7876: 	}
 7877:     }'
 7878: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 7879: # Check for a 64-bit object if we didn't find anything.
 7880: if test -z "$aix_libpath"; then
 7881:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 7882: fi
 7883: else
 7884:   $as_echo "$as_me: failed program was:" >&5
 7885: sed 's/^/| /' conftest.$ac_ext >&5
 7886: 
 7887: 
 7888: fi
 7889: 
 7890: rm -rf conftest.dSYM
 7891: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7892:       conftest$ac_exeext conftest.$ac_ext
 7893: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 7894: 
 7895:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 7896:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 7897:       else
 7898: 	if test "$host_cpu" = ia64; then
 7899: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 7900: 	  allow_undefined_flag="-z nodefs"
 7901: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 7902: 	else
 7903: 	 # Determine the default libpath from the value encoded in an
 7904: 	 # empty executable.
 7905: 	 cat >conftest.$ac_ext <<_ACEOF
 7906: /* confdefs.h.  */
 7907: _ACEOF
 7908: cat confdefs.h >>conftest.$ac_ext
 7909: cat >>conftest.$ac_ext <<_ACEOF
 7910: /* end confdefs.h.  */
 7911: 
 7912: int
 7913: main ()
 7914: {
 7915: 
 7916:   ;
 7917:   return 0;
 7918: }
 7919: _ACEOF
 7920: rm -f conftest.$ac_objext conftest$ac_exeext
 7921: if { (ac_try="$ac_link"
 7922: case "(($ac_try" in
 7923:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7924:   *) ac_try_echo=$ac_try;;
 7925: esac
 7926: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 7927: $as_echo "$ac_try_echo") >&5
 7928:   (eval "$ac_link") 2>conftest.er1
 7929:   ac_status=$?
 7930:   grep -v '^ *+' conftest.er1 >conftest.err
 7931:   rm -f conftest.er1
 7932:   cat conftest.err >&5
 7933:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7934:   (exit $ac_status); } && {
 7935: 	 test -z "$ac_c_werror_flag" ||
 7936: 	 test ! -s conftest.err
 7937:        } && test -s conftest$ac_exeext && {
 7938: 	 test "$cross_compiling" = yes ||
 7939: 	 $as_test_x conftest$ac_exeext
 7940:        }; then
 7941: 
 7942: lt_aix_libpath_sed='
 7943:     /Import File Strings/,/^$/ {
 7944: 	/^0/ {
 7945: 	    s/^0  *\(.*\)$/\1/
 7946: 	    p
 7947: 	}
 7948:     }'
 7949: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 7950: # Check for a 64-bit object if we didn't find anything.
 7951: if test -z "$aix_libpath"; then
 7952:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 7953: fi
 7954: else
 7955:   $as_echo "$as_me: failed program was:" >&5
 7956: sed 's/^/| /' conftest.$ac_ext >&5
 7957: 
 7958: 
 7959: fi
 7960: 
 7961: rm -rf conftest.dSYM
 7962: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7963:       conftest$ac_exeext conftest.$ac_ext
 7964: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 7965: 
 7966: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 7967: 	  # Warning - without using the other run time loading flags,
 7968: 	  # -berok will link without error, but may produce a broken library.
 7969: 	  no_undefined_flag=' ${wl}-bernotok'
 7970: 	  allow_undefined_flag=' ${wl}-berok'
 7971: 	  # Exported symbols can be pulled into shared objects from archives
 7972: 	  whole_archive_flag_spec='$convenience'
 7973: 	  archive_cmds_need_lc=yes
 7974: 	  # This is similar to how AIX traditionally builds its shared libraries.
 7975: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 7976: 	fi
 7977:       fi
 7978:       ;;
 7979: 
 7980:     amigaos*)
 7981:       case $host_cpu in
 7982:       powerpc)
 7983:             # see comment about AmigaOS4 .so support
 7984:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 7985:             archive_expsym_cmds=''
 7986:         ;;
 7987:       m68k)
 7988:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 7989:             hardcode_libdir_flag_spec='-L$libdir'
 7990:             hardcode_minus_L=yes
 7991:         ;;
 7992:       esac
 7993:       ;;
 7994: 
 7995:     bsdi[45]*)
 7996:       export_dynamic_flag_spec=-rdynamic
 7997:       ;;
 7998: 
 7999:     cygwin* | mingw* | pw32* | cegcc*)
 8000:       # When not using gcc, we currently assume that we are using
 8001:       # Microsoft Visual C++.
 8002:       # hardcode_libdir_flag_spec is actually meaningless, as there is
 8003:       # no search path for DLLs.
 8004:       hardcode_libdir_flag_spec=' '
 8005:       allow_undefined_flag=unsupported
 8006:       # Tell ltmain to make .lib files, not .a files.
 8007:       libext=lib
 8008:       # Tell ltmain to make .dll files, not .so files.
 8009:       shrext_cmds=".dll"
 8010:       # FIXME: Setting linknames here is a bad hack.
 8011:       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 8012:       # The linker will automatically build a .lib file if we build a DLL.
 8013:       old_archive_from_new_cmds='true'
 8014:       # FIXME: Should let the user specify the lib program.
 8015:       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 8016:       fix_srcfile_path='`cygpath -w "$srcfile"`'
 8017:       enable_shared_with_static_runtimes=yes
 8018:       ;;
 8019: 
 8020:     darwin* | rhapsody*)
 8021: 
 8022: 
 8023:   archive_cmds_need_lc=no
 8024:   hardcode_direct=no
 8025:   hardcode_automatic=yes
 8026:   hardcode_shlibpath_var=unsupported
 8027:   whole_archive_flag_spec=''
 8028:   link_all_deplibs=yes
 8029:   allow_undefined_flag="$_lt_dar_allow_undefined"
 8030:   case $cc_basename in
 8031:      ifort*) _lt_dar_can_shared=yes ;;
 8032:      *) _lt_dar_can_shared=$GCC ;;
 8033:   esac
 8034:   if test "$_lt_dar_can_shared" = "yes"; then
 8035:     output_verbose_link_cmd=echo
 8036:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 8037:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 8038:     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 8039:     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 8040: 
 8041:   else
 8042:   ld_shlibs=no
 8043:   fi
 8044: 
 8045:       ;;
 8046: 
 8047:     dgux*)
 8048:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8049:       hardcode_libdir_flag_spec='-L$libdir'
 8050:       hardcode_shlibpath_var=no
 8051:       ;;
 8052: 
 8053:     freebsd1*)
 8054:       ld_shlibs=no
 8055:       ;;
 8056: 
 8057:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 8058:     # support.  Future versions do this automatically, but an explicit c++rt0.o
 8059:     # does not break anything, and helps significantly (at the cost of a little
 8060:     # extra space).
 8061:     freebsd2.2*)
 8062:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 8063:       hardcode_libdir_flag_spec='-R$libdir'
 8064:       hardcode_direct=yes
 8065:       hardcode_shlibpath_var=no
 8066:       ;;
 8067: 
 8068:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 8069:     freebsd2*)
 8070:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8071:       hardcode_direct=yes
 8072:       hardcode_minus_L=yes
 8073:       hardcode_shlibpath_var=no
 8074:       ;;
 8075: 
 8076:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 8077:     freebsd* | dragonfly*)
 8078:       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 8079:       hardcode_libdir_flag_spec='-R$libdir'
 8080:       hardcode_direct=yes
 8081:       hardcode_shlibpath_var=no
 8082:       ;;
 8083: 
 8084:     hpux9*)
 8085:       if test "$GCC" = yes; then
 8086: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 8087:       else
 8088: 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 8089:       fi
 8090:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8091:       hardcode_libdir_separator=:
 8092:       hardcode_direct=yes
 8093: 
 8094:       # hardcode_minus_L: Not really in the search PATH,
 8095:       # but as the default location of the library.
 8096:       hardcode_minus_L=yes
 8097:       export_dynamic_flag_spec='${wl}-E'
 8098:       ;;
 8099: 
 8100:     hpux10*)
 8101:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 8102: 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8103:       else
 8104: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 8105:       fi
 8106:       if test "$with_gnu_ld" = no; then
 8107: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8108: 	hardcode_libdir_flag_spec_ld='+b $libdir'
 8109: 	hardcode_libdir_separator=:
 8110: 	hardcode_direct=yes
 8111: 	hardcode_direct_absolute=yes
 8112: 	export_dynamic_flag_spec='${wl}-E'
 8113: 	# hardcode_minus_L: Not really in the search PATH,
 8114: 	# but as the default location of the library.
 8115: 	hardcode_minus_L=yes
 8116:       fi
 8117:       ;;
 8118: 
 8119:     hpux11*)
 8120:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 8121: 	case $host_cpu in
 8122: 	hppa*64*)
 8123: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8124: 	  ;;
 8125: 	ia64*)
 8126: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 8127: 	  ;;
 8128: 	*)
 8129: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8130: 	  ;;
 8131: 	esac
 8132:       else
 8133: 	case $host_cpu in
 8134: 	hppa*64*)
 8135: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8136: 	  ;;
 8137: 	ia64*)
 8138: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 8139: 	  ;;
 8140: 	*)
 8141: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8142: 	  ;;
 8143: 	esac
 8144:       fi
 8145:       if test "$with_gnu_ld" = no; then
 8146: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8147: 	hardcode_libdir_separator=:
 8148: 
 8149: 	case $host_cpu in
 8150: 	hppa*64*|ia64*)
 8151: 	  hardcode_direct=no
 8152: 	  hardcode_shlibpath_var=no
 8153: 	  ;;
 8154: 	*)
 8155: 	  hardcode_direct=yes
 8156: 	  hardcode_direct_absolute=yes
 8157: 	  export_dynamic_flag_spec='${wl}-E'
 8158: 
 8159: 	  # hardcode_minus_L: Not really in the search PATH,
 8160: 	  # but as the default location of the library.
 8161: 	  hardcode_minus_L=yes
 8162: 	  ;;
 8163: 	esac
 8164:       fi
 8165:       ;;
 8166: 
 8167:     irix5* | irix6* | nonstopux*)
 8168:       if test "$GCC" = yes; then
 8169: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8170: 	# Try to use the -exported_symbol ld option, if it does not
 8171: 	# work, assume that -exports_file does not work either and
 8172: 	# implicitly export all symbols.
 8173:         save_LDFLAGS="$LDFLAGS"
 8174:         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 8175:         cat >conftest.$ac_ext <<_ACEOF
 8176: int foo(void) {}
 8177: _ACEOF
 8178: rm -f conftest.$ac_objext conftest$ac_exeext
 8179: if { (ac_try="$ac_link"
 8180: case "(($ac_try" in
 8181:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8182:   *) ac_try_echo=$ac_try;;
 8183: esac
 8184: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 8185: $as_echo "$ac_try_echo") >&5
 8186:   (eval "$ac_link") 2>conftest.er1
 8187:   ac_status=$?
 8188:   grep -v '^ *+' conftest.er1 >conftest.err
 8189:   rm -f conftest.er1
 8190:   cat conftest.err >&5
 8191:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8192:   (exit $ac_status); } && {
 8193: 	 test -z "$ac_c_werror_flag" ||
 8194: 	 test ! -s conftest.err
 8195:        } && test -s conftest$ac_exeext && {
 8196: 	 test "$cross_compiling" = yes ||
 8197: 	 $as_test_x conftest$ac_exeext
 8198:        }; then
 8199:   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 8200: 
 8201: else
 8202:   $as_echo "$as_me: failed program was:" >&5
 8203: sed 's/^/| /' conftest.$ac_ext >&5
 8204: 
 8205: 
 8206: fi
 8207: 
 8208: rm -rf conftest.dSYM
 8209: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 8210:       conftest$ac_exeext conftest.$ac_ext
 8211:         LDFLAGS="$save_LDFLAGS"
 8212:       else
 8213: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8214: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 8215:       fi
 8216:       archive_cmds_need_lc='no'
 8217:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8218:       hardcode_libdir_separator=:
 8219:       inherit_rpath=yes
 8220:       link_all_deplibs=yes
 8221:       ;;
 8222: 
 8223:     netbsd*)
 8224:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 8225: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 8226:       else
 8227: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 8228:       fi
 8229:       hardcode_libdir_flag_spec='-R$libdir'
 8230:       hardcode_direct=yes
 8231:       hardcode_shlibpath_var=no
 8232:       ;;
 8233: 
 8234:     newsos6)
 8235:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8236:       hardcode_direct=yes
 8237:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8238:       hardcode_libdir_separator=:
 8239:       hardcode_shlibpath_var=no
 8240:       ;;
 8241: 
 8242:     *nto* | *qnx*)
 8243:       ;;
 8244: 
 8245:     openbsd*)
 8246:       if test -f /usr/libexec/ld.so; then
 8247: 	hardcode_direct=yes
 8248: 	hardcode_shlibpath_var=no
 8249: 	hardcode_direct_absolute=yes
 8250: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 8251: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 8252: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 8253: 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8254: 	  export_dynamic_flag_spec='${wl}-E'
 8255: 	else
 8256: 	  case $host_os in
 8257: 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 8258: 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8259: 	     hardcode_libdir_flag_spec='-R$libdir'
 8260: 	     ;;
 8261: 	   *)
 8262: 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 8263: 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8264: 	     ;;
 8265: 	  esac
 8266: 	fi
 8267:       else
 8268: 	ld_shlibs=no
 8269:       fi
 8270:       ;;
 8271: 
 8272:     os2*)
 8273:       hardcode_libdir_flag_spec='-L$libdir'
 8274:       hardcode_minus_L=yes
 8275:       allow_undefined_flag=unsupported
 8276:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 8277:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 8278:       ;;
 8279: 
 8280:     osf3*)
 8281:       if test "$GCC" = yes; then
 8282: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 8283: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8284:       else
 8285: 	allow_undefined_flag=' -expect_unresolved \*'
 8286: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8287:       fi
 8288:       archive_cmds_need_lc='no'
 8289:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8290:       hardcode_libdir_separator=:
 8291:       ;;
 8292: 
 8293:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 8294:       if test "$GCC" = yes; then
 8295: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 8296: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8297: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8298:       else
 8299: 	allow_undefined_flag=' -expect_unresolved \*'
 8300: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8301: 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 8302: 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 8303: 
 8304: 	# Both c and cxx compiler support -rpath directly
 8305: 	hardcode_libdir_flag_spec='-rpath $libdir'
 8306:       fi
 8307:       archive_cmds_need_lc='no'
 8308:       hardcode_libdir_separator=:
 8309:       ;;
 8310: 
 8311:     solaris*)
 8312:       no_undefined_flag=' -z defs'
 8313:       if test "$GCC" = yes; then
 8314: 	wlarc='${wl}'
 8315: 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8316: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8317: 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 8318:       else
 8319: 	case `$CC -V 2>&1` in
 8320: 	*"Compilers 5.0"*)
 8321: 	  wlarc=''
 8322: 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8323: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8324: 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 8325: 	  ;;
 8326: 	*)
 8327: 	  wlarc='${wl}'
 8328: 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 8329: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8330: 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 8331: 	  ;;
 8332: 	esac
 8333:       fi
 8334:       hardcode_libdir_flag_spec='-R$libdir'
 8335:       hardcode_shlibpath_var=no
 8336:       case $host_os in
 8337:       solaris2.[0-5] | solaris2.[0-5].*) ;;
 8338:       *)
 8339: 	# The compiler driver will combine and reorder linker options,
 8340: 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 8341: 	# but is careful enough not to reorder.
 8342: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 8343: 	if test "$GCC" = yes; then
 8344: 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 8345: 	else
 8346: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 8347: 	fi
 8348: 	;;
 8349:       esac
 8350:       link_all_deplibs=yes
 8351:       ;;
 8352: 
 8353:     sunos4*)
 8354:       if test "x$host_vendor" = xsequent; then
 8355: 	# Use $CC to link under sequent, because it throws in some extra .o
 8356: 	# files that make .init and .fini sections work.
 8357: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 8358:       else
 8359: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 8360:       fi
 8361:       hardcode_libdir_flag_spec='-L$libdir'
 8362:       hardcode_direct=yes
 8363:       hardcode_minus_L=yes
 8364:       hardcode_shlibpath_var=no
 8365:       ;;
 8366: 
 8367:     sysv4)
 8368:       case $host_vendor in
 8369: 	sni)
 8370: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8371: 	  hardcode_direct=yes # is this really true???
 8372: 	;;
 8373: 	siemens)
 8374: 	  ## LD is ld it makes a PLAMLIB
 8375: 	  ## CC just makes a GrossModule.
 8376: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 8377: 	  reload_cmds='$CC -r -o $output$reload_objs'
 8378: 	  hardcode_direct=no
 8379:         ;;
 8380: 	motorola)
 8381: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8382: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 8383: 	;;
 8384:       esac
 8385:       runpath_var='LD_RUN_PATH'
 8386:       hardcode_shlibpath_var=no
 8387:       ;;
 8388: 
 8389:     sysv4.3*)
 8390:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8391:       hardcode_shlibpath_var=no
 8392:       export_dynamic_flag_spec='-Bexport'
 8393:       ;;
 8394: 
 8395:     sysv4*MP*)
 8396:       if test -d /usr/nec; then
 8397: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8398: 	hardcode_shlibpath_var=no
 8399: 	runpath_var=LD_RUN_PATH
 8400: 	hardcode_runpath_var=yes
 8401: 	ld_shlibs=yes
 8402:       fi
 8403:       ;;
 8404: 
 8405:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 8406:       no_undefined_flag='${wl}-z,text'
 8407:       archive_cmds_need_lc=no
 8408:       hardcode_shlibpath_var=no
 8409:       runpath_var='LD_RUN_PATH'
 8410: 
 8411:       if test "$GCC" = yes; then
 8412: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8413: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8414:       else
 8415: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8416: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8417:       fi
 8418:       ;;
 8419: 
 8420:     sysv5* | sco3.2v5* | sco5v6*)
 8421:       # Note: We can NOT use -z defs as we might desire, because we do not
 8422:       # link with -lc, and that would cause any symbols used from libc to
 8423:       # always be unresolved, which means just about no library would
 8424:       # ever link correctly.  If we're not using GNU ld we use -z text
 8425:       # though, which does catch some bad symbols but isn't as heavy-handed
 8426:       # as -z defs.
 8427:       no_undefined_flag='${wl}-z,text'
 8428:       allow_undefined_flag='${wl}-z,nodefs'
 8429:       archive_cmds_need_lc=no
 8430:       hardcode_shlibpath_var=no
 8431:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
 8432:       hardcode_libdir_separator=':'
 8433:       link_all_deplibs=yes
 8434:       export_dynamic_flag_spec='${wl}-Bexport'
 8435:       runpath_var='LD_RUN_PATH'
 8436: 
 8437:       if test "$GCC" = yes; then
 8438: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8439: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8440:       else
 8441: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8442: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8443:       fi
 8444:       ;;
 8445: 
 8446:     uts4*)
 8447:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8448:       hardcode_libdir_flag_spec='-L$libdir'
 8449:       hardcode_shlibpath_var=no
 8450:       ;;
 8451: 
 8452:     *)
 8453:       ld_shlibs=no
 8454:       ;;
 8455:     esac
 8456: 
 8457:     if test x$host_vendor = xsni; then
 8458:       case $host in
 8459:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 8460: 	export_dynamic_flag_spec='${wl}-Blargedynsym'
 8461: 	;;
 8462:       esac
 8463:     fi
 8464:   fi
 8465: 
 8466: { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 8467: $as_echo "$ld_shlibs" >&6; }
 8468: test "$ld_shlibs" = no && can_build_shared=no
 8469: 
 8470: with_gnu_ld=$with_gnu_ld
 8471: 
 8472: 
 8473: 
 8474: 
 8475: 
 8476: 
 8477: 
 8478: 
 8479: 
 8480: 
 8481: 
 8482: 
 8483: 
 8484: 
 8485: 
 8486: #
 8487: # Do we need to explicitly link libc?
 8488: #
 8489: case "x$archive_cmds_need_lc" in
 8490: x|xyes)
 8491:   # Assume -lc should be added
 8492:   archive_cmds_need_lc=yes
 8493: 
 8494:   if test "$enable_shared" = yes && test "$GCC" = yes; then
 8495:     case $archive_cmds in
 8496:     *'~'*)
 8497:       # FIXME: we may have to deal with multi-command sequences.
 8498:       ;;
 8499:     '$CC '*)
 8500:       # Test whether the compiler implicitly links with -lc since on some
 8501:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 8502:       # to ld, don't add -lc before -lgcc.
 8503:       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 8504: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 8505:       $RM conftest*
 8506:       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8507: 
 8508:       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8509:   (eval $ac_compile) 2>&5
 8510:   ac_status=$?
 8511:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8512:   (exit $ac_status); } 2>conftest.err; then
 8513:         soname=conftest
 8514:         lib=conftest
 8515:         libobjs=conftest.$ac_objext
 8516:         deplibs=
 8517:         wl=$lt_prog_compiler_wl
 8518: 	pic_flag=$lt_prog_compiler_pic
 8519:         compiler_flags=-v
 8520:         linker_flags=-v
 8521:         verstring=
 8522:         output_objdir=.
 8523:         libname=conftest
 8524:         lt_save_allow_undefined_flag=$allow_undefined_flag
 8525:         allow_undefined_flag=
 8526:         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 8527:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 8528:   ac_status=$?
 8529:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8530:   (exit $ac_status); }
 8531:         then
 8532: 	  archive_cmds_need_lc=no
 8533:         else
 8534: 	  archive_cmds_need_lc=yes
 8535:         fi
 8536:         allow_undefined_flag=$lt_save_allow_undefined_flag
 8537:       else
 8538:         cat conftest.err 1>&5
 8539:       fi
 8540:       $RM conftest*
 8541:       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 8542: $as_echo "$archive_cmds_need_lc" >&6; }
 8543:       ;;
 8544:     esac
 8545:   fi
 8546:   ;;
 8547: esac
 8548: 
 8549: 
 8550: 
 8551: 
 8552: 
 8553: 
 8554: 
 8555: 
 8556: 
 8557: 
 8558: 
 8559: 
 8560: 
 8561: 
 8562: 
 8563: 
 8564: 
 8565: 
 8566: 
 8567: 
 8568: 
 8569: 
 8570: 
 8571: 
 8572: 
 8573: 
 8574: 
 8575: 
 8576: 
 8577: 
 8578: 
 8579: 
 8580: 
 8581: 
 8582: 
 8583: 
 8584: 
 8585: 
 8586: 
 8587: 
 8588: 
 8589: 
 8590: 
 8591: 
 8592: 
 8593: 
 8594: 
 8595: 
 8596: 
 8597: 
 8598: 
 8599: 
 8600: 
 8601: 
 8602: 
 8603: 
 8604: 
 8605: 
 8606: 
 8607: 
 8608: 
 8609: 
 8610: 
 8611: 
 8612: 
 8613: 
 8614: 
 8615: 
 8616: 
 8617: 
 8618: 
 8619: 
 8620: 
 8621: 
 8622: 
 8623: 
 8624: 
 8625: 
 8626: 
 8627: 
 8628: 
 8629: 
 8630: 
 8631: 
 8632: 
 8633: 
 8634: 
 8635: 
 8636: 
 8637: 
 8638: 
 8639: 
 8640: 
 8641: 
 8642: 
 8643: 
 8644: 
 8645: 
 8646: 
 8647: 
 8648: 
 8649: 
 8650: 
 8651: 
 8652: 
 8653: 
 8654: 
 8655: 
 8656: 
 8657: 
 8658: 
 8659: 
 8660: 
 8661: 
 8662: 
 8663: 
 8664: 
 8665: 
 8666: 
 8667: 
 8668: 
 8669: 
 8670: 
 8671: 
 8672: 
 8673: 
 8674: 
 8675: 
 8676: 
 8677: 
 8678: 
 8679: 
 8680: 
 8681: 
 8682: 
 8683: 
 8684: 
 8685: 
 8686: 
 8687: 
 8688: 
 8689: 
 8690: 
 8691: 
 8692: 
 8693: 
 8694: 
 8695: 
 8696: 
 8697: 
 8698: 
 8699: 
 8700: 
 8701: 
 8702: 
 8703: 
 8704: 
 8705:   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 8706: $as_echo_n "checking dynamic linker characteristics... " >&6; }
 8707: 
 8708: if test "$GCC" = yes; then
 8709:   case $host_os in
 8710:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 8711:     *) lt_awk_arg="/^libraries:/" ;;
 8712:   esac
 8713:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 8714:   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 8715:     # if the path contains ";" then we assume it to be the separator
 8716:     # otherwise default to the standard path separator (i.e. ":") - it is
 8717:     # assumed that no part of a normal pathname contains ";" but that should
 8718:     # okay in the real world where ";" in dirpaths is itself problematic.
 8719:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 8720:   else
 8721:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 8722:   fi
 8723:   # Ok, now we have the path, separated by spaces, we can step through it
 8724:   # and add multilib dir if necessary.
 8725:   lt_tmp_lt_search_path_spec=
 8726:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 8727:   for lt_sys_path in $lt_search_path_spec; do
 8728:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 8729:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 8730:     else
 8731:       test -d "$lt_sys_path" && \
 8732: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 8733:     fi
 8734:   done
 8735:   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 8736: BEGIN {RS=" "; FS="/|\n";} {
 8737:   lt_foo="";
 8738:   lt_count=0;
 8739:   for (lt_i = NF; lt_i > 0; lt_i--) {
 8740:     if ($lt_i != "" && $lt_i != ".") {
 8741:       if ($lt_i == "..") {
 8742:         lt_count++;
 8743:       } else {
 8744:         if (lt_count == 0) {
 8745:           lt_foo="/" $lt_i lt_foo;
 8746:         } else {
 8747:           lt_count--;
 8748:         }
 8749:       }
 8750:     }
 8751:   }
 8752:   if (lt_foo != "") { lt_freq[lt_foo]++; }
 8753:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 8754: }'`
 8755:   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 8756: else
 8757:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 8758: fi
 8759: library_names_spec=
 8760: libname_spec='lib$name'
 8761: soname_spec=
 8762: shrext_cmds=".so"
 8763: postinstall_cmds=
 8764: postuninstall_cmds=
 8765: finish_cmds=
 8766: finish_eval=
 8767: shlibpath_var=
 8768: shlibpath_overrides_runpath=unknown
 8769: version_type=none
 8770: dynamic_linker="$host_os ld.so"
 8771: sys_lib_dlsearch_path_spec="/lib /usr/lib"
 8772: need_lib_prefix=unknown
 8773: hardcode_into_libs=no
 8774: 
 8775: # when you set need_version to no, make sure it does not cause -set_version
 8776: # flags to be left without arguments
 8777: need_version=unknown
 8778: 
 8779: case $host_os in
 8780: aix3*)
 8781:   version_type=linux
 8782:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 8783:   shlibpath_var=LIBPATH
 8784: 
 8785:   # AIX 3 has no versioning support, so we append a major version to the name.
 8786:   soname_spec='${libname}${release}${shared_ext}$major'
 8787:   ;;
 8788: 
 8789: aix[4-9]*)
 8790:   version_type=linux
 8791:   need_lib_prefix=no
 8792:   need_version=no
 8793:   hardcode_into_libs=yes
 8794:   if test "$host_cpu" = ia64; then
 8795:     # AIX 5 supports IA64
 8796:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 8797:     shlibpath_var=LD_LIBRARY_PATH
 8798:   else
 8799:     # With GCC up to 2.95.x, collect2 would create an import file
 8800:     # for dependence libraries.  The import file would start with
 8801:     # the line `#! .'.  This would cause the generated library to
 8802:     # depend on `.', always an invalid library.  This was fixed in
 8803:     # development snapshots of GCC prior to 3.0.
 8804:     case $host_os in
 8805:       aix4 | aix4.[01] | aix4.[01].*)
 8806:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 8807: 	   echo ' yes '
 8808: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 8809: 	:
 8810:       else
 8811: 	can_build_shared=no
 8812:       fi
 8813:       ;;
 8814:     esac
 8815:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 8816:     # soname into executable. Probably we can add versioning support to
 8817:     # collect2, so additional links can be useful in future.
 8818:     if test "$aix_use_runtimelinking" = yes; then
 8819:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 8820:       # instead of lib<name>.a to let people know that these are not
 8821:       # typical AIX shared libraries.
 8822:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8823:     else
 8824:       # We preserve .a as extension for shared libraries through AIX4.2
 8825:       # and later when we are not doing run time linking.
 8826:       library_names_spec='${libname}${release}.a $libname.a'
 8827:       soname_spec='${libname}${release}${shared_ext}$major'
 8828:     fi
 8829:     shlibpath_var=LIBPATH
 8830:   fi
 8831:   ;;
 8832: 
 8833: amigaos*)
 8834:   case $host_cpu in
 8835:   powerpc)
 8836:     # Since July 2007 AmigaOS4 officially supports .so libraries.
 8837:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 8838:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8839:     ;;
 8840:   m68k)
 8841:     library_names_spec='$libname.ixlibrary $libname.a'
 8842:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
 8843:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 8844:     ;;
 8845:   esac
 8846:   ;;
 8847: 
 8848: beos*)
 8849:   library_names_spec='${libname}${shared_ext}'
 8850:   dynamic_linker="$host_os ld.so"
 8851:   shlibpath_var=LIBRARY_PATH
 8852:   ;;
 8853: 
 8854: bsdi[45]*)
 8855:   version_type=linux
 8856:   need_version=no
 8857:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 8858:   soname_spec='${libname}${release}${shared_ext}$major'
 8859:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 8860:   shlibpath_var=LD_LIBRARY_PATH
 8861:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 8862:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 8863:   # the default ld.so.conf also contains /usr/contrib/lib and
 8864:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 8865:   # libtool to hard-code these into programs
 8866:   ;;
 8867: 
 8868: cygwin* | mingw* | pw32* | cegcc*)
 8869:   version_type=windows
 8870:   shrext_cmds=".dll"
 8871:   need_version=no
 8872:   need_lib_prefix=no
 8873: 
 8874:   case $GCC,$host_os in
 8875:   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 8876:     library_names_spec='$libname.dll.a'
 8877:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 8878:     postinstall_cmds='base_file=`basename \${file}`~
 8879:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 8880:       dldir=$destdir/`dirname \$dlpath`~
 8881:       test -d \$dldir || mkdir -p \$dldir~
 8882:       $install_prog $dir/$dlname \$dldir/$dlname~
 8883:       chmod a+x \$dldir/$dlname~
 8884:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 8885:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 8886:       fi'
 8887:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 8888:       dlpath=$dir/\$dldll~
 8889:        $RM \$dlpath'
 8890:     shlibpath_overrides_runpath=yes
 8891: 
 8892:     case $host_os in
 8893:     cygwin*)
 8894:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 8895:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 8896:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 8897:       ;;
 8898:     mingw* | cegcc*)
 8899:       # MinGW DLLs use traditional 'lib' prefix
 8900:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 8901:       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 8902:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 8903:         # It is most probably a Windows format PATH printed by
 8904:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 8905:         # path with ; separators, and with drive letters. We can handle the
 8906:         # drive letters (cygwin fileutils understands them), so leave them,
 8907:         # especially as we might pass files found there to a mingw objdump,
 8908:         # which wouldn't understand a cygwinified path. Ahh.
 8909:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 8910:       else
 8911:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 8912:       fi
 8913:       ;;
 8914:     pw32*)
 8915:       # pw32 DLLs use 'pw' prefix rather than 'lib'
 8916:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 8917:       ;;
 8918:     esac
 8919:     ;;
 8920: 
 8921:   *)
 8922:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 8923:     ;;
 8924:   esac
 8925:   dynamic_linker='Win32 ld.exe'
 8926:   # FIXME: first we should search . and the directory the executable is in
 8927:   shlibpath_var=PATH
 8928:   ;;
 8929: 
 8930: darwin* | rhapsody*)
 8931:   dynamic_linker="$host_os dyld"
 8932:   version_type=darwin
 8933:   need_lib_prefix=no
 8934:   need_version=no
 8935:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 8936:   soname_spec='${libname}${release}${major}$shared_ext'
 8937:   shlibpath_overrides_runpath=yes
 8938:   shlibpath_var=DYLD_LIBRARY_PATH
 8939:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 8940: 
 8941:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 8942:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 8943:   ;;
 8944: 
 8945: dgux*)
 8946:   version_type=linux
 8947:   need_lib_prefix=no
 8948:   need_version=no
 8949:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 8950:   soname_spec='${libname}${release}${shared_ext}$major'
 8951:   shlibpath_var=LD_LIBRARY_PATH
 8952:   ;;
 8953: 
 8954: freebsd1*)
 8955:   dynamic_linker=no
 8956:   ;;
 8957: 
 8958: freebsd* | dragonfly*)
 8959:   # DragonFly does not have aout.  When/if they implement a new
 8960:   # versioning mechanism, adjust this.
 8961:   if test -x /usr/bin/objformat; then
 8962:     objformat=`/usr/bin/objformat`
 8963:   else
 8964:     case $host_os in
 8965:     freebsd[123]*) objformat=aout ;;
 8966:     *) objformat=elf ;;
 8967:     esac
 8968:   fi
 8969:   # Handle Gentoo/FreeBSD as it was Linux
 8970:   case $host_vendor in
 8971:     gentoo)
 8972:       version_type=linux ;;
 8973:     *)
 8974:       version_type=freebsd-$objformat ;;
 8975:   esac
 8976: 
 8977:   case $version_type in
 8978:     freebsd-elf*)
 8979:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 8980:       need_version=no
 8981:       need_lib_prefix=no
 8982:       ;;
 8983:     freebsd-*)
 8984:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 8985:       need_version=yes
 8986:       ;;
 8987:     linux)
 8988:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 8989:       soname_spec='${libname}${release}${shared_ext}$major'
 8990:       need_lib_prefix=no
 8991:       need_version=no
 8992:       ;;
 8993:   esac
 8994:   shlibpath_var=LD_LIBRARY_PATH
 8995:   case $host_os in
 8996:   freebsd2*)
 8997:     shlibpath_overrides_runpath=yes
 8998:     ;;
 8999:   freebsd3.[01]* | freebsdelf3.[01]*)
 9000:     shlibpath_overrides_runpath=yes
 9001:     hardcode_into_libs=yes
 9002:     ;;
 9003:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 9004:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 9005:     shlibpath_overrides_runpath=no
 9006:     hardcode_into_libs=yes
 9007:     ;;
 9008:   *) # from 4.6 on, and DragonFly
 9009:     shlibpath_overrides_runpath=yes
 9010:     hardcode_into_libs=yes
 9011:     ;;
 9012:   esac
 9013:   ;;
 9014: 
 9015: gnu*)
 9016:   version_type=linux
 9017:   need_lib_prefix=no
 9018:   need_version=no
 9019:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 9020:   soname_spec='${libname}${release}${shared_ext}$major'
 9021:   shlibpath_var=LD_LIBRARY_PATH
 9022:   hardcode_into_libs=yes
 9023:   ;;
 9024: 
 9025: hpux9* | hpux10* | hpux11*)
 9026:   # Give a soname corresponding to the major version so that dld.sl refuses to
 9027:   # link against other versions.
 9028:   version_type=sunos
 9029:   need_lib_prefix=no
 9030:   need_version=no
 9031:   case $host_cpu in
 9032:   ia64*)
 9033:     shrext_cmds='.so'
 9034:     hardcode_into_libs=yes
 9035:     dynamic_linker="$host_os dld.so"
 9036:     shlibpath_var=LD_LIBRARY_PATH
 9037:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 9038:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9039:     soname_spec='${libname}${release}${shared_ext}$major'
 9040:     if test "X$HPUX_IA64_MODE" = X32; then
 9041:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 9042:     else
 9043:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 9044:     fi
 9045:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 9046:     ;;
 9047:   hppa*64*)
 9048:     shrext_cmds='.sl'
 9049:     hardcode_into_libs=yes
 9050:     dynamic_linker="$host_os dld.sl"
 9051:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 9052:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 9053:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9054:     soname_spec='${libname}${release}${shared_ext}$major'
 9055:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 9056:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 9057:     ;;
 9058:   *)
 9059:     shrext_cmds='.sl'
 9060:     dynamic_linker="$host_os dld.sl"
 9061:     shlibpath_var=SHLIB_PATH
 9062:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 9063:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9064:     soname_spec='${libname}${release}${shared_ext}$major'
 9065:     ;;
 9066:   esac
 9067:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 9068:   postinstall_cmds='chmod 555 $lib'
 9069:   ;;
 9070: 
 9071: interix[3-9]*)
 9072:   version_type=linux
 9073:   need_lib_prefix=no
 9074:   need_version=no
 9075:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 9076:   soname_spec='${libname}${release}${shared_ext}$major'
 9077:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 9078:   shlibpath_var=LD_LIBRARY_PATH
 9079:   shlibpath_overrides_runpath=no
 9080:   hardcode_into_libs=yes
 9081:   ;;
 9082: 
 9083: irix5* | irix6* | nonstopux*)
 9084:   case $host_os in
 9085:     nonstopux*) version_type=nonstopux ;;
 9086:     *)
 9087: 	if test "$lt_cv_prog_gnu_ld" = yes; then
 9088: 		version_type=linux
 9089: 	else
 9090: 		version_type=irix
 9091: 	fi ;;
 9092:   esac
 9093:   need_lib_prefix=no
 9094:   need_version=no
 9095:   soname_spec='${libname}${release}${shared_ext}$major'
 9096:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 9097:   case $host_os in
 9098:   irix5* | nonstopux*)
 9099:     libsuff= shlibsuff=
 9100:     ;;
 9101:   *)
 9102:     case $LD in # libtool.m4 will add one of these switches to LD
 9103:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 9104:       libsuff= shlibsuff= libmagic=32-bit;;
 9105:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 9106:       libsuff=32 shlibsuff=N32 libmagic=N32;;
 9107:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 9108:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 9109:     *) libsuff= shlibsuff= libmagic=never-match;;
 9110:     esac
 9111:     ;;
 9112:   esac
 9113:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 9114:   shlibpath_overrides_runpath=no
 9115:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 9116:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 9117:   hardcode_into_libs=yes
 9118:   ;;
 9119: 
 9120: # No shared lib support for Linux oldld, aout, or coff.
 9121: linux*oldld* | linux*aout* | linux*coff*)
 9122:   dynamic_linker=no
 9123:   ;;
 9124: 
 9125: # This must be Linux ELF.
 9126: linux* | k*bsd*-gnu)
 9127:   version_type=linux
 9128:   need_lib_prefix=no
 9129:   need_version=no
 9130:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9131:   soname_spec='${libname}${release}${shared_ext}$major'
 9132:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 9133:   shlibpath_var=LD_LIBRARY_PATH
 9134:   shlibpath_overrides_runpath=no
 9135:   # Some binutils ld are patched to set DT_RUNPATH
 9136:   save_LDFLAGS=$LDFLAGS
 9137:   save_libdir=$libdir
 9138:   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 9139:        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 9140:   cat >conftest.$ac_ext <<_ACEOF
 9141: /* confdefs.h.  */
 9142: _ACEOF
 9143: cat confdefs.h >>conftest.$ac_ext
 9144: cat >>conftest.$ac_ext <<_ACEOF
 9145: /* end confdefs.h.  */
 9146: 
 9147: int
 9148: main ()
 9149: {
 9150: 
 9151:   ;
 9152:   return 0;
 9153: }
 9154: _ACEOF
 9155: rm -f conftest.$ac_objext conftest$ac_exeext
 9156: if { (ac_try="$ac_link"
 9157: case "(($ac_try" in
 9158:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9159:   *) ac_try_echo=$ac_try;;
 9160: esac
 9161: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9162: $as_echo "$ac_try_echo") >&5
 9163:   (eval "$ac_link") 2>conftest.er1
 9164:   ac_status=$?
 9165:   grep -v '^ *+' conftest.er1 >conftest.err
 9166:   rm -f conftest.er1
 9167:   cat conftest.err >&5
 9168:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9169:   (exit $ac_status); } && {
 9170: 	 test -z "$ac_c_werror_flag" ||
 9171: 	 test ! -s conftest.err
 9172:        } && test -s conftest$ac_exeext && {
 9173: 	 test "$cross_compiling" = yes ||
 9174: 	 $as_test_x conftest$ac_exeext
 9175:        }; then
 9176:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 9177:   shlibpath_overrides_runpath=yes
 9178: fi
 9179: 
 9180: else
 9181:   $as_echo "$as_me: failed program was:" >&5
 9182: sed 's/^/| /' conftest.$ac_ext >&5
 9183: 
 9184: 
 9185: fi
 9186: 
 9187: rm -rf conftest.dSYM
 9188: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9189:       conftest$ac_exeext conftest.$ac_ext
 9190:   LDFLAGS=$save_LDFLAGS
 9191:   libdir=$save_libdir
 9192: 
 9193:   # This implies no fast_install, which is unacceptable.
 9194:   # Some rework will be needed to allow for fast_install
 9195:   # before this can be enabled.
 9196:   hardcode_into_libs=yes
 9197: 
 9198:   # Append ld.so.conf contents to the search path
 9199:   if test -f /etc/ld.so.conf; then
 9200:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 9201:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 9202:   fi
 9203: 
 9204:   # We used to test for /lib/ld.so.1 and disable shared libraries on
 9205:   # powerpc, because MkLinux only supported shared libraries with the
 9206:   # GNU dynamic linker.  Since this was broken with cross compilers,
 9207:   # most powerpc-linux boxes support dynamic linking these days and
 9208:   # people can always --disable-shared, the test was removed, and we
 9209:   # assume the GNU/Linux dynamic linker is in use.
 9210:   dynamic_linker='GNU/Linux ld.so'
 9211:   ;;
 9212: 
 9213: netbsd*)
 9214:   version_type=sunos
 9215:   need_lib_prefix=no
 9216:   need_version=no
 9217:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9218:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9219:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 9220:     dynamic_linker='NetBSD (a.out) ld.so'
 9221:   else
 9222:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 9223:     soname_spec='${libname}${release}${shared_ext}$major'
 9224:     dynamic_linker='NetBSD ld.elf_so'
 9225:   fi
 9226:   shlibpath_var=LD_LIBRARY_PATH
 9227:   shlibpath_overrides_runpath=yes
 9228:   hardcode_into_libs=yes
 9229:   ;;
 9230: 
 9231: newsos6)
 9232:   version_type=linux
 9233:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9234:   shlibpath_var=LD_LIBRARY_PATH
 9235:   shlibpath_overrides_runpath=yes
 9236:   ;;
 9237: 
 9238: *nto* | *qnx*)
 9239:   version_type=qnx
 9240:   need_lib_prefix=no
 9241:   need_version=no
 9242:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9243:   soname_spec='${libname}${release}${shared_ext}$major'
 9244:   shlibpath_var=LD_LIBRARY_PATH
 9245:   shlibpath_overrides_runpath=no
 9246:   hardcode_into_libs=yes
 9247:   dynamic_linker='ldqnx.so'
 9248:   ;;
 9249: 
 9250: openbsd*)
 9251:   version_type=sunos
 9252:   sys_lib_dlsearch_path_spec="/usr/lib"
 9253:   need_lib_prefix=no
 9254:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 9255:   case $host_os in
 9256:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 9257:     *)				need_version=no  ;;
 9258:   esac
 9259:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9260:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 9261:   shlibpath_var=LD_LIBRARY_PATH
 9262:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 9263:     case $host_os in
 9264:       openbsd2.[89] | openbsd2.[89].*)
 9265: 	shlibpath_overrides_runpath=no
 9266: 	;;
 9267:       *)
 9268: 	shlibpath_overrides_runpath=yes
 9269: 	;;
 9270:       esac
 9271:   else
 9272:     shlibpath_overrides_runpath=yes
 9273:   fi
 9274:   ;;
 9275: 
 9276: os2*)
 9277:   libname_spec='$name'
 9278:   shrext_cmds=".dll"
 9279:   need_lib_prefix=no
 9280:   library_names_spec='$libname${shared_ext} $libname.a'
 9281:   dynamic_linker='OS/2 ld.exe'
 9282:   shlibpath_var=LIBPATH
 9283:   ;;
 9284: 
 9285: osf3* | osf4* | osf5*)
 9286:   version_type=osf
 9287:   need_lib_prefix=no
 9288:   need_version=no
 9289:   soname_spec='${libname}${release}${shared_ext}$major'
 9290:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9291:   shlibpath_var=LD_LIBRARY_PATH
 9292:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 9293:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 9294:   ;;
 9295: 
 9296: rdos*)
 9297:   dynamic_linker=no
 9298:   ;;
 9299: 
 9300: solaris*)
 9301:   version_type=linux
 9302:   need_lib_prefix=no
 9303:   need_version=no
 9304:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9305:   soname_spec='${libname}${release}${shared_ext}$major'
 9306:   shlibpath_var=LD_LIBRARY_PATH
 9307:   shlibpath_overrides_runpath=yes
 9308:   hardcode_into_libs=yes
 9309:   # ldd complains unless libraries are executable
 9310:   postinstall_cmds='chmod +x $lib'
 9311:   ;;
 9312: 
 9313: sunos4*)
 9314:   version_type=sunos
 9315:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9316:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 9317:   shlibpath_var=LD_LIBRARY_PATH
 9318:   shlibpath_overrides_runpath=yes
 9319:   if test "$with_gnu_ld" = yes; then
 9320:     need_lib_prefix=no
 9321:   fi
 9322:   need_version=yes
 9323:   ;;
 9324: 
 9325: sysv4 | sysv4.3*)
 9326:   version_type=linux
 9327:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9328:   soname_spec='${libname}${release}${shared_ext}$major'
 9329:   shlibpath_var=LD_LIBRARY_PATH
 9330:   case $host_vendor in
 9331:     sni)
 9332:       shlibpath_overrides_runpath=no
 9333:       need_lib_prefix=no
 9334:       runpath_var=LD_RUN_PATH
 9335:       ;;
 9336:     siemens)
 9337:       need_lib_prefix=no
 9338:       ;;
 9339:     motorola)
 9340:       need_lib_prefix=no
 9341:       need_version=no
 9342:       shlibpath_overrides_runpath=no
 9343:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 9344:       ;;
 9345:   esac
 9346:   ;;
 9347: 
 9348: sysv4*MP*)
 9349:   if test -d /usr/nec ;then
 9350:     version_type=linux
 9351:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 9352:     soname_spec='$libname${shared_ext}.$major'
 9353:     shlibpath_var=LD_LIBRARY_PATH
 9354:   fi
 9355:   ;;
 9356: 
 9357: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 9358:   version_type=freebsd-elf
 9359:   need_lib_prefix=no
 9360:   need_version=no
 9361:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 9362:   soname_spec='${libname}${release}${shared_ext}$major'
 9363:   shlibpath_var=LD_LIBRARY_PATH
 9364:   shlibpath_overrides_runpath=yes
 9365:   hardcode_into_libs=yes
 9366:   if test "$with_gnu_ld" = yes; then
 9367:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 9368:   else
 9369:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 9370:     case $host_os in
 9371:       sco3.2v5*)
 9372:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 9373: 	;;
 9374:     esac
 9375:   fi
 9376:   sys_lib_dlsearch_path_spec='/usr/lib'
 9377:   ;;
 9378: 
 9379: tpf*)
 9380:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 9381:   version_type=linux
 9382:   need_lib_prefix=no
 9383:   need_version=no
 9384:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9385:   shlibpath_var=LD_LIBRARY_PATH
 9386:   shlibpath_overrides_runpath=no
 9387:   hardcode_into_libs=yes
 9388:   ;;
 9389: 
 9390: uts4*)
 9391:   version_type=linux
 9392:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9393:   soname_spec='${libname}${release}${shared_ext}$major'
 9394:   shlibpath_var=LD_LIBRARY_PATH
 9395:   ;;
 9396: 
 9397: *)
 9398:   dynamic_linker=no
 9399:   ;;
 9400: esac
 9401: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 9402: $as_echo "$dynamic_linker" >&6; }
 9403: test "$dynamic_linker" = no && can_build_shared=no
 9404: 
 9405: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 9406: if test "$GCC" = yes; then
 9407:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 9408: fi
 9409: 
 9410: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 9411:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 9412: fi
 9413: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 9414:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 9415: fi
 9416: 
 9417: 
 9418: 
 9419: 
 9420: 
 9421: 
 9422: 
 9423: 
 9424: 
 9425: 
 9426: 
 9427: 
 9428: 
 9429: 
 9430: 
 9431: 
 9432: 
 9433: 
 9434: 
 9435: 
 9436: 
 9437: 
 9438: 
 9439: 
 9440: 
 9441: 
 9442: 
 9443: 
 9444: 
 9445: 
 9446: 
 9447: 
 9448: 
 9449: 
 9450: 
 9451: 
 9452: 
 9453: 
 9454: 
 9455: 
 9456: 
 9457: 
 9458: 
 9459: 
 9460: 
 9461: 
 9462: 
 9463: 
 9464: 
 9465: 
 9466: 
 9467: 
 9468: 
 9469: 
 9470: 
 9471: 
 9472: 
 9473: 
 9474: 
 9475: 
 9476: 
 9477: 
 9478: 
 9479: 
 9480: 
 9481: 
 9482: 
 9483: 
 9484: 
 9485: 
 9486: 
 9487: 
 9488: 
 9489: 
 9490: 
 9491: 
 9492: 
 9493: 
 9494: 
 9495: 
 9496: 
 9497: 
 9498: 
 9499: 
 9500: 
 9501: 
 9502: 
 9503:   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 9504: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 9505: hardcode_action=
 9506: if test -n "$hardcode_libdir_flag_spec" ||
 9507:    test -n "$runpath_var" ||
 9508:    test "X$hardcode_automatic" = "Xyes" ; then
 9509: 
 9510:   # We can hardcode non-existent directories.
 9511:   if test "$hardcode_direct" != no &&
 9512:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 9513:      # have to relink, otherwise we might link with an installed library
 9514:      # when we should be linking with a yet-to-be-installed one
 9515:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 9516:      test "$hardcode_minus_L" != no; then
 9517:     # Linking always hardcodes the temporary library directory.
 9518:     hardcode_action=relink
 9519:   else
 9520:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 9521:     hardcode_action=immediate
 9522:   fi
 9523: else
 9524:   # We cannot hardcode anything, or else we can only hardcode existing
 9525:   # directories.
 9526:   hardcode_action=unsupported
 9527: fi
 9528: { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 9529: $as_echo "$hardcode_action" >&6; }
 9530: 
 9531: if test "$hardcode_action" = relink ||
 9532:    test "$inherit_rpath" = yes; then
 9533:   # Fast installation is not supported
 9534:   enable_fast_install=no
 9535: elif test "$shlibpath_overrides_runpath" = yes ||
 9536:      test "$enable_shared" = no; then
 9537:   # Fast installation is not necessary
 9538:   enable_fast_install=needless
 9539: fi
 9540: 
 9541: 
 9542: 
 9543: 
 9544: 
 9545: 
 9546:   if test "x$enable_dlopen" != xyes; then
 9547:   enable_dlopen=unknown
 9548:   enable_dlopen_self=unknown
 9549:   enable_dlopen_self_static=unknown
 9550: else
 9551:   lt_cv_dlopen=no
 9552:   lt_cv_dlopen_libs=
 9553: 
 9554:   case $host_os in
 9555:   beos*)
 9556:     lt_cv_dlopen="load_add_on"
 9557:     lt_cv_dlopen_libs=
 9558:     lt_cv_dlopen_self=yes
 9559:     ;;
 9560: 
 9561:   mingw* | pw32* | cegcc*)
 9562:     lt_cv_dlopen="LoadLibrary"
 9563:     lt_cv_dlopen_libs=
 9564:     ;;
 9565: 
 9566:   cygwin*)
 9567:     lt_cv_dlopen="dlopen"
 9568:     lt_cv_dlopen_libs=
 9569:     ;;
 9570: 
 9571:   darwin*)
 9572:   # if libdl is installed we need to link against it
 9573:     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 9574: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 9575: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 9576:   $as_echo_n "(cached) " >&6
 9577: else
 9578:   ac_check_lib_save_LIBS=$LIBS
 9579: LIBS="-ldl  $LIBS"
 9580: cat >conftest.$ac_ext <<_ACEOF
 9581: /* confdefs.h.  */
 9582: _ACEOF
 9583: cat confdefs.h >>conftest.$ac_ext
 9584: cat >>conftest.$ac_ext <<_ACEOF
 9585: /* end confdefs.h.  */
 9586: 
 9587: /* Override any GCC internal prototype to avoid an error.
 9588:    Use char because int might match the return type of a GCC
 9589:    builtin and then its argument prototype would still apply.  */
 9590: #ifdef __cplusplus
 9591: extern "C"
 9592: #endif
 9593: char dlopen ();
 9594: int
 9595: main ()
 9596: {
 9597: return dlopen ();
 9598:   ;
 9599:   return 0;
 9600: }
 9601: _ACEOF
 9602: rm -f conftest.$ac_objext conftest$ac_exeext
 9603: if { (ac_try="$ac_link"
 9604: case "(($ac_try" in
 9605:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9606:   *) ac_try_echo=$ac_try;;
 9607: esac
 9608: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9609: $as_echo "$ac_try_echo") >&5
 9610:   (eval "$ac_link") 2>conftest.er1
 9611:   ac_status=$?
 9612:   grep -v '^ *+' conftest.er1 >conftest.err
 9613:   rm -f conftest.er1
 9614:   cat conftest.err >&5
 9615:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9616:   (exit $ac_status); } && {
 9617: 	 test -z "$ac_c_werror_flag" ||
 9618: 	 test ! -s conftest.err
 9619:        } && test -s conftest$ac_exeext && {
 9620: 	 test "$cross_compiling" = yes ||
 9621: 	 $as_test_x conftest$ac_exeext
 9622:        }; then
 9623:   ac_cv_lib_dl_dlopen=yes
 9624: else
 9625:   $as_echo "$as_me: failed program was:" >&5
 9626: sed 's/^/| /' conftest.$ac_ext >&5
 9627: 
 9628: 	ac_cv_lib_dl_dlopen=no
 9629: fi
 9630: 
 9631: rm -rf conftest.dSYM
 9632: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9633:       conftest$ac_exeext conftest.$ac_ext
 9634: LIBS=$ac_check_lib_save_LIBS
 9635: fi
 9636: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 9637: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 9638: if test $ac_cv_lib_dl_dlopen = yes; then
 9639:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 9640: else
 9641: 
 9642:     lt_cv_dlopen="dyld"
 9643:     lt_cv_dlopen_libs=
 9644:     lt_cv_dlopen_self=yes
 9645: 
 9646: fi
 9647: 
 9648:     ;;
 9649: 
 9650:   *)
 9651:     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 9652: $as_echo_n "checking for shl_load... " >&6; }
 9653: if test "${ac_cv_func_shl_load+set}" = set; then
 9654:   $as_echo_n "(cached) " >&6
 9655: else
 9656:   cat >conftest.$ac_ext <<_ACEOF
 9657: /* confdefs.h.  */
 9658: _ACEOF
 9659: cat confdefs.h >>conftest.$ac_ext
 9660: cat >>conftest.$ac_ext <<_ACEOF
 9661: /* end confdefs.h.  */
 9662: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 9663:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 9664: #define shl_load innocuous_shl_load
 9665: 
 9666: /* System header to define __stub macros and hopefully few prototypes,
 9667:     which can conflict with char shl_load (); below.
 9668:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 9669:     <limits.h> exists even on freestanding compilers.  */
 9670: 
 9671: #ifdef __STDC__
 9672: # include <limits.h>
 9673: #else
 9674: # include <assert.h>
 9675: #endif
 9676: 
 9677: #undef shl_load
 9678: 
 9679: /* Override any GCC internal prototype to avoid an error.
 9680:    Use char because int might match the return type of a GCC
 9681:    builtin and then its argument prototype would still apply.  */
 9682: #ifdef __cplusplus
 9683: extern "C"
 9684: #endif
 9685: char shl_load ();
 9686: /* The GNU C library defines this for functions which it implements
 9687:     to always fail with ENOSYS.  Some functions are actually named
 9688:     something starting with __ and the normal name is an alias.  */
 9689: #if defined __stub_shl_load || defined __stub___shl_load
 9690: choke me
 9691: #endif
 9692: 
 9693: int
 9694: main ()
 9695: {
 9696: return shl_load ();
 9697:   ;
 9698:   return 0;
 9699: }
 9700: _ACEOF
 9701: rm -f conftest.$ac_objext conftest$ac_exeext
 9702: if { (ac_try="$ac_link"
 9703: case "(($ac_try" in
 9704:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9705:   *) ac_try_echo=$ac_try;;
 9706: esac
 9707: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9708: $as_echo "$ac_try_echo") >&5
 9709:   (eval "$ac_link") 2>conftest.er1
 9710:   ac_status=$?
 9711:   grep -v '^ *+' conftest.er1 >conftest.err
 9712:   rm -f conftest.er1
 9713:   cat conftest.err >&5
 9714:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9715:   (exit $ac_status); } && {
 9716: 	 test -z "$ac_c_werror_flag" ||
 9717: 	 test ! -s conftest.err
 9718:        } && test -s conftest$ac_exeext && {
 9719: 	 test "$cross_compiling" = yes ||
 9720: 	 $as_test_x conftest$ac_exeext
 9721:        }; then
 9722:   ac_cv_func_shl_load=yes
 9723: else
 9724:   $as_echo "$as_me: failed program was:" >&5
 9725: sed 's/^/| /' conftest.$ac_ext >&5
 9726: 
 9727: 	ac_cv_func_shl_load=no
 9728: fi
 9729: 
 9730: rm -rf conftest.dSYM
 9731: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9732:       conftest$ac_exeext conftest.$ac_ext
 9733: fi
 9734: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 9735: $as_echo "$ac_cv_func_shl_load" >&6; }
 9736: if test $ac_cv_func_shl_load = yes; then
 9737:   lt_cv_dlopen="shl_load"
 9738: else
 9739:   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 9740: $as_echo_n "checking for shl_load in -ldld... " >&6; }
 9741: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 9742:   $as_echo_n "(cached) " >&6
 9743: else
 9744:   ac_check_lib_save_LIBS=$LIBS
 9745: LIBS="-ldld  $LIBS"
 9746: cat >conftest.$ac_ext <<_ACEOF
 9747: /* confdefs.h.  */
 9748: _ACEOF
 9749: cat confdefs.h >>conftest.$ac_ext
 9750: cat >>conftest.$ac_ext <<_ACEOF
 9751: /* end confdefs.h.  */
 9752: 
 9753: /* Override any GCC internal prototype to avoid an error.
 9754:    Use char because int might match the return type of a GCC
 9755:    builtin and then its argument prototype would still apply.  */
 9756: #ifdef __cplusplus
 9757: extern "C"
 9758: #endif
 9759: char shl_load ();
 9760: int
 9761: main ()
 9762: {
 9763: return shl_load ();
 9764:   ;
 9765:   return 0;
 9766: }
 9767: _ACEOF
 9768: rm -f conftest.$ac_objext conftest$ac_exeext
 9769: if { (ac_try="$ac_link"
 9770: case "(($ac_try" in
 9771:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9772:   *) ac_try_echo=$ac_try;;
 9773: esac
 9774: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9775: $as_echo "$ac_try_echo") >&5
 9776:   (eval "$ac_link") 2>conftest.er1
 9777:   ac_status=$?
 9778:   grep -v '^ *+' conftest.er1 >conftest.err
 9779:   rm -f conftest.er1
 9780:   cat conftest.err >&5
 9781:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9782:   (exit $ac_status); } && {
 9783: 	 test -z "$ac_c_werror_flag" ||
 9784: 	 test ! -s conftest.err
 9785:        } && test -s conftest$ac_exeext && {
 9786: 	 test "$cross_compiling" = yes ||
 9787: 	 $as_test_x conftest$ac_exeext
 9788:        }; then
 9789:   ac_cv_lib_dld_shl_load=yes
 9790: else
 9791:   $as_echo "$as_me: failed program was:" >&5
 9792: sed 's/^/| /' conftest.$ac_ext >&5
 9793: 
 9794: 	ac_cv_lib_dld_shl_load=no
 9795: fi
 9796: 
 9797: rm -rf conftest.dSYM
 9798: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9799:       conftest$ac_exeext conftest.$ac_ext
 9800: LIBS=$ac_check_lib_save_LIBS
 9801: fi
 9802: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 9803: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 9804: if test $ac_cv_lib_dld_shl_load = yes; then
 9805:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 9806: else
 9807:   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 9808: $as_echo_n "checking for dlopen... " >&6; }
 9809: if test "${ac_cv_func_dlopen+set}" = set; then
 9810:   $as_echo_n "(cached) " >&6
 9811: else
 9812:   cat >conftest.$ac_ext <<_ACEOF
 9813: /* confdefs.h.  */
 9814: _ACEOF
 9815: cat confdefs.h >>conftest.$ac_ext
 9816: cat >>conftest.$ac_ext <<_ACEOF
 9817: /* end confdefs.h.  */
 9818: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 9819:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 9820: #define dlopen innocuous_dlopen
 9821: 
 9822: /* System header to define __stub macros and hopefully few prototypes,
 9823:     which can conflict with char dlopen (); below.
 9824:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 9825:     <limits.h> exists even on freestanding compilers.  */
 9826: 
 9827: #ifdef __STDC__
 9828: # include <limits.h>
 9829: #else
 9830: # include <assert.h>
 9831: #endif
 9832: 
 9833: #undef dlopen
 9834: 
 9835: /* Override any GCC internal prototype to avoid an error.
 9836:    Use char because int might match the return type of a GCC
 9837:    builtin and then its argument prototype would still apply.  */
 9838: #ifdef __cplusplus
 9839: extern "C"
 9840: #endif
 9841: char dlopen ();
 9842: /* The GNU C library defines this for functions which it implements
 9843:     to always fail with ENOSYS.  Some functions are actually named
 9844:     something starting with __ and the normal name is an alias.  */
 9845: #if defined __stub_dlopen || defined __stub___dlopen
 9846: choke me
 9847: #endif
 9848: 
 9849: int
 9850: main ()
 9851: {
 9852: return dlopen ();
 9853:   ;
 9854:   return 0;
 9855: }
 9856: _ACEOF
 9857: rm -f conftest.$ac_objext conftest$ac_exeext
 9858: if { (ac_try="$ac_link"
 9859: case "(($ac_try" in
 9860:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9861:   *) ac_try_echo=$ac_try;;
 9862: esac
 9863: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9864: $as_echo "$ac_try_echo") >&5
 9865:   (eval "$ac_link") 2>conftest.er1
 9866:   ac_status=$?
 9867:   grep -v '^ *+' conftest.er1 >conftest.err
 9868:   rm -f conftest.er1
 9869:   cat conftest.err >&5
 9870:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9871:   (exit $ac_status); } && {
 9872: 	 test -z "$ac_c_werror_flag" ||
 9873: 	 test ! -s conftest.err
 9874:        } && test -s conftest$ac_exeext && {
 9875: 	 test "$cross_compiling" = yes ||
 9876: 	 $as_test_x conftest$ac_exeext
 9877:        }; then
 9878:   ac_cv_func_dlopen=yes
 9879: else
 9880:   $as_echo "$as_me: failed program was:" >&5
 9881: sed 's/^/| /' conftest.$ac_ext >&5
 9882: 
 9883: 	ac_cv_func_dlopen=no
 9884: fi
 9885: 
 9886: rm -rf conftest.dSYM
 9887: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9888:       conftest$ac_exeext conftest.$ac_ext
 9889: fi
 9890: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 9891: $as_echo "$ac_cv_func_dlopen" >&6; }
 9892: if test $ac_cv_func_dlopen = yes; then
 9893:   lt_cv_dlopen="dlopen"
 9894: else
 9895:   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 9896: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 9897: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 9898:   $as_echo_n "(cached) " >&6
 9899: else
 9900:   ac_check_lib_save_LIBS=$LIBS
 9901: LIBS="-ldl  $LIBS"
 9902: cat >conftest.$ac_ext <<_ACEOF
 9903: /* confdefs.h.  */
 9904: _ACEOF
 9905: cat confdefs.h >>conftest.$ac_ext
 9906: cat >>conftest.$ac_ext <<_ACEOF
 9907: /* end confdefs.h.  */
 9908: 
 9909: /* Override any GCC internal prototype to avoid an error.
 9910:    Use char because int might match the return type of a GCC
 9911:    builtin and then its argument prototype would still apply.  */
 9912: #ifdef __cplusplus
 9913: extern "C"
 9914: #endif
 9915: char dlopen ();
 9916: int
 9917: main ()
 9918: {
 9919: return dlopen ();
 9920:   ;
 9921:   return 0;
 9922: }
 9923: _ACEOF
 9924: rm -f conftest.$ac_objext conftest$ac_exeext
 9925: if { (ac_try="$ac_link"
 9926: case "(($ac_try" in
 9927:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9928:   *) ac_try_echo=$ac_try;;
 9929: esac
 9930: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9931: $as_echo "$ac_try_echo") >&5
 9932:   (eval "$ac_link") 2>conftest.er1
 9933:   ac_status=$?
 9934:   grep -v '^ *+' conftest.er1 >conftest.err
 9935:   rm -f conftest.er1
 9936:   cat conftest.err >&5
 9937:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9938:   (exit $ac_status); } && {
 9939: 	 test -z "$ac_c_werror_flag" ||
 9940: 	 test ! -s conftest.err
 9941:        } && test -s conftest$ac_exeext && {
 9942: 	 test "$cross_compiling" = yes ||
 9943: 	 $as_test_x conftest$ac_exeext
 9944:        }; then
 9945:   ac_cv_lib_dl_dlopen=yes
 9946: else
 9947:   $as_echo "$as_me: failed program was:" >&5
 9948: sed 's/^/| /' conftest.$ac_ext >&5
 9949: 
 9950: 	ac_cv_lib_dl_dlopen=no
 9951: fi
 9952: 
 9953: rm -rf conftest.dSYM
 9954: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 9955:       conftest$ac_exeext conftest.$ac_ext
 9956: LIBS=$ac_check_lib_save_LIBS
 9957: fi
 9958: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 9959: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 9960: if test $ac_cv_lib_dl_dlopen = yes; then
 9961:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 9962: else
 9963:   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 9964: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 9965: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 9966:   $as_echo_n "(cached) " >&6
 9967: else
 9968:   ac_check_lib_save_LIBS=$LIBS
 9969: LIBS="-lsvld  $LIBS"
 9970: cat >conftest.$ac_ext <<_ACEOF
 9971: /* confdefs.h.  */
 9972: _ACEOF
 9973: cat confdefs.h >>conftest.$ac_ext
 9974: cat >>conftest.$ac_ext <<_ACEOF
 9975: /* end confdefs.h.  */
 9976: 
 9977: /* Override any GCC internal prototype to avoid an error.
 9978:    Use char because int might match the return type of a GCC
 9979:    builtin and then its argument prototype would still apply.  */
 9980: #ifdef __cplusplus
 9981: extern "C"
 9982: #endif
 9983: char dlopen ();
 9984: int
 9985: main ()
 9986: {
 9987: return dlopen ();
 9988:   ;
 9989:   return 0;
 9990: }
 9991: _ACEOF
 9992: rm -f conftest.$ac_objext conftest$ac_exeext
 9993: if { (ac_try="$ac_link"
 9994: case "(($ac_try" in
 9995:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9996:   *) ac_try_echo=$ac_try;;
 9997: esac
 9998: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 9999: $as_echo "$ac_try_echo") >&5
10000:   (eval "$ac_link") 2>conftest.er1
10001:   ac_status=$?
10002:   grep -v '^ *+' conftest.er1 >conftest.err
10003:   rm -f conftest.er1
10004:   cat conftest.err >&5
10005:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006:   (exit $ac_status); } && {
10007: 	 test -z "$ac_c_werror_flag" ||
10008: 	 test ! -s conftest.err
10009:        } && test -s conftest$ac_exeext && {
10010: 	 test "$cross_compiling" = yes ||
10011: 	 $as_test_x conftest$ac_exeext
10012:        }; then
10013:   ac_cv_lib_svld_dlopen=yes
10014: else
10015:   $as_echo "$as_me: failed program was:" >&5
10016: sed 's/^/| /' conftest.$ac_ext >&5
10017: 
10018: 	ac_cv_lib_svld_dlopen=no
10019: fi
10020: 
10021: rm -rf conftest.dSYM
10022: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10023:       conftest$ac_exeext conftest.$ac_ext
10024: LIBS=$ac_check_lib_save_LIBS
10025: fi
10026: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10027: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10028: if test $ac_cv_lib_svld_dlopen = yes; then
10029:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10030: else
10031:   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10032: $as_echo_n "checking for dld_link in -ldld... " >&6; }
10033: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10034:   $as_echo_n "(cached) " >&6
10035: else
10036:   ac_check_lib_save_LIBS=$LIBS
10037: LIBS="-ldld  $LIBS"
10038: cat >conftest.$ac_ext <<_ACEOF
10039: /* confdefs.h.  */
10040: _ACEOF
10041: cat confdefs.h >>conftest.$ac_ext
10042: cat >>conftest.$ac_ext <<_ACEOF
10043: /* end confdefs.h.  */
10044: 
10045: /* Override any GCC internal prototype to avoid an error.
10046:    Use char because int might match the return type of a GCC
10047:    builtin and then its argument prototype would still apply.  */
10048: #ifdef __cplusplus
10049: extern "C"
10050: #endif
10051: char dld_link ();
10052: int
10053: main ()
10054: {
10055: return dld_link ();
10056:   ;
10057:   return 0;
10058: }
10059: _ACEOF
10060: rm -f conftest.$ac_objext conftest$ac_exeext
10061: if { (ac_try="$ac_link"
10062: case "(($ac_try" in
10063:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10064:   *) ac_try_echo=$ac_try;;
10065: esac
10066: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10067: $as_echo "$ac_try_echo") >&5
10068:   (eval "$ac_link") 2>conftest.er1
10069:   ac_status=$?
10070:   grep -v '^ *+' conftest.er1 >conftest.err
10071:   rm -f conftest.er1
10072:   cat conftest.err >&5
10073:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074:   (exit $ac_status); } && {
10075: 	 test -z "$ac_c_werror_flag" ||
10076: 	 test ! -s conftest.err
10077:        } && test -s conftest$ac_exeext && {
10078: 	 test "$cross_compiling" = yes ||
10079: 	 $as_test_x conftest$ac_exeext
10080:        }; then
10081:   ac_cv_lib_dld_dld_link=yes
10082: else
10083:   $as_echo "$as_me: failed program was:" >&5
10084: sed 's/^/| /' conftest.$ac_ext >&5
10085: 
10086: 	ac_cv_lib_dld_dld_link=no
10087: fi
10088: 
10089: rm -rf conftest.dSYM
10090: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10091:       conftest$ac_exeext conftest.$ac_ext
10092: LIBS=$ac_check_lib_save_LIBS
10093: fi
10094: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10095: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10096: if test $ac_cv_lib_dld_dld_link = yes; then
10097:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10098: fi
10099: 
10100: 
10101: fi
10102: 
10103: 
10104: fi
10105: 
10106: 
10107: fi
10108: 
10109: 
10110: fi
10111: 
10112: 
10113: fi
10114: 
10115:     ;;
10116:   esac
10117: 
10118:   if test "x$lt_cv_dlopen" != xno; then
10119:     enable_dlopen=yes
10120:   else
10121:     enable_dlopen=no
10122:   fi
10123: 
10124:   case $lt_cv_dlopen in
10125:   dlopen)
10126:     save_CPPFLAGS="$CPPFLAGS"
10127:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10128: 
10129:     save_LDFLAGS="$LDFLAGS"
10130:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10131: 
10132:     save_LIBS="$LIBS"
10133:     LIBS="$lt_cv_dlopen_libs $LIBS"
10134: 
10135:     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10136: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10137: if test "${lt_cv_dlopen_self+set}" = set; then
10138:   $as_echo_n "(cached) " >&6
10139: else
10140:   	  if test "$cross_compiling" = yes; then :
10141:   lt_cv_dlopen_self=cross
10142: else
10143:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10144:   lt_status=$lt_dlunknown
10145:   cat > conftest.$ac_ext <<_LT_EOF
10146: #line 10146 "configure"
10147: #include "confdefs.h"
10148: 
10149: #if HAVE_DLFCN_H
10150: #include <dlfcn.h>
10151: #endif
10152: 
10153: #include <stdio.h>
10154: 
10155: #ifdef RTLD_GLOBAL
10156: #  define LT_DLGLOBAL		RTLD_GLOBAL
10157: #else
10158: #  ifdef DL_GLOBAL
10159: #    define LT_DLGLOBAL		DL_GLOBAL
10160: #  else
10161: #    define LT_DLGLOBAL		0
10162: #  endif
10163: #endif
10164: 
10165: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10166:    find out it does not work in some platform. */
10167: #ifndef LT_DLLAZY_OR_NOW
10168: #  ifdef RTLD_LAZY
10169: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10170: #  else
10171: #    ifdef DL_LAZY
10172: #      define LT_DLLAZY_OR_NOW		DL_LAZY
10173: #    else
10174: #      ifdef RTLD_NOW
10175: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
10176: #      else
10177: #        ifdef DL_NOW
10178: #          define LT_DLLAZY_OR_NOW	DL_NOW
10179: #        else
10180: #          define LT_DLLAZY_OR_NOW	0
10181: #        endif
10182: #      endif
10183: #    endif
10184: #  endif
10185: #endif
10186: 
10187: void fnord() { int i=42;}
10188: int main ()
10189: {
10190:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10191:   int status = $lt_dlunknown;
10192: 
10193:   if (self)
10194:     {
10195:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10196:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10197:       /* dlclose (self); */
10198:     }
10199:   else
10200:     puts (dlerror ());
10201: 
10202:   return status;
10203: }
10204: _LT_EOF
10205:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10206:   (eval $ac_link) 2>&5
10207:   ac_status=$?
10208:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10210:     (./conftest; exit; ) >&5 2>/dev/null
10211:     lt_status=$?
10212:     case x$lt_status in
10213:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10214:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10215:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10216:     esac
10217:   else :
10218:     # compilation failed
10219:     lt_cv_dlopen_self=no
10220:   fi
10221: fi
10222: rm -fr conftest*
10223: 
10224: 
10225: fi
10226: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10227: $as_echo "$lt_cv_dlopen_self" >&6; }
10228: 
10229:     if test "x$lt_cv_dlopen_self" = xyes; then
10230:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10231:       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10232: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10233: if test "${lt_cv_dlopen_self_static+set}" = set; then
10234:   $as_echo_n "(cached) " >&6
10235: else
10236:   	  if test "$cross_compiling" = yes; then :
10237:   lt_cv_dlopen_self_static=cross
10238: else
10239:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10240:   lt_status=$lt_dlunknown
10241:   cat > conftest.$ac_ext <<_LT_EOF
10242: #line 10242 "configure"
10243: #include "confdefs.h"
10244: 
10245: #if HAVE_DLFCN_H
10246: #include <dlfcn.h>
10247: #endif
10248: 
10249: #include <stdio.h>
10250: 
10251: #ifdef RTLD_GLOBAL
10252: #  define LT_DLGLOBAL		RTLD_GLOBAL
10253: #else
10254: #  ifdef DL_GLOBAL
10255: #    define LT_DLGLOBAL		DL_GLOBAL
10256: #  else
10257: #    define LT_DLGLOBAL		0
10258: #  endif
10259: #endif
10260: 
10261: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10262:    find out it does not work in some platform. */
10263: #ifndef LT_DLLAZY_OR_NOW
10264: #  ifdef RTLD_LAZY
10265: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10266: #  else
10267: #    ifdef DL_LAZY
10268: #      define LT_DLLAZY_OR_NOW		DL_LAZY
10269: #    else
10270: #      ifdef RTLD_NOW
10271: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
10272: #      else
10273: #        ifdef DL_NOW
10274: #          define LT_DLLAZY_OR_NOW	DL_NOW
10275: #        else
10276: #          define LT_DLLAZY_OR_NOW	0
10277: #        endif
10278: #      endif
10279: #    endif
10280: #  endif
10281: #endif
10282: 
10283: void fnord() { int i=42;}
10284: int main ()
10285: {
10286:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10287:   int status = $lt_dlunknown;
10288: 
10289:   if (self)
10290:     {
10291:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10292:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10293:       /* dlclose (self); */
10294:     }
10295:   else
10296:     puts (dlerror ());
10297: 
10298:   return status;
10299: }
10300: _LT_EOF
10301:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10302:   (eval $ac_link) 2>&5
10303:   ac_status=$?
10304:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10306:     (./conftest; exit; ) >&5 2>/dev/null
10307:     lt_status=$?
10308:     case x$lt_status in
10309:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10310:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10311:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10312:     esac
10313:   else :
10314:     # compilation failed
10315:     lt_cv_dlopen_self_static=no
10316:   fi
10317: fi
10318: rm -fr conftest*
10319: 
10320: 
10321: fi
10322: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10323: $as_echo "$lt_cv_dlopen_self_static" >&6; }
10324:     fi
10325: 
10326:     CPPFLAGS="$save_CPPFLAGS"
10327:     LDFLAGS="$save_LDFLAGS"
10328:     LIBS="$save_LIBS"
10329:     ;;
10330:   esac
10331: 
10332:   case $lt_cv_dlopen_self in
10333:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10334:   *) enable_dlopen_self=unknown ;;
10335:   esac
10336: 
10337:   case $lt_cv_dlopen_self_static in
10338:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10339:   *) enable_dlopen_self_static=unknown ;;
10340:   esac
10341: fi
10342: 
10343: 
10344: 
10345: 
10346: 
10347: 
10348: 
10349: 
10350: 
10351: 
10352: 
10353: 
10354: 
10355: 
10356: 
10357: 
10358: 
10359: striplib=
10360: old_striplib=
10361: { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10362: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10363: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10364:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10365:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10366:   { $as_echo "$as_me:$LINENO: result: yes" >&5
10367: $as_echo "yes" >&6; }
10368: else
10369: # FIXME - insert some real tests, host_os isn't really good enough
10370:   case $host_os in
10371:   darwin*)
10372:     if test -n "$STRIP" ; then
10373:       striplib="$STRIP -x"
10374:       old_striplib="$STRIP -S"
10375:       { $as_echo "$as_me:$LINENO: result: yes" >&5
10376: $as_echo "yes" >&6; }
10377:     else
10378:       { $as_echo "$as_me:$LINENO: result: no" >&5
10379: $as_echo "no" >&6; }
10380:     fi
10381:     ;;
10382:   *)
10383:     { $as_echo "$as_me:$LINENO: result: no" >&5
10384: $as_echo "no" >&6; }
10385:     ;;
10386:   esac
10387: fi
10388: 
10389: 
10390: 
10391: 
10392: 
10393: 
10394: 
10395: 
10396: 
10397: 
10398: 
10399: 
10400:   # Report which library types will actually be built
10401:   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10402: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10403:   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10404: $as_echo "$can_build_shared" >&6; }
10405: 
10406:   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10407: $as_echo_n "checking whether to build shared libraries... " >&6; }
10408:   test "$can_build_shared" = "no" && enable_shared=no
10409: 
10410:   # On AIX, shared libraries and static libraries use the same namespace, and
10411:   # are all built from PIC.
10412:   case $host_os in
10413:   aix3*)
10414:     test "$enable_shared" = yes && enable_static=no
10415:     if test -n "$RANLIB"; then
10416:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10417:       postinstall_cmds='$RANLIB $lib'
10418:     fi
10419:     ;;
10420: 
10421:   aix[4-9]*)
10422:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10423:       test "$enable_shared" = yes && enable_static=no
10424:     fi
10425:     ;;
10426:   esac
10427:   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10428: $as_echo "$enable_shared" >&6; }
10429: 
10430:   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10431: $as_echo_n "checking whether to build static libraries... " >&6; }
10432:   # Make sure either enable_shared or enable_static is yes.
10433:   test "$enable_shared" = yes || enable_static=yes
10434:   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10435: $as_echo "$enable_static" >&6; }
10436: 
10437: 
10438: 
10439: 
10440: fi
10441: ac_ext=c
10442: ac_cpp='$CPP $CPPFLAGS'
10443: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10444: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10445: ac_compiler_gnu=$ac_cv_c_compiler_gnu
10446: 
10447: CC="$lt_save_CC"
10448: 
10449: 
10450: 
10451: 
10452: 
10453: 
10454: 
10455: 
10456: 
10457: 
10458: 
10459: 
10460: 
10461:         ac_config_commands="$ac_config_commands libtool"
10462: 
10463: 
10464: 
10465: 
10466: # Only expand once:
10467: 
10468: 
10469: # Find a good install program.  We prefer a C program (faster),
10470: # so one script is as good as another.  But avoid the broken or
10471: # incompatible versions:
10472: # SysV /etc/install, /usr/sbin/install
10473: # SunOS /usr/etc/install
10474: # IRIX /sbin/install
10475: # AIX /bin/install
10476: # AmigaOS /C/install, which installs bootblocks on floppy discs
10477: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10478: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10479: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10480: # OS/2's system install, which has a completely different semantic
10481: # ./install, which can be erroneously created by make from ./install.sh.
10482: # Reject install programs that cannot install multiple files.
10483: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10484: $as_echo_n "checking for a BSD-compatible install... " >&6; }
10485: if test -z "$INSTALL"; then
10486: if test "${ac_cv_path_install+set}" = set; then
10487:   $as_echo_n "(cached) " >&6
10488: else
10489:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490: for as_dir in $PATH
10491: do
10492:   IFS=$as_save_IFS
10493:   test -z "$as_dir" && as_dir=.
10494:   # Account for people who put trailing slashes in PATH elements.
10495: case $as_dir/ in
10496:   ./ | .// | /cC/* | \
10497:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10498:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10499:   /usr/ucb/* ) ;;
10500:   *)
10501:     # OSF1 and SCO ODT 3.0 have their own names for install.
10502:     # Don't use installbsd from OSF since it installs stuff as root
10503:     # by default.
10504:     for ac_prog in ginstall scoinst install; do
10505:       for ac_exec_ext in '' $ac_executable_extensions; do
10506: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10507: 	  if test $ac_prog = install &&
10508: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10509: 	    # AIX install.  It has an incompatible calling convention.
10510: 	    :
10511: 	  elif test $ac_prog = install &&
10512: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10513: 	    # program-specific install script used by HP pwplus--don't use.
10514: 	    :
10515: 	  else
10516: 	    rm -rf conftest.one conftest.two conftest.dir
10517: 	    echo one > conftest.one
10518: 	    echo two > conftest.two
10519: 	    mkdir conftest.dir
10520: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
10521: 	      test -s conftest.one && test -s conftest.two &&
10522: 	      test -s conftest.dir/conftest.one &&
10523: 	      test -s conftest.dir/conftest.two
10524: 	    then
10525: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10526: 	      break 3
10527: 	    fi
10528: 	  fi
10529: 	fi
10530:       done
10531:     done
10532:     ;;
10533: esac
10534: 
10535: done
10536: IFS=$as_save_IFS
10537: 
10538: rm -rf conftest.one conftest.two conftest.dir
10539: 
10540: fi
10541:   if test "${ac_cv_path_install+set}" = set; then
10542:     INSTALL=$ac_cv_path_install
10543:   else
10544:     # As a last resort, use the slow shell script.  Don't cache a
10545:     # value for INSTALL within a source directory, because that will
10546:     # break other packages using the cache if that directory is
10547:     # removed, or if the value is a relative name.
10548:     INSTALL=$ac_install_sh
10549:   fi
10550: fi
10551: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
10552: $as_echo "$INSTALL" >&6; }
10553: 
10554: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10555: # It thinks the first close brace ends the variable substitution.
10556: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10557: 
10558: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10559: 
10560: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10561: 
10562: for ac_prog in gawk mawk nawk awk
10563: do
10564:   # Extract the first word of "$ac_prog", so it can be a program name with args.
10565: set dummy $ac_prog; ac_word=$2
10566: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10567: $as_echo_n "checking for $ac_word... " >&6; }
10568: if test "${ac_cv_prog_AWK+set}" = set; then
10569:   $as_echo_n "(cached) " >&6
10570: else
10571:   if test -n "$AWK"; then
10572:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
10573: else
10574: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575: for as_dir in $PATH
10576: do
10577:   IFS=$as_save_IFS
10578:   test -z "$as_dir" && as_dir=.
10579:   for ac_exec_ext in '' $ac_executable_extensions; do
10580:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581:     ac_cv_prog_AWK="$ac_prog"
10582:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10583:     break 2
10584:   fi
10585: done
10586: done
10587: IFS=$as_save_IFS
10588: 
10589: fi
10590: fi
10591: AWK=$ac_cv_prog_AWK
10592: if test -n "$AWK"; then
10593:   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
10594: $as_echo "$AWK" >&6; }
10595: else
10596:   { $as_echo "$as_me:$LINENO: result: no" >&5
10597: $as_echo "no" >&6; }
10598: fi
10599: 
10600: 
10601:   test -n "$AWK" && break
10602: done
10603: 
10604: 
10605: #########
10606: # Enable large file support (if special flags are necessary)
10607: #
10608: # Check whether --enable-largefile was given.
10609: if test "${enable_largefile+set}" = set; then
10610:   enableval=$enable_largefile;
10611: fi
10612: 
10613: if test "$enable_largefile" != no; then
10614: 
10615:   { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
10616: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
10617: if test "${ac_cv_sys_largefile_CC+set}" = set; then
10618:   $as_echo_n "(cached) " >&6
10619: else
10620:   ac_cv_sys_largefile_CC=no
10621:      if test "$GCC" != yes; then
10622:        ac_save_CC=$CC
10623:        while :; do
10624: 	 # IRIX 6.2 and later do not support large files by default,
10625: 	 # so use the C compiler's -n32 option if that helps.
10626: 	 cat >conftest.$ac_ext <<_ACEOF
10627: /* confdefs.h.  */
10628: _ACEOF
10629: cat confdefs.h >>conftest.$ac_ext
10630: cat >>conftest.$ac_ext <<_ACEOF
10631: /* end confdefs.h.  */
10632: #include <sys/types.h>
10633:  /* Check that off_t can represent 2**63 - 1 correctly.
10634:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
10635:     since some C++ compilers masquerading as C compilers
10636:     incorrectly reject 9223372036854775807.  */
10637: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10638:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10639: 		       && LARGE_OFF_T % 2147483647 == 1)
10640: 		      ? 1 : -1];
10641: int
10642: main ()
10643: {
10644: 
10645:   ;
10646:   return 0;
10647: }
10648: _ACEOF
10649: 	 rm -f conftest.$ac_objext
10650: if { (ac_try="$ac_compile"
10651: case "(($ac_try" in
10652:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10653:   *) ac_try_echo=$ac_try;;
10654: esac
10655: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10656: $as_echo "$ac_try_echo") >&5
10657:   (eval "$ac_compile") 2>conftest.er1
10658:   ac_status=$?
10659:   grep -v '^ *+' conftest.er1 >conftest.err
10660:   rm -f conftest.er1
10661:   cat conftest.err >&5
10662:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663:   (exit $ac_status); } && {
10664: 	 test -z "$ac_c_werror_flag" ||
10665: 	 test ! -s conftest.err
10666:        } && test -s conftest.$ac_objext; then
10667:   break
10668: else
10669:   $as_echo "$as_me: failed program was:" >&5
10670: sed 's/^/| /' conftest.$ac_ext >&5
10671: 
10672: 
10673: fi
10674: 
10675: rm -f core conftest.err conftest.$ac_objext
10676: 	 CC="$CC -n32"
10677: 	 rm -f conftest.$ac_objext
10678: if { (ac_try="$ac_compile"
10679: case "(($ac_try" in
10680:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10681:   *) ac_try_echo=$ac_try;;
10682: esac
10683: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10684: $as_echo "$ac_try_echo") >&5
10685:   (eval "$ac_compile") 2>conftest.er1
10686:   ac_status=$?
10687:   grep -v '^ *+' conftest.er1 >conftest.err
10688:   rm -f conftest.er1
10689:   cat conftest.err >&5
10690:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691:   (exit $ac_status); } && {
10692: 	 test -z "$ac_c_werror_flag" ||
10693: 	 test ! -s conftest.err
10694:        } && test -s conftest.$ac_objext; then
10695:   ac_cv_sys_largefile_CC=' -n32'; break
10696: else
10697:   $as_echo "$as_me: failed program was:" >&5
10698: sed 's/^/| /' conftest.$ac_ext >&5
10699: 
10700: 
10701: fi
10702: 
10703: rm -f core conftest.err conftest.$ac_objext
10704: 	 break
10705:        done
10706:        CC=$ac_save_CC
10707:        rm -f conftest.$ac_ext
10708:     fi
10709: fi
10710: { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
10711: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10712:   if test "$ac_cv_sys_largefile_CC" != no; then
10713:     CC=$CC$ac_cv_sys_largefile_CC
10714:   fi
10715: 
10716:   { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10717: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10718: if test "${ac_cv_sys_file_offset_bits+set}" = set; then
10719:   $as_echo_n "(cached) " >&6
10720: else
10721:   while :; do
10722:   cat >conftest.$ac_ext <<_ACEOF
10723: /* confdefs.h.  */
10724: _ACEOF
10725: cat confdefs.h >>conftest.$ac_ext
10726: cat >>conftest.$ac_ext <<_ACEOF
10727: /* end confdefs.h.  */
10728: #include <sys/types.h>
10729:  /* Check that off_t can represent 2**63 - 1 correctly.
10730:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
10731:     since some C++ compilers masquerading as C compilers
10732:     incorrectly reject 9223372036854775807.  */
10733: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10734:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10735: 		       && LARGE_OFF_T % 2147483647 == 1)
10736: 		      ? 1 : -1];
10737: int
10738: main ()
10739: {
10740: 
10741:   ;
10742:   return 0;
10743: }
10744: _ACEOF
10745: rm -f conftest.$ac_objext
10746: if { (ac_try="$ac_compile"
10747: case "(($ac_try" in
10748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749:   *) ac_try_echo=$ac_try;;
10750: esac
10751: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10752: $as_echo "$ac_try_echo") >&5
10753:   (eval "$ac_compile") 2>conftest.er1
10754:   ac_status=$?
10755:   grep -v '^ *+' conftest.er1 >conftest.err
10756:   rm -f conftest.er1
10757:   cat conftest.err >&5
10758:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759:   (exit $ac_status); } && {
10760: 	 test -z "$ac_c_werror_flag" ||
10761: 	 test ! -s conftest.err
10762:        } && test -s conftest.$ac_objext; then
10763:   ac_cv_sys_file_offset_bits=no; break
10764: else
10765:   $as_echo "$as_me: failed program was:" >&5
10766: sed 's/^/| /' conftest.$ac_ext >&5
10767: 
10768: 
10769: fi
10770: 
10771: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10772:   cat >conftest.$ac_ext <<_ACEOF
10773: /* confdefs.h.  */
10774: _ACEOF
10775: cat confdefs.h >>conftest.$ac_ext
10776: cat >>conftest.$ac_ext <<_ACEOF
10777: /* end confdefs.h.  */
10778: #define _FILE_OFFSET_BITS 64
10779: #include <sys/types.h>
10780:  /* Check that off_t can represent 2**63 - 1 correctly.
10781:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
10782:     since some C++ compilers masquerading as C compilers
10783:     incorrectly reject 9223372036854775807.  */
10784: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10785:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10786: 		       && LARGE_OFF_T % 2147483647 == 1)
10787: 		      ? 1 : -1];
10788: int
10789: main ()
10790: {
10791: 
10792:   ;
10793:   return 0;
10794: }
10795: _ACEOF
10796: rm -f conftest.$ac_objext
10797: if { (ac_try="$ac_compile"
10798: case "(($ac_try" in
10799:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800:   *) ac_try_echo=$ac_try;;
10801: esac
10802: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10803: $as_echo "$ac_try_echo") >&5
10804:   (eval "$ac_compile") 2>conftest.er1
10805:   ac_status=$?
10806:   grep -v '^ *+' conftest.er1 >conftest.err
10807:   rm -f conftest.er1
10808:   cat conftest.err >&5
10809:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810:   (exit $ac_status); } && {
10811: 	 test -z "$ac_c_werror_flag" ||
10812: 	 test ! -s conftest.err
10813:        } && test -s conftest.$ac_objext; then
10814:   ac_cv_sys_file_offset_bits=64; break
10815: else
10816:   $as_echo "$as_me: failed program was:" >&5
10817: sed 's/^/| /' conftest.$ac_ext >&5
10818: 
10819: 
10820: fi
10821: 
10822: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10823:   ac_cv_sys_file_offset_bits=unknown
10824:   break
10825: done
10826: fi
10827: { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
10828: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10829: case $ac_cv_sys_file_offset_bits in #(
10830:   no | unknown) ;;
10831:   *)
10832: cat >>confdefs.h <<_ACEOF
10833: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10834: _ACEOF
10835: ;;
10836: esac
10837: rm -rf conftest*
10838:   if test $ac_cv_sys_file_offset_bits = unknown; then
10839:     { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
10840: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10841: if test "${ac_cv_sys_large_files+set}" = set; then
10842:   $as_echo_n "(cached) " >&6
10843: else
10844:   while :; do
10845:   cat >conftest.$ac_ext <<_ACEOF
10846: /* confdefs.h.  */
10847: _ACEOF
10848: cat confdefs.h >>conftest.$ac_ext
10849: cat >>conftest.$ac_ext <<_ACEOF
10850: /* end confdefs.h.  */
10851: #include <sys/types.h>
10852:  /* Check that off_t can represent 2**63 - 1 correctly.
10853:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
10854:     since some C++ compilers masquerading as C compilers
10855:     incorrectly reject 9223372036854775807.  */
10856: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10857:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10858: 		       && LARGE_OFF_T % 2147483647 == 1)
10859: 		      ? 1 : -1];
10860: int
10861: main ()
10862: {
10863: 
10864:   ;
10865:   return 0;
10866: }
10867: _ACEOF
10868: rm -f conftest.$ac_objext
10869: if { (ac_try="$ac_compile"
10870: case "(($ac_try" in
10871:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10872:   *) ac_try_echo=$ac_try;;
10873: esac
10874: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10875: $as_echo "$ac_try_echo") >&5
10876:   (eval "$ac_compile") 2>conftest.er1
10877:   ac_status=$?
10878:   grep -v '^ *+' conftest.er1 >conftest.err
10879:   rm -f conftest.er1
10880:   cat conftest.err >&5
10881:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882:   (exit $ac_status); } && {
10883: 	 test -z "$ac_c_werror_flag" ||
10884: 	 test ! -s conftest.err
10885:        } && test -s conftest.$ac_objext; then
10886:   ac_cv_sys_large_files=no; break
10887: else
10888:   $as_echo "$as_me: failed program was:" >&5
10889: sed 's/^/| /' conftest.$ac_ext >&5
10890: 
10891: 
10892: fi
10893: 
10894: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10895:   cat >conftest.$ac_ext <<_ACEOF
10896: /* confdefs.h.  */
10897: _ACEOF
10898: cat confdefs.h >>conftest.$ac_ext
10899: cat >>conftest.$ac_ext <<_ACEOF
10900: /* end confdefs.h.  */
10901: #define _LARGE_FILES 1
10902: #include <sys/types.h>
10903:  /* Check that off_t can represent 2**63 - 1 correctly.
10904:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
10905:     since some C++ compilers masquerading as C compilers
10906:     incorrectly reject 9223372036854775807.  */
10907: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10908:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10909: 		       && LARGE_OFF_T % 2147483647 == 1)
10910: 		      ? 1 : -1];
10911: int
10912: main ()
10913: {
10914: 
10915:   ;
10916:   return 0;
10917: }
10918: _ACEOF
10919: rm -f conftest.$ac_objext
10920: if { (ac_try="$ac_compile"
10921: case "(($ac_try" in
10922:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10923:   *) ac_try_echo=$ac_try;;
10924: esac
10925: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10926: $as_echo "$ac_try_echo") >&5
10927:   (eval "$ac_compile") 2>conftest.er1
10928:   ac_status=$?
10929:   grep -v '^ *+' conftest.er1 >conftest.err
10930:   rm -f conftest.er1
10931:   cat conftest.err >&5
10932:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933:   (exit $ac_status); } && {
10934: 	 test -z "$ac_c_werror_flag" ||
10935: 	 test ! -s conftest.err
10936:        } && test -s conftest.$ac_objext; then
10937:   ac_cv_sys_large_files=1; break
10938: else
10939:   $as_echo "$as_me: failed program was:" >&5
10940: sed 's/^/| /' conftest.$ac_ext >&5
10941: 
10942: 
10943: fi
10944: 
10945: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10946:   ac_cv_sys_large_files=unknown
10947:   break
10948: done
10949: fi
10950: { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
10951: $as_echo "$ac_cv_sys_large_files" >&6; }
10952: case $ac_cv_sys_large_files in #(
10953:   no | unknown) ;;
10954:   *)
10955: cat >>confdefs.h <<_ACEOF
10956: #define _LARGE_FILES $ac_cv_sys_large_files
10957: _ACEOF
10958: ;;
10959: esac
10960: rm -rf conftest*
10961:   fi
10962: fi
10963: 
10964: 
10965: #########
10966: # Check for needed/wanted data types
10967: { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
10968: $as_echo_n "checking for int8_t... " >&6; }
10969: if test "${ac_cv_type_int8_t+set}" = set; then
10970:   $as_echo_n "(cached) " >&6
10971: else
10972:   ac_cv_type_int8_t=no
10973: cat >conftest.$ac_ext <<_ACEOF
10974: /* confdefs.h.  */
10975: _ACEOF
10976: cat confdefs.h >>conftest.$ac_ext
10977: cat >>conftest.$ac_ext <<_ACEOF
10978: /* end confdefs.h.  */
10979: $ac_includes_default
10980: int
10981: main ()
10982: {
10983: if (sizeof (int8_t))
10984:        return 0;
10985:   ;
10986:   return 0;
10987: }
10988: _ACEOF
10989: rm -f conftest.$ac_objext
10990: if { (ac_try="$ac_compile"
10991: case "(($ac_try" in
10992:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10993:   *) ac_try_echo=$ac_try;;
10994: esac
10995: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10996: $as_echo "$ac_try_echo") >&5
10997:   (eval "$ac_compile") 2>conftest.er1
10998:   ac_status=$?
10999:   grep -v '^ *+' conftest.er1 >conftest.err
11000:   rm -f conftest.er1
11001:   cat conftest.err >&5
11002:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003:   (exit $ac_status); } && {
11004: 	 test -z "$ac_c_werror_flag" ||
11005: 	 test ! -s conftest.err
11006:        } && test -s conftest.$ac_objext; then
11007:   cat >conftest.$ac_ext <<_ACEOF
11008: /* confdefs.h.  */
11009: _ACEOF
11010: cat confdefs.h >>conftest.$ac_ext
11011: cat >>conftest.$ac_ext <<_ACEOF
11012: /* end confdefs.h.  */
11013: $ac_includes_default
11014: int
11015: main ()
11016: {
11017: if (sizeof ((int8_t)))
11018: 	  return 0;
11019:   ;
11020:   return 0;
11021: }
11022: _ACEOF
11023: rm -f conftest.$ac_objext
11024: if { (ac_try="$ac_compile"
11025: case "(($ac_try" in
11026:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11027:   *) ac_try_echo=$ac_try;;
11028: esac
11029: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11030: $as_echo "$ac_try_echo") >&5
11031:   (eval "$ac_compile") 2>conftest.er1
11032:   ac_status=$?
11033:   grep -v '^ *+' conftest.er1 >conftest.err
11034:   rm -f conftest.er1
11035:   cat conftest.err >&5
11036:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037:   (exit $ac_status); } && {
11038: 	 test -z "$ac_c_werror_flag" ||
11039: 	 test ! -s conftest.err
11040:        } && test -s conftest.$ac_objext; then
11041:   :
11042: else
11043:   $as_echo "$as_me: failed program was:" >&5
11044: sed 's/^/| /' conftest.$ac_ext >&5
11045: 
11046: 	ac_cv_type_int8_t=yes
11047: fi
11048: 
11049: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11050: else
11051:   $as_echo "$as_me: failed program was:" >&5
11052: sed 's/^/| /' conftest.$ac_ext >&5
11053: 
11054: 
11055: fi
11056: 
11057: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11058: fi
11059: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11060: $as_echo "$ac_cv_type_int8_t" >&6; }
11061: if test $ac_cv_type_int8_t = yes; then
11062: 
11063: cat >>confdefs.h <<_ACEOF
11064: #define HAVE_INT8_T 1
11065: _ACEOF
11066: 
11067: 
11068: fi
11069: { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
11070: $as_echo_n "checking for int16_t... " >&6; }
11071: if test "${ac_cv_type_int16_t+set}" = set; then
11072:   $as_echo_n "(cached) " >&6
11073: else
11074:   ac_cv_type_int16_t=no
11075: cat >conftest.$ac_ext <<_ACEOF
11076: /* confdefs.h.  */
11077: _ACEOF
11078: cat confdefs.h >>conftest.$ac_ext
11079: cat >>conftest.$ac_ext <<_ACEOF
11080: /* end confdefs.h.  */
11081: $ac_includes_default
11082: int
11083: main ()
11084: {
11085: if (sizeof (int16_t))
11086:        return 0;
11087:   ;
11088:   return 0;
11089: }
11090: _ACEOF
11091: rm -f conftest.$ac_objext
11092: if { (ac_try="$ac_compile"
11093: case "(($ac_try" in
11094:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11095:   *) ac_try_echo=$ac_try;;
11096: esac
11097: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11098: $as_echo "$ac_try_echo") >&5
11099:   (eval "$ac_compile") 2>conftest.er1
11100:   ac_status=$?
11101:   grep -v '^ *+' conftest.er1 >conftest.err
11102:   rm -f conftest.er1
11103:   cat conftest.err >&5
11104:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105:   (exit $ac_status); } && {
11106: 	 test -z "$ac_c_werror_flag" ||
11107: 	 test ! -s conftest.err
11108:        } && test -s conftest.$ac_objext; then
11109:   cat >conftest.$ac_ext <<_ACEOF
11110: /* confdefs.h.  */
11111: _ACEOF
11112: cat confdefs.h >>conftest.$ac_ext
11113: cat >>conftest.$ac_ext <<_ACEOF
11114: /* end confdefs.h.  */
11115: $ac_includes_default
11116: int
11117: main ()
11118: {
11119: if (sizeof ((int16_t)))
11120: 	  return 0;
11121:   ;
11122:   return 0;
11123: }
11124: _ACEOF
11125: rm -f conftest.$ac_objext
11126: if { (ac_try="$ac_compile"
11127: case "(($ac_try" in
11128:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11129:   *) ac_try_echo=$ac_try;;
11130: esac
11131: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11132: $as_echo "$ac_try_echo") >&5
11133:   (eval "$ac_compile") 2>conftest.er1
11134:   ac_status=$?
11135:   grep -v '^ *+' conftest.er1 >conftest.err
11136:   rm -f conftest.er1
11137:   cat conftest.err >&5
11138:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139:   (exit $ac_status); } && {
11140: 	 test -z "$ac_c_werror_flag" ||
11141: 	 test ! -s conftest.err
11142:        } && test -s conftest.$ac_objext; then
11143:   :
11144: else
11145:   $as_echo "$as_me: failed program was:" >&5
11146: sed 's/^/| /' conftest.$ac_ext >&5
11147: 
11148: 	ac_cv_type_int16_t=yes
11149: fi
11150: 
11151: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11152: else
11153:   $as_echo "$as_me: failed program was:" >&5
11154: sed 's/^/| /' conftest.$ac_ext >&5
11155: 
11156: 
11157: fi
11158: 
11159: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11160: fi
11161: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11162: $as_echo "$ac_cv_type_int16_t" >&6; }
11163: if test $ac_cv_type_int16_t = yes; then
11164: 
11165: cat >>confdefs.h <<_ACEOF
11166: #define HAVE_INT16_T 1
11167: _ACEOF
11168: 
11169: 
11170: fi
11171: { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
11172: $as_echo_n "checking for int32_t... " >&6; }
11173: if test "${ac_cv_type_int32_t+set}" = set; then
11174:   $as_echo_n "(cached) " >&6
11175: else
11176:   ac_cv_type_int32_t=no
11177: cat >conftest.$ac_ext <<_ACEOF
11178: /* confdefs.h.  */
11179: _ACEOF
11180: cat confdefs.h >>conftest.$ac_ext
11181: cat >>conftest.$ac_ext <<_ACEOF
11182: /* end confdefs.h.  */
11183: $ac_includes_default
11184: int
11185: main ()
11186: {
11187: if (sizeof (int32_t))
11188:        return 0;
11189:   ;
11190:   return 0;
11191: }
11192: _ACEOF
11193: rm -f conftest.$ac_objext
11194: if { (ac_try="$ac_compile"
11195: case "(($ac_try" in
11196:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11197:   *) ac_try_echo=$ac_try;;
11198: esac
11199: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11200: $as_echo "$ac_try_echo") >&5
11201:   (eval "$ac_compile") 2>conftest.er1
11202:   ac_status=$?
11203:   grep -v '^ *+' conftest.er1 >conftest.err
11204:   rm -f conftest.er1
11205:   cat conftest.err >&5
11206:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207:   (exit $ac_status); } && {
11208: 	 test -z "$ac_c_werror_flag" ||
11209: 	 test ! -s conftest.err
11210:        } && test -s conftest.$ac_objext; then
11211:   cat >conftest.$ac_ext <<_ACEOF
11212: /* confdefs.h.  */
11213: _ACEOF
11214: cat confdefs.h >>conftest.$ac_ext
11215: cat >>conftest.$ac_ext <<_ACEOF
11216: /* end confdefs.h.  */
11217: $ac_includes_default
11218: int
11219: main ()
11220: {
11221: if (sizeof ((int32_t)))
11222: 	  return 0;
11223:   ;
11224:   return 0;
11225: }
11226: _ACEOF
11227: rm -f conftest.$ac_objext
11228: if { (ac_try="$ac_compile"
11229: case "(($ac_try" in
11230:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11231:   *) ac_try_echo=$ac_try;;
11232: esac
11233: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11234: $as_echo "$ac_try_echo") >&5
11235:   (eval "$ac_compile") 2>conftest.er1
11236:   ac_status=$?
11237:   grep -v '^ *+' conftest.er1 >conftest.err
11238:   rm -f conftest.er1
11239:   cat conftest.err >&5
11240:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241:   (exit $ac_status); } && {
11242: 	 test -z "$ac_c_werror_flag" ||
11243: 	 test ! -s conftest.err
11244:        } && test -s conftest.$ac_objext; then
11245:   :
11246: else
11247:   $as_echo "$as_me: failed program was:" >&5
11248: sed 's/^/| /' conftest.$ac_ext >&5
11249: 
11250: 	ac_cv_type_int32_t=yes
11251: fi
11252: 
11253: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11254: else
11255:   $as_echo "$as_me: failed program was:" >&5
11256: sed 's/^/| /' conftest.$ac_ext >&5
11257: 
11258: 
11259: fi
11260: 
11261: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11262: fi
11263: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11264: $as_echo "$ac_cv_type_int32_t" >&6; }
11265: if test $ac_cv_type_int32_t = yes; then
11266: 
11267: cat >>confdefs.h <<_ACEOF
11268: #define HAVE_INT32_T 1
11269: _ACEOF
11270: 
11271: 
11272: fi
11273: { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
11274: $as_echo_n "checking for int64_t... " >&6; }
11275: if test "${ac_cv_type_int64_t+set}" = set; then
11276:   $as_echo_n "(cached) " >&6
11277: else
11278:   ac_cv_type_int64_t=no
11279: cat >conftest.$ac_ext <<_ACEOF
11280: /* confdefs.h.  */
11281: _ACEOF
11282: cat confdefs.h >>conftest.$ac_ext
11283: cat >>conftest.$ac_ext <<_ACEOF
11284: /* end confdefs.h.  */
11285: $ac_includes_default
11286: int
11287: main ()
11288: {
11289: if (sizeof (int64_t))
11290:        return 0;
11291:   ;
11292:   return 0;
11293: }
11294: _ACEOF
11295: rm -f conftest.$ac_objext
11296: if { (ac_try="$ac_compile"
11297: case "(($ac_try" in
11298:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11299:   *) ac_try_echo=$ac_try;;
11300: esac
11301: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11302: $as_echo "$ac_try_echo") >&5
11303:   (eval "$ac_compile") 2>conftest.er1
11304:   ac_status=$?
11305:   grep -v '^ *+' conftest.er1 >conftest.err
11306:   rm -f conftest.er1
11307:   cat conftest.err >&5
11308:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309:   (exit $ac_status); } && {
11310: 	 test -z "$ac_c_werror_flag" ||
11311: 	 test ! -s conftest.err
11312:        } && test -s conftest.$ac_objext; then
11313:   cat >conftest.$ac_ext <<_ACEOF
11314: /* confdefs.h.  */
11315: _ACEOF
11316: cat confdefs.h >>conftest.$ac_ext
11317: cat >>conftest.$ac_ext <<_ACEOF
11318: /* end confdefs.h.  */
11319: $ac_includes_default
11320: int
11321: main ()
11322: {
11323: if (sizeof ((int64_t)))
11324: 	  return 0;
11325:   ;
11326:   return 0;
11327: }
11328: _ACEOF
11329: rm -f conftest.$ac_objext
11330: if { (ac_try="$ac_compile"
11331: case "(($ac_try" in
11332:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11333:   *) ac_try_echo=$ac_try;;
11334: esac
11335: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11336: $as_echo "$ac_try_echo") >&5
11337:   (eval "$ac_compile") 2>conftest.er1
11338:   ac_status=$?
11339:   grep -v '^ *+' conftest.er1 >conftest.err
11340:   rm -f conftest.er1
11341:   cat conftest.err >&5
11342:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343:   (exit $ac_status); } && {
11344: 	 test -z "$ac_c_werror_flag" ||
11345: 	 test ! -s conftest.err
11346:        } && test -s conftest.$ac_objext; then
11347:   :
11348: else
11349:   $as_echo "$as_me: failed program was:" >&5
11350: sed 's/^/| /' conftest.$ac_ext >&5
11351: 
11352: 	ac_cv_type_int64_t=yes
11353: fi
11354: 
11355: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11356: else
11357:   $as_echo "$as_me: failed program was:" >&5
11358: sed 's/^/| /' conftest.$ac_ext >&5
11359: 
11360: 
11361: fi
11362: 
11363: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11364: fi
11365: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
11366: $as_echo "$ac_cv_type_int64_t" >&6; }
11367: if test $ac_cv_type_int64_t = yes; then
11368: 
11369: cat >>confdefs.h <<_ACEOF
11370: #define HAVE_INT64_T 1
11371: _ACEOF
11372: 
11373: 
11374: fi
11375: { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
11376: $as_echo_n "checking for intptr_t... " >&6; }
11377: if test "${ac_cv_type_intptr_t+set}" = set; then
11378:   $as_echo_n "(cached) " >&6
11379: else
11380:   ac_cv_type_intptr_t=no
11381: cat >conftest.$ac_ext <<_ACEOF
11382: /* confdefs.h.  */
11383: _ACEOF
11384: cat confdefs.h >>conftest.$ac_ext
11385: cat >>conftest.$ac_ext <<_ACEOF
11386: /* end confdefs.h.  */
11387: $ac_includes_default
11388: int
11389: main ()
11390: {
11391: if (sizeof (intptr_t))
11392:        return 0;
11393:   ;
11394:   return 0;
11395: }
11396: _ACEOF
11397: rm -f conftest.$ac_objext
11398: if { (ac_try="$ac_compile"
11399: case "(($ac_try" in
11400:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11401:   *) ac_try_echo=$ac_try;;
11402: esac
11403: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11404: $as_echo "$ac_try_echo") >&5
11405:   (eval "$ac_compile") 2>conftest.er1
11406:   ac_status=$?
11407:   grep -v '^ *+' conftest.er1 >conftest.err
11408:   rm -f conftest.er1
11409:   cat conftest.err >&5
11410:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411:   (exit $ac_status); } && {
11412: 	 test -z "$ac_c_werror_flag" ||
11413: 	 test ! -s conftest.err
11414:        } && test -s conftest.$ac_objext; then
11415:   cat >conftest.$ac_ext <<_ACEOF
11416: /* confdefs.h.  */
11417: _ACEOF
11418: cat confdefs.h >>conftest.$ac_ext
11419: cat >>conftest.$ac_ext <<_ACEOF
11420: /* end confdefs.h.  */
11421: $ac_includes_default
11422: int
11423: main ()
11424: {
11425: if (sizeof ((intptr_t)))
11426: 	  return 0;
11427:   ;
11428:   return 0;
11429: }
11430: _ACEOF
11431: rm -f conftest.$ac_objext
11432: if { (ac_try="$ac_compile"
11433: case "(($ac_try" in
11434:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11435:   *) ac_try_echo=$ac_try;;
11436: esac
11437: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11438: $as_echo "$ac_try_echo") >&5
11439:   (eval "$ac_compile") 2>conftest.er1
11440:   ac_status=$?
11441:   grep -v '^ *+' conftest.er1 >conftest.err
11442:   rm -f conftest.er1
11443:   cat conftest.err >&5
11444:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445:   (exit $ac_status); } && {
11446: 	 test -z "$ac_c_werror_flag" ||
11447: 	 test ! -s conftest.err
11448:        } && test -s conftest.$ac_objext; then
11449:   :
11450: else
11451:   $as_echo "$as_me: failed program was:" >&5
11452: sed 's/^/| /' conftest.$ac_ext >&5
11453: 
11454: 	ac_cv_type_intptr_t=yes
11455: fi
11456: 
11457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11458: else
11459:   $as_echo "$as_me: failed program was:" >&5
11460: sed 's/^/| /' conftest.$ac_ext >&5
11461: 
11462: 
11463: fi
11464: 
11465: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11466: fi
11467: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
11468: $as_echo "$ac_cv_type_intptr_t" >&6; }
11469: if test $ac_cv_type_intptr_t = yes; then
11470: 
11471: cat >>confdefs.h <<_ACEOF
11472: #define HAVE_INTPTR_T 1
11473: _ACEOF
11474: 
11475: 
11476: fi
11477: { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
11478: $as_echo_n "checking for uint8_t... " >&6; }
11479: if test "${ac_cv_type_uint8_t+set}" = set; then
11480:   $as_echo_n "(cached) " >&6
11481: else
11482:   ac_cv_type_uint8_t=no
11483: cat >conftest.$ac_ext <<_ACEOF
11484: /* confdefs.h.  */
11485: _ACEOF
11486: cat confdefs.h >>conftest.$ac_ext
11487: cat >>conftest.$ac_ext <<_ACEOF
11488: /* end confdefs.h.  */
11489: $ac_includes_default
11490: int
11491: main ()
11492: {
11493: if (sizeof (uint8_t))
11494:        return 0;
11495:   ;
11496:   return 0;
11497: }
11498: _ACEOF
11499: rm -f conftest.$ac_objext
11500: if { (ac_try="$ac_compile"
11501: case "(($ac_try" in
11502:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11503:   *) ac_try_echo=$ac_try;;
11504: esac
11505: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11506: $as_echo "$ac_try_echo") >&5
11507:   (eval "$ac_compile") 2>conftest.er1
11508:   ac_status=$?
11509:   grep -v '^ *+' conftest.er1 >conftest.err
11510:   rm -f conftest.er1
11511:   cat conftest.err >&5
11512:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513:   (exit $ac_status); } && {
11514: 	 test -z "$ac_c_werror_flag" ||
11515: 	 test ! -s conftest.err
11516:        } && test -s conftest.$ac_objext; then
11517:   cat >conftest.$ac_ext <<_ACEOF
11518: /* confdefs.h.  */
11519: _ACEOF
11520: cat confdefs.h >>conftest.$ac_ext
11521: cat >>conftest.$ac_ext <<_ACEOF
11522: /* end confdefs.h.  */
11523: $ac_includes_default
11524: int
11525: main ()
11526: {
11527: if (sizeof ((uint8_t)))
11528: 	  return 0;
11529:   ;
11530:   return 0;
11531: }
11532: _ACEOF
11533: rm -f conftest.$ac_objext
11534: if { (ac_try="$ac_compile"
11535: case "(($ac_try" in
11536:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11537:   *) ac_try_echo=$ac_try;;
11538: esac
11539: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11540: $as_echo "$ac_try_echo") >&5
11541:   (eval "$ac_compile") 2>conftest.er1
11542:   ac_status=$?
11543:   grep -v '^ *+' conftest.er1 >conftest.err
11544:   rm -f conftest.er1
11545:   cat conftest.err >&5
11546:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547:   (exit $ac_status); } && {
11548: 	 test -z "$ac_c_werror_flag" ||
11549: 	 test ! -s conftest.err
11550:        } && test -s conftest.$ac_objext; then
11551:   :
11552: else
11553:   $as_echo "$as_me: failed program was:" >&5
11554: sed 's/^/| /' conftest.$ac_ext >&5
11555: 
11556: 	ac_cv_type_uint8_t=yes
11557: fi
11558: 
11559: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11560: else
11561:   $as_echo "$as_me: failed program was:" >&5
11562: sed 's/^/| /' conftest.$ac_ext >&5
11563: 
11564: 
11565: fi
11566: 
11567: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11568: fi
11569: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
11570: $as_echo "$ac_cv_type_uint8_t" >&6; }
11571: if test $ac_cv_type_uint8_t = yes; then
11572: 
11573: cat >>confdefs.h <<_ACEOF
11574: #define HAVE_UINT8_T 1
11575: _ACEOF
11576: 
11577: 
11578: fi
11579: { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
11580: $as_echo_n "checking for uint16_t... " >&6; }
11581: if test "${ac_cv_type_uint16_t+set}" = set; then
11582:   $as_echo_n "(cached) " >&6
11583: else
11584:   ac_cv_type_uint16_t=no
11585: cat >conftest.$ac_ext <<_ACEOF
11586: /* confdefs.h.  */
11587: _ACEOF
11588: cat confdefs.h >>conftest.$ac_ext
11589: cat >>conftest.$ac_ext <<_ACEOF
11590: /* end confdefs.h.  */
11591: $ac_includes_default
11592: int
11593: main ()
11594: {
11595: if (sizeof (uint16_t))
11596:        return 0;
11597:   ;
11598:   return 0;
11599: }
11600: _ACEOF
11601: rm -f conftest.$ac_objext
11602: if { (ac_try="$ac_compile"
11603: case "(($ac_try" in
11604:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11605:   *) ac_try_echo=$ac_try;;
11606: esac
11607: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11608: $as_echo "$ac_try_echo") >&5
11609:   (eval "$ac_compile") 2>conftest.er1
11610:   ac_status=$?
11611:   grep -v '^ *+' conftest.er1 >conftest.err
11612:   rm -f conftest.er1
11613:   cat conftest.err >&5
11614:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615:   (exit $ac_status); } && {
11616: 	 test -z "$ac_c_werror_flag" ||
11617: 	 test ! -s conftest.err
11618:        } && test -s conftest.$ac_objext; then
11619:   cat >conftest.$ac_ext <<_ACEOF
11620: /* confdefs.h.  */
11621: _ACEOF
11622: cat confdefs.h >>conftest.$ac_ext
11623: cat >>conftest.$ac_ext <<_ACEOF
11624: /* end confdefs.h.  */
11625: $ac_includes_default
11626: int
11627: main ()
11628: {
11629: if (sizeof ((uint16_t)))
11630: 	  return 0;
11631:   ;
11632:   return 0;
11633: }
11634: _ACEOF
11635: rm -f conftest.$ac_objext
11636: if { (ac_try="$ac_compile"
11637: case "(($ac_try" in
11638:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11639:   *) ac_try_echo=$ac_try;;
11640: esac
11641: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11642: $as_echo "$ac_try_echo") >&5
11643:   (eval "$ac_compile") 2>conftest.er1
11644:   ac_status=$?
11645:   grep -v '^ *+' conftest.er1 >conftest.err
11646:   rm -f conftest.er1
11647:   cat conftest.err >&5
11648:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649:   (exit $ac_status); } && {
11650: 	 test -z "$ac_c_werror_flag" ||
11651: 	 test ! -s conftest.err
11652:        } && test -s conftest.$ac_objext; then
11653:   :
11654: else
11655:   $as_echo "$as_me: failed program was:" >&5
11656: sed 's/^/| /' conftest.$ac_ext >&5
11657: 
11658: 	ac_cv_type_uint16_t=yes
11659: fi
11660: 
11661: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11662: else
11663:   $as_echo "$as_me: failed program was:" >&5
11664: sed 's/^/| /' conftest.$ac_ext >&5
11665: 
11666: 
11667: fi
11668: 
11669: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11670: fi
11671: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11672: $as_echo "$ac_cv_type_uint16_t" >&6; }
11673: if test $ac_cv_type_uint16_t = yes; then
11674: 
11675: cat >>confdefs.h <<_ACEOF
11676: #define HAVE_UINT16_T 1
11677: _ACEOF
11678: 
11679: 
11680: fi
11681: { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11682: $as_echo_n "checking for uint32_t... " >&6; }
11683: if test "${ac_cv_type_uint32_t+set}" = set; then
11684:   $as_echo_n "(cached) " >&6
11685: else
11686:   ac_cv_type_uint32_t=no
11687: cat >conftest.$ac_ext <<_ACEOF
11688: /* confdefs.h.  */
11689: _ACEOF
11690: cat confdefs.h >>conftest.$ac_ext
11691: cat >>conftest.$ac_ext <<_ACEOF
11692: /* end confdefs.h.  */
11693: $ac_includes_default
11694: int
11695: main ()
11696: {
11697: if (sizeof (uint32_t))
11698:        return 0;
11699:   ;
11700:   return 0;
11701: }
11702: _ACEOF
11703: rm -f conftest.$ac_objext
11704: if { (ac_try="$ac_compile"
11705: case "(($ac_try" in
11706:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707:   *) ac_try_echo=$ac_try;;
11708: esac
11709: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11710: $as_echo "$ac_try_echo") >&5
11711:   (eval "$ac_compile") 2>conftest.er1
11712:   ac_status=$?
11713:   grep -v '^ *+' conftest.er1 >conftest.err
11714:   rm -f conftest.er1
11715:   cat conftest.err >&5
11716:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717:   (exit $ac_status); } && {
11718: 	 test -z "$ac_c_werror_flag" ||
11719: 	 test ! -s conftest.err
11720:        } && test -s conftest.$ac_objext; then
11721:   cat >conftest.$ac_ext <<_ACEOF
11722: /* confdefs.h.  */
11723: _ACEOF
11724: cat confdefs.h >>conftest.$ac_ext
11725: cat >>conftest.$ac_ext <<_ACEOF
11726: /* end confdefs.h.  */
11727: $ac_includes_default
11728: int
11729: main ()
11730: {
11731: if (sizeof ((uint32_t)))
11732: 	  return 0;
11733:   ;
11734:   return 0;
11735: }
11736: _ACEOF
11737: rm -f conftest.$ac_objext
11738: if { (ac_try="$ac_compile"
11739: case "(($ac_try" in
11740:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741:   *) ac_try_echo=$ac_try;;
11742: esac
11743: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11744: $as_echo "$ac_try_echo") >&5
11745:   (eval "$ac_compile") 2>conftest.er1
11746:   ac_status=$?
11747:   grep -v '^ *+' conftest.er1 >conftest.err
11748:   rm -f conftest.er1
11749:   cat conftest.err >&5
11750:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751:   (exit $ac_status); } && {
11752: 	 test -z "$ac_c_werror_flag" ||
11753: 	 test ! -s conftest.err
11754:        } && test -s conftest.$ac_objext; then
11755:   :
11756: else
11757:   $as_echo "$as_me: failed program was:" >&5
11758: sed 's/^/| /' conftest.$ac_ext >&5
11759: 
11760: 	ac_cv_type_uint32_t=yes
11761: fi
11762: 
11763: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11764: else
11765:   $as_echo "$as_me: failed program was:" >&5
11766: sed 's/^/| /' conftest.$ac_ext >&5
11767: 
11768: 
11769: fi
11770: 
11771: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11772: fi
11773: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11774: $as_echo "$ac_cv_type_uint32_t" >&6; }
11775: if test $ac_cv_type_uint32_t = yes; then
11776: 
11777: cat >>confdefs.h <<_ACEOF
11778: #define HAVE_UINT32_T 1
11779: _ACEOF
11780: 
11781: 
11782: fi
11783: { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
11784: $as_echo_n "checking for uint64_t... " >&6; }
11785: if test "${ac_cv_type_uint64_t+set}" = set; then
11786:   $as_echo_n "(cached) " >&6
11787: else
11788:   ac_cv_type_uint64_t=no
11789: cat >conftest.$ac_ext <<_ACEOF
11790: /* confdefs.h.  */
11791: _ACEOF
11792: cat confdefs.h >>conftest.$ac_ext
11793: cat >>conftest.$ac_ext <<_ACEOF
11794: /* end confdefs.h.  */
11795: $ac_includes_default
11796: int
11797: main ()
11798: {
11799: if (sizeof (uint64_t))
11800:        return 0;
11801:   ;
11802:   return 0;
11803: }
11804: _ACEOF
11805: rm -f conftest.$ac_objext
11806: if { (ac_try="$ac_compile"
11807: case "(($ac_try" in
11808:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809:   *) ac_try_echo=$ac_try;;
11810: esac
11811: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11812: $as_echo "$ac_try_echo") >&5
11813:   (eval "$ac_compile") 2>conftest.er1
11814:   ac_status=$?
11815:   grep -v '^ *+' conftest.er1 >conftest.err
11816:   rm -f conftest.er1
11817:   cat conftest.err >&5
11818:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819:   (exit $ac_status); } && {
11820: 	 test -z "$ac_c_werror_flag" ||
11821: 	 test ! -s conftest.err
11822:        } && test -s conftest.$ac_objext; then
11823:   cat >conftest.$ac_ext <<_ACEOF
11824: /* confdefs.h.  */
11825: _ACEOF
11826: cat confdefs.h >>conftest.$ac_ext
11827: cat >>conftest.$ac_ext <<_ACEOF
11828: /* end confdefs.h.  */
11829: $ac_includes_default
11830: int
11831: main ()
11832: {
11833: if (sizeof ((uint64_t)))
11834: 	  return 0;
11835:   ;
11836:   return 0;
11837: }
11838: _ACEOF
11839: rm -f conftest.$ac_objext
11840: if { (ac_try="$ac_compile"
11841: case "(($ac_try" in
11842:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11843:   *) ac_try_echo=$ac_try;;
11844: esac
11845: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11846: $as_echo "$ac_try_echo") >&5
11847:   (eval "$ac_compile") 2>conftest.er1
11848:   ac_status=$?
11849:   grep -v '^ *+' conftest.er1 >conftest.err
11850:   rm -f conftest.er1
11851:   cat conftest.err >&5
11852:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853:   (exit $ac_status); } && {
11854: 	 test -z "$ac_c_werror_flag" ||
11855: 	 test ! -s conftest.err
11856:        } && test -s conftest.$ac_objext; then
11857:   :
11858: else
11859:   $as_echo "$as_me: failed program was:" >&5
11860: sed 's/^/| /' conftest.$ac_ext >&5
11861: 
11862: 	ac_cv_type_uint64_t=yes
11863: fi
11864: 
11865: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11866: else
11867:   $as_echo "$as_me: failed program was:" >&5
11868: sed 's/^/| /' conftest.$ac_ext >&5
11869: 
11870: 
11871: fi
11872: 
11873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11874: fi
11875: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11876: $as_echo "$ac_cv_type_uint64_t" >&6; }
11877: if test $ac_cv_type_uint64_t = yes; then
11878: 
11879: cat >>confdefs.h <<_ACEOF
11880: #define HAVE_UINT64_T 1
11881: _ACEOF
11882: 
11883: 
11884: fi
11885: { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
11886: $as_echo_n "checking for uintptr_t... " >&6; }
11887: if test "${ac_cv_type_uintptr_t+set}" = set; then
11888:   $as_echo_n "(cached) " >&6
11889: else
11890:   ac_cv_type_uintptr_t=no
11891: cat >conftest.$ac_ext <<_ACEOF
11892: /* confdefs.h.  */
11893: _ACEOF
11894: cat confdefs.h >>conftest.$ac_ext
11895: cat >>conftest.$ac_ext <<_ACEOF
11896: /* end confdefs.h.  */
11897: $ac_includes_default
11898: int
11899: main ()
11900: {
11901: if (sizeof (uintptr_t))
11902:        return 0;
11903:   ;
11904:   return 0;
11905: }
11906: _ACEOF
11907: rm -f conftest.$ac_objext
11908: if { (ac_try="$ac_compile"
11909: case "(($ac_try" in
11910:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911:   *) ac_try_echo=$ac_try;;
11912: esac
11913: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11914: $as_echo "$ac_try_echo") >&5
11915:   (eval "$ac_compile") 2>conftest.er1
11916:   ac_status=$?
11917:   grep -v '^ *+' conftest.er1 >conftest.err
11918:   rm -f conftest.er1
11919:   cat conftest.err >&5
11920:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921:   (exit $ac_status); } && {
11922: 	 test -z "$ac_c_werror_flag" ||
11923: 	 test ! -s conftest.err
11924:        } && test -s conftest.$ac_objext; then
11925:   cat >conftest.$ac_ext <<_ACEOF
11926: /* confdefs.h.  */
11927: _ACEOF
11928: cat confdefs.h >>conftest.$ac_ext
11929: cat >>conftest.$ac_ext <<_ACEOF
11930: /* end confdefs.h.  */
11931: $ac_includes_default
11932: int
11933: main ()
11934: {
11935: if (sizeof ((uintptr_t)))
11936: 	  return 0;
11937:   ;
11938:   return 0;
11939: }
11940: _ACEOF
11941: rm -f conftest.$ac_objext
11942: if { (ac_try="$ac_compile"
11943: case "(($ac_try" in
11944:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11945:   *) ac_try_echo=$ac_try;;
11946: esac
11947: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11948: $as_echo "$ac_try_echo") >&5
11949:   (eval "$ac_compile") 2>conftest.er1
11950:   ac_status=$?
11951:   grep -v '^ *+' conftest.er1 >conftest.err
11952:   rm -f conftest.er1
11953:   cat conftest.err >&5
11954:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955:   (exit $ac_status); } && {
11956: 	 test -z "$ac_c_werror_flag" ||
11957: 	 test ! -s conftest.err
11958:        } && test -s conftest.$ac_objext; then
11959:   :
11960: else
11961:   $as_echo "$as_me: failed program was:" >&5
11962: sed 's/^/| /' conftest.$ac_ext >&5
11963: 
11964: 	ac_cv_type_uintptr_t=yes
11965: fi
11966: 
11967: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11968: else
11969:   $as_echo "$as_me: failed program was:" >&5
11970: sed 's/^/| /' conftest.$ac_ext >&5
11971: 
11972: 
11973: fi
11974: 
11975: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11976: fi
11977: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11978: $as_echo "$ac_cv_type_uintptr_t" >&6; }
11979: if test $ac_cv_type_uintptr_t = yes; then
11980: 
11981: cat >>confdefs.h <<_ACEOF
11982: #define HAVE_UINTPTR_T 1
11983: _ACEOF
11984: 
11985: 
11986: fi
11987: 
11988: 
11989: #########
11990: # Check for needed/wanted headers
11991: 
11992: 
11993: 
11994: 
11995: for ac_header in sys/types.h stdlib.h stdint.h inttypes.h
11996: do
11997: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11998: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11999:   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12000: $as_echo_n "checking for $ac_header... " >&6; }
12001: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12002:   $as_echo_n "(cached) " >&6
12003: fi
12004: ac_res=`eval 'as_val=${'$as_ac_Header'}
12005: 		 $as_echo "$as_val"'`
12006: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12007: $as_echo "$ac_res" >&6; }
12008: else
12009:   # Is the header compilable?
12010: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12011: $as_echo_n "checking $ac_header usability... " >&6; }
12012: cat >conftest.$ac_ext <<_ACEOF
12013: /* confdefs.h.  */
12014: _ACEOF
12015: cat confdefs.h >>conftest.$ac_ext
12016: cat >>conftest.$ac_ext <<_ACEOF
12017: /* end confdefs.h.  */
12018: $ac_includes_default
12019: #include <$ac_header>
12020: _ACEOF
12021: rm -f conftest.$ac_objext
12022: if { (ac_try="$ac_compile"
12023: case "(($ac_try" in
12024:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12025:   *) ac_try_echo=$ac_try;;
12026: esac
12027: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12028: $as_echo "$ac_try_echo") >&5
12029:   (eval "$ac_compile") 2>conftest.er1
12030:   ac_status=$?
12031:   grep -v '^ *+' conftest.er1 >conftest.err
12032:   rm -f conftest.er1
12033:   cat conftest.err >&5
12034:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035:   (exit $ac_status); } && {
12036: 	 test -z "$ac_c_werror_flag" ||
12037: 	 test ! -s conftest.err
12038:        } && test -s conftest.$ac_objext; then
12039:   ac_header_compiler=yes
12040: else
12041:   $as_echo "$as_me: failed program was:" >&5
12042: sed 's/^/| /' conftest.$ac_ext >&5
12043: 
12044: 	ac_header_compiler=no
12045: fi
12046: 
12047: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12049: $as_echo "$ac_header_compiler" >&6; }
12050: 
12051: # Is the header present?
12052: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12053: $as_echo_n "checking $ac_header presence... " >&6; }
12054: cat >conftest.$ac_ext <<_ACEOF
12055: /* confdefs.h.  */
12056: _ACEOF
12057: cat confdefs.h >>conftest.$ac_ext
12058: cat >>conftest.$ac_ext <<_ACEOF
12059: /* end confdefs.h.  */
12060: #include <$ac_header>
12061: _ACEOF
12062: if { (ac_try="$ac_cpp conftest.$ac_ext"
12063: case "(($ac_try" in
12064:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065:   *) ac_try_echo=$ac_try;;
12066: esac
12067: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12068: $as_echo "$ac_try_echo") >&5
12069:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12070:   ac_status=$?
12071:   grep -v '^ *+' conftest.er1 >conftest.err
12072:   rm -f conftest.er1
12073:   cat conftest.err >&5
12074:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075:   (exit $ac_status); } >/dev/null && {
12076: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12077: 	 test ! -s conftest.err
12078:        }; then
12079:   ac_header_preproc=yes
12080: else
12081:   $as_echo "$as_me: failed program was:" >&5
12082: sed 's/^/| /' conftest.$ac_ext >&5
12083: 
12084:   ac_header_preproc=no
12085: fi
12086: 
12087: rm -f conftest.err conftest.$ac_ext
12088: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12089: $as_echo "$ac_header_preproc" >&6; }
12090: 
12091: # So?  What about this header?
12092: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12093:   yes:no: )
12094:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12095: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12096:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12097: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12098:     ac_header_preproc=yes
12099:     ;;
12100:   no:yes:* )
12101:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12102: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12103:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12104: $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12105:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12106: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12107:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12108: $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12109:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12110: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12111:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12112: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12113: 
12114:     ;;
12115: esac
12116: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12117: $as_echo_n "checking for $ac_header... " >&6; }
12118: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12119:   $as_echo_n "(cached) " >&6
12120: else
12121:   eval "$as_ac_Header=\$ac_header_preproc"
12122: fi
12123: ac_res=`eval 'as_val=${'$as_ac_Header'}
12124: 		 $as_echo "$as_val"'`
12125: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12126: $as_echo "$ac_res" >&6; }
12127: 
12128: fi
12129: if test `eval 'as_val=${'$as_ac_Header'}
12130: 		 $as_echo "$as_val"'` = yes; then
12131:   cat >>confdefs.h <<_ACEOF
12132: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12133: _ACEOF
12134: 
12135: fi
12136: 
12137: done
12138: 
12139: 
12140: #########
12141: # Figure out whether or not we have these functions
12142: #
12143: 
12144: 
12145: 
12146: 
12147: 
12148: 
12149: 
12150: for ac_func in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size
12151: do
12152: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12153: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12154: $as_echo_n "checking for $ac_func... " >&6; }
12155: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12156:   $as_echo_n "(cached) " >&6
12157: else
12158:   cat >conftest.$ac_ext <<_ACEOF
12159: /* confdefs.h.  */
12160: _ACEOF
12161: cat confdefs.h >>conftest.$ac_ext
12162: cat >>conftest.$ac_ext <<_ACEOF
12163: /* end confdefs.h.  */
12164: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12165:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12166: #define $ac_func innocuous_$ac_func
12167: 
12168: /* System header to define __stub macros and hopefully few prototypes,
12169:     which can conflict with char $ac_func (); below.
12170:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12171:     <limits.h> exists even on freestanding compilers.  */
12172: 
12173: #ifdef __STDC__
12174: # include <limits.h>
12175: #else
12176: # include <assert.h>
12177: #endif
12178: 
12179: #undef $ac_func
12180: 
12181: /* Override any GCC internal prototype to avoid an error.
12182:    Use char because int might match the return type of a GCC
12183:    builtin and then its argument prototype would still apply.  */
12184: #ifdef __cplusplus
12185: extern "C"
12186: #endif
12187: char $ac_func ();
12188: /* The GNU C library defines this for functions which it implements
12189:     to always fail with ENOSYS.  Some functions are actually named
12190:     something starting with __ and the normal name is an alias.  */
12191: #if defined __stub_$ac_func || defined __stub___$ac_func
12192: choke me
12193: #endif
12194: 
12195: int
12196: main ()
12197: {
12198: return $ac_func ();
12199:   ;
12200:   return 0;
12201: }
12202: _ACEOF
12203: rm -f conftest.$ac_objext conftest$ac_exeext
12204: if { (ac_try="$ac_link"
12205: case "(($ac_try" in
12206:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12207:   *) ac_try_echo=$ac_try;;
12208: esac
12209: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12210: $as_echo "$ac_try_echo") >&5
12211:   (eval "$ac_link") 2>conftest.er1
12212:   ac_status=$?
12213:   grep -v '^ *+' conftest.er1 >conftest.err
12214:   rm -f conftest.er1
12215:   cat conftest.err >&5
12216:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217:   (exit $ac_status); } && {
12218: 	 test -z "$ac_c_werror_flag" ||
12219: 	 test ! -s conftest.err
12220:        } && test -s conftest$ac_exeext && {
12221: 	 test "$cross_compiling" = yes ||
12222: 	 $as_test_x conftest$ac_exeext
12223:        }; then
12224:   eval "$as_ac_var=yes"
12225: else
12226:   $as_echo "$as_me: failed program was:" >&5
12227: sed 's/^/| /' conftest.$ac_ext >&5
12228: 
12229: 	eval "$as_ac_var=no"
12230: fi
12231: 
12232: rm -rf conftest.dSYM
12233: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12234:       conftest$ac_exeext conftest.$ac_ext
12235: fi
12236: ac_res=`eval 'as_val=${'$as_ac_var'}
12237: 		 $as_echo "$as_val"'`
12238: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12239: $as_echo "$ac_res" >&6; }
12240: if test `eval 'as_val=${'$as_ac_var'}
12241: 		 $as_echo "$as_val"'` = yes; then
12242:   cat >>confdefs.h <<_ACEOF
12243: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12244: _ACEOF
12245: 
12246: fi
12247: done
12248: 
12249: 
12250: #########
12251: # By default, we use the amalgamation (this may be changed below...)
12252: #
12253: USE_AMALGAMATION=1
12254: 
12255: #########
12256: # See whether we can run specific tclsh versions known to work well;
12257: # if not, then we fall back to plain tclsh.
12258: # TODO: try other versions before falling back?
12259: #
12260: for ac_prog in tclsh8.5 tclsh
12261: do
12262:   # Extract the first word of "$ac_prog", so it can be a program name with args.
12263: set dummy $ac_prog; ac_word=$2
12264: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12265: $as_echo_n "checking for $ac_word... " >&6; }
12266: if test "${ac_cv_prog_TCLSH_CMD+set}" = set; then
12267:   $as_echo_n "(cached) " >&6
12268: else
12269:   if test -n "$TCLSH_CMD"; then
12270:   ac_cv_prog_TCLSH_CMD="$TCLSH_CMD" # Let the user override the test.
12271: else
12272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12273: for as_dir in $PATH
12274: do
12275:   IFS=$as_save_IFS
12276:   test -z "$as_dir" && as_dir=.
12277:   for ac_exec_ext in '' $ac_executable_extensions; do
12278:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12279:     ac_cv_prog_TCLSH_CMD="$ac_prog"
12280:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12281:     break 2
12282:   fi
12283: done
12284: done
12285: IFS=$as_save_IFS
12286: 
12287: fi
12288: fi
12289: TCLSH_CMD=$ac_cv_prog_TCLSH_CMD
12290: if test -n "$TCLSH_CMD"; then
12291:   { $as_echo "$as_me:$LINENO: result: $TCLSH_CMD" >&5
12292: $as_echo "$TCLSH_CMD" >&6; }
12293: else
12294:   { $as_echo "$as_me:$LINENO: result: no" >&5
12295: $as_echo "no" >&6; }
12296: fi
12297: 
12298: 
12299:   test -n "$TCLSH_CMD" && break
12300: done
12301: test -n "$TCLSH_CMD" || TCLSH_CMD="none"
12302: 
12303: if test "$TCLSH_CMD" = "none"; then
12304:   # If we can't find a local tclsh, then building the amalgamation will fail.
12305:   # We act as though --disable-amalgamation has been used.
12306:   echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
12307:   USE_AMALGAMATION=0
12308:   TCLSH_CMD="tclsh"
12309: fi
12310: 
12311: 
12312: 
12313: if test "x${TCLLIBDIR+set}" != "xset" ; then
12314:   TCLLIBDIR='$(libdir)'
12315:   for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
12316:     TCLLIBDIR=$i
12317:     break
12318:   done
12319:   TCLLIBDIR="${TCLLIBDIR}/sqlite3"
12320: fi
12321: 
12322: 
12323: #########
12324: # Set up an appropriate program prefix
12325: #
12326: if test "$program_prefix" = "NONE"; then
12327:   program_prefix=""
12328: fi
12329: 
12330: 
12331: VERSION=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
12332: { $as_echo "$as_me:$LINENO: Version set to $VERSION" >&5
12333: $as_echo "$as_me: Version set to $VERSION" >&6;}
12334: 
12335: RELEASE=`cat $srcdir/VERSION`
12336: { $as_echo "$as_me:$LINENO: Release set to $RELEASE" >&5
12337: $as_echo "$as_me: Release set to $RELEASE" >&6;}
12338: 
12339: VERSION_NUMBER=`cat $srcdir/VERSION \
12340:                            | sed 's/[^0-9]/ /g' \
12341:                 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
12342: { $as_echo "$as_me:$LINENO: Version number set to $VERSION_NUMBER" >&5
12343: $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
12344: 
12345: 
12346: #########
12347: # Check to see if the --with-hints=FILE option is used.  If there is none,
12348: # then check for a files named "$host.hints" and ../$hosts.hints where
12349: # $host is the hostname of the build system.  If still no hints are
12350: # found, try looking in $system.hints and ../$system.hints where
12351: # $system is the result of uname -s.
12352: #
12353: 
12354: # Check whether --with-hints was given.
12355: if test "${with_hints+set}" = set; then
12356:   withval=$with_hints; hints=$withval
12357: fi
12358: 
12359: if test "$hints" = ""; then
12360:   host=`hostname | sed 's/\..*//'`
12361:   if test -r $host.hints; then
12362:     hints=$host.hints
12363:   else
12364:      if test -r ../$host.hints; then
12365:        hints=../$host.hints
12366:      fi
12367:   fi
12368: fi
12369: if test "$hints" = ""; then
12370:   sys=`uname -s`
12371:   if test -r $sys.hints; then
12372:     hints=$sys.hints
12373:   else
12374:      if test -r ../$sys.hints; then
12375:        hints=../$sys.hints
12376:      fi
12377:   fi
12378: fi
12379: if test "$hints" != ""; then
12380:   { $as_echo "$as_me:$LINENO: result: reading hints from $hints" >&5
12381: $as_echo "reading hints from $hints" >&6; }
12382:   . $hints
12383: fi
12384: 
12385: #########
12386: # Locate a compiler for the build machine.  This compiler should
12387: # generate command-line programs that run on the build machine.
12388: #
12389: if test x"$cross_compiling" = xno; then
12390: 	BUILD_CC=$CC
12391: 	BUILD_CFLAGS=$CFLAGS
12392: else
12393: 	if test "${BUILD_CC+set}" != set; then
12394: 		for ac_prog in gcc cc cl
12395: do
12396:   # Extract the first word of "$ac_prog", so it can be a program name with args.
12397: set dummy $ac_prog; ac_word=$2
12398: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12399: $as_echo_n "checking for $ac_word... " >&6; }
12400: if test "${ac_cv_prog_BUILD_CC+set}" = set; then
12401:   $as_echo_n "(cached) " >&6
12402: else
12403:   if test -n "$BUILD_CC"; then
12404:   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
12405: else
12406: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12407: for as_dir in $PATH
12408: do
12409:   IFS=$as_save_IFS
12410:   test -z "$as_dir" && as_dir=.
12411:   for ac_exec_ext in '' $ac_executable_extensions; do
12412:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12413:     ac_cv_prog_BUILD_CC="$ac_prog"
12414:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12415:     break 2
12416:   fi
12417: done
12418: done
12419: IFS=$as_save_IFS
12420: 
12421: fi
12422: fi
12423: BUILD_CC=$ac_cv_prog_BUILD_CC
12424: if test -n "$BUILD_CC"; then
12425:   { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
12426: $as_echo "$BUILD_CC" >&6; }
12427: else
12428:   { $as_echo "$as_me:$LINENO: result: no" >&5
12429: $as_echo "no" >&6; }
12430: fi
12431: 
12432: 
12433:   test -n "$BUILD_CC" && break
12434: done
12435: 
12436: 	fi
12437: 	if test "${BUILD_CFLAGS+set}" != set; then
12438: 		BUILD_CFLAGS="-g"
12439: 	fi
12440: fi
12441: 
12442: 
12443: ##########
12444: # Do we want to support multithreaded use of sqlite
12445: #
12446: # Check whether --enable-threadsafe was given.
12447: if test "${enable_threadsafe+set}" = set; then
12448:   enableval=$enable_threadsafe;
12449: else
12450:   enable_threadsafe=yes
12451: fi
12452: 
12453: { $as_echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
12454: $as_echo_n "checking whether to support threadsafe operation... " >&6; }
12455: if test "$enable_threadsafe" = "no"; then
12456:   SQLITE_THREADSAFE=0
12457:   { $as_echo "$as_me:$LINENO: result: no" >&5
12458: $as_echo "no" >&6; }
12459: else
12460:   SQLITE_THREADSAFE=1
12461:   { $as_echo "$as_me:$LINENO: result: yes" >&5
12462: $as_echo "yes" >&6; }
12463: fi
12464: 
12465: 
12466: if test "$SQLITE_THREADSAFE" = "1"; then
12467:   { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
12468: $as_echo_n "checking for library containing pthread_create... " >&6; }
12469: if test "${ac_cv_search_pthread_create+set}" = set; then
12470:   $as_echo_n "(cached) " >&6
12471: else
12472:   ac_func_search_save_LIBS=$LIBS
12473: cat >conftest.$ac_ext <<_ACEOF
12474: /* confdefs.h.  */
12475: _ACEOF
12476: cat confdefs.h >>conftest.$ac_ext
12477: cat >>conftest.$ac_ext <<_ACEOF
12478: /* end confdefs.h.  */
12479: 
12480: /* Override any GCC internal prototype to avoid an error.
12481:    Use char because int might match the return type of a GCC
12482:    builtin and then its argument prototype would still apply.  */
12483: #ifdef __cplusplus
12484: extern "C"
12485: #endif
12486: char pthread_create ();
12487: int
12488: main ()
12489: {
12490: return pthread_create ();
12491:   ;
12492:   return 0;
12493: }
12494: _ACEOF
12495: for ac_lib in '' pthread; do
12496:   if test -z "$ac_lib"; then
12497:     ac_res="none required"
12498:   else
12499:     ac_res=-l$ac_lib
12500:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12501:   fi
12502:   rm -f conftest.$ac_objext conftest$ac_exeext
12503: if { (ac_try="$ac_link"
12504: case "(($ac_try" in
12505:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12506:   *) ac_try_echo=$ac_try;;
12507: esac
12508: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12509: $as_echo "$ac_try_echo") >&5
12510:   (eval "$ac_link") 2>conftest.er1
12511:   ac_status=$?
12512:   grep -v '^ *+' conftest.er1 >conftest.err
12513:   rm -f conftest.er1
12514:   cat conftest.err >&5
12515:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516:   (exit $ac_status); } && {
12517: 	 test -z "$ac_c_werror_flag" ||
12518: 	 test ! -s conftest.err
12519:        } && test -s conftest$ac_exeext && {
12520: 	 test "$cross_compiling" = yes ||
12521: 	 $as_test_x conftest$ac_exeext
12522:        }; then
12523:   ac_cv_search_pthread_create=$ac_res
12524: else
12525:   $as_echo "$as_me: failed program was:" >&5
12526: sed 's/^/| /' conftest.$ac_ext >&5
12527: 
12528: 
12529: fi
12530: 
12531: rm -rf conftest.dSYM
12532: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12533:       conftest$ac_exeext
12534:   if test "${ac_cv_search_pthread_create+set}" = set; then
12535:   break
12536: fi
12537: done
12538: if test "${ac_cv_search_pthread_create+set}" = set; then
12539:   :
12540: else
12541:   ac_cv_search_pthread_create=no
12542: fi
12543: rm conftest.$ac_ext
12544: LIBS=$ac_func_search_save_LIBS
12545: fi
12546: { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
12547: $as_echo "$ac_cv_search_pthread_create" >&6; }
12548: ac_res=$ac_cv_search_pthread_create
12549: if test "$ac_res" != no; then
12550:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12551: 
12552: fi
12553: 
12554: fi
12555: 
12556: ##########
12557: # Do we want to allow a connection created in one thread to be used
12558: # in another thread.  This does not work on many Linux systems (ex: RedHat 9)
12559: # due to bugs in the threading implementations.  This is thus off by default.
12560: #
12561: # Check whether --enable-cross-thread-connections was given.
12562: if test "${enable_cross_thread_connections+set}" = set; then
12563:   enableval=$enable_cross_thread_connections;
12564: else
12565:   enable_xthreadconnect=no
12566: fi
12567: 
12568: { $as_echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
12569: $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12570: if test "$enable_xthreadconnect" = "no"; then
12571:   XTHREADCONNECT=''
12572:   { $as_echo "$as_me:$LINENO: result: no" >&5
12573: $as_echo "no" >&6; }
12574: else
12575:   XTHREADCONNECT='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12576:   { $as_echo "$as_me:$LINENO: result: yes" >&5
12577: $as_echo "yes" >&6; }
12578: fi
12579: 
12580: 
12581: ##########
12582: # Do we want to support release
12583: #
12584: # Check whether --enable-releasemode was given.
12585: if test "${enable_releasemode+set}" = set; then
12586:   enableval=$enable_releasemode;
12587: else
12588:   enable_releasemode=no
12589: fi
12590: 
12591: { $as_echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
12592: $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12593: if test "$enable_releasemode" = "no"; then
12594:   ALLOWRELEASE=""
12595:   { $as_echo "$as_me:$LINENO: result: no" >&5
12596: $as_echo "no" >&6; }
12597: else
12598:   ALLOWRELEASE="-release `cat $srcdir/VERSION`"
12599:   { $as_echo "$as_me:$LINENO: result: yes" >&5
12600: $as_echo "yes" >&6; }
12601: fi
12602: 
12603: 
12604: ##########
12605: # Do we want temporary databases in memory
12606: #
12607: # Check whether --enable-tempstore was given.
12608: if test "${enable_tempstore+set}" = set; then
12609:   enableval=$enable_tempstore;
12610: else
12611:   enable_tempstore=no
12612: fi
12613: 
12614: { $as_echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
12615: $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12616: case "$enable_tempstore" in
12617:   never )
12618:     TEMP_STORE=0
12619:     { $as_echo "$as_me:$LINENO: result: never" >&5
12620: $as_echo "never" >&6; }
12621:   ;;
12622:   no )
12623:     TEMP_STORE=1
12624:     { $as_echo "$as_me:$LINENO: result: no" >&5
12625: $as_echo "no" >&6; }
12626:   ;;
12627:   yes )
12628:      TEMP_STORE=2
12629:     { $as_echo "$as_me:$LINENO: result: yes" >&5
12630: $as_echo "yes" >&6; }
12631:   ;;
12632:   always )
12633:      TEMP_STORE=3
12634:     { $as_echo "$as_me:$LINENO: result: always" >&5
12635: $as_echo "always" >&6; }
12636:   ;;
12637:   * )
12638:     TEMP_STORE=1
12639:     { $as_echo "$as_me:$LINENO: result: no" >&5
12640: $as_echo "no" >&6; }
12641:   ;;
12642: esac
12643: 
12644: 
12645: 
12646: ###########
12647: # Lots of things are different if we are compiling for Windows using
12648: # the CYGWIN environment.  So check for that special case and handle
12649: # things accordingly.
12650: #
12651: { $as_echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
12652: $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12653: if test "$config_BUILD_EXEEXT" = ".exe"; then
12654:   CYGWIN=yes
12655:   { $as_echo "$as_me:$LINENO: result: yes" >&5
12656: $as_echo "yes" >&6; }
12657: else
12658:   { $as_echo "$as_me:$LINENO: result: unknown" >&5
12659: $as_echo "unknown" >&6; }
12660: fi
12661: if test "$CYGWIN" != "yes"; then
12662:   { $as_echo "$as_me:$LINENO: checking host system type" >&5
12663: $as_echo_n "checking host system type... " >&6; }
12664: if test "${ac_cv_host+set}" = set; then
12665:   $as_echo_n "(cached) " >&6
12666: else
12667:   if test "x$host_alias" = x; then
12668:   ac_cv_host=$ac_cv_build
12669: else
12670:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12671:     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12672: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12673:    { (exit 1); exit 1; }; }
12674: fi
12675: 
12676: fi
12677: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12678: $as_echo "$ac_cv_host" >&6; }
12679: case $ac_cv_host in
12680: *-*-*) ;;
12681: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12682: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
12683:    { (exit 1); exit 1; }; };;
12684: esac
12685: host=$ac_cv_host
12686: ac_save_IFS=$IFS; IFS='-'
12687: set x $ac_cv_host
12688: shift
12689: host_cpu=$1
12690: host_vendor=$2
12691: shift; shift
12692: # Remember, the first character of IFS is used to create $*,
12693: # except with old shells:
12694: host_os=$*
12695: IFS=$ac_save_IFS
12696: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
12697: 
12698: 
12699: case $host_os in
12700:   *cygwin* ) CYGWIN=yes;;
12701: 	 * ) CYGWIN=no;;
12702: esac
12703: 
12704: fi
12705: if test "$CYGWIN" = "yes"; then
12706:   BUILD_EXEEXT=.exe
12707: else
12708:   BUILD_EXEEXT=$EXEEXT
12709: fi
12710: if test x"$cross_compiling" = xno; then
12711:   TARGET_EXEEXT=$BUILD_EXEEXT
12712: else
12713:   TARGET_EXEEXT=$config_TARGET_EXEEXT
12714: fi
12715: if test "$TARGET_EXEEXT" = ".exe"; then
12716:   if test $OS2_SHELL ; then
12717:     SQLITE_OS_UNIX=0
12718:     SQLITE_OS_WIN=0
12719:     SQLITE_OS_OS2=1
12720:     CFLAGS="$CFLAGS -DSQLITE_OS_OS2=1"
12721:   else
12722:     SQLITE_OS_UNIX=0
12723:     SQLITE_OS_WIN=1
12724:     SQLITE_OS_OS2=0
12725:     CFLAGS="$CFLAGS -DSQLITE_OS_WIN=1"
12726:   fi
12727: else
12728:   SQLITE_OS_UNIX=1
12729:   SQLITE_OS_WIN=0
12730:   SQLITE_OS_OS2=0
12731:   CFLAGS="$CFLAGS -DSQLITE_OS_UNIX=1"
12732: fi
12733: 
12734: 
12735: 
12736: 
12737: 
12738: 
12739: 
12740: ##########
12741: # Figure out all the parameters needed to compile against Tcl.
12742: #
12743: # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12744: # macros in the in the tcl.m4 file of the standard TCL distribution.
12745: # Those macros could not be used directly since we have to make some
12746: # minor changes to accomodate systems that do not have TCL installed.
12747: #
12748: # Check whether --enable-tcl was given.
12749: if test "${enable_tcl+set}" = set; then
12750:   enableval=$enable_tcl; use_tcl=$enableval
12751: else
12752:   use_tcl=yes
12753: fi
12754: 
12755: if test "${use_tcl}" = "yes" ; then
12756: 
12757: # Check whether --with-tcl was given.
12758: if test "${with_tcl+set}" = set; then
12759:   withval=$with_tcl; with_tclconfig=${withval}
12760: fi
12761: 
12762:   { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
12763: $as_echo_n "checking for Tcl configuration... " >&6; }
12764:   if test "${ac_cv_c_tclconfig+set}" = set; then
12765:   $as_echo_n "(cached) " >&6
12766: else
12767: 
12768:     # First check to see if --with-tcl was specified.
12769:     if test x"${with_tclconfig}" != x ; then
12770:       if test -f "${with_tclconfig}/tclConfig.sh" ; then
12771:         ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
12772:       else
12773:         { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
12774: $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
12775:    { (exit 1); exit 1; }; }
12776:       fi
12777:     fi
12778: 
12779:     # Start autosearch by asking tclsh
12780:     if test x"$cross_compiling" = xno; then
12781:       for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12782:       do
12783:         if test -f "$i/tclConfig.sh" ; then
12784:           ac_cv_c_tclconfig="$i"
12785:           break
12786:         fi
12787:       done
12788:     fi
12789: 
12790:     # then check for a private Tcl installation
12791:     if test x"${ac_cv_c_tclconfig}" = x ; then
12792:       for i in \
12793:             ../tcl \
12794:             `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12795:             `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12796:             `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12797:             ../../tcl \
12798:             `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12799:             `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12800:             `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12801:             ../../../tcl \
12802:             `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12803:             `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12804:             `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12805:       do
12806:         if test -f "$i/unix/tclConfig.sh" ; then
12807:           ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
12808:           break
12809:         fi
12810:       done
12811:     fi
12812: 
12813:     # check in a few common install locations
12814:     if test x"${ac_cv_c_tclconfig}" = x ; then
12815:       for i in \
12816:             `ls -d ${libdir} 2>/dev/null` \
12817:             `ls -d /usr/local/lib 2>/dev/null` \
12818:             `ls -d /usr/contrib/lib 2>/dev/null` \
12819:             `ls -d /usr/lib 2>/dev/null`
12820:       do
12821:         if test -f "$i/tclConfig.sh" ; then
12822:            ac_cv_c_tclconfig=`(cd $i; pwd)`
12823:            break
12824:         fi
12825:       done
12826:     fi
12827: 
12828:     # check in a few other private locations
12829:     if test x"${ac_cv_c_tclconfig}" = x ; then
12830:       for i in \
12831:          ${srcdir}/../tcl \
12832:          `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12833:          `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12834:          `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12835:       do
12836:         if test -f "$i/unix/tclConfig.sh" ; then
12837:           ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
12838:           break
12839:         fi
12840:       done
12841:     fi
12842: 
12843: fi
12844: 
12845: 
12846:   if test x"${ac_cv_c_tclconfig}" = x ; then
12847:     use_tcl=no
12848:     { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
12849: $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12850:     { $as_echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12851: $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12852:     { $as_echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12853: $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12854:   else
12855:     TCL_BIN_DIR=${ac_cv_c_tclconfig}
12856:     { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12857: $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12858: 
12859:     { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12860: $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12861:     if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12862:       { $as_echo "$as_me:$LINENO: result: loading" >&5
12863: $as_echo "loading" >&6; }
12864:       . $TCL_BIN_DIR/tclConfig.sh
12865:     else
12866:       { $as_echo "$as_me:$LINENO: result: file not found" >&5
12867: $as_echo "file not found" >&6; }
12868:     fi
12869: 
12870:     #
12871:     # If the TCL_BIN_DIR is the build directory (not the install directory),
12872:     # then set the common variable name to the value of the build variables.
12873:     # For example, the variable TCL_LIB_SPEC will be set to the value
12874:     # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12875:     # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12876:     # installed and uninstalled version of Tcl.
12877:     #
12878: 
12879:     if test -f $TCL_BIN_DIR/Makefile ; then
12880:       TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
12881:       TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
12882:       TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
12883:     fi
12884: 
12885:     #
12886:     # eval is required to do the TCL_DBGX substitution
12887:     #
12888: 
12889:     eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12890:     eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12891:     eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12892: 
12893:     eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12894:     eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12895:     eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12896: 
12897: 
12898: 
12899: 
12900: 
12901: 
12902: 
12903: 
12904: 
12905: 
12906: 
12907: 
12908: 
12909: 
12910:   fi
12911: fi
12912: if test "${use_tcl}" = "no" ; then
12913:   HAVE_TCL=""
12914: else
12915:   HAVE_TCL=1
12916: fi
12917: 
12918: 
12919: ##########
12920: # Figure out what C libraries are required to compile programs
12921: # that use "readline()" library.
12922: #
12923: TARGET_READLINE_LIBS=""
12924: TARGET_READLINE_INC=""
12925: TARGET_HAVE_READLINE=0
12926: # Check whether --enable-readline was given.
12927: if test "${enable_readline+set}" = set; then
12928:   enableval=$enable_readline; with_readline=$enableval
12929: else
12930:   with_readline=auto
12931: fi
12932: 
12933: 
12934: if test x"$with_readline" != xno; then
12935: 	found="yes"
12936: 
12937: 
12938: # Check whether --with-readline-lib was given.
12939: if test "${with_readline_lib+set}" = set; then
12940:   withval=$with_readline_lib; with_readline_lib=$withval
12941: else
12942:   with_readline_lib="auto"
12943: fi
12944: 
12945: 	if test "x$with_readline_lib" = xauto; then
12946: 		save_LIBS="$LIBS"
12947: 		LIBS=""
12948: 		{ $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12949: $as_echo_n "checking for library containing tgetent... " >&6; }
12950: if test "${ac_cv_search_tgetent+set}" = set; then
12951:   $as_echo_n "(cached) " >&6
12952: else
12953:   ac_func_search_save_LIBS=$LIBS
12954: cat >conftest.$ac_ext <<_ACEOF
12955: /* confdefs.h.  */
12956: _ACEOF
12957: cat confdefs.h >>conftest.$ac_ext
12958: cat >>conftest.$ac_ext <<_ACEOF
12959: /* end confdefs.h.  */
12960: 
12961: /* Override any GCC internal prototype to avoid an error.
12962:    Use char because int might match the return type of a GCC
12963:    builtin and then its argument prototype would still apply.  */
12964: #ifdef __cplusplus
12965: extern "C"
12966: #endif
12967: char tgetent ();
12968: int
12969: main ()
12970: {
12971: return tgetent ();
12972:   ;
12973:   return 0;
12974: }
12975: _ACEOF
12976: for ac_lib in '' readline ncurses curses termcap; do
12977:   if test -z "$ac_lib"; then
12978:     ac_res="none required"
12979:   else
12980:     ac_res=-l$ac_lib
12981:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12982:   fi
12983:   rm -f conftest.$ac_objext conftest$ac_exeext
12984: if { (ac_try="$ac_link"
12985: case "(($ac_try" in
12986:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12987:   *) ac_try_echo=$ac_try;;
12988: esac
12989: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12990: $as_echo "$ac_try_echo") >&5
12991:   (eval "$ac_link") 2>conftest.er1
12992:   ac_status=$?
12993:   grep -v '^ *+' conftest.er1 >conftest.err
12994:   rm -f conftest.er1
12995:   cat conftest.err >&5
12996:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997:   (exit $ac_status); } && {
12998: 	 test -z "$ac_c_werror_flag" ||
12999: 	 test ! -s conftest.err
13000:        } && test -s conftest$ac_exeext && {
13001: 	 test "$cross_compiling" = yes ||
13002: 	 $as_test_x conftest$ac_exeext
13003:        }; then
13004:   ac_cv_search_tgetent=$ac_res
13005: else
13006:   $as_echo "$as_me: failed program was:" >&5
13007: sed 's/^/| /' conftest.$ac_ext >&5
13008: 
13009: 
13010: fi
13011: 
13012: rm -rf conftest.dSYM
13013: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13014:       conftest$ac_exeext
13015:   if test "${ac_cv_search_tgetent+set}" = set; then
13016:   break
13017: fi
13018: done
13019: if test "${ac_cv_search_tgetent+set}" = set; then
13020:   :
13021: else
13022:   ac_cv_search_tgetent=no
13023: fi
13024: rm conftest.$ac_ext
13025: LIBS=$ac_func_search_save_LIBS
13026: fi
13027: { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13028: $as_echo "$ac_cv_search_tgetent" >&6; }
13029: ac_res=$ac_cv_search_tgetent
13030: if test "$ac_res" != no; then
13031:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13032:   term_LIBS="$LIBS"
13033: else
13034:   term_LIBS=""
13035: fi
13036: 
13037: 		{ $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13038: $as_echo_n "checking for readline in -lreadline... " >&6; }
13039: if test "${ac_cv_lib_readline_readline+set}" = set; then
13040:   $as_echo_n "(cached) " >&6
13041: else
13042:   ac_check_lib_save_LIBS=$LIBS
13043: LIBS="-lreadline  $LIBS"
13044: cat >conftest.$ac_ext <<_ACEOF
13045: /* confdefs.h.  */
13046: _ACEOF
13047: cat confdefs.h >>conftest.$ac_ext
13048: cat >>conftest.$ac_ext <<_ACEOF
13049: /* end confdefs.h.  */
13050: 
13051: /* Override any GCC internal prototype to avoid an error.
13052:    Use char because int might match the return type of a GCC
13053:    builtin and then its argument prototype would still apply.  */
13054: #ifdef __cplusplus
13055: extern "C"
13056: #endif
13057: char readline ();
13058: int
13059: main ()
13060: {
13061: return readline ();
13062:   ;
13063:   return 0;
13064: }
13065: _ACEOF
13066: rm -f conftest.$ac_objext conftest$ac_exeext
13067: if { (ac_try="$ac_link"
13068: case "(($ac_try" in
13069:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070:   *) ac_try_echo=$ac_try;;
13071: esac
13072: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13073: $as_echo "$ac_try_echo") >&5
13074:   (eval "$ac_link") 2>conftest.er1
13075:   ac_status=$?
13076:   grep -v '^ *+' conftest.er1 >conftest.err
13077:   rm -f conftest.er1
13078:   cat conftest.err >&5
13079:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080:   (exit $ac_status); } && {
13081: 	 test -z "$ac_c_werror_flag" ||
13082: 	 test ! -s conftest.err
13083:        } && test -s conftest$ac_exeext && {
13084: 	 test "$cross_compiling" = yes ||
13085: 	 $as_test_x conftest$ac_exeext
13086:        }; then
13087:   ac_cv_lib_readline_readline=yes
13088: else
13089:   $as_echo "$as_me: failed program was:" >&5
13090: sed 's/^/| /' conftest.$ac_ext >&5
13091: 
13092: 	ac_cv_lib_readline_readline=no
13093: fi
13094: 
13095: rm -rf conftest.dSYM
13096: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13097:       conftest$ac_exeext conftest.$ac_ext
13098: LIBS=$ac_check_lib_save_LIBS
13099: fi
13100: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13101: $as_echo "$ac_cv_lib_readline_readline" >&6; }
13102: if test $ac_cv_lib_readline_readline = yes; then
13103:   TARGET_READLINE_LIBS="-lreadline"
13104: else
13105:   found="no"
13106: fi
13107: 
13108: 		TARGET_READLINE_LIBS="$TARGET_READLINE_LIBS $term_LIBS"
13109: 		LIBS="$save_LIBS"
13110: 	else
13111: 		TARGET_READLINE_LIBS="$with_readline_lib"
13112: 	fi
13113: 
13114: 
13115: # Check whether --with-readline-inc was given.
13116: if test "${with_readline_inc+set}" = set; then
13117:   withval=$with_readline_inc; with_readline_inc=$withval
13118: else
13119:   with_readline_inc="auto"
13120: fi
13121: 
13122: 	if test "x$with_readline_inc" = xauto; then
13123: 		if test "${ac_cv_header_readline_h+set}" = set; then
13124:   { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13125: $as_echo_n "checking for readline.h... " >&6; }
13126: if test "${ac_cv_header_readline_h+set}" = set; then
13127:   $as_echo_n "(cached) " >&6
13128: fi
13129: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13130: $as_echo "$ac_cv_header_readline_h" >&6; }
13131: else
13132:   # Is the header compilable?
13133: { $as_echo "$as_me:$LINENO: checking readline.h usability" >&5
13134: $as_echo_n "checking readline.h usability... " >&6; }
13135: cat >conftest.$ac_ext <<_ACEOF
13136: /* confdefs.h.  */
13137: _ACEOF
13138: cat confdefs.h >>conftest.$ac_ext
13139: cat >>conftest.$ac_ext <<_ACEOF
13140: /* end confdefs.h.  */
13141: $ac_includes_default
13142: #include <readline.h>
13143: _ACEOF
13144: rm -f conftest.$ac_objext
13145: if { (ac_try="$ac_compile"
13146: case "(($ac_try" in
13147:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13148:   *) ac_try_echo=$ac_try;;
13149: esac
13150: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13151: $as_echo "$ac_try_echo") >&5
13152:   (eval "$ac_compile") 2>conftest.er1
13153:   ac_status=$?
13154:   grep -v '^ *+' conftest.er1 >conftest.err
13155:   rm -f conftest.er1
13156:   cat conftest.err >&5
13157:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158:   (exit $ac_status); } && {
13159: 	 test -z "$ac_c_werror_flag" ||
13160: 	 test ! -s conftest.err
13161:        } && test -s conftest.$ac_objext; then
13162:   ac_header_compiler=yes
13163: else
13164:   $as_echo "$as_me: failed program was:" >&5
13165: sed 's/^/| /' conftest.$ac_ext >&5
13166: 
13167: 	ac_header_compiler=no
13168: fi
13169: 
13170: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13171: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13172: $as_echo "$ac_header_compiler" >&6; }
13173: 
13174: # Is the header present?
13175: { $as_echo "$as_me:$LINENO: checking readline.h presence" >&5
13176: $as_echo_n "checking readline.h presence... " >&6; }
13177: cat >conftest.$ac_ext <<_ACEOF
13178: /* confdefs.h.  */
13179: _ACEOF
13180: cat confdefs.h >>conftest.$ac_ext
13181: cat >>conftest.$ac_ext <<_ACEOF
13182: /* end confdefs.h.  */
13183: #include <readline.h>
13184: _ACEOF
13185: if { (ac_try="$ac_cpp conftest.$ac_ext"
13186: case "(($ac_try" in
13187:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188:   *) ac_try_echo=$ac_try;;
13189: esac
13190: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13191: $as_echo "$ac_try_echo") >&5
13192:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13193:   ac_status=$?
13194:   grep -v '^ *+' conftest.er1 >conftest.err
13195:   rm -f conftest.er1
13196:   cat conftest.err >&5
13197:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198:   (exit $ac_status); } >/dev/null && {
13199: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13200: 	 test ! -s conftest.err
13201:        }; then
13202:   ac_header_preproc=yes
13203: else
13204:   $as_echo "$as_me: failed program was:" >&5
13205: sed 's/^/| /' conftest.$ac_ext >&5
13206: 
13207:   ac_header_preproc=no
13208: fi
13209: 
13210: rm -f conftest.err conftest.$ac_ext
13211: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13212: $as_echo "$ac_header_preproc" >&6; }
13213: 
13214: # So?  What about this header?
13215: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13216:   yes:no: )
13217:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
13218: $as_echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13219:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
13220: $as_echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
13221:     ac_header_preproc=yes
13222:     ;;
13223:   no:yes:* )
13224:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
13225: $as_echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
13226:     { $as_echo "$as_me:$LINENO: WARNING: readline.h:     check for missing prerequisite headers?" >&5
13227: $as_echo "$as_me: WARNING: readline.h:     check for missing prerequisite headers?" >&2;}
13228:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
13229: $as_echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
13230:     { $as_echo "$as_me:$LINENO: WARNING: readline.h:     section \"Present But Cannot Be Compiled\"" >&5
13231: $as_echo "$as_me: WARNING: readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13232:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
13233: $as_echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
13234:     { $as_echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
13235: $as_echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
13236: 
13237:     ;;
13238: esac
13239: { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13240: $as_echo_n "checking for readline.h... " >&6; }
13241: if test "${ac_cv_header_readline_h+set}" = set; then
13242:   $as_echo_n "(cached) " >&6
13243: else
13244:   ac_cv_header_readline_h=$ac_header_preproc
13245: fi
13246: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13247: $as_echo "$ac_cv_header_readline_h" >&6; }
13248: 
13249: fi
13250: if test $ac_cv_header_readline_h = yes; then
13251:   found="yes"
13252: else
13253: 
13254: 			found="no"
13255: 			if test "$cross_compiling" != yes; then
13256: 				for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
13257: 					for subdir in include include/readline; do
13258: 						as_ac_File=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
13259: { $as_echo "$as_me:$LINENO: checking for $dir/$subdir/readline.h" >&5
13260: $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
13261: if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
13262:   $as_echo_n "(cached) " >&6
13263: else
13264:   test "$cross_compiling" = yes &&
13265:   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13266: $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13267:    { (exit 1); exit 1; }; }
13268: if test -r "$dir/$subdir/readline.h"; then
13269:   eval "$as_ac_File=yes"
13270: else
13271:   eval "$as_ac_File=no"
13272: fi
13273: fi
13274: ac_res=`eval 'as_val=${'$as_ac_File'}
13275: 		 $as_echo "$as_val"'`
13276: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13277: $as_echo "$ac_res" >&6; }
13278: if test `eval 'as_val=${'$as_ac_File'}
13279: 		 $as_echo "$as_val"'` = yes; then
13280:   found=yes
13281: fi
13282: 
13283: 						if test "$found" = "yes"; then
13284: 							TARGET_READLINE_INC="-I$dir/$subdir"
13285: 							break
13286: 						fi
13287: 					done
13288: 					test "$found" = "yes" && break
13289: 				done
13290: 			fi
13291: 
13292: fi
13293: 
13294: 
13295: 	else
13296: 		TARGET_READLINE_INC="$with_readline_inc"
13297: 	fi
13298: 
13299: 	if test x"$found" = xno; then
13300: 		TARGET_READLINE_LIBS=""
13301: 		TARGET_READLINE_INC=""
13302: 		TARGET_HAVE_READLINE=0
13303: 	else
13304: 		TARGET_HAVE_READLINE=1
13305: 	fi
13306: fi
13307: 
13308: 
13309: 
13310: 
13311: 
13312: ##########
13313: # Figure out what C libraries are required to compile programs
13314: # that use "fdatasync()" function.
13315: #
13316: { $as_echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
13317: $as_echo_n "checking for library containing fdatasync... " >&6; }
13318: if test "${ac_cv_search_fdatasync+set}" = set; then
13319:   $as_echo_n "(cached) " >&6
13320: else
13321:   ac_func_search_save_LIBS=$LIBS
13322: cat >conftest.$ac_ext <<_ACEOF
13323: /* confdefs.h.  */
13324: _ACEOF
13325: cat confdefs.h >>conftest.$ac_ext
13326: cat >>conftest.$ac_ext <<_ACEOF
13327: /* end confdefs.h.  */
13328: 
13329: /* Override any GCC internal prototype to avoid an error.
13330:    Use char because int might match the return type of a GCC
13331:    builtin and then its argument prototype would still apply.  */
13332: #ifdef __cplusplus
13333: extern "C"
13334: #endif
13335: char fdatasync ();
13336: int
13337: main ()
13338: {
13339: return fdatasync ();
13340:   ;
13341:   return 0;
13342: }
13343: _ACEOF
13344: for ac_lib in '' rt; do
13345:   if test -z "$ac_lib"; then
13346:     ac_res="none required"
13347:   else
13348:     ac_res=-l$ac_lib
13349:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13350:   fi
13351:   rm -f conftest.$ac_objext conftest$ac_exeext
13352: if { (ac_try="$ac_link"
13353: case "(($ac_try" in
13354:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355:   *) ac_try_echo=$ac_try;;
13356: esac
13357: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13358: $as_echo "$ac_try_echo") >&5
13359:   (eval "$ac_link") 2>conftest.er1
13360:   ac_status=$?
13361:   grep -v '^ *+' conftest.er1 >conftest.err
13362:   rm -f conftest.er1
13363:   cat conftest.err >&5
13364:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365:   (exit $ac_status); } && {
13366: 	 test -z "$ac_c_werror_flag" ||
13367: 	 test ! -s conftest.err
13368:        } && test -s conftest$ac_exeext && {
13369: 	 test "$cross_compiling" = yes ||
13370: 	 $as_test_x conftest$ac_exeext
13371:        }; then
13372:   ac_cv_search_fdatasync=$ac_res
13373: else
13374:   $as_echo "$as_me: failed program was:" >&5
13375: sed 's/^/| /' conftest.$ac_ext >&5
13376: 
13377: 
13378: fi
13379: 
13380: rm -rf conftest.dSYM
13381: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13382:       conftest$ac_exeext
13383:   if test "${ac_cv_search_fdatasync+set}" = set; then
13384:   break
13385: fi
13386: done
13387: if test "${ac_cv_search_fdatasync+set}" = set; then
13388:   :
13389: else
13390:   ac_cv_search_fdatasync=no
13391: fi
13392: rm conftest.$ac_ext
13393: LIBS=$ac_func_search_save_LIBS
13394: fi
13395: { $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdatasync" >&5
13396: $as_echo "$ac_cv_search_fdatasync" >&6; }
13397: ac_res=$ac_cv_search_fdatasync
13398: if test "$ac_res" != no; then
13399:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13400: 
13401: fi
13402: 
13403: 
13404: #########
13405: # check for debug enabled
13406: # Check whether --enable-debug was given.
13407: if test "${enable_debug+set}" = set; then
13408:   enableval=$enable_debug; use_debug=$enableval
13409: else
13410:   use_debug=no
13411: fi
13412: 
13413: if test "${use_debug}" = "yes" ; then
13414:   TARGET_DEBUG="-DSQLITE_DEBUG=1"
13415: else
13416:   TARGET_DEBUG="-DNDEBUG"
13417: fi
13418: 
13419: 
13420: #########
13421: # See whether we should use the amalgamation to build
13422: # Check whether --enable-amalgamation was given.
13423: if test "${enable_amalgamation+set}" = set; then
13424:   enableval=$enable_amalgamation; use_amalgamation=$enableval
13425: else
13426:   use_amalgamation=yes
13427: fi
13428: 
13429: if test "${use_amalgamation}" != "yes" ; then
13430:   USE_AMALGAMATION=0
13431: fi
13432: 
13433: 
13434: #########
13435: # See whether we should allow loadable extensions
13436: # Check whether --enable-load-extension was given.
13437: if test "${enable_load_extension+set}" = set; then
13438:   enableval=$enable_load_extension; use_loadextension=$enableval
13439: else
13440:   use_loadextension=no
13441: fi
13442: 
13443: if test "${use_loadextension}" = "yes" ; then
13444:   OPT_FEATURE_FLAGS=""
13445:   { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13446: $as_echo_n "checking for library containing dlopen... " >&6; }
13447: if test "${ac_cv_search_dlopen+set}" = set; then
13448:   $as_echo_n "(cached) " >&6
13449: else
13450:   ac_func_search_save_LIBS=$LIBS
13451: cat >conftest.$ac_ext <<_ACEOF
13452: /* confdefs.h.  */
13453: _ACEOF
13454: cat confdefs.h >>conftest.$ac_ext
13455: cat >>conftest.$ac_ext <<_ACEOF
13456: /* end confdefs.h.  */
13457: 
13458: /* Override any GCC internal prototype to avoid an error.
13459:    Use char because int might match the return type of a GCC
13460:    builtin and then its argument prototype would still apply.  */
13461: #ifdef __cplusplus
13462: extern "C"
13463: #endif
13464: char dlopen ();
13465: int
13466: main ()
13467: {
13468: return dlopen ();
13469:   ;
13470:   return 0;
13471: }
13472: _ACEOF
13473: for ac_lib in '' dl; do
13474:   if test -z "$ac_lib"; then
13475:     ac_res="none required"
13476:   else
13477:     ac_res=-l$ac_lib
13478:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13479:   fi
13480:   rm -f conftest.$ac_objext conftest$ac_exeext
13481: if { (ac_try="$ac_link"
13482: case "(($ac_try" in
13483:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484:   *) ac_try_echo=$ac_try;;
13485: esac
13486: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13487: $as_echo "$ac_try_echo") >&5
13488:   (eval "$ac_link") 2>conftest.er1
13489:   ac_status=$?
13490:   grep -v '^ *+' conftest.er1 >conftest.err
13491:   rm -f conftest.er1
13492:   cat conftest.err >&5
13493:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494:   (exit $ac_status); } && {
13495: 	 test -z "$ac_c_werror_flag" ||
13496: 	 test ! -s conftest.err
13497:        } && test -s conftest$ac_exeext && {
13498: 	 test "$cross_compiling" = yes ||
13499: 	 $as_test_x conftest$ac_exeext
13500:        }; then
13501:   ac_cv_search_dlopen=$ac_res
13502: else
13503:   $as_echo "$as_me: failed program was:" >&5
13504: sed 's/^/| /' conftest.$ac_ext >&5
13505: 
13506: 
13507: fi
13508: 
13509: rm -rf conftest.dSYM
13510: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13511:       conftest$ac_exeext
13512:   if test "${ac_cv_search_dlopen+set}" = set; then
13513:   break
13514: fi
13515: done
13516: if test "${ac_cv_search_dlopen+set}" = set; then
13517:   :
13518: else
13519:   ac_cv_search_dlopen=no
13520: fi
13521: rm conftest.$ac_ext
13522: LIBS=$ac_func_search_save_LIBS
13523: fi
13524: { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13525: $as_echo "$ac_cv_search_dlopen" >&6; }
13526: ac_res=$ac_cv_search_dlopen
13527: if test "$ac_res" != no; then
13528:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13529: 
13530: fi
13531: 
13532: else
13533:   OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
13534: fi
13535: 
13536: #########
13537: # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
13538: for option in $CFLAGS $CPPFLAGS
13539: do
13540:   case $option in
13541:     -DSQLITE_OMIT*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
13542:     -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
13543:   esac
13544: done
13545: 
13546: 
13547: 
13548: # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13549: ac_temp_CFLAGS=""
13550: for option in $CFLAGS
13551: do
13552:   case $option in
13553:     -DSQLITE_OMIT*) ;;
13554:     -DSQLITE_ENABLE*) ;;
13555:     *) ac_temp_CFLAGS="$ac_temp_CFLAGS $option";;
13556:   esac
13557: done
13558: CFLAGS=$ac_temp_CFLAGS
13559: 
13560: 
13561: # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13562: ac_temp_CPPFLAGS=""
13563: for option in $CPPFLAGS
13564: do
13565:   case $option in
13566:     -DSQLITE_OMIT*) ;;
13567:     -DSQLITE_ENABLE*) ;;
13568:     *) ac_temp_CPPFLAGS="$ac_temp_CPPFLAGS $option";;
13569:   esac
13570: done
13571: CPPFLAGS=$ac_temp_CPPFLAGS
13572: 
13573: 
13574: # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13575: ac_temp_BUILD_CFLAGS=""
13576: for option in $BUILD_CFLAGS
13577: do
13578:   case $option in
13579:     -DSQLITE_OMIT*) ;;
13580:     -DSQLITE_ENABLE*) ;;
13581:     *) ac_temp_BUILD_CFLAGS="$ac_temp_BUILD_CFLAGS $option";;
13582:   esac
13583: done
13584: BUILD_CFLAGS=$ac_temp_BUILD_CFLAGS
13585: 
13586: 
13587: #########
13588: # See whether we should use GCOV
13589: # Check whether --enable-gcov was given.
13590: if test "${enable_gcov+set}" = set; then
13591:   enableval=$enable_gcov; use_gcov=$enableval
13592: else
13593:   use_gcov=no
13594: fi
13595: 
13596: if test "${use_gcov}" = "yes" ; then
13597:   USE_GCOV=1
13598: else
13599:   USE_GCOV=0
13600: fi
13601: 
13602: 
13603: 
13604: #########
13605: # Output the config header
13606: ac_config_headers="$ac_config_headers config.h"
13607: 
13608: 
13609: #########
13610: # Generate the output files.
13611: #
13612: 
13613: ac_config_files="$ac_config_files Makefile sqlite3.pc"
13614: 
13615: cat >confcache <<\_ACEOF
13616: # This file is a shell script that caches the results of configure
13617: # tests run on this system so they can be shared between configure
13618: # scripts and configure runs, see configure's option --config-cache.
13619: # It is not useful on other systems.  If it contains results you don't
13620: # want to keep, you may remove or edit it.
13621: #
13622: # config.status only pays attention to the cache file if you give it
13623: # the --recheck option to rerun configure.
13624: #
13625: # `ac_cv_env_foo' variables (set or unset) will be overridden when
13626: # loading this file, other *unset* `ac_cv_foo' will be assigned the
13627: # following values.
13628: 
13629: _ACEOF
13630: 
13631: # The following way of writing the cache mishandles newlines in values,
13632: # but we know of no workaround that is simple, portable, and efficient.
13633: # So, we kill variables containing newlines.
13634: # Ultrix sh set writes to stderr and can't be redirected directly,
13635: # and sets the high bit in the cache file unless we assign to the vars.
13636: (
13637:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13638:     eval ac_val=\$$ac_var
13639:     case $ac_val in #(
13640:     *${as_nl}*)
13641:       case $ac_var in #(
13642:       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13643: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13644:       esac
13645:       case $ac_var in #(
13646:       _ | IFS | as_nl) ;; #(
13647:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13648:       *) $as_unset $ac_var ;;
13649:       esac ;;
13650:     esac
13651:   done
13652: 
13653:   (set) 2>&1 |
13654:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13655:     *${as_nl}ac_space=\ *)
13656:       # `set' does not quote correctly, so add quotes (double-quote
13657:       # substitution turns \\\\ into \\, and sed turns \\ into \).
13658:       sed -n \
13659: 	"s/'/'\\\\''/g;
13660: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13661:       ;; #(
13662:     *)
13663:       # `set' quotes correctly as required by POSIX, so do not add quotes.
13664:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13665:       ;;
13666:     esac |
13667:     sort
13668: ) |
13669:   sed '
13670:      /^ac_cv_env_/b end
13671:      t clear
13672:      :clear
13673:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13674:      t end
13675:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13676:      :end' >>confcache
13677: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13678:   if test -w "$cache_file"; then
13679:     test "x$cache_file" != "x/dev/null" &&
13680:       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13681: $as_echo "$as_me: updating cache $cache_file" >&6;}
13682:     cat confcache >$cache_file
13683:   else
13684:     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13685: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13686:   fi
13687: fi
13688: rm -f confcache
13689: 
13690: test "x$prefix" = xNONE && prefix=$ac_default_prefix
13691: # Let make expand exec_prefix.
13692: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13693: 
13694: DEFS=-DHAVE_CONFIG_H
13695: 
13696: ac_libobjs=
13697: ac_ltlibobjs=
13698: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13699:   # 1. Remove the extension, and $U if already installed.
13700:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13701:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13702:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13703:   #    will be set to the directory where LIBOBJS objects are built.
13704:   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13705:   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13706: done
13707: LIBOBJS=$ac_libobjs
13708: 
13709: LTLIBOBJS=$ac_ltlibobjs
13710: 
13711: 
13712: 
13713: : ${CONFIG_STATUS=./config.status}
13714: ac_write_fail=0
13715: ac_clean_files_save=$ac_clean_files
13716: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13717: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13718: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13719: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13720: #! $SHELL
13721: # Generated by $as_me.
13722: # Run this file to recreate the current configuration.
13723: # Compiler output produced by configure, useful for debugging
13724: # configure, is in config.log if it exists.
13725: 
13726: debug=false
13727: ac_cs_recheck=false
13728: ac_cs_silent=false
13729: SHELL=\${CONFIG_SHELL-$SHELL}
13730: _ACEOF
13731: 
13732: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13733: ## --------------------- ##
13734: ## M4sh Initialization.  ##
13735: ## --------------------- ##
13736: 
13737: # Be more Bourne compatible
13738: DUALCASE=1; export DUALCASE # for MKS sh
13739: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13740:   emulate sh
13741:   NULLCMD=:
13742:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13743:   # is contrary to our usage.  Disable this feature.
13744:   alias -g '${1+"$@"}'='"$@"'
13745:   setopt NO_GLOB_SUBST
13746: else
13747:   case `(set -o) 2>/dev/null` in
13748:   *posix*) set -o posix ;;
13749: esac
13750: 
13751: fi
13752: 
13753: 
13754: 
13755: 
13756: # PATH needs CR
13757: # Avoid depending upon Character Ranges.
13758: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13759: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13760: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13761: as_cr_digits='0123456789'
13762: as_cr_alnum=$as_cr_Letters$as_cr_digits
13763: 
13764: as_nl='
13765: '
13766: export as_nl
13767: # Printing a long string crashes Solaris 7 /usr/bin/printf.
13768: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13769: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13770: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13771: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13772:   as_echo='printf %s\n'
13773:   as_echo_n='printf %s'
13774: else
13775:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13776:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13777:     as_echo_n='/usr/ucb/echo -n'
13778:   else
13779:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13780:     as_echo_n_body='eval
13781:       arg=$1;
13782:       case $arg in
13783:       *"$as_nl"*)
13784: 	expr "X$arg" : "X\\(.*\\)$as_nl";
13785: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13786:       esac;
13787:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13788:     '
13789:     export as_echo_n_body
13790:     as_echo_n='sh -c $as_echo_n_body as_echo'
13791:   fi
13792:   export as_echo_body
13793:   as_echo='sh -c $as_echo_body as_echo'
13794: fi
13795: 
13796: # The user is always right.
13797: if test "${PATH_SEPARATOR+set}" != set; then
13798:   PATH_SEPARATOR=:
13799:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13800:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13801:       PATH_SEPARATOR=';'
13802:   }
13803: fi
13804: 
13805: # Support unset when possible.
13806: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13807:   as_unset=unset
13808: else
13809:   as_unset=false
13810: fi
13811: 
13812: 
13813: # IFS
13814: # We need space, tab and new line, in precisely that order.  Quoting is
13815: # there to prevent editors from complaining about space-tab.
13816: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13817: # splitting by setting IFS to empty value.)
13818: IFS=" ""	$as_nl"
13819: 
13820: # Find who we are.  Look in the path if we contain no directory separator.
13821: case $0 in
13822:   *[\\/]* ) as_myself=$0 ;;
13823:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13824: for as_dir in $PATH
13825: do
13826:   IFS=$as_save_IFS
13827:   test -z "$as_dir" && as_dir=.
13828:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13829: done
13830: IFS=$as_save_IFS
13831: 
13832:      ;;
13833: esac
13834: # We did not find ourselves, most probably we were run as `sh COMMAND'
13835: # in which case we are not to be found in the path.
13836: if test "x$as_myself" = x; then
13837:   as_myself=$0
13838: fi
13839: if test ! -f "$as_myself"; then
13840:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13841:   { (exit 1); exit 1; }
13842: fi
13843: 
13844: # Work around bugs in pre-3.0 UWIN ksh.
13845: for as_var in ENV MAIL MAILPATH
13846: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13847: done
13848: PS1='$ '
13849: PS2='> '
13850: PS4='+ '
13851: 
13852: # NLS nuisances.
13853: LC_ALL=C
13854: export LC_ALL
13855: LANGUAGE=C
13856: export LANGUAGE
13857: 
13858: # Required to use basename.
13859: if expr a : '\(a\)' >/dev/null 2>&1 &&
13860:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13861:   as_expr=expr
13862: else
13863:   as_expr=false
13864: fi
13865: 
13866: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13867:   as_basename=basename
13868: else
13869:   as_basename=false
13870: fi
13871: 
13872: 
13873: # Name of the executable.
13874: as_me=`$as_basename -- "$0" ||
13875: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13876: 	 X"$0" : 'X\(//\)$' \| \
13877: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13878: $as_echo X/"$0" |
13879:     sed '/^.*\/\([^/][^/]*\)\/*$/{
13880: 	    s//\1/
13881: 	    q
13882: 	  }
13883: 	  /^X\/\(\/\/\)$/{
13884: 	    s//\1/
13885: 	    q
13886: 	  }
13887: 	  /^X\/\(\/\).*/{
13888: 	    s//\1/
13889: 	    q
13890: 	  }
13891: 	  s/.*/./; q'`
13892: 
13893: # CDPATH.
13894: $as_unset CDPATH
13895: 
13896: 
13897: 
13898:   as_lineno_1=$LINENO
13899:   as_lineno_2=$LINENO
13900:   test "x$as_lineno_1" != "x$as_lineno_2" &&
13901:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13902: 
13903:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13904:   # uniformly replaced by the line number.  The first 'sed' inserts a
13905:   # line-number line after each line using $LINENO; the second 'sed'
13906:   # does the real work.  The second script uses 'N' to pair each
13907:   # line-number line with the line containing $LINENO, and appends
13908:   # trailing '-' during substitution so that $LINENO is not a special
13909:   # case at line end.
13910:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13911:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
13912:   # E. McMahon (1931-1989) for sed's syntax.  :-)
13913:   sed -n '
13914:     p
13915:     /[$]LINENO/=
13916:   ' <$as_myself |
13917:     sed '
13918:       s/[$]LINENO.*/&-/
13919:       t lineno
13920:       b
13921:       :lineno
13922:       N
13923:       :loop
13924:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13925:       t loop
13926:       s/-\n.*//
13927:     ' >$as_me.lineno &&
13928:   chmod +x "$as_me.lineno" ||
13929:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13930:    { (exit 1); exit 1; }; }
13931: 
13932:   # Don't try to exec as it changes $[0], causing all sort of problems
13933:   # (the dirname of $[0] is not the place where we might find the
13934:   # original and so on.  Autoconf is especially sensitive to this).
13935:   . "./$as_me.lineno"
13936:   # Exit status is that of the last command.
13937:   exit
13938: }
13939: 
13940: 
13941: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13942:   as_dirname=dirname
13943: else
13944:   as_dirname=false
13945: fi
13946: 
13947: ECHO_C= ECHO_N= ECHO_T=
13948: case `echo -n x` in
13949: -n*)
13950:   case `echo 'x\c'` in
13951:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13952:   *)   ECHO_C='\c';;
13953:   esac;;
13954: *)
13955:   ECHO_N='-n';;
13956: esac
13957: if expr a : '\(a\)' >/dev/null 2>&1 &&
13958:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13959:   as_expr=expr
13960: else
13961:   as_expr=false
13962: fi
13963: 
13964: rm -f conf$$ conf$$.exe conf$$.file
13965: if test -d conf$$.dir; then
13966:   rm -f conf$$.dir/conf$$.file
13967: else
13968:   rm -f conf$$.dir
13969:   mkdir conf$$.dir 2>/dev/null
13970: fi
13971: if (echo >conf$$.file) 2>/dev/null; then
13972:   if ln -s conf$$.file conf$$ 2>/dev/null; then
13973:     as_ln_s='ln -s'
13974:     # ... but there are two gotchas:
13975:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13976:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13977:     # In both cases, we have to default to `cp -p'.
13978:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13979:       as_ln_s='cp -p'
13980:   elif ln conf$$.file conf$$ 2>/dev/null; then
13981:     as_ln_s=ln
13982:   else
13983:     as_ln_s='cp -p'
13984:   fi
13985: else
13986:   as_ln_s='cp -p'
13987: fi
13988: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13989: rmdir conf$$.dir 2>/dev/null
13990: 
13991: if mkdir -p . 2>/dev/null; then
13992:   as_mkdir_p=:
13993: else
13994:   test -d ./-p && rmdir ./-p
13995:   as_mkdir_p=false
13996: fi
13997: 
13998: if test -x / >/dev/null 2>&1; then
13999:   as_test_x='test -x'
14000: else
14001:   if ls -dL / >/dev/null 2>&1; then
14002:     as_ls_L_option=L
14003:   else
14004:     as_ls_L_option=
14005:   fi
14006:   as_test_x='
14007:     eval sh -c '\''
14008:       if test -d "$1"; then
14009: 	test -d "$1/.";
14010:       else
14011: 	case $1 in
14012: 	-*)set "./$1";;
14013: 	esac;
14014: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14015: 	???[sx]*):;;*)false;;esac;fi
14016:     '\'' sh
14017:   '
14018: fi
14019: as_executable_p=$as_test_x
14020: 
14021: # Sed expression to map a string onto a valid CPP name.
14022: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14023: 
14024: # Sed expression to map a string onto a valid variable name.
14025: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14026: 
14027: 
14028: exec 6>&1
14029: 
14030: # Save the log message, to keep $[0] and so on meaningful, and to
14031: # report actual input values of CONFIG_FILES etc. instead of their
14032: # values after options handling.
14033: ac_log="
14034: This file was extended by sqlite $as_me 3.7.10, which was
14035: generated by GNU Autoconf 2.62.  Invocation command line was
14036: 
14037:   CONFIG_FILES    = $CONFIG_FILES
14038:   CONFIG_HEADERS  = $CONFIG_HEADERS
14039:   CONFIG_LINKS    = $CONFIG_LINKS
14040:   CONFIG_COMMANDS = $CONFIG_COMMANDS
14041:   $ $0 $@
14042: 
14043: on `(hostname || uname -n) 2>/dev/null | sed 1q`
14044: "
14045: 
14046: _ACEOF
14047: 
14048: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14049: # Files that config.status was made for.
14050: config_files="$ac_config_files"
14051: config_headers="$ac_config_headers"
14052: config_commands="$ac_config_commands"
14053: 
14054: _ACEOF
14055: 
14056: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14057: ac_cs_usage="\
14058: \`$as_me' instantiates files from templates according to the
14059: current configuration.
14060: 
14061: Usage: $0 [OPTIONS] [FILE]...
14062: 
14063:   -h, --help       print this help, then exit
14064:   -V, --version    print version number and configuration settings, then exit
14065:   -q, --quiet      do not print progress messages
14066:   -d, --debug      don't remove temporary files
14067:       --recheck    update $as_me by reconfiguring in the same conditions
14068:   --file=FILE[:TEMPLATE]
14069:                    instantiate the configuration file FILE
14070:   --header=FILE[:TEMPLATE]
14071:                    instantiate the configuration header FILE
14072: 
14073: Configuration files:
14074: $config_files
14075: 
14076: Configuration headers:
14077: $config_headers
14078: 
14079: Configuration commands:
14080: $config_commands
14081: 
14082: Report bugs to <bug-autoconf@gnu.org>."
14083: 
14084: _ACEOF
14085: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14086: ac_cs_version="\\
14087: sqlite config.status 3.7.10
14088: configured by $0, generated by GNU Autoconf 2.62,
14089:   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14090: 
14091: Copyright (C) 2008 Free Software Foundation, Inc.
14092: This config.status script is free software; the Free Software Foundation
14093: gives unlimited permission to copy, distribute and modify it."
14094: 
14095: ac_pwd='$ac_pwd'
14096: srcdir='$srcdir'
14097: INSTALL='$INSTALL'
14098: AWK='$AWK'
14099: test -n "\$AWK" || AWK=awk
14100: _ACEOF
14101: 
14102: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14103: # The default lists apply if the user does not specify any file.
14104: ac_need_defaults=:
14105: while test $# != 0
14106: do
14107:   case $1 in
14108:   --*=*)
14109:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14110:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14111:     ac_shift=:
14112:     ;;
14113:   *)
14114:     ac_option=$1
14115:     ac_optarg=$2
14116:     ac_shift=shift
14117:     ;;
14118:   esac
14119: 
14120:   case $ac_option in
14121:   # Handling of the options.
14122:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14123:     ac_cs_recheck=: ;;
14124:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14125:     $as_echo "$ac_cs_version"; exit ;;
14126:   --debug | --debu | --deb | --de | --d | -d )
14127:     debug=: ;;
14128:   --file | --fil | --fi | --f )
14129:     $ac_shift
14130:     case $ac_optarg in
14131:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14132:     esac
14133:     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14134:     ac_need_defaults=false;;
14135:   --header | --heade | --head | --hea )
14136:     $ac_shift
14137:     case $ac_optarg in
14138:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14139:     esac
14140:     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14141:     ac_need_defaults=false;;
14142:   --he | --h)
14143:     # Conflict between --help and --header
14144:     { $as_echo "$as_me: error: ambiguous option: $1
14145: Try \`$0 --help' for more information." >&2
14146:    { (exit 1); exit 1; }; };;
14147:   --help | --hel | -h )
14148:     $as_echo "$ac_cs_usage"; exit ;;
14149:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14150:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14151:     ac_cs_silent=: ;;
14152: 
14153:   # This is an error.
14154:   -*) { $as_echo "$as_me: error: unrecognized option: $1
14155: Try \`$0 --help' for more information." >&2
14156:    { (exit 1); exit 1; }; } ;;
14157: 
14158:   *) ac_config_targets="$ac_config_targets $1"
14159:      ac_need_defaults=false ;;
14160: 
14161:   esac
14162:   shift
14163: done
14164: 
14165: ac_configure_extra_args=
14166: 
14167: if $ac_cs_silent; then
14168:   exec 6>/dev/null
14169:   ac_configure_extra_args="$ac_configure_extra_args --silent"
14170: fi
14171: 
14172: _ACEOF
14173: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14174: if \$ac_cs_recheck; then
14175:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14176:   shift
14177:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14178:   CONFIG_SHELL='$SHELL'
14179:   export CONFIG_SHELL
14180:   exec "\$@"
14181: fi
14182: 
14183: _ACEOF
14184: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14185: exec 5>>config.log
14186: {
14187:   echo
14188:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14189: ## Running $as_me. ##
14190: _ASBOX
14191:   $as_echo "$ac_log"
14192: } >&5
14193: 
14194: _ACEOF
14195: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14196: #
14197: # INIT-COMMANDS
14198: #
14199: 
14200: 
14201: # The HP-UX ksh and POSIX shell print the target directory to stdout
14202: # if CDPATH is set.
14203: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14204: 
14205: sed_quote_subst='$sed_quote_subst'
14206: double_quote_subst='$double_quote_subst'
14207: delay_variable_subst='$delay_variable_subst'
14208: macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14209: macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14210: enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14211: enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14212: pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14213: enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14214: host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14215: host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14216: host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14217: build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14218: build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14219: build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14220: SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14221: Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14222: GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14223: EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14224: FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14225: LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14226: NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14227: LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14228: max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14229: ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14230: exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14231: lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14232: lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14233: lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14234: reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14235: reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14236: OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14237: deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14238: file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14239: AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14240: AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14241: STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14242: RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14243: old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14244: old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14245: old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14246: CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14247: CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14248: compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14249: GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14250: lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14251: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14252: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14253: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14254: objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14255: SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14256: ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14257: MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14258: lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14259: lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14260: lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14261: lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14262: lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14263: need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14264: DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14265: NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14266: LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14267: OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14268: OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14269: libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14270: shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14271: extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14272: archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14273: enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14274: export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14275: whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14276: compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14277: old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14278: old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14279: archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14280: archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14281: module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14282: module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14283: with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14284: allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14285: no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14286: hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14287: hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14288: hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14289: hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14290: hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14291: hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14292: hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14293: hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14294: inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14295: link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14296: fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14297: always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14298: export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14299: exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14300: include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14301: prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14302: file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14303: variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14304: need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14305: need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14306: version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14307: runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14308: shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14309: shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14310: libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14311: library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14312: soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14313: postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14314: postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14315: finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316: finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14317: hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14318: sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14319: sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14320: hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14321: enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14322: enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14323: enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14324: old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14325: striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14326: 
14327: LTCC='$LTCC'
14328: LTCFLAGS='$LTCFLAGS'
14329: compiler='$compiler_DEFAULT'
14330: 
14331: # Quote evaled strings.
14332: for var in SED \
14333: GREP \
14334: EGREP \
14335: FGREP \
14336: LD \
14337: NM \
14338: LN_S \
14339: lt_SP2NL \
14340: lt_NL2SP \
14341: reload_flag \
14342: OBJDUMP \
14343: deplibs_check_method \
14344: file_magic_cmd \
14345: AR \
14346: AR_FLAGS \
14347: STRIP \
14348: RANLIB \
14349: CC \
14350: CFLAGS \
14351: compiler \
14352: lt_cv_sys_global_symbol_pipe \
14353: lt_cv_sys_global_symbol_to_cdecl \
14354: lt_cv_sys_global_symbol_to_c_name_address \
14355: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14356: SHELL \
14357: ECHO \
14358: lt_prog_compiler_no_builtin_flag \
14359: lt_prog_compiler_wl \
14360: lt_prog_compiler_pic \
14361: lt_prog_compiler_static \
14362: lt_cv_prog_compiler_c_o \
14363: need_locks \
14364: DSYMUTIL \
14365: NMEDIT \
14366: LIPO \
14367: OTOOL \
14368: OTOOL64 \
14369: shrext_cmds \
14370: export_dynamic_flag_spec \
14371: whole_archive_flag_spec \
14372: compiler_needs_object \
14373: with_gnu_ld \
14374: allow_undefined_flag \
14375: no_undefined_flag \
14376: hardcode_libdir_flag_spec \
14377: hardcode_libdir_flag_spec_ld \
14378: hardcode_libdir_separator \
14379: fix_srcfile_path \
14380: exclude_expsyms \
14381: include_expsyms \
14382: file_list_spec \
14383: variables_saved_for_relink \
14384: libname_spec \
14385: library_names_spec \
14386: soname_spec \
14387: finish_eval \
14388: old_striplib \
14389: striplib; do
14390:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14391:     *[\\\\\\\`\\"\\\$]*)
14392:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14393:       ;;
14394:     *)
14395:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14396:       ;;
14397:     esac
14398: done
14399: 
14400: # Double-quote double-evaled strings.
14401: for var in reload_cmds \
14402: old_postinstall_cmds \
14403: old_postuninstall_cmds \
14404: old_archive_cmds \
14405: extract_expsyms_cmds \
14406: old_archive_from_new_cmds \
14407: old_archive_from_expsyms_cmds \
14408: archive_cmds \
14409: archive_expsym_cmds \
14410: module_cmds \
14411: module_expsym_cmds \
14412: export_symbols_cmds \
14413: prelink_cmds \
14414: postinstall_cmds \
14415: postuninstall_cmds \
14416: finish_cmds \
14417: sys_lib_search_path_spec \
14418: sys_lib_dlsearch_path_spec; do
14419:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14420:     *[\\\\\\\`\\"\\\$]*)
14421:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14422:       ;;
14423:     *)
14424:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14425:       ;;
14426:     esac
14427: done
14428: 
14429: # Fix-up fallback echo if it was mangled by the above quoting rules.
14430: case \$lt_ECHO in
14431: *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14432:   ;;
14433: esac
14434: 
14435: ac_aux_dir='$ac_aux_dir'
14436: xsi_shell='$xsi_shell'
14437: lt_shell_append='$lt_shell_append'
14438: 
14439: # See if we are running on zsh, and set the options which allow our
14440: # commands through without removal of \ escapes INIT.
14441: if test -n "\${ZSH_VERSION+set}" ; then
14442:    setopt NO_GLOB_SUBST
14443: fi
14444: 
14445: 
14446:     PACKAGE='$PACKAGE'
14447:     VERSION='$VERSION'
14448:     TIMESTAMP='$TIMESTAMP'
14449:     RM='$RM'
14450:     ofile='$ofile'
14451: 
14452: 
14453: 
14454: 
14455: _ACEOF
14456: 
14457: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14458: 
14459: # Handling of arguments.
14460: for ac_config_target in $ac_config_targets
14461: do
14462:   case $ac_config_target in
14463:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14464:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14465:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14466:     "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
14467: 
14468:   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14469: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14470:    { (exit 1); exit 1; }; };;
14471:   esac
14472: done
14473: 
14474: 
14475: # If the user did not use the arguments to specify the items to instantiate,
14476: # then the envvar interface is used.  Set only those that are not.
14477: # We use the long form for the default assignment because of an extremely
14478: # bizarre bug on SunOS 4.1.3.
14479: if $ac_need_defaults; then
14480:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14481:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14482:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14483: fi
14484: 
14485: # Have a temporary directory for convenience.  Make it in the build tree
14486: # simply because there is no reason against having it here, and in addition,
14487: # creating and moving files from /tmp can sometimes cause problems.
14488: # Hook for its removal unless debugging.
14489: # Note that there is a small window in which the directory will not be cleaned:
14490: # after its creation but before its name has been assigned to `$tmp'.
14491: $debug ||
14492: {
14493:   tmp=
14494:   trap 'exit_status=$?
14495:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14496: ' 0
14497:   trap '{ (exit 1); exit 1; }' 1 2 13 15
14498: }
14499: # Create a (secure) tmp directory for tmp files.
14500: 
14501: {
14502:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14503:   test -n "$tmp" && test -d "$tmp"
14504: }  ||
14505: {
14506:   tmp=./conf$$-$RANDOM
14507:   (umask 077 && mkdir "$tmp")
14508: } ||
14509: {
14510:    $as_echo "$as_me: cannot create a temporary directory in ." >&2
14511:    { (exit 1); exit 1; }
14512: }
14513: 
14514: # Set up the scripts for CONFIG_FILES section.
14515: # No need to generate them if there are no CONFIG_FILES.
14516: # This happens for instance with `./config.status config.h'.
14517: if test -n "$CONFIG_FILES"; then
14518: 
14519: 
14520: ac_cr='
'
14521: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14522: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14523:   ac_cs_awk_cr='\\r'
14524: else
14525:   ac_cs_awk_cr=$ac_cr
14526: fi
14527: 
14528: echo 'BEGIN {' >"$tmp/subs1.awk" &&
14529: _ACEOF
14530: 
14531: 
14532: {
14533:   echo "cat >conf$$subs.awk <<_ACEOF" &&
14534:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14535:   echo "_ACEOF"
14536: } >conf$$subs.sh ||
14537:   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14538: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14539:    { (exit 1); exit 1; }; }
14540: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14541: ac_delim='%!_!# '
14542: for ac_last_try in false false false false false :; do
14543:   . ./conf$$subs.sh ||
14544:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14545: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14546:    { (exit 1); exit 1; }; }
14547: 
14548:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14549:     break
14550:   elif $ac_last_try; then
14551:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14552: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14553:    { (exit 1); exit 1; }; }
14554:   else
14555:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14556:   fi
14557: done
14558: rm -f conf$$subs.sh
14559: 
14560: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14561: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14562: _ACEOF
14563: sed -n '
14564: h
14565: s/^/S["/; s/!.*/"]=/
14566: p
14567: g
14568: s/^[^!]*!//
14569: :repl
14570: t repl
14571: s/'"$ac_delim"'$//
14572: t delim
14573: :nl
14574: h
14575: s/\(.\{148\}\).*/\1/
14576: t more1
14577: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14578: p
14579: n
14580: b repl
14581: :more1
14582: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14583: p
14584: g
14585: s/.\{148\}//
14586: t nl
14587: :delim
14588: h
14589: s/\(.\{148\}\).*/\1/
14590: t more2
14591: s/["\\]/\\&/g; s/^/"/; s/$/"/
14592: p
14593: b
14594: :more2
14595: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14596: p
14597: g
14598: s/.\{148\}//
14599: t delim
14600: ' <conf$$subs.awk | sed '
14601: /^[^""]/{
14602:   N
14603:   s/\n//
14604: }
14605: ' >>$CONFIG_STATUS || ac_write_fail=1
14606: rm -f conf$$subs.awk
14607: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14608: _ACAWK
14609: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14610:   for (key in S) S_is_set[key] = 1
14611:   FS = ""
14612: 
14613: }
14614: {
14615:   line = $ 0
14616:   nfields = split(line, field, "@")
14617:   substed = 0
14618:   len = length(field[1])
14619:   for (i = 2; i < nfields; i++) {
14620:     key = field[i]
14621:     keylen = length(key)
14622:     if (S_is_set[key]) {
14623:       value = S[key]
14624:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14625:       len += length(value) + length(field[++i])
14626:       substed = 1
14627:     } else
14628:       len += 1 + keylen
14629:   }
14630: 
14631:   print line
14632: }
14633: 
14634: _ACAWK
14635: _ACEOF
14636: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14637: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14638:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14639: else
14640:   cat
14641: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14642:   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14643: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
14644:    { (exit 1); exit 1; }; }
14645: _ACEOF
14646: 
14647: # VPATH may cause trouble with some makes, so we remove $(srcdir),
14648: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14649: # trailing colons and then remove the whole line if VPATH becomes empty
14650: # (actually we leave an empty line to preserve line numbers).
14651: if test "x$srcdir" = x.; then
14652:   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
14653: s/:*\$(srcdir):*/:/
14654: s/:*\${srcdir}:*/:/
14655: s/:*@srcdir@:*/:/
14656: s/^\([^=]*=[	 ]*\):*/\1/
14657: s/:*$//
14658: s/^[^=]*=[	 ]*$//
14659: }'
14660: fi
14661: 
14662: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14663: fi # test -n "$CONFIG_FILES"
14664: 
14665: # Set up the scripts for CONFIG_HEADERS section.
14666: # No need to generate them if there are no CONFIG_HEADERS.
14667: # This happens for instance with `./config.status Makefile'.
14668: if test -n "$CONFIG_HEADERS"; then
14669: cat >"$tmp/defines.awk" <<\_ACAWK ||
14670: BEGIN {
14671: _ACEOF
14672: 
14673: # Transform confdefs.h into an awk script `defines.awk', embedded as
14674: # here-document in config.status, that substitutes the proper values into
14675: # config.h.in to produce config.h.
14676: 
14677: # Create a delimiter string that does not exist in confdefs.h, to ease
14678: # handling of long lines.
14679: ac_delim='%!_!# '
14680: for ac_last_try in false false :; do
14681:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14682:   if test -z "$ac_t"; then
14683:     break
14684:   elif $ac_last_try; then
14685:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14686: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14687:    { (exit 1); exit 1; }; }
14688:   else
14689:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14690:   fi
14691: done
14692: 
14693: # For the awk script, D is an array of macro values keyed by name,
14694: # likewise P contains macro parameters if any.  Preserve backslash
14695: # newline sequences.
14696: 
14697: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14698: sed -n '
14699: s/.\{148\}/&'"$ac_delim"'/g
14700: t rset
14701: :rset
14702: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14703: t def
14704: d
14705: :def
14706: s/\\$//
14707: t bsnl
14708: s/["\\]/\\&/g
14709: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14710: D["\1"]=" \3"/p
14711: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14712: d
14713: :bsnl
14714: s/["\\]/\\&/g
14715: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14716: D["\1"]=" \3\\\\\\n"\\/p
14717: t cont
14718: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14719: t cont
14720: d
14721: :cont
14722: n
14723: s/.\{148\}/&'"$ac_delim"'/g
14724: t clear
14725: :clear
14726: s/\\$//
14727: t bsnlc
14728: s/["\\]/\\&/g; s/^/"/; s/$/"/p
14729: d
14730: :bsnlc
14731: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14732: b cont
14733: ' <confdefs.h | sed '
14734: s/'"$ac_delim"'/"\\\
14735: "/g' >>$CONFIG_STATUS || ac_write_fail=1
14736: 
14737: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14738:   for (key in D) D_is_set[key] = 1
14739:   FS = ""
14740: }
14741: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14742:   line = \$ 0
14743:   split(line, arg, " ")
14744:   if (arg[1] == "#") {
14745:     defundef = arg[2]
14746:     mac1 = arg[3]
14747:   } else {
14748:     defundef = substr(arg[1], 2)
14749:     mac1 = arg[2]
14750:   }
14751:   split(mac1, mac2, "(") #)
14752:   macro = mac2[1]
14753:   if (D_is_set[macro]) {
14754:     # Preserve the white space surrounding the "#".
14755:     prefix = substr(line, 1, index(line, defundef) - 1)
14756:     print prefix "define", macro P[macro] D[macro]
14757:     next
14758:   } else {
14759:     # Replace #undef with comments.  This is necessary, for example,
14760:     # in the case of _POSIX_SOURCE, which is predefined and required
14761:     # on some systems where configure will not decide to define it.
14762:     if (defundef == "undef") {
14763:       print "/*", line, "*/"
14764:       next
14765:     }
14766:   }
14767: }
14768: { print }
14769: _ACAWK
14770: _ACEOF
14771: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14772:   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14773: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14774:    { (exit 1); exit 1; }; }
14775: fi # test -n "$CONFIG_HEADERS"
14776: 
14777: 
14778: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14779: shift
14780: for ac_tag
14781: do
14782:   case $ac_tag in
14783:   :[FHLC]) ac_mode=$ac_tag; continue;;
14784:   esac
14785:   case $ac_mode$ac_tag in
14786:   :[FHL]*:*);;
14787:   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14788: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14789:    { (exit 1); exit 1; }; };;
14790:   :[FH]-) ac_tag=-:-;;
14791:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14792:   esac
14793:   ac_save_IFS=$IFS
14794:   IFS=:
14795:   set x $ac_tag
14796:   IFS=$ac_save_IFS
14797:   shift
14798:   ac_file=$1
14799:   shift
14800: 
14801:   case $ac_mode in
14802:   :L) ac_source=$1;;
14803:   :[FH])
14804:     ac_file_inputs=
14805:     for ac_f
14806:     do
14807:       case $ac_f in
14808:       -) ac_f="$tmp/stdin";;
14809:       *) # Look for the file first in the build tree, then in the source tree
14810: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14811: 	 # because $ac_f cannot contain `:'.
14812: 	 test -f "$ac_f" ||
14813: 	   case $ac_f in
14814: 	   [\\/$]*) false;;
14815: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14816: 	   esac ||
14817: 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14818: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14819:    { (exit 1); exit 1; }; };;
14820:       esac
14821:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14822:       ac_file_inputs="$ac_file_inputs '$ac_f'"
14823:     done
14824: 
14825:     # Let's still pretend it is `configure' which instantiates (i.e., don't
14826:     # use $as_me), people would be surprised to read:
14827:     #    /* config.h.  Generated by config.status.  */
14828:     configure_input='Generated from '`
14829: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14830: 	`' by configure.'
14831:     if test x"$ac_file" != x-; then
14832:       configure_input="$ac_file.  $configure_input"
14833:       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14834: $as_echo "$as_me: creating $ac_file" >&6;}
14835:     fi
14836:     # Neutralize special characters interpreted by sed in replacement strings.
14837:     case $configure_input in #(
14838:     *\&* | *\|* | *\\* )
14839:        ac_sed_conf_input=`$as_echo "$configure_input" |
14840:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14841:     *) ac_sed_conf_input=$configure_input;;
14842:     esac
14843: 
14844:     case $ac_tag in
14845:     *:-:* | *:-) cat >"$tmp/stdin" \
14846:       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14847: $as_echo "$as_me: error: could not create $ac_file" >&2;}
14848:    { (exit 1); exit 1; }; } ;;
14849:     esac
14850:     ;;
14851:   esac
14852: 
14853:   ac_dir=`$as_dirname -- "$ac_file" ||
14854: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14855: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
14856: 	 X"$ac_file" : 'X\(//\)$' \| \
14857: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14858: $as_echo X"$ac_file" |
14859:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14860: 	    s//\1/
14861: 	    q
14862: 	  }
14863: 	  /^X\(\/\/\)[^/].*/{
14864: 	    s//\1/
14865: 	    q
14866: 	  }
14867: 	  /^X\(\/\/\)$/{
14868: 	    s//\1/
14869: 	    q
14870: 	  }
14871: 	  /^X\(\/\).*/{
14872: 	    s//\1/
14873: 	    q
14874: 	  }
14875: 	  s/.*/./; q'`
14876:   { as_dir="$ac_dir"
14877:   case $as_dir in #(
14878:   -*) as_dir=./$as_dir;;
14879:   esac
14880:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14881:     as_dirs=
14882:     while :; do
14883:       case $as_dir in #(
14884:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14885:       *) as_qdir=$as_dir;;
14886:       esac
14887:       as_dirs="'$as_qdir' $as_dirs"
14888:       as_dir=`$as_dirname -- "$as_dir" ||
14889: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14890: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
14891: 	 X"$as_dir" : 'X\(//\)$' \| \
14892: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14893: $as_echo X"$as_dir" |
14894:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14895: 	    s//\1/
14896: 	    q
14897: 	  }
14898: 	  /^X\(\/\/\)[^/].*/{
14899: 	    s//\1/
14900: 	    q
14901: 	  }
14902: 	  /^X\(\/\/\)$/{
14903: 	    s//\1/
14904: 	    q
14905: 	  }
14906: 	  /^X\(\/\).*/{
14907: 	    s//\1/
14908: 	    q
14909: 	  }
14910: 	  s/.*/./; q'`
14911:       test -d "$as_dir" && break
14912:     done
14913:     test -z "$as_dirs" || eval "mkdir $as_dirs"
14914:   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14915: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14916:    { (exit 1); exit 1; }; }; }
14917:   ac_builddir=.
14918: 
14919: case "$ac_dir" in
14920: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14921: *)
14922:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14923:   # A ".." for each directory in $ac_dir_suffix.
14924:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14925:   case $ac_top_builddir_sub in
14926:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14927:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14928:   esac ;;
14929: esac
14930: ac_abs_top_builddir=$ac_pwd
14931: ac_abs_builddir=$ac_pwd$ac_dir_suffix
14932: # for backward compatibility:
14933: ac_top_builddir=$ac_top_build_prefix
14934: 
14935: case $srcdir in
14936:   .)  # We are building in place.
14937:     ac_srcdir=.
14938:     ac_top_srcdir=$ac_top_builddir_sub
14939:     ac_abs_top_srcdir=$ac_pwd ;;
14940:   [\\/]* | ?:[\\/]* )  # Absolute name.
14941:     ac_srcdir=$srcdir$ac_dir_suffix;
14942:     ac_top_srcdir=$srcdir
14943:     ac_abs_top_srcdir=$srcdir ;;
14944:   *) # Relative name.
14945:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14946:     ac_top_srcdir=$ac_top_build_prefix$srcdir
14947:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14948: esac
14949: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14950: 
14951: 
14952:   case $ac_mode in
14953:   :F)
14954:   #
14955:   # CONFIG_FILE
14956:   #
14957: 
14958:   case $INSTALL in
14959:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14960:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14961:   esac
14962: _ACEOF
14963: 
14964: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14965: # If the template does not know about datarootdir, expand it.
14966: # FIXME: This hack should be removed a few years after 2.60.
14967: ac_datarootdir_hack=; ac_datarootdir_seen=
14968: 
14969: ac_sed_dataroot='
14970: /datarootdir/ {
14971:   p
14972:   q
14973: }
14974: /@datadir@/p
14975: /@docdir@/p
14976: /@infodir@/p
14977: /@localedir@/p
14978: /@mandir@/p
14979: '
14980: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14981: *datarootdir*) ac_datarootdir_seen=yes;;
14982: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14983:   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14984: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14985: _ACEOF
14986: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14987:   ac_datarootdir_hack='
14988:   s&@datadir@&$datadir&g
14989:   s&@docdir@&$docdir&g
14990:   s&@infodir@&$infodir&g
14991:   s&@localedir@&$localedir&g
14992:   s&@mandir@&$mandir&g
14993:     s&\\\${datarootdir}&$datarootdir&g' ;;
14994: esac
14995: _ACEOF
14996: 
14997: # Neutralize VPATH when `$srcdir' = `.'.
14998: # Shell code in configure.ac might set extrasub.
14999: # FIXME: do we really want to maintain this feature?
15000: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15001: ac_sed_extra="$ac_vpsub
15002: $extrasub
15003: _ACEOF
15004: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15005: :t
15006: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15007: s|@configure_input@|$ac_sed_conf_input|;t t
15008: s&@top_builddir@&$ac_top_builddir_sub&;t t
15009: s&@top_build_prefix@&$ac_top_build_prefix&;t t
15010: s&@srcdir@&$ac_srcdir&;t t
15011: s&@abs_srcdir@&$ac_abs_srcdir&;t t
15012: s&@top_srcdir@&$ac_top_srcdir&;t t
15013: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15014: s&@builddir@&$ac_builddir&;t t
15015: s&@abs_builddir@&$ac_abs_builddir&;t t
15016: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15017: s&@INSTALL@&$ac_INSTALL&;t t
15018: $ac_datarootdir_hack
15019: "
15020: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15021:   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15022: $as_echo "$as_me: error: could not create $ac_file" >&2;}
15023:    { (exit 1); exit 1; }; }
15024: 
15025: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15026:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15027:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15028:   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15029: which seems to be undefined.  Please make sure it is defined." >&5
15030: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15031: which seems to be undefined.  Please make sure it is defined." >&2;}
15032: 
15033:   rm -f "$tmp/stdin"
15034:   case $ac_file in
15035:   -) cat "$tmp/out" && rm -f "$tmp/out";;
15036:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15037:   esac \
15038:   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15039: $as_echo "$as_me: error: could not create $ac_file" >&2;}
15040:    { (exit 1); exit 1; }; }
15041:  ;;
15042:   :H)
15043:   #
15044:   # CONFIG_HEADER
15045:   #
15046:   if test x"$ac_file" != x-; then
15047:     {
15048:       $as_echo "/* $configure_input  */" \
15049:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15050:     } >"$tmp/config.h" \
15051:       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15052: $as_echo "$as_me: error: could not create $ac_file" >&2;}
15053:    { (exit 1); exit 1; }; }
15054:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15055:       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15056: $as_echo "$as_me: $ac_file is unchanged" >&6;}
15057:     else
15058:       rm -f "$ac_file"
15059:       mv "$tmp/config.h" "$ac_file" \
15060: 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15061: $as_echo "$as_me: error: could not create $ac_file" >&2;}
15062:    { (exit 1); exit 1; }; }
15063:     fi
15064:   else
15065:     $as_echo "/* $configure_input  */" \
15066:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15067:       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15068: $as_echo "$as_me: error: could not create -" >&2;}
15069:    { (exit 1); exit 1; }; }
15070:   fi
15071:  ;;
15072: 
15073:   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15074: $as_echo "$as_me: executing $ac_file commands" >&6;}
15075:  ;;
15076:   esac
15077: 
15078: 
15079:   case $ac_file$ac_mode in
15080:     "libtool":C)
15081: 
15082:     # See if we are running on zsh, and set the options which allow our
15083:     # commands through without removal of \ escapes.
15084:     if test -n "${ZSH_VERSION+set}" ; then
15085:       setopt NO_GLOB_SUBST
15086:     fi
15087: 
15088:     cfgfile="${ofile}T"
15089:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15090:     $RM "$cfgfile"
15091: 
15092:     cat <<_LT_EOF >> "$cfgfile"
15093: #! $SHELL
15094: 
15095: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15096: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15097: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15098: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15099: #
15100: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15101: #                 2006, 2007, 2008 Free Software Foundation, Inc.
15102: #   Written by Gordon Matzigkeit, 1996
15103: #
15104: #   This file is part of GNU Libtool.
15105: #
15106: # GNU Libtool is free software; you can redistribute it and/or
15107: # modify it under the terms of the GNU General Public License as
15108: # published by the Free Software Foundation; either version 2 of
15109: # the License, or (at your option) any later version.
15110: #
15111: # As a special exception to the GNU General Public License,
15112: # if you distribute this file as part of a program or library that
15113: # is built using GNU Libtool, you may include this file under the
15114: # same distribution terms that you use for the rest of that program.
15115: #
15116: # GNU Libtool is distributed in the hope that it will be useful,
15117: # but WITHOUT ANY WARRANTY; without even the implied warranty of
15118: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15119: # GNU General Public License for more details.
15120: #
15121: # You should have received a copy of the GNU General Public License
15122: # along with GNU Libtool; see the file COPYING.  If not, a copy
15123: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15124: # obtained by writing to the Free Software Foundation, Inc.,
15125: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15126: 
15127: 
15128: # The names of the tagged configurations supported by this script.
15129: available_tags=""
15130: 
15131: # ### BEGIN LIBTOOL CONFIG
15132: 
15133: # Which release of libtool.m4 was used?
15134: macro_version=$macro_version
15135: macro_revision=$macro_revision
15136: 
15137: # Whether or not to build shared libraries.
15138: build_libtool_libs=$enable_shared
15139: 
15140: # Whether or not to build static libraries.
15141: build_old_libs=$enable_static
15142: 
15143: # What type of objects to build.
15144: pic_mode=$pic_mode
15145: 
15146: # Whether or not to optimize for fast installation.
15147: fast_install=$enable_fast_install
15148: 
15149: # The host system.
15150: host_alias=$host_alias
15151: host=$host
15152: host_os=$host_os
15153: 
15154: # The build system.
15155: build_alias=$build_alias
15156: build=$build
15157: build_os=$build_os
15158: 
15159: # A sed program that does not truncate output.
15160: SED=$lt_SED
15161: 
15162: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15163: Xsed="\$SED -e 1s/^X//"
15164: 
15165: # A grep program that handles long lines.
15166: GREP=$lt_GREP
15167: 
15168: # An ERE matcher.
15169: EGREP=$lt_EGREP
15170: 
15171: # A literal string matcher.
15172: FGREP=$lt_FGREP
15173: 
15174: # A BSD- or MS-compatible name lister.
15175: NM=$lt_NM
15176: 
15177: # Whether we need soft or hard links.
15178: LN_S=$lt_LN_S
15179: 
15180: # What is the maximum length of a command?
15181: max_cmd_len=$max_cmd_len
15182: 
15183: # Object file suffix (normally "o").
15184: objext=$ac_objext
15185: 
15186: # Executable file suffix (normally "").
15187: exeext=$exeext
15188: 
15189: # whether the shell understands "unset".
15190: lt_unset=$lt_unset
15191: 
15192: # turn spaces into newlines.
15193: SP2NL=$lt_lt_SP2NL
15194: 
15195: # turn newlines into spaces.
15196: NL2SP=$lt_lt_NL2SP
15197: 
15198: # How to create reloadable object files.
15199: reload_flag=$lt_reload_flag
15200: reload_cmds=$lt_reload_cmds
15201: 
15202: # An object symbol dumper.
15203: OBJDUMP=$lt_OBJDUMP
15204: 
15205: # Method to check whether dependent libraries are shared objects.
15206: deplibs_check_method=$lt_deplibs_check_method
15207: 
15208: # Command to use when deplibs_check_method == "file_magic".
15209: file_magic_cmd=$lt_file_magic_cmd
15210: 
15211: # The archiver.
15212: AR=$lt_AR
15213: AR_FLAGS=$lt_AR_FLAGS
15214: 
15215: # A symbol stripping program.
15216: STRIP=$lt_STRIP
15217: 
15218: # Commands used to install an old-style archive.
15219: RANLIB=$lt_RANLIB
15220: old_postinstall_cmds=$lt_old_postinstall_cmds
15221: old_postuninstall_cmds=$lt_old_postuninstall_cmds
15222: 
15223: # A C compiler.
15224: LTCC=$lt_CC
15225: 
15226: # LTCC compiler flags.
15227: LTCFLAGS=$lt_CFLAGS
15228: 
15229: # Take the output of nm and produce a listing of raw symbols and C names.
15230: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15231: 
15232: # Transform the output of nm in a proper C declaration.
15233: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15234: 
15235: # Transform the output of nm in a C name address pair.
15236: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15237: 
15238: # Transform the output of nm in a C name address pair when lib prefix is needed.
15239: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15240: 
15241: # The name of the directory that contains temporary libtool files.
15242: objdir=$objdir
15243: 
15244: # Shell to use when invoking shell scripts.
15245: SHELL=$lt_SHELL
15246: 
15247: # An echo program that does not interpret backslashes.
15248: ECHO=$lt_ECHO
15249: 
15250: # Used to examine libraries when file_magic_cmd begins with "file".
15251: MAGIC_CMD=$MAGIC_CMD
15252: 
15253: # Must we lock files when doing compilation?
15254: need_locks=$lt_need_locks
15255: 
15256: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15257: DSYMUTIL=$lt_DSYMUTIL
15258: 
15259: # Tool to change global to local symbols on Mac OS X.
15260: NMEDIT=$lt_NMEDIT
15261: 
15262: # Tool to manipulate fat objects and archives on Mac OS X.
15263: LIPO=$lt_LIPO
15264: 
15265: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15266: OTOOL=$lt_OTOOL
15267: 
15268: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15269: OTOOL64=$lt_OTOOL64
15270: 
15271: # Old archive suffix (normally "a").
15272: libext=$libext
15273: 
15274: # Shared library suffix (normally ".so").
15275: shrext_cmds=$lt_shrext_cmds
15276: 
15277: # The commands to extract the exported symbol list from a shared archive.
15278: extract_expsyms_cmds=$lt_extract_expsyms_cmds
15279: 
15280: # Variables whose values should be saved in libtool wrapper scripts and
15281: # restored at link time.
15282: variables_saved_for_relink=$lt_variables_saved_for_relink
15283: 
15284: # Do we need the "lib" prefix for modules?
15285: need_lib_prefix=$need_lib_prefix
15286: 
15287: # Do we need a version for libraries?
15288: need_version=$need_version
15289: 
15290: # Library versioning type.
15291: version_type=$version_type
15292: 
15293: # Shared library runtime path variable.
15294: runpath_var=$runpath_var
15295: 
15296: # Shared library path variable.
15297: shlibpath_var=$shlibpath_var
15298: 
15299: # Is shlibpath searched before the hard-coded library search path?
15300: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15301: 
15302: # Format of library name prefix.
15303: libname_spec=$lt_libname_spec
15304: 
15305: # List of archive names.  First name is the real one, the rest are links.
15306: # The last name is the one that the linker finds with -lNAME
15307: library_names_spec=$lt_library_names_spec
15308: 
15309: # The coded name of the library, if different from the real name.
15310: soname_spec=$lt_soname_spec
15311: 
15312: # Command to use after installation of a shared archive.
15313: postinstall_cmds=$lt_postinstall_cmds
15314: 
15315: # Command to use after uninstallation of a shared archive.
15316: postuninstall_cmds=$lt_postuninstall_cmds
15317: 
15318: # Commands used to finish a libtool library installation in a directory.
15319: finish_cmds=$lt_finish_cmds
15320: 
15321: # As "finish_cmds", except a single script fragment to be evaled but
15322: # not shown.
15323: finish_eval=$lt_finish_eval
15324: 
15325: # Whether we should hardcode library paths into libraries.
15326: hardcode_into_libs=$hardcode_into_libs
15327: 
15328: # Compile-time system search path for libraries.
15329: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15330: 
15331: # Run-time system search path for libraries.
15332: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15333: 
15334: # Whether dlopen is supported.
15335: dlopen_support=$enable_dlopen
15336: 
15337: # Whether dlopen of programs is supported.
15338: dlopen_self=$enable_dlopen_self
15339: 
15340: # Whether dlopen of statically linked programs is supported.
15341: dlopen_self_static=$enable_dlopen_self_static
15342: 
15343: # Commands to strip libraries.
15344: old_striplib=$lt_old_striplib
15345: striplib=$lt_striplib
15346: 
15347: 
15348: # The linker used to build libraries.
15349: LD=$lt_LD
15350: 
15351: # Commands used to build an old-style archive.
15352: old_archive_cmds=$lt_old_archive_cmds
15353: 
15354: # A language specific compiler.
15355: CC=$lt_compiler
15356: 
15357: # Is the compiler the GNU compiler?
15358: with_gcc=$GCC
15359: 
15360: # Compiler flag to turn off builtin functions.
15361: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15362: 
15363: # How to pass a linker flag through the compiler.
15364: wl=$lt_lt_prog_compiler_wl
15365: 
15366: # Additional compiler flags for building library objects.
15367: pic_flag=$lt_lt_prog_compiler_pic
15368: 
15369: # Compiler flag to prevent dynamic linking.
15370: link_static_flag=$lt_lt_prog_compiler_static
15371: 
15372: # Does compiler simultaneously support -c and -o options?
15373: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15374: 
15375: # Whether or not to add -lc for building shared libraries.
15376: build_libtool_need_lc=$archive_cmds_need_lc
15377: 
15378: # Whether or not to disallow shared libs when runtime libs are static.
15379: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15380: 
15381: # Compiler flag to allow reflexive dlopens.
15382: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15383: 
15384: # Compiler flag to generate shared objects directly from archives.
15385: whole_archive_flag_spec=$lt_whole_archive_flag_spec
15386: 
15387: # Whether the compiler copes with passing no objects directly.
15388: compiler_needs_object=$lt_compiler_needs_object
15389: 
15390: # Create an old-style archive from a shared archive.
15391: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15392: 
15393: # Create a temporary old-style archive to link instead of a shared archive.
15394: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15395: 
15396: # Commands used to build a shared archive.
15397: archive_cmds=$lt_archive_cmds
15398: archive_expsym_cmds=$lt_archive_expsym_cmds
15399: 
15400: # Commands used to build a loadable module if different from building
15401: # a shared archive.
15402: module_cmds=$lt_module_cmds
15403: module_expsym_cmds=$lt_module_expsym_cmds
15404: 
15405: # Whether we are building with GNU ld or not.
15406: with_gnu_ld=$lt_with_gnu_ld
15407: 
15408: # Flag that allows shared libraries with undefined symbols to be built.
15409: allow_undefined_flag=$lt_allow_undefined_flag
15410: 
15411: # Flag that enforces no undefined symbols.
15412: no_undefined_flag=$lt_no_undefined_flag
15413: 
15414: # Flag to hardcode \$libdir into a binary during linking.
15415: # This must work even if \$libdir does not exist
15416: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15417: 
15418: # If ld is used when linking, flag to hardcode \$libdir into a binary
15419: # during linking.  This must work even if \$libdir does not exist.
15420: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15421: 
15422: # Whether we need a single "-rpath" flag with a separated argument.
15423: hardcode_libdir_separator=$lt_hardcode_libdir_separator
15424: 
15425: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15426: # DIR into the resulting binary.
15427: hardcode_direct=$hardcode_direct
15428: 
15429: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15430: # DIR into the resulting binary and the resulting library dependency is
15431: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15432: # library is relocated.
15433: hardcode_direct_absolute=$hardcode_direct_absolute
15434: 
15435: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15436: # into the resulting binary.
15437: hardcode_minus_L=$hardcode_minus_L
15438: 
15439: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15440: # into the resulting binary.
15441: hardcode_shlibpath_var=$hardcode_shlibpath_var
15442: 
15443: # Set to "yes" if building a shared library automatically hardcodes DIR
15444: # into the library and all subsequent libraries and executables linked
15445: # against it.
15446: hardcode_automatic=$hardcode_automatic
15447: 
15448: # Set to yes if linker adds runtime paths of dependent libraries
15449: # to runtime path list.
15450: inherit_rpath=$inherit_rpath
15451: 
15452: # Whether libtool must link a program against all its dependency libraries.
15453: link_all_deplibs=$link_all_deplibs
15454: 
15455: # Fix the shell variable \$srcfile for the compiler.
15456: fix_srcfile_path=$lt_fix_srcfile_path
15457: 
15458: # Set to "yes" if exported symbols are required.
15459: always_export_symbols=$always_export_symbols
15460: 
15461: # The commands to list exported symbols.
15462: export_symbols_cmds=$lt_export_symbols_cmds
15463: 
15464: # Symbols that should not be listed in the preloaded symbols.
15465: exclude_expsyms=$lt_exclude_expsyms
15466: 
15467: # Symbols that must always be exported.
15468: include_expsyms=$lt_include_expsyms
15469: 
15470: # Commands necessary for linking programs (against libraries) with templates.
15471: prelink_cmds=$lt_prelink_cmds
15472: 
15473: # Specify filename containing input files.
15474: file_list_spec=$lt_file_list_spec
15475: 
15476: # How to hardcode a shared library path into an executable.
15477: hardcode_action=$hardcode_action
15478: 
15479: # ### END LIBTOOL CONFIG
15480: 
15481: _LT_EOF
15482: 
15483:   case $host_os in
15484:   aix3*)
15485:     cat <<\_LT_EOF >> "$cfgfile"
15486: # AIX sometimes has problems with the GCC collect2 program.  For some
15487: # reason, if we set the COLLECT_NAMES environment variable, the problems
15488: # vanish in a puff of smoke.
15489: if test "X${COLLECT_NAMES+set}" != Xset; then
15490:   COLLECT_NAMES=
15491:   export COLLECT_NAMES
15492: fi
15493: _LT_EOF
15494:     ;;
15495:   esac
15496: 
15497: 
15498: ltmain="$ac_aux_dir/ltmain.sh"
15499: 
15500: 
15501:   # We use sed instead of cat because bash on DJGPP gets confused if
15502:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15503:   # text mode, it properly converts lines to CR/LF.  This bash problem
15504:   # is reportedly fixed, but why not run on old versions too?
15505:   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15506:     || (rm -f "$cfgfile"; exit 1)
15507: 
15508:   case $xsi_shell in
15509:   yes)
15510:     cat << \_LT_EOF >> "$cfgfile"
15511: 
15512: # func_dirname file append nondir_replacement
15513: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15514: # otherwise set result to NONDIR_REPLACEMENT.
15515: func_dirname ()
15516: {
15517:   case ${1} in
15518:     */*) func_dirname_result="${1%/*}${2}" ;;
15519:     *  ) func_dirname_result="${3}" ;;
15520:   esac
15521: }
15522: 
15523: # func_basename file
15524: func_basename ()
15525: {
15526:   func_basename_result="${1##*/}"
15527: }
15528: 
15529: # func_dirname_and_basename file append nondir_replacement
15530: # perform func_basename and func_dirname in a single function
15531: # call:
15532: #   dirname:  Compute the dirname of FILE.  If nonempty,
15533: #             add APPEND to the result, otherwise set result
15534: #             to NONDIR_REPLACEMENT.
15535: #             value returned in "$func_dirname_result"
15536: #   basename: Compute filename of FILE.
15537: #             value retuned in "$func_basename_result"
15538: # Implementation must be kept synchronized with func_dirname
15539: # and func_basename. For efficiency, we do not delegate to
15540: # those functions but instead duplicate the functionality here.
15541: func_dirname_and_basename ()
15542: {
15543:   case ${1} in
15544:     */*) func_dirname_result="${1%/*}${2}" ;;
15545:     *  ) func_dirname_result="${3}" ;;
15546:   esac
15547:   func_basename_result="${1##*/}"
15548: }
15549: 
15550: # func_stripname prefix suffix name
15551: # strip PREFIX and SUFFIX off of NAME.
15552: # PREFIX and SUFFIX must not contain globbing or regex special
15553: # characters, hashes, percent signs, but SUFFIX may contain a leading
15554: # dot (in which case that matches only a dot).
15555: func_stripname ()
15556: {
15557:   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15558:   # positional parameters, so assign one to ordinary parameter first.
15559:   func_stripname_result=${3}
15560:   func_stripname_result=${func_stripname_result#"${1}"}
15561:   func_stripname_result=${func_stripname_result%"${2}"}
15562: }
15563: 
15564: # func_opt_split
15565: func_opt_split ()
15566: {
15567:   func_opt_split_opt=${1%%=*}
15568:   func_opt_split_arg=${1#*=}
15569: }
15570: 
15571: # func_lo2o object
15572: func_lo2o ()
15573: {
15574:   case ${1} in
15575:     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15576:     *)    func_lo2o_result=${1} ;;
15577:   esac
15578: }
15579: 
15580: # func_xform libobj-or-source
15581: func_xform ()
15582: {
15583:   func_xform_result=${1%.*}.lo
15584: }
15585: 
15586: # func_arith arithmetic-term...
15587: func_arith ()
15588: {
15589:   func_arith_result=$(( $* ))
15590: }
15591: 
15592: # func_len string
15593: # STRING may not start with a hyphen.
15594: func_len ()
15595: {
15596:   func_len_result=${#1}
15597: }
15598: 
15599: _LT_EOF
15600:     ;;
15601:   *) # Bourne compatible functions.
15602:     cat << \_LT_EOF >> "$cfgfile"
15603: 
15604: # func_dirname file append nondir_replacement
15605: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15606: # otherwise set result to NONDIR_REPLACEMENT.
15607: func_dirname ()
15608: {
15609:   # Extract subdirectory from the argument.
15610:   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15611:   if test "X$func_dirname_result" = "X${1}"; then
15612:     func_dirname_result="${3}"
15613:   else
15614:     func_dirname_result="$func_dirname_result${2}"
15615:   fi
15616: }
15617: 
15618: # func_basename file
15619: func_basename ()
15620: {
15621:   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15622: }
15623: 
15624: 
15625: # func_stripname prefix suffix name
15626: # strip PREFIX and SUFFIX off of NAME.
15627: # PREFIX and SUFFIX must not contain globbing or regex special
15628: # characters, hashes, percent signs, but SUFFIX may contain a leading
15629: # dot (in which case that matches only a dot).
15630: # func_strip_suffix prefix name
15631: func_stripname ()
15632: {
15633:   case ${2} in
15634:     .*) func_stripname_result=`$ECHO "X${3}" \
15635:            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15636:     *)  func_stripname_result=`$ECHO "X${3}" \
15637:            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15638:   esac
15639: }
15640: 
15641: # sed scripts:
15642: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15643: my_sed_long_arg='1s/^-[^=]*=//'
15644: 
15645: # func_opt_split
15646: func_opt_split ()
15647: {
15648:   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15649:   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15650: }
15651: 
15652: # func_lo2o object
15653: func_lo2o ()
15654: {
15655:   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15656: }
15657: 
15658: # func_xform libobj-or-source
15659: func_xform ()
15660: {
15661:   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15662: }
15663: 
15664: # func_arith arithmetic-term...
15665: func_arith ()
15666: {
15667:   func_arith_result=`expr "$@"`
15668: }
15669: 
15670: # func_len string
15671: # STRING may not start with a hyphen.
15672: func_len ()
15673: {
15674:   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15675: }
15676: 
15677: _LT_EOF
15678: esac
15679: 
15680: case $lt_shell_append in
15681:   yes)
15682:     cat << \_LT_EOF >> "$cfgfile"
15683: 
15684: # func_append var value
15685: # Append VALUE to the end of shell variable VAR.
15686: func_append ()
15687: {
15688:   eval "$1+=\$2"
15689: }
15690: _LT_EOF
15691:     ;;
15692:   *)
15693:     cat << \_LT_EOF >> "$cfgfile"
15694: 
15695: # func_append var value
15696: # Append VALUE to the end of shell variable VAR.
15697: func_append ()
15698: {
15699:   eval "$1=\$$1\$2"
15700: }
15701: 
15702: _LT_EOF
15703:     ;;
15704:   esac
15705: 
15706: 
15707:   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15708:     || (rm -f "$cfgfile"; exit 1)
15709: 
15710:   mv -f "$cfgfile" "$ofile" ||
15711:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15712:   chmod +x "$ofile"
15713: 
15714:  ;;
15715: 
15716:   esac
15717: done # for ac_tag
15718: 
15719: 
15720: { (exit 0); exit 0; }
15721: _ACEOF
15722: chmod +x $CONFIG_STATUS
15723: ac_clean_files=$ac_clean_files_save
15724: 
15725: test $ac_write_fail = 0 ||
15726:   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15727: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15728:    { (exit 1); exit 1; }; }
15729: 
15730: 
15731: # configure is writing to config.log, and then calls config.status.
15732: # config.status does its own redirection, appending to config.log.
15733: # Unfortunately, on DOS this fails, as config.log is still kept open
15734: # by configure, so config.status won't be able to write to it; its
15735: # output is simply discarded.  So we exec the FD to /dev/null,
15736: # effectively closing config.log, so it can be properly (re)opened and
15737: # appended to by config.status.  When coming back to configure, we
15738: # need to make the FD available again.
15739: if test "$no_create" != yes; then
15740:   ac_cs_success=:
15741:   ac_config_status_args=
15742:   test "$silent" = yes &&
15743:     ac_config_status_args="$ac_config_status_args --quiet"
15744:   exec 5>/dev/null
15745:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15746:   exec 5>>config.log
15747:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15748:   # would make configure fail if this is the last instruction.
15749:   $ac_cs_success || { (exit 1); exit 1; }
15750: fi
15751: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15752:   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
15753: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
15754: fi
15755: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>