File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / pcre / configure
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:05:51 2012 UTC (12 years, 4 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for PCRE 8.21.
    4: #
    5: #
    6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    8: # Foundation, Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""	$as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: as_myself=
   93: case $0 in #((
   94:   *[\\/]* ) as_myself=$0 ;;
   95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96: for as_dir in $PATH
   97: do
   98:   IFS=$as_save_IFS
   99:   test -z "$as_dir" && as_dir=.
  100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101:   done
  102: IFS=$as_save_IFS
  103: 
  104:      ;;
  105: esac
  106: # We did not find ourselves, most probably we were run as `sh COMMAND'
  107: # in which case we are not to be found in the path.
  108: if test "x$as_myself" = x; then
  109:   as_myself=$0
  110: fi
  111: if test ! -f "$as_myself"; then
  112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113:   exit 1
  114: fi
  115: 
  116: # Unset variables that we do not need and which cause bugs (e.g. in
  117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118: # suppresses any "Segmentation fault" message there.  '((' could
  119: # trigger a bug in pdksh 5.2.14.
  120: for as_var in BASH_ENV ENV MAIL MAILPATH
  121: do eval test x\${$as_var+set} = xset \
  122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123: done
  124: PS1='$ '
  125: PS2='> '
  126: PS4='+ '
  127: 
  128: # NLS nuisances.
  129: LC_ALL=C
  130: export LC_ALL
  131: LANGUAGE=C
  132: export LANGUAGE
  133: 
  134: # CDPATH.
  135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136: 
  137: if test "x$CONFIG_SHELL" = x; then
  138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  139:   emulate sh
  140:   NULLCMD=:
  141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  142:   # is contrary to our usage.  Disable this feature.
  143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  144:   setopt NO_GLOB_SUBST
  145: else
  146:   case \`(set -o) 2>/dev/null\` in #(
  147:   *posix*) :
  148:     set -o posix ;; #(
  149:   *) :
  150:      ;;
  151: esac
  152: fi
  153: "
  154:   as_required="as_fn_return () { (exit \$1); }
  155: as_fn_success () { as_fn_return 0; }
  156: as_fn_failure () { as_fn_return 1; }
  157: as_fn_ret_success () { return 0; }
  158: as_fn_ret_failure () { return 1; }
  159: 
  160: exitcode=0
  161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  166: 
  167: else
  168:   exitcode=1; echo positional parameters were not saved.
  169: fi
  170: test x\$exitcode = x0 || exit 1"
  171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  175: test \$(( 1 + 1 )) = 2 || exit 1
  176: 
  177:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  178:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  180:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  181:     PATH=/empty FPATH=/empty; export PATH FPATH
  182:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  183:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  184:   if (eval "$as_required") 2>/dev/null; then :
  185:   as_have_required=yes
  186: else
  187:   as_have_required=no
  188: fi
  189:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  190: 
  191: else
  192:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  193: as_found=false
  194: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  195: do
  196:   IFS=$as_save_IFS
  197:   test -z "$as_dir" && as_dir=.
  198:   as_found=:
  199:   case $as_dir in #(
  200: 	 /*)
  201: 	   for as_base in sh bash ksh sh5; do
  202: 	     # Try only shells that exist, to save several forks.
  203: 	     as_shell=$as_dir/$as_base
  204: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  205: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  206:   CONFIG_SHELL=$as_shell as_have_required=yes
  207: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  208:   break 2
  209: fi
  210: fi
  211: 	   done;;
  212:        esac
  213:   as_found=false
  214: done
  215: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  216: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  217:   CONFIG_SHELL=$SHELL as_have_required=yes
  218: fi; }
  219: IFS=$as_save_IFS
  220: 
  221: 
  222:       if test "x$CONFIG_SHELL" != x; then :
  223:   # We cannot yet assume a decent shell, so we have to provide a
  224: 	# neutralization value for shells without unset; and this also
  225: 	# works around shells that cannot unset nonexistent variables.
  226: 	# Preserve -v and -x to the replacement shell.
  227: 	BASH_ENV=/dev/null
  228: 	ENV=/dev/null
  229: 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  230: 	export CONFIG_SHELL
  231: 	case $- in # ((((
  232: 	  *v*x* | *x*v* ) as_opts=-vx ;;
  233: 	  *v* ) as_opts=-v ;;
  234: 	  *x* ) as_opts=-x ;;
  235: 	  * ) as_opts= ;;
  236: 	esac
  237: 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  238: fi
  239: 
  240:     if test x$as_have_required = xno; then :
  241:   $as_echo "$0: This script requires a shell more modern than all"
  242:   $as_echo "$0: the shells that I found on your system."
  243:   if test x${ZSH_VERSION+set} = xset ; then
  244:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  245:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  246:   else
  247:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  248: $0: including any error possibly output before this
  249: $0: message. Then install a modern shell, or manually run
  250: $0: the script under such a shell if you do have one."
  251:   fi
  252:   exit 1
  253: fi
  254: fi
  255: fi
  256: SHELL=${CONFIG_SHELL-/bin/sh}
  257: export SHELL
  258: # Unset more variables known to interfere with behavior of common tools.
  259: CLICOLOR_FORCE= GREP_OPTIONS=
  260: unset CLICOLOR_FORCE GREP_OPTIONS
  261: 
  262: ## --------------------- ##
  263: ## M4sh Shell Functions. ##
  264: ## --------------------- ##
  265: # as_fn_unset VAR
  266: # ---------------
  267: # Portably unset VAR.
  268: as_fn_unset ()
  269: {
  270:   { eval $1=; unset $1;}
  271: }
  272: as_unset=as_fn_unset
  273: 
  274: # as_fn_set_status STATUS
  275: # -----------------------
  276: # Set $? to STATUS, without forking.
  277: as_fn_set_status ()
  278: {
  279:   return $1
  280: } # as_fn_set_status
  281: 
  282: # as_fn_exit STATUS
  283: # -----------------
  284: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  285: as_fn_exit ()
  286: {
  287:   set +e
  288:   as_fn_set_status $1
  289:   exit $1
  290: } # as_fn_exit
  291: 
  292: # as_fn_mkdir_p
  293: # -------------
  294: # Create "$as_dir" as a directory, including parents if necessary.
  295: as_fn_mkdir_p ()
  296: {
  297: 
  298:   case $as_dir in #(
  299:   -*) as_dir=./$as_dir;;
  300:   esac
  301:   test -d "$as_dir" || eval $as_mkdir_p || {
  302:     as_dirs=
  303:     while :; do
  304:       case $as_dir in #(
  305:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  306:       *) as_qdir=$as_dir;;
  307:       esac
  308:       as_dirs="'$as_qdir' $as_dirs"
  309:       as_dir=`$as_dirname -- "$as_dir" ||
  310: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  311: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  312: 	 X"$as_dir" : 'X\(//\)$' \| \
  313: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  314: $as_echo X"$as_dir" |
  315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  316: 	    s//\1/
  317: 	    q
  318: 	  }
  319: 	  /^X\(\/\/\)[^/].*/{
  320: 	    s//\1/
  321: 	    q
  322: 	  }
  323: 	  /^X\(\/\/\)$/{
  324: 	    s//\1/
  325: 	    q
  326: 	  }
  327: 	  /^X\(\/\).*/{
  328: 	    s//\1/
  329: 	    q
  330: 	  }
  331: 	  s/.*/./; q'`
  332:       test -d "$as_dir" && break
  333:     done
  334:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  335:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  336: 
  337: 
  338: } # as_fn_mkdir_p
  339: # as_fn_append VAR VALUE
  340: # ----------------------
  341: # Append the text in VALUE to the end of the definition contained in VAR. Take
  342: # advantage of any shell optimizations that allow amortized linear growth over
  343: # repeated appends, instead of the typical quadratic growth present in naive
  344: # implementations.
  345: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  346:   eval 'as_fn_append ()
  347:   {
  348:     eval $1+=\$2
  349:   }'
  350: else
  351:   as_fn_append ()
  352:   {
  353:     eval $1=\$$1\$2
  354:   }
  355: fi # as_fn_append
  356: 
  357: # as_fn_arith ARG...
  358: # ------------------
  359: # Perform arithmetic evaluation on the ARGs, and store the result in the
  360: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  361: # must be portable across $(()) and expr.
  362: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  363:   eval 'as_fn_arith ()
  364:   {
  365:     as_val=$(( $* ))
  366:   }'
  367: else
  368:   as_fn_arith ()
  369:   {
  370:     as_val=`expr "$@" || test $? -eq 1`
  371:   }
  372: fi # as_fn_arith
  373: 
  374: 
  375: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  376: # ----------------------------------------
  377: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  378: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  379: # script with STATUS, using 1 if that was 0.
  380: as_fn_error ()
  381: {
  382:   as_status=$1; test $as_status -eq 0 && as_status=1
  383:   if test "$4"; then
  384:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  385:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  386:   fi
  387:   $as_echo "$as_me: error: $2" >&2
  388:   as_fn_exit $as_status
  389: } # as_fn_error
  390: 
  391: if expr a : '\(a\)' >/dev/null 2>&1 &&
  392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  393:   as_expr=expr
  394: else
  395:   as_expr=false
  396: fi
  397: 
  398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  399:   as_basename=basename
  400: else
  401:   as_basename=false
  402: fi
  403: 
  404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  405:   as_dirname=dirname
  406: else
  407:   as_dirname=false
  408: fi
  409: 
  410: as_me=`$as_basename -- "$0" ||
  411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  412: 	 X"$0" : 'X\(//\)$' \| \
  413: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  414: $as_echo X/"$0" |
  415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  416: 	    s//\1/
  417: 	    q
  418: 	  }
  419: 	  /^X\/\(\/\/\)$/{
  420: 	    s//\1/
  421: 	    q
  422: 	  }
  423: 	  /^X\/\(\/\).*/{
  424: 	    s//\1/
  425: 	    q
  426: 	  }
  427: 	  s/.*/./; q'`
  428: 
  429: # Avoid depending upon Character Ranges.
  430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  433: as_cr_digits='0123456789'
  434: as_cr_alnum=$as_cr_Letters$as_cr_digits
  435: 
  436: 
  437:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  438:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  439:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  440:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  441:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  442:   sed -n '
  443:     p
  444:     /[$]LINENO/=
  445:   ' <$as_myself |
  446:     sed '
  447:       s/[$]LINENO.*/&-/
  448:       t lineno
  449:       b
  450:       :lineno
  451:       N
  452:       :loop
  453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  454:       t loop
  455:       s/-\n.*//
  456:     ' >$as_me.lineno &&
  457:   chmod +x "$as_me.lineno" ||
  458:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  459: 
  460:   # Don't try to exec as it changes $[0], causing all sort of problems
  461:   # (the dirname of $[0] is not the place where we might find the
  462:   # original and so on.  Autoconf is especially sensitive to this).
  463:   . "./$as_me.lineno"
  464:   # Exit status is that of the last command.
  465:   exit
  466: }
  467: 
  468: ECHO_C= ECHO_N= ECHO_T=
  469: case `echo -n x` in #(((((
  470: -n*)
  471:   case `echo 'xy\c'` in
  472:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  473:   xy)  ECHO_C='\c';;
  474:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  475:        ECHO_T='	';;
  476:   esac;;
  477: *)
  478:   ECHO_N='-n';;
  479: esac
  480: 
  481: rm -f conf$$ conf$$.exe conf$$.file
  482: if test -d conf$$.dir; then
  483:   rm -f conf$$.dir/conf$$.file
  484: else
  485:   rm -f conf$$.dir
  486:   mkdir conf$$.dir 2>/dev/null
  487: fi
  488: if (echo >conf$$.file) 2>/dev/null; then
  489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  490:     as_ln_s='ln -s'
  491:     # ... but there are two gotchas:
  492:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  493:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  494:     # In both cases, we have to default to `cp -p'.
  495:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  496:       as_ln_s='cp -p'
  497:   elif ln conf$$.file conf$$ 2>/dev/null; then
  498:     as_ln_s=ln
  499:   else
  500:     as_ln_s='cp -p'
  501:   fi
  502: else
  503:   as_ln_s='cp -p'
  504: fi
  505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  506: rmdir conf$$.dir 2>/dev/null
  507: 
  508: if mkdir -p . 2>/dev/null; then
  509:   as_mkdir_p='mkdir -p "$as_dir"'
  510: else
  511:   test -d ./-p && rmdir ./-p
  512:   as_mkdir_p=false
  513: fi
  514: 
  515: if test -x / >/dev/null 2>&1; then
  516:   as_test_x='test -x'
  517: else
  518:   if ls -dL / >/dev/null 2>&1; then
  519:     as_ls_L_option=L
  520:   else
  521:     as_ls_L_option=
  522:   fi
  523:   as_test_x='
  524:     eval sh -c '\''
  525:       if test -d "$1"; then
  526: 	test -d "$1/.";
  527:       else
  528: 	case $1 in #(
  529: 	-*)set "./$1";;
  530: 	esac;
  531: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  532: 	???[sx]*):;;*)false;;esac;fi
  533:     '\'' sh
  534:   '
  535: fi
  536: as_executable_p=$as_test_x
  537: 
  538: # Sed expression to map a string onto a valid CPP name.
  539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  540: 
  541: # Sed expression to map a string onto a valid variable name.
  542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  543: 
  544: SHELL=${CONFIG_SHELL-/bin/sh}
  545: 
  546: 
  547: test -n "$DJDIR" || exec 7<&0 </dev/null
  548: exec 6>&1
  549: 
  550: # Name of the host.
  551: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  552: # so uname gets run too.
  553: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  554: 
  555: #
  556: # Initializations.
  557: #
  558: ac_default_prefix=/usr/local
  559: ac_clean_files=
  560: ac_config_libobj_dir=.
  561: LIBOBJS=
  562: cross_compiling=no
  563: subdirs=
  564: MFLAGS=
  565: MAKEFLAGS=
  566: 
  567: # Identity of this package.
  568: PACKAGE_NAME='PCRE'
  569: PACKAGE_TARNAME='pcre'
  570: PACKAGE_VERSION='8.21'
  571: PACKAGE_STRING='PCRE 8.21'
  572: PACKAGE_BUGREPORT=''
  573: PACKAGE_URL=''
  574: 
  575: ac_unique_file="pcre.h.in"
  576: # Factoring default headers for most tests.
  577: ac_includes_default="\
  578: #include <stdio.h>
  579: #ifdef HAVE_SYS_TYPES_H
  580: # include <sys/types.h>
  581: #endif
  582: #ifdef HAVE_SYS_STAT_H
  583: # include <sys/stat.h>
  584: #endif
  585: #ifdef STDC_HEADERS
  586: # include <stdlib.h>
  587: # include <stddef.h>
  588: #else
  589: # ifdef HAVE_STDLIB_H
  590: #  include <stdlib.h>
  591: # endif
  592: #endif
  593: #ifdef HAVE_STRING_H
  594: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  595: #  include <memory.h>
  596: # endif
  597: # include <string.h>
  598: #endif
  599: #ifdef HAVE_STRINGS_H
  600: # include <strings.h>
  601: #endif
  602: #ifdef HAVE_INTTYPES_H
  603: # include <inttypes.h>
  604: #endif
  605: #ifdef HAVE_STDINT_H
  606: # include <stdint.h>
  607: #endif
  608: #ifdef HAVE_UNISTD_H
  609: # include <unistd.h>
  610: #endif"
  611: 
  612: ac_subst_vars='am__EXEEXT_FALSE
  613: am__EXEEXT_TRUE
  614: LTLIBOBJS
  615: LIBOBJS
  616: LIBREADLINE
  617: LIBBZ2
  618: LIBZ
  619: DISTCHECK_CONFIGURE_FLAGS
  620: EXTRA_LIBPCRECPP_LDFLAGS
  621: EXTRA_LIBPCREPOSIX_LDFLAGS
  622: EXTRA_LIBPCRE_LDFLAGS
  623: PCRE_STATIC_CFLAG
  624: WITH_UTF8_FALSE
  625: WITH_UTF8_TRUE
  626: WITH_JIT_FALSE
  627: WITH_JIT_TRUE
  628: WITH_REBUILD_CHARTABLES_FALSE
  629: WITH_REBUILD_CHARTABLES_TRUE
  630: WITH_PCRE_CPP_FALSE
  631: WITH_PCRE_CPP_TRUE
  632: pcre_have_bits_type_traits
  633: pcre_have_type_traits
  634: pcre_have_ulong_long
  635: pcre_have_long_long
  636: enable_cpp
  637: PCRE_DATE
  638: PCRE_PRERELEASE
  639: PCRE_MINOR
  640: PCRE_MAJOR
  641: CXXCPP
  642: OTOOL64
  643: OTOOL
  644: LIPO
  645: NMEDIT
  646: DSYMUTIL
  647: MANIFEST_TOOL
  648: RANLIB
  649: ac_ct_AR
  650: AR
  651: LN_S
  652: NM
  653: ac_ct_DUMPBIN
  654: DUMPBIN
  655: LD
  656: FGREP
  657: SED
  658: LIBTOOL
  659: OBJDUMP
  660: DLLTOOL
  661: AS
  662: host_os
  663: host_vendor
  664: host_cpu
  665: host
  666: build_os
  667: build_vendor
  668: build_cpu
  669: build
  670: EGREP
  671: GREP
  672: CPP
  673: am__fastdepCXX_FALSE
  674: am__fastdepCXX_TRUE
  675: CXXDEPMODE
  676: ac_ct_CXX
  677: CXXFLAGS
  678: CXX
  679: am__fastdepCC_FALSE
  680: am__fastdepCC_TRUE
  681: CCDEPMODE
  682: AMDEPBACKSLASH
  683: AMDEP_FALSE
  684: AMDEP_TRUE
  685: am__quote
  686: am__include
  687: DEPDIR
  688: OBJEXT
  689: EXEEXT
  690: ac_ct_CC
  691: CPPFLAGS
  692: LDFLAGS
  693: CFLAGS
  694: CC
  695: am__untar
  696: am__tar
  697: AMTAR
  698: am__leading_dot
  699: SET_MAKE
  700: AWK
  701: mkdir_p
  702: MKDIR_P
  703: INSTALL_STRIP_PROGRAM
  704: STRIP
  705: install_sh
  706: MAKEINFO
  707: AUTOHEADER
  708: AUTOMAKE
  709: AUTOCONF
  710: ACLOCAL
  711: VERSION
  712: PACKAGE
  713: CYGPATH_W
  714: am__isrc
  715: INSTALL_DATA
  716: INSTALL_SCRIPT
  717: INSTALL_PROGRAM
  718: target_alias
  719: host_alias
  720: build_alias
  721: LIBS
  722: ECHO_T
  723: ECHO_N
  724: ECHO_C
  725: DEFS
  726: mandir
  727: localedir
  728: libdir
  729: psdir
  730: pdfdir
  731: dvidir
  732: htmldir
  733: infodir
  734: docdir
  735: oldincludedir
  736: includedir
  737: localstatedir
  738: sharedstatedir
  739: sysconfdir
  740: datadir
  741: datarootdir
  742: libexecdir
  743: sbindir
  744: bindir
  745: program_transform_name
  746: prefix
  747: exec_prefix
  748: PACKAGE_URL
  749: PACKAGE_BUGREPORT
  750: PACKAGE_STRING
  751: PACKAGE_VERSION
  752: PACKAGE_TARNAME
  753: PACKAGE_NAME
  754: PATH_SEPARATOR
  755: SHELL'
  756: ac_subst_files=''
  757: ac_user_opts='
  758: enable_option_checking
  759: enable_dependency_tracking
  760: enable_shared
  761: enable_static
  762: with_pic
  763: enable_fast_install
  764: with_gnu_ld
  765: with_sysroot
  766: enable_libtool_lock
  767: enable_cpp
  768: enable_jit
  769: enable_pcregrep_jit
  770: enable_rebuild_chartables
  771: enable_utf8
  772: enable_unicode_properties
  773: enable_newline_is_cr
  774: enable_newline_is_lf
  775: enable_newline_is_crlf
  776: enable_newline_is_anycrlf
  777: enable_newline_is_any
  778: enable_bsr_anycrlf
  779: enable_ebcdic
  780: enable_stack_for_recursion
  781: enable_pcregrep_libz
  782: enable_pcregrep_libbz2
  783: with_pcregrep_bufsize
  784: enable_pcretest_libreadline
  785: with_posix_malloc_threshold
  786: with_link_size
  787: with_match_limit
  788: with_match_limit_recursion
  789: '
  790:       ac_precious_vars='build_alias
  791: host_alias
  792: target_alias
  793: CC
  794: CFLAGS
  795: LDFLAGS
  796: LIBS
  797: CPPFLAGS
  798: CXX
  799: CXXFLAGS
  800: CCC
  801: CPP
  802: CXXCPP'
  803: 
  804: 
  805: # Initialize some variables set by options.
  806: ac_init_help=
  807: ac_init_version=false
  808: ac_unrecognized_opts=
  809: ac_unrecognized_sep=
  810: # The variables have the same names as the options, with
  811: # dashes changed to underlines.
  812: cache_file=/dev/null
  813: exec_prefix=NONE
  814: no_create=
  815: no_recursion=
  816: prefix=NONE
  817: program_prefix=NONE
  818: program_suffix=NONE
  819: program_transform_name=s,x,x,
  820: silent=
  821: site=
  822: srcdir=
  823: verbose=
  824: x_includes=NONE
  825: x_libraries=NONE
  826: 
  827: # Installation directory options.
  828: # These are left unexpanded so users can "make install exec_prefix=/foo"
  829: # and all the variables that are supposed to be based on exec_prefix
  830: # by default will actually change.
  831: # Use braces instead of parens because sh, perl, etc. also accept them.
  832: # (The list follows the same order as the GNU Coding Standards.)
  833: bindir='${exec_prefix}/bin'
  834: sbindir='${exec_prefix}/sbin'
  835: libexecdir='${exec_prefix}/libexec'
  836: datarootdir='${prefix}/share'
  837: datadir='${datarootdir}'
  838: sysconfdir='${prefix}/etc'
  839: sharedstatedir='${prefix}/com'
  840: localstatedir='${prefix}/var'
  841: includedir='${prefix}/include'
  842: oldincludedir='/usr/include'
  843: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  844: infodir='${datarootdir}/info'
  845: htmldir='${docdir}'
  846: dvidir='${docdir}'
  847: pdfdir='${docdir}'
  848: psdir='${docdir}'
  849: libdir='${exec_prefix}/lib'
  850: localedir='${datarootdir}/locale'
  851: mandir='${datarootdir}/man'
  852: 
  853: ac_prev=
  854: ac_dashdash=
  855: for ac_option
  856: do
  857:   # If the previous option needs an argument, assign it.
  858:   if test -n "$ac_prev"; then
  859:     eval $ac_prev=\$ac_option
  860:     ac_prev=
  861:     continue
  862:   fi
  863: 
  864:   case $ac_option in
  865:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  866:   *=)   ac_optarg= ;;
  867:   *)    ac_optarg=yes ;;
  868:   esac
  869: 
  870:   # Accept the important Cygnus configure options, so we can diagnose typos.
  871: 
  872:   case $ac_dashdash$ac_option in
  873:   --)
  874:     ac_dashdash=yes ;;
  875: 
  876:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  877:     ac_prev=bindir ;;
  878:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  879:     bindir=$ac_optarg ;;
  880: 
  881:   -build | --build | --buil | --bui | --bu)
  882:     ac_prev=build_alias ;;
  883:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  884:     build_alias=$ac_optarg ;;
  885: 
  886:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  887:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  888:     ac_prev=cache_file ;;
  889:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  890:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  891:     cache_file=$ac_optarg ;;
  892: 
  893:   --config-cache | -C)
  894:     cache_file=config.cache ;;
  895: 
  896:   -datadir | --datadir | --datadi | --datad)
  897:     ac_prev=datadir ;;
  898:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  899:     datadir=$ac_optarg ;;
  900: 
  901:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  902:   | --dataroo | --dataro | --datar)
  903:     ac_prev=datarootdir ;;
  904:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  905:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  906:     datarootdir=$ac_optarg ;;
  907: 
  908:   -disable-* | --disable-*)
  909:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  910:     # Reject names that are not valid shell variable names.
  911:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  912:       as_fn_error $? "invalid feature name: $ac_useropt"
  913:     ac_useropt_orig=$ac_useropt
  914:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  915:     case $ac_user_opts in
  916:       *"
  917: "enable_$ac_useropt"
  918: "*) ;;
  919:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  920: 	 ac_unrecognized_sep=', ';;
  921:     esac
  922:     eval enable_$ac_useropt=no ;;
  923: 
  924:   -docdir | --docdir | --docdi | --doc | --do)
  925:     ac_prev=docdir ;;
  926:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  927:     docdir=$ac_optarg ;;
  928: 
  929:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  930:     ac_prev=dvidir ;;
  931:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  932:     dvidir=$ac_optarg ;;
  933: 
  934:   -enable-* | --enable-*)
  935:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  936:     # Reject names that are not valid shell variable names.
  937:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  938:       as_fn_error $? "invalid feature name: $ac_useropt"
  939:     ac_useropt_orig=$ac_useropt
  940:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  941:     case $ac_user_opts in
  942:       *"
  943: "enable_$ac_useropt"
  944: "*) ;;
  945:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  946: 	 ac_unrecognized_sep=', ';;
  947:     esac
  948:     eval enable_$ac_useropt=\$ac_optarg ;;
  949: 
  950:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  951:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  952:   | --exec | --exe | --ex)
  953:     ac_prev=exec_prefix ;;
  954:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  955:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  956:   | --exec=* | --exe=* | --ex=*)
  957:     exec_prefix=$ac_optarg ;;
  958: 
  959:   -gas | --gas | --ga | --g)
  960:     # Obsolete; use --with-gas.
  961:     with_gas=yes ;;
  962: 
  963:   -help | --help | --hel | --he | -h)
  964:     ac_init_help=long ;;
  965:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  966:     ac_init_help=recursive ;;
  967:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  968:     ac_init_help=short ;;
  969: 
  970:   -host | --host | --hos | --ho)
  971:     ac_prev=host_alias ;;
  972:   -host=* | --host=* | --hos=* | --ho=*)
  973:     host_alias=$ac_optarg ;;
  974: 
  975:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  976:     ac_prev=htmldir ;;
  977:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  978:   | --ht=*)
  979:     htmldir=$ac_optarg ;;
  980: 
  981:   -includedir | --includedir | --includedi | --included | --include \
  982:   | --includ | --inclu | --incl | --inc)
  983:     ac_prev=includedir ;;
  984:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  985:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  986:     includedir=$ac_optarg ;;
  987: 
  988:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  989:     ac_prev=infodir ;;
  990:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  991:     infodir=$ac_optarg ;;
  992: 
  993:   -libdir | --libdir | --libdi | --libd)
  994:     ac_prev=libdir ;;
  995:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  996:     libdir=$ac_optarg ;;
  997: 
  998:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  999:   | --libexe | --libex | --libe)
 1000:     ac_prev=libexecdir ;;
 1001:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1002:   | --libexe=* | --libex=* | --libe=*)
 1003:     libexecdir=$ac_optarg ;;
 1004: 
 1005:   -localedir | --localedir | --localedi | --localed | --locale)
 1006:     ac_prev=localedir ;;
 1007:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1008:     localedir=$ac_optarg ;;
 1009: 
 1010:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1011:   | --localstate | --localstat | --localsta | --localst | --locals)
 1012:     ac_prev=localstatedir ;;
 1013:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1014:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1015:     localstatedir=$ac_optarg ;;
 1016: 
 1017:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1018:     ac_prev=mandir ;;
 1019:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1020:     mandir=$ac_optarg ;;
 1021: 
 1022:   -nfp | --nfp | --nf)
 1023:     # Obsolete; use --without-fp.
 1024:     with_fp=no ;;
 1025: 
 1026:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1027:   | --no-cr | --no-c | -n)
 1028:     no_create=yes ;;
 1029: 
 1030:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1031:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1032:     no_recursion=yes ;;
 1033: 
 1034:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1035:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1036:   | --oldin | --oldi | --old | --ol | --o)
 1037:     ac_prev=oldincludedir ;;
 1038:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1039:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1040:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1041:     oldincludedir=$ac_optarg ;;
 1042: 
 1043:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1044:     ac_prev=prefix ;;
 1045:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1046:     prefix=$ac_optarg ;;
 1047: 
 1048:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1049:   | --program-pre | --program-pr | --program-p)
 1050:     ac_prev=program_prefix ;;
 1051:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1052:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1053:     program_prefix=$ac_optarg ;;
 1054: 
 1055:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1056:   | --program-suf | --program-su | --program-s)
 1057:     ac_prev=program_suffix ;;
 1058:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1059:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1060:     program_suffix=$ac_optarg ;;
 1061: 
 1062:   -program-transform-name | --program-transform-name \
 1063:   | --program-transform-nam | --program-transform-na \
 1064:   | --program-transform-n | --program-transform- \
 1065:   | --program-transform | --program-transfor \
 1066:   | --program-transfo | --program-transf \
 1067:   | --program-trans | --program-tran \
 1068:   | --progr-tra | --program-tr | --program-t)
 1069:     ac_prev=program_transform_name ;;
 1070:   -program-transform-name=* | --program-transform-name=* \
 1071:   | --program-transform-nam=* | --program-transform-na=* \
 1072:   | --program-transform-n=* | --program-transform-=* \
 1073:   | --program-transform=* | --program-transfor=* \
 1074:   | --program-transfo=* | --program-transf=* \
 1075:   | --program-trans=* | --program-tran=* \
 1076:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1077:     program_transform_name=$ac_optarg ;;
 1078: 
 1079:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1080:     ac_prev=pdfdir ;;
 1081:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1082:     pdfdir=$ac_optarg ;;
 1083: 
 1084:   -psdir | --psdir | --psdi | --psd | --ps)
 1085:     ac_prev=psdir ;;
 1086:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1087:     psdir=$ac_optarg ;;
 1088: 
 1089:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1090:   | -silent | --silent | --silen | --sile | --sil)
 1091:     silent=yes ;;
 1092: 
 1093:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1094:     ac_prev=sbindir ;;
 1095:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1096:   | --sbi=* | --sb=*)
 1097:     sbindir=$ac_optarg ;;
 1098: 
 1099:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1100:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1101:   | --sharedst | --shareds | --shared | --share | --shar \
 1102:   | --sha | --sh)
 1103:     ac_prev=sharedstatedir ;;
 1104:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1105:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1106:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1107:   | --sha=* | --sh=*)
 1108:     sharedstatedir=$ac_optarg ;;
 1109: 
 1110:   -site | --site | --sit)
 1111:     ac_prev=site ;;
 1112:   -site=* | --site=* | --sit=*)
 1113:     site=$ac_optarg ;;
 1114: 
 1115:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1116:     ac_prev=srcdir ;;
 1117:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1118:     srcdir=$ac_optarg ;;
 1119: 
 1120:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1121:   | --syscon | --sysco | --sysc | --sys | --sy)
 1122:     ac_prev=sysconfdir ;;
 1123:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1124:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1125:     sysconfdir=$ac_optarg ;;
 1126: 
 1127:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1128:     ac_prev=target_alias ;;
 1129:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1130:     target_alias=$ac_optarg ;;
 1131: 
 1132:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1133:     verbose=yes ;;
 1134: 
 1135:   -version | --version | --versio | --versi | --vers | -V)
 1136:     ac_init_version=: ;;
 1137: 
 1138:   -with-* | --with-*)
 1139:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1140:     # Reject names that are not valid shell variable names.
 1141:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1142:       as_fn_error $? "invalid package name: $ac_useropt"
 1143:     ac_useropt_orig=$ac_useropt
 1144:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1145:     case $ac_user_opts in
 1146:       *"
 1147: "with_$ac_useropt"
 1148: "*) ;;
 1149:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1150: 	 ac_unrecognized_sep=', ';;
 1151:     esac
 1152:     eval with_$ac_useropt=\$ac_optarg ;;
 1153: 
 1154:   -without-* | --without-*)
 1155:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1156:     # Reject names that are not valid shell variable names.
 1157:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1158:       as_fn_error $? "invalid package name: $ac_useropt"
 1159:     ac_useropt_orig=$ac_useropt
 1160:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1161:     case $ac_user_opts in
 1162:       *"
 1163: "with_$ac_useropt"
 1164: "*) ;;
 1165:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1166: 	 ac_unrecognized_sep=', ';;
 1167:     esac
 1168:     eval with_$ac_useropt=no ;;
 1169: 
 1170:   --x)
 1171:     # Obsolete; use --with-x.
 1172:     with_x=yes ;;
 1173: 
 1174:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1175:   | --x-incl | --x-inc | --x-in | --x-i)
 1176:     ac_prev=x_includes ;;
 1177:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1178:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1179:     x_includes=$ac_optarg ;;
 1180: 
 1181:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1182:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1183:     ac_prev=x_libraries ;;
 1184:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1185:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1186:     x_libraries=$ac_optarg ;;
 1187: 
 1188:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1189: Try \`$0 --help' for more information"
 1190:     ;;
 1191: 
 1192:   *=*)
 1193:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1194:     # Reject names that are not valid shell variable names.
 1195:     case $ac_envvar in #(
 1196:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1197:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1198:     esac
 1199:     eval $ac_envvar=\$ac_optarg
 1200:     export $ac_envvar ;;
 1201: 
 1202:   *)
 1203:     # FIXME: should be removed in autoconf 3.0.
 1204:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1205:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1206:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1207:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1208:     ;;
 1209: 
 1210:   esac
 1211: done
 1212: 
 1213: if test -n "$ac_prev"; then
 1214:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1215:   as_fn_error $? "missing argument to $ac_option"
 1216: fi
 1217: 
 1218: if test -n "$ac_unrecognized_opts"; then
 1219:   case $enable_option_checking in
 1220:     no) ;;
 1221:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1222:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1223:   esac
 1224: fi
 1225: 
 1226: # Check all directory arguments for consistency.
 1227: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1228: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1229: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1230: 		libdir localedir mandir
 1231: do
 1232:   eval ac_val=\$$ac_var
 1233:   # Remove trailing slashes.
 1234:   case $ac_val in
 1235:     */ )
 1236:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1237:       eval $ac_var=\$ac_val;;
 1238:   esac
 1239:   # Be sure to have absolute directory names.
 1240:   case $ac_val in
 1241:     [\\/$]* | ?:[\\/]* )  continue;;
 1242:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1243:   esac
 1244:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1245: done
 1246: 
 1247: # There might be people who depend on the old broken behavior: `$host'
 1248: # used to hold the argument of --host etc.
 1249: # FIXME: To remove some day.
 1250: build=$build_alias
 1251: host=$host_alias
 1252: target=$target_alias
 1253: 
 1254: # FIXME: To remove some day.
 1255: if test "x$host_alias" != x; then
 1256:   if test "x$build_alias" = x; then
 1257:     cross_compiling=maybe
 1258:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1259:     If a cross compiler is detected then cross compile mode will be used" >&2
 1260:   elif test "x$build_alias" != "x$host_alias"; then
 1261:     cross_compiling=yes
 1262:   fi
 1263: fi
 1264: 
 1265: ac_tool_prefix=
 1266: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1267: 
 1268: test "$silent" = yes && exec 6>/dev/null
 1269: 
 1270: 
 1271: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1272: ac_ls_di=`ls -di .` &&
 1273: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1274:   as_fn_error $? "working directory cannot be determined"
 1275: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1276:   as_fn_error $? "pwd does not report name of working directory"
 1277: 
 1278: 
 1279: # Find the source files, if location was not specified.
 1280: if test -z "$srcdir"; then
 1281:   ac_srcdir_defaulted=yes
 1282:   # Try the directory containing this script, then the parent directory.
 1283:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1284: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1285: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1286: 	 X"$as_myself" : 'X\(//\)$' \| \
 1287: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1288: $as_echo X"$as_myself" |
 1289:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1290: 	    s//\1/
 1291: 	    q
 1292: 	  }
 1293: 	  /^X\(\/\/\)[^/].*/{
 1294: 	    s//\1/
 1295: 	    q
 1296: 	  }
 1297: 	  /^X\(\/\/\)$/{
 1298: 	    s//\1/
 1299: 	    q
 1300: 	  }
 1301: 	  /^X\(\/\).*/{
 1302: 	    s//\1/
 1303: 	    q
 1304: 	  }
 1305: 	  s/.*/./; q'`
 1306:   srcdir=$ac_confdir
 1307:   if test ! -r "$srcdir/$ac_unique_file"; then
 1308:     srcdir=..
 1309:   fi
 1310: else
 1311:   ac_srcdir_defaulted=no
 1312: fi
 1313: if test ! -r "$srcdir/$ac_unique_file"; then
 1314:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1315:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1316: fi
 1317: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1318: ac_abs_confdir=`(
 1319: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1320: 	pwd)`
 1321: # When building in place, set srcdir=.
 1322: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1323:   srcdir=.
 1324: fi
 1325: # Remove unnecessary trailing slashes from srcdir.
 1326: # Double slashes in file names in object file debugging info
 1327: # mess up M-x gdb in Emacs.
 1328: case $srcdir in
 1329: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1330: esac
 1331: for ac_var in $ac_precious_vars; do
 1332:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1333:   eval ac_env_${ac_var}_value=\$${ac_var}
 1334:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1335:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1336: done
 1337: 
 1338: #
 1339: # Report the --help message.
 1340: #
 1341: if test "$ac_init_help" = "long"; then
 1342:   # Omit some internal or obsolete options to make the list less imposing.
 1343:   # This message is too long to be a string in the A/UX 3.1 sh.
 1344:   cat <<_ACEOF
 1345: \`configure' configures PCRE 8.21 to adapt to many kinds of systems.
 1346: 
 1347: Usage: $0 [OPTION]... [VAR=VALUE]...
 1348: 
 1349: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1350: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1351: 
 1352: Defaults for the options are specified in brackets.
 1353: 
 1354: Configuration:
 1355:   -h, --help              display this help and exit
 1356:       --help=short        display options specific to this package
 1357:       --help=recursive    display the short help of all the included packages
 1358:   -V, --version           display version information and exit
 1359:   -q, --quiet, --silent   do not print \`checking ...' messages
 1360:       --cache-file=FILE   cache test results in FILE [disabled]
 1361:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1362:   -n, --no-create         do not create output files
 1363:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1364: 
 1365: Installation directories:
 1366:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1367:                           [$ac_default_prefix]
 1368:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1369:                           [PREFIX]
 1370: 
 1371: By default, \`make install' will install all the files in
 1372: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1373: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1374: for instance \`--prefix=\$HOME'.
 1375: 
 1376: For better control, use the options below.
 1377: 
 1378: Fine tuning of the installation directories:
 1379:   --bindir=DIR            user executables [EPREFIX/bin]
 1380:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1381:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1382:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1383:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1384:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1385:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1386:   --includedir=DIR        C header files [PREFIX/include]
 1387:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1388:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1389:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1390:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1391:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1392:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1393:   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
 1394:   --htmldir=DIR           html documentation [DOCDIR]
 1395:   --dvidir=DIR            dvi documentation [DOCDIR]
 1396:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1397:   --psdir=DIR             ps documentation [DOCDIR]
 1398: _ACEOF
 1399: 
 1400:   cat <<\_ACEOF
 1401: 
 1402: Program names:
 1403:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1404:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1405:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1406: 
 1407: System types:
 1408:   --build=BUILD     configure for building on BUILD [guessed]
 1409:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1410: _ACEOF
 1411: fi
 1412: 
 1413: if test -n "$ac_init_help"; then
 1414:   case $ac_init_help in
 1415:      short | recursive ) echo "Configuration of PCRE 8.21:";;
 1416:    esac
 1417:   cat <<\_ACEOF
 1418: 
 1419: Optional Features:
 1420:   --disable-option-checking  ignore unrecognized --enable/--with options
 1421:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1422:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1423:   --disable-dependency-tracking  speeds up one-time build
 1424:   --enable-dependency-tracking   do not reject slow dependency extractors
 1425:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1426:   --enable-static[=PKGS]  build static libraries [default=yes]
 1427:   --enable-fast-install[=PKGS]
 1428:                           optimize for fast installation [default=yes]
 1429:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1430:   --disable-cpp           disable C++ support
 1431:   --enable-jit            enable Just-In-Time compiling support
 1432:   --disable-pcregrep-jit  disable JIT support in pcregrep
 1433:   --enable-rebuild-chartables
 1434:                           rebuild character tables in current locale
 1435:   --enable-utf8           enable UTF-8 support (incompatible with
 1436:                           --enable-ebcdic)
 1437:   --enable-unicode-properties
 1438:                           enable Unicode properties support (implies
 1439:                           --enable-utf8)
 1440:   --enable-newline-is-cr  use CR as newline character
 1441:   --enable-newline-is-lf  use LF as newline character (default)
 1442:   --enable-newline-is-crlf
 1443:                           use CRLF as newline sequence
 1444:   --enable-newline-is-anycrlf
 1445:                           use CR, LF, or CRLF as newline sequence
 1446:   --enable-newline-is-any use any valid Unicode newline sequence
 1447:   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
 1448:   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
 1449:                           with --enable-utf8; use only in (uncommon) EBCDIC
 1450:                           environments; it implies --enable-rebuild-chartables
 1451:   --disable-stack-for-recursion
 1452:                           don't use stack recursion when matching
 1453:   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
 1454:   --enable-pcregrep-libbz2
 1455:                           link pcregrep with libbz2 to handle .bz2 files
 1456:   --enable-pcretest-libreadline
 1457:                           link pcretest with libreadline
 1458: 
 1459: Optional Packages:
 1460:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1461:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1462:   --with-pic              try to use only PIC/non-PIC objects [default=use
 1463:                           both]
 1464:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1465:   --with-sysroot=DIR Search for dependent libraries within DIR
 1466:                         (or the compiler's sysroot if not specified).
 1467:   --with-pcregrep-bufsize=N
 1468:                           pcregrep buffer size (default=20480)
 1469:   --with-posix-malloc-threshold=NBYTES
 1470:                           threshold for POSIX malloc usage (default=10)
 1471:   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
 1472:   --with-match-limit=N    default limit on internal looping (default=10000000)
 1473:   --with-match-limit-recursion=N
 1474:                           default limit on internal recursion
 1475:                           (default=MATCH_LIMIT)
 1476: 
 1477: Some influential environment variables:
 1478:   CC          C compiler command
 1479:   CFLAGS      C compiler flags
 1480:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1481:               nonstandard directory <lib dir>
 1482:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1483:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1484:               you have headers in a nonstandard directory <include dir>
 1485:   CXX         C++ compiler command
 1486:   CXXFLAGS    C++ compiler flags
 1487:   CPP         C preprocessor
 1488:   CXXCPP      C++ preprocessor
 1489: 
 1490: Use these variables to override the choices made by `configure' or to help
 1491: it to find libraries and programs with nonstandard names/locations.
 1492: 
 1493: Report bugs to the package provider.
 1494: _ACEOF
 1495: ac_status=$?
 1496: fi
 1497: 
 1498: if test "$ac_init_help" = "recursive"; then
 1499:   # If there are subdirs, report their specific --help.
 1500:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1501:     test -d "$ac_dir" ||
 1502:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1503:       continue
 1504:     ac_builddir=.
 1505: 
 1506: case "$ac_dir" in
 1507: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1508: *)
 1509:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1510:   # A ".." for each directory in $ac_dir_suffix.
 1511:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1512:   case $ac_top_builddir_sub in
 1513:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1514:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1515:   esac ;;
 1516: esac
 1517: ac_abs_top_builddir=$ac_pwd
 1518: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1519: # for backward compatibility:
 1520: ac_top_builddir=$ac_top_build_prefix
 1521: 
 1522: case $srcdir in
 1523:   .)  # We are building in place.
 1524:     ac_srcdir=.
 1525:     ac_top_srcdir=$ac_top_builddir_sub
 1526:     ac_abs_top_srcdir=$ac_pwd ;;
 1527:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1528:     ac_srcdir=$srcdir$ac_dir_suffix;
 1529:     ac_top_srcdir=$srcdir
 1530:     ac_abs_top_srcdir=$srcdir ;;
 1531:   *) # Relative name.
 1532:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1533:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1534:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1535: esac
 1536: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1537: 
 1538:     cd "$ac_dir" || { ac_status=$?; continue; }
 1539:     # Check for guested configure.
 1540:     if test -f "$ac_srcdir/configure.gnu"; then
 1541:       echo &&
 1542:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1543:     elif test -f "$ac_srcdir/configure"; then
 1544:       echo &&
 1545:       $SHELL "$ac_srcdir/configure" --help=recursive
 1546:     else
 1547:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1548:     fi || ac_status=$?
 1549:     cd "$ac_pwd" || { ac_status=$?; break; }
 1550:   done
 1551: fi
 1552: 
 1553: test -n "$ac_init_help" && exit $ac_status
 1554: if $ac_init_version; then
 1555:   cat <<\_ACEOF
 1556: PCRE configure 8.21
 1557: generated by GNU Autoconf 2.68
 1558: 
 1559: Copyright (C) 2010 Free Software Foundation, Inc.
 1560: This configure script is free software; the Free Software Foundation
 1561: gives unlimited permission to copy, distribute and modify it.
 1562: _ACEOF
 1563:   exit
 1564: fi
 1565: 
 1566: ## ------------------------ ##
 1567: ## Autoconf initialization. ##
 1568: ## ------------------------ ##
 1569: 
 1570: # ac_fn_c_try_compile LINENO
 1571: # --------------------------
 1572: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1573: ac_fn_c_try_compile ()
 1574: {
 1575:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1576:   rm -f conftest.$ac_objext
 1577:   if { { ac_try="$ac_compile"
 1578: case "(($ac_try" in
 1579:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1580:   *) ac_try_echo=$ac_try;;
 1581: esac
 1582: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1583: $as_echo "$ac_try_echo"; } >&5
 1584:   (eval "$ac_compile") 2>conftest.err
 1585:   ac_status=$?
 1586:   if test -s conftest.err; then
 1587:     grep -v '^ *+' conftest.err >conftest.er1
 1588:     cat conftest.er1 >&5
 1589:     mv -f conftest.er1 conftest.err
 1590:   fi
 1591:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1592:   test $ac_status = 0; } && {
 1593: 	 test -z "$ac_c_werror_flag" ||
 1594: 	 test ! -s conftest.err
 1595:        } && test -s conftest.$ac_objext; then :
 1596:   ac_retval=0
 1597: else
 1598:   $as_echo "$as_me: failed program was:" >&5
 1599: sed 's/^/| /' conftest.$ac_ext >&5
 1600: 
 1601: 	ac_retval=1
 1602: fi
 1603:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1604:   as_fn_set_status $ac_retval
 1605: 
 1606: } # ac_fn_c_try_compile
 1607: 
 1608: # ac_fn_cxx_try_compile LINENO
 1609: # ----------------------------
 1610: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1611: ac_fn_cxx_try_compile ()
 1612: {
 1613:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1614:   rm -f conftest.$ac_objext
 1615:   if { { ac_try="$ac_compile"
 1616: case "(($ac_try" in
 1617:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1618:   *) ac_try_echo=$ac_try;;
 1619: esac
 1620: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1621: $as_echo "$ac_try_echo"; } >&5
 1622:   (eval "$ac_compile") 2>conftest.err
 1623:   ac_status=$?
 1624:   if test -s conftest.err; then
 1625:     grep -v '^ *+' conftest.err >conftest.er1
 1626:     cat conftest.er1 >&5
 1627:     mv -f conftest.er1 conftest.err
 1628:   fi
 1629:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1630:   test $ac_status = 0; } && {
 1631: 	 test -z "$ac_cxx_werror_flag" ||
 1632: 	 test ! -s conftest.err
 1633:        } && test -s conftest.$ac_objext; then :
 1634:   ac_retval=0
 1635: else
 1636:   $as_echo "$as_me: failed program was:" >&5
 1637: sed 's/^/| /' conftest.$ac_ext >&5
 1638: 
 1639: 	ac_retval=1
 1640: fi
 1641:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1642:   as_fn_set_status $ac_retval
 1643: 
 1644: } # ac_fn_cxx_try_compile
 1645: 
 1646: # ac_fn_c_try_cpp LINENO
 1647: # ----------------------
 1648: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1649: ac_fn_c_try_cpp ()
 1650: {
 1651:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1652:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1653: case "(($ac_try" in
 1654:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1655:   *) ac_try_echo=$ac_try;;
 1656: esac
 1657: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1658: $as_echo "$ac_try_echo"; } >&5
 1659:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1660:   ac_status=$?
 1661:   if test -s conftest.err; then
 1662:     grep -v '^ *+' conftest.err >conftest.er1
 1663:     cat conftest.er1 >&5
 1664:     mv -f conftest.er1 conftest.err
 1665:   fi
 1666:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1667:   test $ac_status = 0; } > conftest.i && {
 1668: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1669: 	 test ! -s conftest.err
 1670:        }; then :
 1671:   ac_retval=0
 1672: else
 1673:   $as_echo "$as_me: failed program was:" >&5
 1674: sed 's/^/| /' conftest.$ac_ext >&5
 1675: 
 1676:     ac_retval=1
 1677: fi
 1678:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1679:   as_fn_set_status $ac_retval
 1680: 
 1681: } # ac_fn_c_try_cpp
 1682: 
 1683: # ac_fn_c_try_run LINENO
 1684: # ----------------------
 1685: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1686: # that executables *can* be run.
 1687: ac_fn_c_try_run ()
 1688: {
 1689:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1690:   if { { ac_try="$ac_link"
 1691: case "(($ac_try" in
 1692:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1693:   *) ac_try_echo=$ac_try;;
 1694: esac
 1695: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1696: $as_echo "$ac_try_echo"; } >&5
 1697:   (eval "$ac_link") 2>&5
 1698:   ac_status=$?
 1699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1700:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1701:   { { case "(($ac_try" in
 1702:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1703:   *) ac_try_echo=$ac_try;;
 1704: esac
 1705: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1706: $as_echo "$ac_try_echo"; } >&5
 1707:   (eval "$ac_try") 2>&5
 1708:   ac_status=$?
 1709:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1710:   test $ac_status = 0; }; }; then :
 1711:   ac_retval=0
 1712: else
 1713:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1714:        $as_echo "$as_me: failed program was:" >&5
 1715: sed 's/^/| /' conftest.$ac_ext >&5
 1716: 
 1717:        ac_retval=$ac_status
 1718: fi
 1719:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1720:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1721:   as_fn_set_status $ac_retval
 1722: 
 1723: } # ac_fn_c_try_run
 1724: 
 1725: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1726: # -------------------------------------------------------
 1727: # Tests whether HEADER exists and can be compiled using the include files in
 1728: # INCLUDES, setting the cache variable VAR accordingly.
 1729: ac_fn_c_check_header_compile ()
 1730: {
 1731:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1732:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1733: $as_echo_n "checking for $2... " >&6; }
 1734: if eval \${$3+:} false; then :
 1735:   $as_echo_n "(cached) " >&6
 1736: else
 1737:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1738: /* end confdefs.h.  */
 1739: $4
 1740: #include <$2>
 1741: _ACEOF
 1742: if ac_fn_c_try_compile "$LINENO"; then :
 1743:   eval "$3=yes"
 1744: else
 1745:   eval "$3=no"
 1746: fi
 1747: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1748: fi
 1749: eval ac_res=\$$3
 1750: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1751: $as_echo "$ac_res" >&6; }
 1752:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1753: 
 1754: } # ac_fn_c_check_header_compile
 1755: 
 1756: # ac_fn_c_find_intX_t LINENO BITS VAR
 1757: # -----------------------------------
 1758: # Finds a signed integer type with width BITS, setting cache variable VAR
 1759: # accordingly.
 1760: ac_fn_c_find_intX_t ()
 1761: {
 1762:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1763:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 1764: $as_echo_n "checking for int$2_t... " >&6; }
 1765: if eval \${$3+:} false; then :
 1766:   $as_echo_n "(cached) " >&6
 1767: else
 1768:   eval "$3=no"
 1769:      # Order is important - never check a type that is potentially smaller
 1770:      # than half of the expected target width.
 1771:      for ac_type in int$2_t 'int' 'long int' \
 1772: 	 'long long int' 'short int' 'signed char'; do
 1773:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1774: /* end confdefs.h.  */
 1775: $ac_includes_default
 1776: 	     enum { N = $2 / 2 - 1 };
 1777: int
 1778: main ()
 1779: {
 1780: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 1781: test_array [0] = 0
 1782: 
 1783:   ;
 1784:   return 0;
 1785: }
 1786: _ACEOF
 1787: if ac_fn_c_try_compile "$LINENO"; then :
 1788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1789: /* end confdefs.h.  */
 1790: $ac_includes_default
 1791: 	        enum { N = $2 / 2 - 1 };
 1792: int
 1793: main ()
 1794: {
 1795: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 1796: 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 1797: test_array [0] = 0
 1798: 
 1799:   ;
 1800:   return 0;
 1801: }
 1802: _ACEOF
 1803: if ac_fn_c_try_compile "$LINENO"; then :
 1804: 
 1805: else
 1806:   case $ac_type in #(
 1807:   int$2_t) :
 1808:     eval "$3=yes" ;; #(
 1809:   *) :
 1810:     eval "$3=\$ac_type" ;;
 1811: esac
 1812: fi
 1813: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1814: fi
 1815: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1816:        if eval test \"x\$"$3"\" = x"no"; then :
 1817: 
 1818: else
 1819:   break
 1820: fi
 1821:      done
 1822: fi
 1823: eval ac_res=\$$3
 1824: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1825: $as_echo "$ac_res" >&6; }
 1826:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1827: 
 1828: } # ac_fn_c_find_intX_t
 1829: 
 1830: # ac_fn_c_try_link LINENO
 1831: # -----------------------
 1832: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1833: ac_fn_c_try_link ()
 1834: {
 1835:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1836:   rm -f conftest.$ac_objext conftest$ac_exeext
 1837:   if { { ac_try="$ac_link"
 1838: case "(($ac_try" in
 1839:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1840:   *) ac_try_echo=$ac_try;;
 1841: esac
 1842: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1843: $as_echo "$ac_try_echo"; } >&5
 1844:   (eval "$ac_link") 2>conftest.err
 1845:   ac_status=$?
 1846:   if test -s conftest.err; then
 1847:     grep -v '^ *+' conftest.err >conftest.er1
 1848:     cat conftest.er1 >&5
 1849:     mv -f conftest.er1 conftest.err
 1850:   fi
 1851:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1852:   test $ac_status = 0; } && {
 1853: 	 test -z "$ac_c_werror_flag" ||
 1854: 	 test ! -s conftest.err
 1855:        } && test -s conftest$ac_exeext && {
 1856: 	 test "$cross_compiling" = yes ||
 1857: 	 $as_test_x conftest$ac_exeext
 1858:        }; then :
 1859:   ac_retval=0
 1860: else
 1861:   $as_echo "$as_me: failed program was:" >&5
 1862: sed 's/^/| /' conftest.$ac_ext >&5
 1863: 
 1864: 	ac_retval=1
 1865: fi
 1866:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1867:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1868:   # interfere with the next link command; also delete a directory that is
 1869:   # left behind by Apple's compiler.  We do this before executing the actions.
 1870:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1871:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1872:   as_fn_set_status $ac_retval
 1873: 
 1874: } # ac_fn_c_try_link
 1875: 
 1876: # ac_fn_c_check_func LINENO FUNC VAR
 1877: # ----------------------------------
 1878: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1879: ac_fn_c_check_func ()
 1880: {
 1881:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1882:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1883: $as_echo_n "checking for $2... " >&6; }
 1884: if eval \${$3+:} false; then :
 1885:   $as_echo_n "(cached) " >&6
 1886: else
 1887:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1888: /* end confdefs.h.  */
 1889: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1890:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1891: #define $2 innocuous_$2
 1892: 
 1893: /* System header to define __stub macros and hopefully few prototypes,
 1894:     which can conflict with char $2 (); below.
 1895:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1896:     <limits.h> exists even on freestanding compilers.  */
 1897: 
 1898: #ifdef __STDC__
 1899: # include <limits.h>
 1900: #else
 1901: # include <assert.h>
 1902: #endif
 1903: 
 1904: #undef $2
 1905: 
 1906: /* Override any GCC internal prototype to avoid an error.
 1907:    Use char because int might match the return type of a GCC
 1908:    builtin and then its argument prototype would still apply.  */
 1909: #ifdef __cplusplus
 1910: extern "C"
 1911: #endif
 1912: char $2 ();
 1913: /* The GNU C library defines this for functions which it implements
 1914:     to always fail with ENOSYS.  Some functions are actually named
 1915:     something starting with __ and the normal name is an alias.  */
 1916: #if defined __stub_$2 || defined __stub___$2
 1917: choke me
 1918: #endif
 1919: 
 1920: int
 1921: main ()
 1922: {
 1923: return $2 ();
 1924:   ;
 1925:   return 0;
 1926: }
 1927: _ACEOF
 1928: if ac_fn_c_try_link "$LINENO"; then :
 1929:   eval "$3=yes"
 1930: else
 1931:   eval "$3=no"
 1932: fi
 1933: rm -f core conftest.err conftest.$ac_objext \
 1934:     conftest$ac_exeext conftest.$ac_ext
 1935: fi
 1936: eval ac_res=\$$3
 1937: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1938: $as_echo "$ac_res" >&6; }
 1939:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1940: 
 1941: } # ac_fn_c_check_func
 1942: 
 1943: # ac_fn_cxx_try_cpp LINENO
 1944: # ------------------------
 1945: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1946: ac_fn_cxx_try_cpp ()
 1947: {
 1948:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1949:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1950: case "(($ac_try" in
 1951:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1952:   *) ac_try_echo=$ac_try;;
 1953: esac
 1954: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1955: $as_echo "$ac_try_echo"; } >&5
 1956:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1957:   ac_status=$?
 1958:   if test -s conftest.err; then
 1959:     grep -v '^ *+' conftest.err >conftest.er1
 1960:     cat conftest.er1 >&5
 1961:     mv -f conftest.er1 conftest.err
 1962:   fi
 1963:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1964:   test $ac_status = 0; } > conftest.i && {
 1965: 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 1966: 	 test ! -s conftest.err
 1967:        }; then :
 1968:   ac_retval=0
 1969: else
 1970:   $as_echo "$as_me: failed program was:" >&5
 1971: sed 's/^/| /' conftest.$ac_ext >&5
 1972: 
 1973:     ac_retval=1
 1974: fi
 1975:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1976:   as_fn_set_status $ac_retval
 1977: 
 1978: } # ac_fn_cxx_try_cpp
 1979: 
 1980: # ac_fn_cxx_try_link LINENO
 1981: # -------------------------
 1982: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1983: ac_fn_cxx_try_link ()
 1984: {
 1985:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1986:   rm -f conftest.$ac_objext conftest$ac_exeext
 1987:   if { { ac_try="$ac_link"
 1988: case "(($ac_try" in
 1989:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1990:   *) ac_try_echo=$ac_try;;
 1991: esac
 1992: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1993: $as_echo "$ac_try_echo"; } >&5
 1994:   (eval "$ac_link") 2>conftest.err
 1995:   ac_status=$?
 1996:   if test -s conftest.err; then
 1997:     grep -v '^ *+' conftest.err >conftest.er1
 1998:     cat conftest.er1 >&5
 1999:     mv -f conftest.er1 conftest.err
 2000:   fi
 2001:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2002:   test $ac_status = 0; } && {
 2003: 	 test -z "$ac_cxx_werror_flag" ||
 2004: 	 test ! -s conftest.err
 2005:        } && test -s conftest$ac_exeext && {
 2006: 	 test "$cross_compiling" = yes ||
 2007: 	 $as_test_x conftest$ac_exeext
 2008:        }; then :
 2009:   ac_retval=0
 2010: else
 2011:   $as_echo "$as_me: failed program was:" >&5
 2012: sed 's/^/| /' conftest.$ac_ext >&5
 2013: 
 2014: 	ac_retval=1
 2015: fi
 2016:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 2017:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 2018:   # interfere with the next link command; also delete a directory that is
 2019:   # left behind by Apple's compiler.  We do this before executing the actions.
 2020:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 2021:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2022:   as_fn_set_status $ac_retval
 2023: 
 2024: } # ac_fn_cxx_try_link
 2025: 
 2026: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2027: # -------------------------------------------------------
 2028: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2029: # the include files in INCLUDES and setting the cache variable VAR
 2030: # accordingly.
 2031: ac_fn_c_check_header_mongrel ()
 2032: {
 2033:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2034:   if eval \${$3+:} false; then :
 2035:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2036: $as_echo_n "checking for $2... " >&6; }
 2037: if eval \${$3+:} false; then :
 2038:   $as_echo_n "(cached) " >&6
 2039: fi
 2040: eval ac_res=\$$3
 2041: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2042: $as_echo "$ac_res" >&6; }
 2043: else
 2044:   # Is the header compilable?
 2045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2046: $as_echo_n "checking $2 usability... " >&6; }
 2047: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2048: /* end confdefs.h.  */
 2049: $4
 2050: #include <$2>
 2051: _ACEOF
 2052: if ac_fn_c_try_compile "$LINENO"; then :
 2053:   ac_header_compiler=yes
 2054: else
 2055:   ac_header_compiler=no
 2056: fi
 2057: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2059: $as_echo "$ac_header_compiler" >&6; }
 2060: 
 2061: # Is the header present?
 2062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2063: $as_echo_n "checking $2 presence... " >&6; }
 2064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2065: /* end confdefs.h.  */
 2066: #include <$2>
 2067: _ACEOF
 2068: if ac_fn_c_try_cpp "$LINENO"; then :
 2069:   ac_header_preproc=yes
 2070: else
 2071:   ac_header_preproc=no
 2072: fi
 2073: rm -f conftest.err conftest.i conftest.$ac_ext
 2074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2075: $as_echo "$ac_header_preproc" >&6; }
 2076: 
 2077: # So?  What about this header?
 2078: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2079:   yes:no: )
 2080:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2081: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2082:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2083: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2084:     ;;
 2085:   no:yes:* )
 2086:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2087: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2088:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2089: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2090:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2091: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2092:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2093: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2094:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2095: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2096:     ;;
 2097: esac
 2098:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2099: $as_echo_n "checking for $2... " >&6; }
 2100: if eval \${$3+:} false; then :
 2101:   $as_echo_n "(cached) " >&6
 2102: else
 2103:   eval "$3=\$ac_header_compiler"
 2104: fi
 2105: eval ac_res=\$$3
 2106: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2107: $as_echo "$ac_res" >&6; }
 2108: fi
 2109:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2110: 
 2111: } # ac_fn_c_check_header_mongrel
 2112: 
 2113: # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 2114: # ---------------------------------------------------------
 2115: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2116: # the include files in INCLUDES and setting the cache variable VAR
 2117: # accordingly.
 2118: ac_fn_cxx_check_header_mongrel ()
 2119: {
 2120:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2121:   if eval \${$3+:} false; then :
 2122:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2123: $as_echo_n "checking for $2... " >&6; }
 2124: if eval \${$3+:} false; then :
 2125:   $as_echo_n "(cached) " >&6
 2126: fi
 2127: eval ac_res=\$$3
 2128: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2129: $as_echo "$ac_res" >&6; }
 2130: else
 2131:   # Is the header compilable?
 2132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2133: $as_echo_n "checking $2 usability... " >&6; }
 2134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2135: /* end confdefs.h.  */
 2136: $4
 2137: #include <$2>
 2138: _ACEOF
 2139: if ac_fn_cxx_try_compile "$LINENO"; then :
 2140:   ac_header_compiler=yes
 2141: else
 2142:   ac_header_compiler=no
 2143: fi
 2144: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2146: $as_echo "$ac_header_compiler" >&6; }
 2147: 
 2148: # Is the header present?
 2149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2150: $as_echo_n "checking $2 presence... " >&6; }
 2151: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2152: /* end confdefs.h.  */
 2153: #include <$2>
 2154: _ACEOF
 2155: if ac_fn_cxx_try_cpp "$LINENO"; then :
 2156:   ac_header_preproc=yes
 2157: else
 2158:   ac_header_preproc=no
 2159: fi
 2160: rm -f conftest.err conftest.i conftest.$ac_ext
 2161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2162: $as_echo "$ac_header_preproc" >&6; }
 2163: 
 2164: # So?  What about this header?
 2165: case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 2166:   yes:no: )
 2167:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2168: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2169:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2170: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2171:     ;;
 2172:   no:yes:* )
 2173:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2174: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2175:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2176: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2177:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2178: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2179:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2180: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2181:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2182: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2183:     ;;
 2184: esac
 2185:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2186: $as_echo_n "checking for $2... " >&6; }
 2187: if eval \${$3+:} false; then :
 2188:   $as_echo_n "(cached) " >&6
 2189: else
 2190:   eval "$3=\$ac_header_compiler"
 2191: fi
 2192: eval ac_res=\$$3
 2193: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2194: $as_echo "$ac_res" >&6; }
 2195: fi
 2196:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2197: 
 2198: } # ac_fn_cxx_check_header_mongrel
 2199: 
 2200: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 2201: # ---------------------------------------------
 2202: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2203: # variable VAR accordingly.
 2204: ac_fn_cxx_check_type ()
 2205: {
 2206:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2207:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2208: $as_echo_n "checking for $2... " >&6; }
 2209: if eval \${$3+:} false; then :
 2210:   $as_echo_n "(cached) " >&6
 2211: else
 2212:   eval "$3=no"
 2213:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2214: /* end confdefs.h.  */
 2215: $4
 2216: int
 2217: main ()
 2218: {
 2219: if (sizeof ($2))
 2220: 	 return 0;
 2221:   ;
 2222:   return 0;
 2223: }
 2224: _ACEOF
 2225: if ac_fn_cxx_try_compile "$LINENO"; then :
 2226:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2227: /* end confdefs.h.  */
 2228: $4
 2229: int
 2230: main ()
 2231: {
 2232: if (sizeof (($2)))
 2233: 	    return 0;
 2234:   ;
 2235:   return 0;
 2236: }
 2237: _ACEOF
 2238: if ac_fn_cxx_try_compile "$LINENO"; then :
 2239: 
 2240: else
 2241:   eval "$3=yes"
 2242: fi
 2243: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2244: fi
 2245: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2246: fi
 2247: eval ac_res=\$$3
 2248: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2249: $as_echo "$ac_res" >&6; }
 2250:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2251: 
 2252: } # ac_fn_cxx_check_type
 2253: 
 2254: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2255: # -------------------------------------------
 2256: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2257: # variable VAR accordingly.
 2258: ac_fn_c_check_type ()
 2259: {
 2260:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2261:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2262: $as_echo_n "checking for $2... " >&6; }
 2263: if eval \${$3+:} false; then :
 2264:   $as_echo_n "(cached) " >&6
 2265: else
 2266:   eval "$3=no"
 2267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2268: /* end confdefs.h.  */
 2269: $4
 2270: int
 2271: main ()
 2272: {
 2273: if (sizeof ($2))
 2274: 	 return 0;
 2275:   ;
 2276:   return 0;
 2277: }
 2278: _ACEOF
 2279: if ac_fn_c_try_compile "$LINENO"; then :
 2280:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2281: /* end confdefs.h.  */
 2282: $4
 2283: int
 2284: main ()
 2285: {
 2286: if (sizeof (($2)))
 2287: 	    return 0;
 2288:   ;
 2289:   return 0;
 2290: }
 2291: _ACEOF
 2292: if ac_fn_c_try_compile "$LINENO"; then :
 2293: 
 2294: else
 2295:   eval "$3=yes"
 2296: fi
 2297: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2298: fi
 2299: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2300: fi
 2301: eval ac_res=\$$3
 2302: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2303: $as_echo "$ac_res" >&6; }
 2304:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2305: 
 2306: } # ac_fn_c_check_type
 2307: cat >config.log <<_ACEOF
 2308: This file contains any messages produced by compilers while
 2309: running configure, to aid debugging if configure makes a mistake.
 2310: 
 2311: It was created by PCRE $as_me 8.21, which was
 2312: generated by GNU Autoconf 2.68.  Invocation command line was
 2313: 
 2314:   $ $0 $@
 2315: 
 2316: _ACEOF
 2317: exec 5>>config.log
 2318: {
 2319: cat <<_ASUNAME
 2320: ## --------- ##
 2321: ## Platform. ##
 2322: ## --------- ##
 2323: 
 2324: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2325: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2326: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2327: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2328: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2329: 
 2330: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2331: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2332: 
 2333: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2334: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2335: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2336: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2337: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2338: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2339: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2340: 
 2341: _ASUNAME
 2342: 
 2343: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2344: for as_dir in $PATH
 2345: do
 2346:   IFS=$as_save_IFS
 2347:   test -z "$as_dir" && as_dir=.
 2348:     $as_echo "PATH: $as_dir"
 2349:   done
 2350: IFS=$as_save_IFS
 2351: 
 2352: } >&5
 2353: 
 2354: cat >&5 <<_ACEOF
 2355: 
 2356: 
 2357: ## ----------- ##
 2358: ## Core tests. ##
 2359: ## ----------- ##
 2360: 
 2361: _ACEOF
 2362: 
 2363: 
 2364: # Keep a trace of the command line.
 2365: # Strip out --no-create and --no-recursion so they do not pile up.
 2366: # Strip out --silent because we don't want to record it for future runs.
 2367: # Also quote any args containing shell meta-characters.
 2368: # Make two passes to allow for proper duplicate-argument suppression.
 2369: ac_configure_args=
 2370: ac_configure_args0=
 2371: ac_configure_args1=
 2372: ac_must_keep_next=false
 2373: for ac_pass in 1 2
 2374: do
 2375:   for ac_arg
 2376:   do
 2377:     case $ac_arg in
 2378:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2379:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2380:     | -silent | --silent | --silen | --sile | --sil)
 2381:       continue ;;
 2382:     *\'*)
 2383:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2384:     esac
 2385:     case $ac_pass in
 2386:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2387:     2)
 2388:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2389:       if test $ac_must_keep_next = true; then
 2390: 	ac_must_keep_next=false # Got value, back to normal.
 2391:       else
 2392: 	case $ac_arg in
 2393: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2394: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2395: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2396: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2397: 	    case "$ac_configure_args0 " in
 2398: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2399: 	    esac
 2400: 	    ;;
 2401: 	  -* ) ac_must_keep_next=true ;;
 2402: 	esac
 2403:       fi
 2404:       as_fn_append ac_configure_args " '$ac_arg'"
 2405:       ;;
 2406:     esac
 2407:   done
 2408: done
 2409: { ac_configure_args0=; unset ac_configure_args0;}
 2410: { ac_configure_args1=; unset ac_configure_args1;}
 2411: 
 2412: # When interrupted or exit'd, cleanup temporary files, and complete
 2413: # config.log.  We remove comments because anyway the quotes in there
 2414: # would cause problems or look ugly.
 2415: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2416: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2417: trap 'exit_status=$?
 2418:   # Save into config.log some information that might help in debugging.
 2419:   {
 2420:     echo
 2421: 
 2422:     $as_echo "## ---------------- ##
 2423: ## Cache variables. ##
 2424: ## ---------------- ##"
 2425:     echo
 2426:     # The following way of writing the cache mishandles newlines in values,
 2427: (
 2428:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2429:     eval ac_val=\$$ac_var
 2430:     case $ac_val in #(
 2431:     *${as_nl}*)
 2432:       case $ac_var in #(
 2433:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2434: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2435:       esac
 2436:       case $ac_var in #(
 2437:       _ | IFS | as_nl) ;; #(
 2438:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2439:       *) { eval $ac_var=; unset $ac_var;} ;;
 2440:       esac ;;
 2441:     esac
 2442:   done
 2443:   (set) 2>&1 |
 2444:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2445:     *${as_nl}ac_space=\ *)
 2446:       sed -n \
 2447: 	"s/'\''/'\''\\\\'\'''\''/g;
 2448: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2449:       ;; #(
 2450:     *)
 2451:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2452:       ;;
 2453:     esac |
 2454:     sort
 2455: )
 2456:     echo
 2457: 
 2458:     $as_echo "## ----------------- ##
 2459: ## Output variables. ##
 2460: ## ----------------- ##"
 2461:     echo
 2462:     for ac_var in $ac_subst_vars
 2463:     do
 2464:       eval ac_val=\$$ac_var
 2465:       case $ac_val in
 2466:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2467:       esac
 2468:       $as_echo "$ac_var='\''$ac_val'\''"
 2469:     done | sort
 2470:     echo
 2471: 
 2472:     if test -n "$ac_subst_files"; then
 2473:       $as_echo "## ------------------- ##
 2474: ## File substitutions. ##
 2475: ## ------------------- ##"
 2476:       echo
 2477:       for ac_var in $ac_subst_files
 2478:       do
 2479: 	eval ac_val=\$$ac_var
 2480: 	case $ac_val in
 2481: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2482: 	esac
 2483: 	$as_echo "$ac_var='\''$ac_val'\''"
 2484:       done | sort
 2485:       echo
 2486:     fi
 2487: 
 2488:     if test -s confdefs.h; then
 2489:       $as_echo "## ----------- ##
 2490: ## confdefs.h. ##
 2491: ## ----------- ##"
 2492:       echo
 2493:       cat confdefs.h
 2494:       echo
 2495:     fi
 2496:     test "$ac_signal" != 0 &&
 2497:       $as_echo "$as_me: caught signal $ac_signal"
 2498:     $as_echo "$as_me: exit $exit_status"
 2499:   } >&5
 2500:   rm -f core *.core core.conftest.* &&
 2501:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2502:     exit $exit_status
 2503: ' 0
 2504: for ac_signal in 1 2 13 15; do
 2505:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2506: done
 2507: ac_signal=0
 2508: 
 2509: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2510: rm -f -r conftest* confdefs.h
 2511: 
 2512: $as_echo "/* confdefs.h */" > confdefs.h
 2513: 
 2514: # Predefined preprocessor variables.
 2515: 
 2516: cat >>confdefs.h <<_ACEOF
 2517: #define PACKAGE_NAME "$PACKAGE_NAME"
 2518: _ACEOF
 2519: 
 2520: cat >>confdefs.h <<_ACEOF
 2521: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2522: _ACEOF
 2523: 
 2524: cat >>confdefs.h <<_ACEOF
 2525: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2526: _ACEOF
 2527: 
 2528: cat >>confdefs.h <<_ACEOF
 2529: #define PACKAGE_STRING "$PACKAGE_STRING"
 2530: _ACEOF
 2531: 
 2532: cat >>confdefs.h <<_ACEOF
 2533: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2534: _ACEOF
 2535: 
 2536: cat >>confdefs.h <<_ACEOF
 2537: #define PACKAGE_URL "$PACKAGE_URL"
 2538: _ACEOF
 2539: 
 2540: 
 2541: # Let the site file select an alternate cache file if it wants to.
 2542: # Prefer an explicitly selected file to automatically selected ones.
 2543: ac_site_file1=NONE
 2544: ac_site_file2=NONE
 2545: if test -n "$CONFIG_SITE"; then
 2546:   # We do not want a PATH search for config.site.
 2547:   case $CONFIG_SITE in #((
 2548:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2549:     */*) ac_site_file1=$CONFIG_SITE;;
 2550:     *)   ac_site_file1=./$CONFIG_SITE;;
 2551:   esac
 2552: elif test "x$prefix" != xNONE; then
 2553:   ac_site_file1=$prefix/share/config.site
 2554:   ac_site_file2=$prefix/etc/config.site
 2555: else
 2556:   ac_site_file1=$ac_default_prefix/share/config.site
 2557:   ac_site_file2=$ac_default_prefix/etc/config.site
 2558: fi
 2559: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2560: do
 2561:   test "x$ac_site_file" = xNONE && continue
 2562:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2563:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2564: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2565:     sed 's/^/| /' "$ac_site_file" >&5
 2566:     . "$ac_site_file" \
 2567:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2568: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2569: as_fn_error $? "failed to load site script $ac_site_file
 2570: See \`config.log' for more details" "$LINENO" 5; }
 2571:   fi
 2572: done
 2573: 
 2574: if test -r "$cache_file"; then
 2575:   # Some versions of bash will fail to source /dev/null (special files
 2576:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2577:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2578:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2579: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2580:     case $cache_file in
 2581:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2582:       *)                      . "./$cache_file";;
 2583:     esac
 2584:   fi
 2585: else
 2586:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2587: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2588:   >$cache_file
 2589: fi
 2590: 
 2591: # Check that the precious variables saved in the cache have kept the same
 2592: # value.
 2593: ac_cache_corrupted=false
 2594: for ac_var in $ac_precious_vars; do
 2595:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2596:   eval ac_new_set=\$ac_env_${ac_var}_set
 2597:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2598:   eval ac_new_val=\$ac_env_${ac_var}_value
 2599:   case $ac_old_set,$ac_new_set in
 2600:     set,)
 2601:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2602: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2603:       ac_cache_corrupted=: ;;
 2604:     ,set)
 2605:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2606: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2607:       ac_cache_corrupted=: ;;
 2608:     ,);;
 2609:     *)
 2610:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2611: 	# differences in whitespace do not lead to failure.
 2612: 	ac_old_val_w=`echo x $ac_old_val`
 2613: 	ac_new_val_w=`echo x $ac_new_val`
 2614: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2615: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2616: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2617: 	  ac_cache_corrupted=:
 2618: 	else
 2619: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2620: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2621: 	  eval $ac_var=\$ac_old_val
 2622: 	fi
 2623: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2624: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2625: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2626: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2627:       fi;;
 2628:   esac
 2629:   # Pass precious variables to config.status.
 2630:   if test "$ac_new_set" = set; then
 2631:     case $ac_new_val in
 2632:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2633:     *) ac_arg=$ac_var=$ac_new_val ;;
 2634:     esac
 2635:     case " $ac_configure_args " in
 2636:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2637:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2638:     esac
 2639:   fi
 2640: done
 2641: if $ac_cache_corrupted; then
 2642:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2643: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2644:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2645: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2646:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2647: fi
 2648: ## -------------------- ##
 2649: ## Main body of script. ##
 2650: ## -------------------- ##
 2651: 
 2652: ac_ext=c
 2653: ac_cpp='$CPP $CPPFLAGS'
 2654: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2655: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2656: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2657: 
 2658: 
 2659: 
 2660: am__api_version='1.11'
 2661: 
 2662: ac_aux_dir=
 2663: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2664:   if test -f "$ac_dir/install-sh"; then
 2665:     ac_aux_dir=$ac_dir
 2666:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2667:     break
 2668:   elif test -f "$ac_dir/install.sh"; then
 2669:     ac_aux_dir=$ac_dir
 2670:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2671:     break
 2672:   elif test -f "$ac_dir/shtool"; then
 2673:     ac_aux_dir=$ac_dir
 2674:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2675:     break
 2676:   fi
 2677: done
 2678: if test -z "$ac_aux_dir"; then
 2679:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2680: fi
 2681: 
 2682: # These three variables are undocumented and unsupported,
 2683: # and are intended to be withdrawn in a future Autoconf release.
 2684: # They can cause serious problems if a builder's source tree is in a directory
 2685: # whose full name contains unusual characters.
 2686: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2687: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2688: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2689: 
 2690: 
 2691: # Find a good install program.  We prefer a C program (faster),
 2692: # so one script is as good as another.  But avoid the broken or
 2693: # incompatible versions:
 2694: # SysV /etc/install, /usr/sbin/install
 2695: # SunOS /usr/etc/install
 2696: # IRIX /sbin/install
 2697: # AIX /bin/install
 2698: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2699: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2700: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2701: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2702: # OS/2's system install, which has a completely different semantic
 2703: # ./install, which can be erroneously created by make from ./install.sh.
 2704: # Reject install programs that cannot install multiple files.
 2705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2706: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2707: if test -z "$INSTALL"; then
 2708: if ${ac_cv_path_install+:} false; then :
 2709:   $as_echo_n "(cached) " >&6
 2710: else
 2711:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2712: for as_dir in $PATH
 2713: do
 2714:   IFS=$as_save_IFS
 2715:   test -z "$as_dir" && as_dir=.
 2716:     # Account for people who put trailing slashes in PATH elements.
 2717: case $as_dir/ in #((
 2718:   ./ | .// | /[cC]/* | \
 2719:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2720:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2721:   /usr/ucb/* ) ;;
 2722:   *)
 2723:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2724:     # Don't use installbsd from OSF since it installs stuff as root
 2725:     # by default.
 2726:     for ac_prog in ginstall scoinst install; do
 2727:       for ac_exec_ext in '' $ac_executable_extensions; do
 2728: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2729: 	  if test $ac_prog = install &&
 2730: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2731: 	    # AIX install.  It has an incompatible calling convention.
 2732: 	    :
 2733: 	  elif test $ac_prog = install &&
 2734: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2735: 	    # program-specific install script used by HP pwplus--don't use.
 2736: 	    :
 2737: 	  else
 2738: 	    rm -rf conftest.one conftest.two conftest.dir
 2739: 	    echo one > conftest.one
 2740: 	    echo two > conftest.two
 2741: 	    mkdir conftest.dir
 2742: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2743: 	      test -s conftest.one && test -s conftest.two &&
 2744: 	      test -s conftest.dir/conftest.one &&
 2745: 	      test -s conftest.dir/conftest.two
 2746: 	    then
 2747: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2748: 	      break 3
 2749: 	    fi
 2750: 	  fi
 2751: 	fi
 2752:       done
 2753:     done
 2754:     ;;
 2755: esac
 2756: 
 2757:   done
 2758: IFS=$as_save_IFS
 2759: 
 2760: rm -rf conftest.one conftest.two conftest.dir
 2761: 
 2762: fi
 2763:   if test "${ac_cv_path_install+set}" = set; then
 2764:     INSTALL=$ac_cv_path_install
 2765:   else
 2766:     # As a last resort, use the slow shell script.  Don't cache a
 2767:     # value for INSTALL within a source directory, because that will
 2768:     # break other packages using the cache if that directory is
 2769:     # removed, or if the value is a relative name.
 2770:     INSTALL=$ac_install_sh
 2771:   fi
 2772: fi
 2773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2774: $as_echo "$INSTALL" >&6; }
 2775: 
 2776: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2777: # It thinks the first close brace ends the variable substitution.
 2778: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2779: 
 2780: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2781: 
 2782: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2783: 
 2784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2785: $as_echo_n "checking whether build environment is sane... " >&6; }
 2786: # Just in case
 2787: sleep 1
 2788: echo timestamp > conftest.file
 2789: # Reject unsafe characters in $srcdir or the absolute working directory
 2790: # name.  Accept space and tab only in the latter.
 2791: am_lf='
 2792: '
 2793: case `pwd` in
 2794:   *[\\\"\#\$\&\'\`$am_lf]*)
 2795:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2796: esac
 2797: case $srcdir in
 2798:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2799:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2800: esac
 2801: 
 2802: # Do `set' in a subshell so we don't clobber the current shell's
 2803: # arguments.  Must try -L first in case configure is actually a
 2804: # symlink; some systems play weird games with the mod time of symlinks
 2805: # (eg FreeBSD returns the mod time of the symlink's containing
 2806: # directory).
 2807: if (
 2808:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2809:    if test "$*" = "X"; then
 2810:       # -L didn't work.
 2811:       set X `ls -t "$srcdir/configure" conftest.file`
 2812:    fi
 2813:    rm -f conftest.file
 2814:    if test "$*" != "X $srcdir/configure conftest.file" \
 2815:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2816: 
 2817:       # If neither matched, then we have a broken ls.  This can happen
 2818:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2819:       # broken ls alias from the environment.  This has actually
 2820:       # happened.  Such a system could not be considered "sane".
 2821:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2822: alias in your environment" "$LINENO" 5
 2823:    fi
 2824: 
 2825:    test "$2" = conftest.file
 2826:    )
 2827: then
 2828:    # Ok.
 2829:    :
 2830: else
 2831:    as_fn_error $? "newly created file is older than distributed files!
 2832: Check your system clock" "$LINENO" 5
 2833: fi
 2834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2835: $as_echo "yes" >&6; }
 2836: test "$program_prefix" != NONE &&
 2837:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2838: # Use a double $ so make ignores it.
 2839: test "$program_suffix" != NONE &&
 2840:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2841: # Double any \ or $.
 2842: # By default was `s,x,x', remove it if useless.
 2843: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2844: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2845: 
 2846: # expand $ac_aux_dir to an absolute path
 2847: am_aux_dir=`cd $ac_aux_dir && pwd`
 2848: 
 2849: if test x"${MISSING+set}" != xset; then
 2850:   case $am_aux_dir in
 2851:   *\ * | *\	*)
 2852:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2853:   *)
 2854:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2855:   esac
 2856: fi
 2857: # Use eval to expand $SHELL
 2858: if eval "$MISSING --run true"; then
 2859:   am_missing_run="$MISSING --run "
 2860: else
 2861:   am_missing_run=
 2862:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2863: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2864: fi
 2865: 
 2866: if test x"${install_sh}" != xset; then
 2867:   case $am_aux_dir in
 2868:   *\ * | *\	*)
 2869:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2870:   *)
 2871:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2872:   esac
 2873: fi
 2874: 
 2875: # Installed binaries are usually stripped using `strip' when the user
 2876: # run `make install-strip'.  However `strip' might not be the right
 2877: # tool to use in cross-compilation environments, therefore Automake
 2878: # will honor the `STRIP' environment variable to overrule this program.
 2879: if test "$cross_compiling" != no; then
 2880:   if test -n "$ac_tool_prefix"; then
 2881:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2882: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2884: $as_echo_n "checking for $ac_word... " >&6; }
 2885: if ${ac_cv_prog_STRIP+:} false; then :
 2886:   $as_echo_n "(cached) " >&6
 2887: else
 2888:   if test -n "$STRIP"; then
 2889:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2890: else
 2891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2892: for as_dir in $PATH
 2893: do
 2894:   IFS=$as_save_IFS
 2895:   test -z "$as_dir" && as_dir=.
 2896:     for ac_exec_ext in '' $ac_executable_extensions; do
 2897:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2898:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2899:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2900:     break 2
 2901:   fi
 2902: done
 2903:   done
 2904: IFS=$as_save_IFS
 2905: 
 2906: fi
 2907: fi
 2908: STRIP=$ac_cv_prog_STRIP
 2909: if test -n "$STRIP"; then
 2910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2911: $as_echo "$STRIP" >&6; }
 2912: else
 2913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2914: $as_echo "no" >&6; }
 2915: fi
 2916: 
 2917: 
 2918: fi
 2919: if test -z "$ac_cv_prog_STRIP"; then
 2920:   ac_ct_STRIP=$STRIP
 2921:   # Extract the first word of "strip", so it can be a program name with args.
 2922: set dummy strip; ac_word=$2
 2923: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2924: $as_echo_n "checking for $ac_word... " >&6; }
 2925: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2926:   $as_echo_n "(cached) " >&6
 2927: else
 2928:   if test -n "$ac_ct_STRIP"; then
 2929:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2930: else
 2931: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2932: for as_dir in $PATH
 2933: do
 2934:   IFS=$as_save_IFS
 2935:   test -z "$as_dir" && as_dir=.
 2936:     for ac_exec_ext in '' $ac_executable_extensions; do
 2937:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2938:     ac_cv_prog_ac_ct_STRIP="strip"
 2939:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2940:     break 2
 2941:   fi
 2942: done
 2943:   done
 2944: IFS=$as_save_IFS
 2945: 
 2946: fi
 2947: fi
 2948: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2949: if test -n "$ac_ct_STRIP"; then
 2950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2951: $as_echo "$ac_ct_STRIP" >&6; }
 2952: else
 2953:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2954: $as_echo "no" >&6; }
 2955: fi
 2956: 
 2957:   if test "x$ac_ct_STRIP" = x; then
 2958:     STRIP=":"
 2959:   else
 2960:     case $cross_compiling:$ac_tool_warned in
 2961: yes:)
 2962: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2963: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2964: ac_tool_warned=yes ;;
 2965: esac
 2966:     STRIP=$ac_ct_STRIP
 2967:   fi
 2968: else
 2969:   STRIP="$ac_cv_prog_STRIP"
 2970: fi
 2971: 
 2972: fi
 2973: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2974: 
 2975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2976: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2977: if test -z "$MKDIR_P"; then
 2978:   if ${ac_cv_path_mkdir+:} false; then :
 2979:   $as_echo_n "(cached) " >&6
 2980: else
 2981:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2982: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2983: do
 2984:   IFS=$as_save_IFS
 2985:   test -z "$as_dir" && as_dir=.
 2986:     for ac_prog in mkdir gmkdir; do
 2987: 	 for ac_exec_ext in '' $ac_executable_extensions; do
 2988: 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 2989: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2990: 	     'mkdir (GNU coreutils) '* | \
 2991: 	     'mkdir (coreutils) '* | \
 2992: 	     'mkdir (fileutils) '4.1*)
 2993: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2994: 	       break 3;;
 2995: 	   esac
 2996: 	 done
 2997:        done
 2998:   done
 2999: IFS=$as_save_IFS
 3000: 
 3001: fi
 3002: 
 3003:   test -d ./--version && rmdir ./--version
 3004:   if test "${ac_cv_path_mkdir+set}" = set; then
 3005:     MKDIR_P="$ac_cv_path_mkdir -p"
 3006:   else
 3007:     # As a last resort, use the slow shell script.  Don't cache a
 3008:     # value for MKDIR_P within a source directory, because that will
 3009:     # break other packages using the cache if that directory is
 3010:     # removed, or if the value is a relative name.
 3011:     MKDIR_P="$ac_install_sh -d"
 3012:   fi
 3013: fi
 3014: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3015: $as_echo "$MKDIR_P" >&6; }
 3016: 
 3017: mkdir_p="$MKDIR_P"
 3018: case $mkdir_p in
 3019:   [\\/$]* | ?:[\\/]*) ;;
 3020:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3021: esac
 3022: 
 3023: for ac_prog in gawk mawk nawk awk
 3024: do
 3025:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3026: set dummy $ac_prog; ac_word=$2
 3027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3028: $as_echo_n "checking for $ac_word... " >&6; }
 3029: if ${ac_cv_prog_AWK+:} false; then :
 3030:   $as_echo_n "(cached) " >&6
 3031: else
 3032:   if test -n "$AWK"; then
 3033:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3034: else
 3035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3036: for as_dir in $PATH
 3037: do
 3038:   IFS=$as_save_IFS
 3039:   test -z "$as_dir" && as_dir=.
 3040:     for ac_exec_ext in '' $ac_executable_extensions; do
 3041:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3042:     ac_cv_prog_AWK="$ac_prog"
 3043:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3044:     break 2
 3045:   fi
 3046: done
 3047:   done
 3048: IFS=$as_save_IFS
 3049: 
 3050: fi
 3051: fi
 3052: AWK=$ac_cv_prog_AWK
 3053: if test -n "$AWK"; then
 3054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3055: $as_echo "$AWK" >&6; }
 3056: else
 3057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3058: $as_echo "no" >&6; }
 3059: fi
 3060: 
 3061: 
 3062:   test -n "$AWK" && break
 3063: done
 3064: 
 3065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3066: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3067: set x ${MAKE-make}
 3068: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3069: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3070:   $as_echo_n "(cached) " >&6
 3071: else
 3072:   cat >conftest.make <<\_ACEOF
 3073: SHELL = /bin/sh
 3074: all:
 3075: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3076: _ACEOF
 3077: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3078: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3079:   *@@@%%%=?*=@@@%%%*)
 3080:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3081:   *)
 3082:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3083: esac
 3084: rm -f conftest.make
 3085: fi
 3086: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3088: $as_echo "yes" >&6; }
 3089:   SET_MAKE=
 3090: else
 3091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3092: $as_echo "no" >&6; }
 3093:   SET_MAKE="MAKE=${MAKE-make}"
 3094: fi
 3095: 
 3096: rm -rf .tst 2>/dev/null
 3097: mkdir .tst 2>/dev/null
 3098: if test -d .tst; then
 3099:   am__leading_dot=.
 3100: else
 3101:   am__leading_dot=_
 3102: fi
 3103: rmdir .tst 2>/dev/null
 3104: 
 3105: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3106:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3107:   # is not polluted with repeated "-I."
 3108:   am__isrc=' -I$(srcdir)'
 3109:   # test to see if srcdir already configured
 3110:   if test -f $srcdir/config.status; then
 3111:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3112:   fi
 3113: fi
 3114: 
 3115: # test whether we have cygpath
 3116: if test -z "$CYGPATH_W"; then
 3117:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3118:     CYGPATH_W='cygpath -w'
 3119:   else
 3120:     CYGPATH_W=echo
 3121:   fi
 3122: fi
 3123: 
 3124: 
 3125: # Define the identity of the package.
 3126:  PACKAGE='pcre'
 3127:  VERSION='8.21'
 3128: 
 3129: 
 3130: cat >>confdefs.h <<_ACEOF
 3131: #define PACKAGE "$PACKAGE"
 3132: _ACEOF
 3133: 
 3134: 
 3135: cat >>confdefs.h <<_ACEOF
 3136: #define VERSION "$VERSION"
 3137: _ACEOF
 3138: 
 3139: # Some tools Automake needs.
 3140: 
 3141: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3142: 
 3143: 
 3144: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3145: 
 3146: 
 3147: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3148: 
 3149: 
 3150: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3151: 
 3152: 
 3153: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3154: 
 3155: # We need awk for the "check" target.  The system "awk" is bad on
 3156: # some platforms.
 3157: # Always define AMTAR for backward compatibility.
 3158: 
 3159: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3160: 
 3161: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3162: 
 3163: 
 3164: 
 3165: 
 3166: 
 3167: ac_config_headers="$ac_config_headers config.h"
 3168: 
 3169: 
 3170: # This was added at the suggestion of libtoolize (03-Jan-10)
 3171: 
 3172: 
 3173: # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
 3174: # "-g" for any other compiler. There doesn't seem to be a standard way of
 3175: # getting rid of the -g (which I don't think is needed for a production
 3176: # library). This fudge seems to achieve the necessary. First, we remember the
 3177: # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
 3178: # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
 3179: # set, they will be set to Autoconf's defaults. Afterwards, if the original
 3180: # values were not set, remove the -g from the Autoconf defaults.
 3181: # (PH 02-May-07)
 3182: 
 3183: remember_set_CFLAGS="$CFLAGS"
 3184: remember_set_CXXFLAGS="$CXXFLAGS"
 3185: 
 3186: ac_ext=c
 3187: ac_cpp='$CPP $CPPFLAGS'
 3188: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3189: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3190: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3191: if test -n "$ac_tool_prefix"; then
 3192:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3193: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3195: $as_echo_n "checking for $ac_word... " >&6; }
 3196: if ${ac_cv_prog_CC+:} false; then :
 3197:   $as_echo_n "(cached) " >&6
 3198: else
 3199:   if test -n "$CC"; then
 3200:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3201: else
 3202: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3203: for as_dir in $PATH
 3204: do
 3205:   IFS=$as_save_IFS
 3206:   test -z "$as_dir" && as_dir=.
 3207:     for ac_exec_ext in '' $ac_executable_extensions; do
 3208:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3209:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3210:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3211:     break 2
 3212:   fi
 3213: done
 3214:   done
 3215: IFS=$as_save_IFS
 3216: 
 3217: fi
 3218: fi
 3219: CC=$ac_cv_prog_CC
 3220: if test -n "$CC"; then
 3221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3222: $as_echo "$CC" >&6; }
 3223: else
 3224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3225: $as_echo "no" >&6; }
 3226: fi
 3227: 
 3228: 
 3229: fi
 3230: if test -z "$ac_cv_prog_CC"; then
 3231:   ac_ct_CC=$CC
 3232:   # Extract the first word of "gcc", so it can be a program name with args.
 3233: set dummy gcc; ac_word=$2
 3234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3235: $as_echo_n "checking for $ac_word... " >&6; }
 3236: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3237:   $as_echo_n "(cached) " >&6
 3238: else
 3239:   if test -n "$ac_ct_CC"; then
 3240:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3241: else
 3242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3243: for as_dir in $PATH
 3244: do
 3245:   IFS=$as_save_IFS
 3246:   test -z "$as_dir" && as_dir=.
 3247:     for ac_exec_ext in '' $ac_executable_extensions; do
 3248:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3249:     ac_cv_prog_ac_ct_CC="gcc"
 3250:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3251:     break 2
 3252:   fi
 3253: done
 3254:   done
 3255: IFS=$as_save_IFS
 3256: 
 3257: fi
 3258: fi
 3259: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3260: if test -n "$ac_ct_CC"; then
 3261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3262: $as_echo "$ac_ct_CC" >&6; }
 3263: else
 3264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3265: $as_echo "no" >&6; }
 3266: fi
 3267: 
 3268:   if test "x$ac_ct_CC" = x; then
 3269:     CC=""
 3270:   else
 3271:     case $cross_compiling:$ac_tool_warned in
 3272: yes:)
 3273: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3274: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3275: ac_tool_warned=yes ;;
 3276: esac
 3277:     CC=$ac_ct_CC
 3278:   fi
 3279: else
 3280:   CC="$ac_cv_prog_CC"
 3281: fi
 3282: 
 3283: if test -z "$CC"; then
 3284:           if test -n "$ac_tool_prefix"; then
 3285:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3286: set dummy ${ac_tool_prefix}cc; ac_word=$2
 3287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3288: $as_echo_n "checking for $ac_word... " >&6; }
 3289: if ${ac_cv_prog_CC+:} false; then :
 3290:   $as_echo_n "(cached) " >&6
 3291: else
 3292:   if test -n "$CC"; then
 3293:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3294: else
 3295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3296: for as_dir in $PATH
 3297: do
 3298:   IFS=$as_save_IFS
 3299:   test -z "$as_dir" && as_dir=.
 3300:     for ac_exec_ext in '' $ac_executable_extensions; do
 3301:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3302:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3303:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3304:     break 2
 3305:   fi
 3306: done
 3307:   done
 3308: IFS=$as_save_IFS
 3309: 
 3310: fi
 3311: fi
 3312: CC=$ac_cv_prog_CC
 3313: if test -n "$CC"; then
 3314:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3315: $as_echo "$CC" >&6; }
 3316: else
 3317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3318: $as_echo "no" >&6; }
 3319: fi
 3320: 
 3321: 
 3322:   fi
 3323: fi
 3324: if test -z "$CC"; then
 3325:   # Extract the first word of "cc", so it can be a program name with args.
 3326: set dummy cc; ac_word=$2
 3327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3328: $as_echo_n "checking for $ac_word... " >&6; }
 3329: if ${ac_cv_prog_CC+:} false; then :
 3330:   $as_echo_n "(cached) " >&6
 3331: else
 3332:   if test -n "$CC"; then
 3333:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3334: else
 3335:   ac_prog_rejected=no
 3336: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3337: for as_dir in $PATH
 3338: do
 3339:   IFS=$as_save_IFS
 3340:   test -z "$as_dir" && as_dir=.
 3341:     for ac_exec_ext in '' $ac_executable_extensions; do
 3342:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3343:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3344:        ac_prog_rejected=yes
 3345:        continue
 3346:      fi
 3347:     ac_cv_prog_CC="cc"
 3348:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3349:     break 2
 3350:   fi
 3351: done
 3352:   done
 3353: IFS=$as_save_IFS
 3354: 
 3355: if test $ac_prog_rejected = yes; then
 3356:   # We found a bogon in the path, so make sure we never use it.
 3357:   set dummy $ac_cv_prog_CC
 3358:   shift
 3359:   if test $# != 0; then
 3360:     # We chose a different compiler from the bogus one.
 3361:     # However, it has the same basename, so the bogon will be chosen
 3362:     # first if we set CC to just the basename; use the full file name.
 3363:     shift
 3364:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3365:   fi
 3366: fi
 3367: fi
 3368: fi
 3369: CC=$ac_cv_prog_CC
 3370: if test -n "$CC"; then
 3371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3372: $as_echo "$CC" >&6; }
 3373: else
 3374:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3375: $as_echo "no" >&6; }
 3376: fi
 3377: 
 3378: 
 3379: fi
 3380: if test -z "$CC"; then
 3381:   if test -n "$ac_tool_prefix"; then
 3382:   for ac_prog in cl.exe
 3383:   do
 3384:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3385: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3386: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3387: $as_echo_n "checking for $ac_word... " >&6; }
 3388: if ${ac_cv_prog_CC+:} false; then :
 3389:   $as_echo_n "(cached) " >&6
 3390: else
 3391:   if test -n "$CC"; then
 3392:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3393: else
 3394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3395: for as_dir in $PATH
 3396: do
 3397:   IFS=$as_save_IFS
 3398:   test -z "$as_dir" && as_dir=.
 3399:     for ac_exec_ext in '' $ac_executable_extensions; do
 3400:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3401:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3402:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3403:     break 2
 3404:   fi
 3405: done
 3406:   done
 3407: IFS=$as_save_IFS
 3408: 
 3409: fi
 3410: fi
 3411: CC=$ac_cv_prog_CC
 3412: if test -n "$CC"; then
 3413:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3414: $as_echo "$CC" >&6; }
 3415: else
 3416:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3417: $as_echo "no" >&6; }
 3418: fi
 3419: 
 3420: 
 3421:     test -n "$CC" && break
 3422:   done
 3423: fi
 3424: if test -z "$CC"; then
 3425:   ac_ct_CC=$CC
 3426:   for ac_prog in cl.exe
 3427: do
 3428:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3429: set dummy $ac_prog; ac_word=$2
 3430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3431: $as_echo_n "checking for $ac_word... " >&6; }
 3432: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3433:   $as_echo_n "(cached) " >&6
 3434: else
 3435:   if test -n "$ac_ct_CC"; then
 3436:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3437: else
 3438: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3439: for as_dir in $PATH
 3440: do
 3441:   IFS=$as_save_IFS
 3442:   test -z "$as_dir" && as_dir=.
 3443:     for ac_exec_ext in '' $ac_executable_extensions; do
 3444:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3445:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3446:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3447:     break 2
 3448:   fi
 3449: done
 3450:   done
 3451: IFS=$as_save_IFS
 3452: 
 3453: fi
 3454: fi
 3455: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3456: if test -n "$ac_ct_CC"; then
 3457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3458: $as_echo "$ac_ct_CC" >&6; }
 3459: else
 3460:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3461: $as_echo "no" >&6; }
 3462: fi
 3463: 
 3464: 
 3465:   test -n "$ac_ct_CC" && break
 3466: done
 3467: 
 3468:   if test "x$ac_ct_CC" = x; then
 3469:     CC=""
 3470:   else
 3471:     case $cross_compiling:$ac_tool_warned in
 3472: yes:)
 3473: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3474: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3475: ac_tool_warned=yes ;;
 3476: esac
 3477:     CC=$ac_ct_CC
 3478:   fi
 3479: fi
 3480: 
 3481: fi
 3482: 
 3483: 
 3484: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3485: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3486: as_fn_error $? "no acceptable C compiler found in \$PATH
 3487: See \`config.log' for more details" "$LINENO" 5; }
 3488: 
 3489: # Provide some information about the compiler.
 3490: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3491: set X $ac_compile
 3492: ac_compiler=$2
 3493: for ac_option in --version -v -V -qversion; do
 3494:   { { ac_try="$ac_compiler $ac_option >&5"
 3495: case "(($ac_try" in
 3496:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3497:   *) ac_try_echo=$ac_try;;
 3498: esac
 3499: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3500: $as_echo "$ac_try_echo"; } >&5
 3501:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3502:   ac_status=$?
 3503:   if test -s conftest.err; then
 3504:     sed '10a\
 3505: ... rest of stderr output deleted ...
 3506:          10q' conftest.err >conftest.er1
 3507:     cat conftest.er1 >&5
 3508:   fi
 3509:   rm -f conftest.er1 conftest.err
 3510:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3511:   test $ac_status = 0; }
 3512: done
 3513: 
 3514: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3515: /* end confdefs.h.  */
 3516: 
 3517: int
 3518: main ()
 3519: {
 3520: 
 3521:   ;
 3522:   return 0;
 3523: }
 3524: _ACEOF
 3525: ac_clean_files_save=$ac_clean_files
 3526: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3527: # Try to create an executable without -o first, disregard a.out.
 3528: # It will help us diagnose broken compilers, and finding out an intuition
 3529: # of exeext.
 3530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3531: $as_echo_n "checking whether the C compiler works... " >&6; }
 3532: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3533: 
 3534: # The possible output files:
 3535: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3536: 
 3537: ac_rmfiles=
 3538: for ac_file in $ac_files
 3539: do
 3540:   case $ac_file in
 3541:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3542:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3543:   esac
 3544: done
 3545: rm -f $ac_rmfiles
 3546: 
 3547: if { { ac_try="$ac_link_default"
 3548: case "(($ac_try" in
 3549:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3550:   *) ac_try_echo=$ac_try;;
 3551: esac
 3552: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3553: $as_echo "$ac_try_echo"; } >&5
 3554:   (eval "$ac_link_default") 2>&5
 3555:   ac_status=$?
 3556:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3557:   test $ac_status = 0; }; then :
 3558:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3559: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3560: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3561: # so that the user can short-circuit this test for compilers unknown to
 3562: # Autoconf.
 3563: for ac_file in $ac_files ''
 3564: do
 3565:   test -f "$ac_file" || continue
 3566:   case $ac_file in
 3567:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3568: 	;;
 3569:     [ab].out )
 3570: 	# We found the default executable, but exeext='' is most
 3571: 	# certainly right.
 3572: 	break;;
 3573:     *.* )
 3574: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3575: 	then :; else
 3576: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3577: 	fi
 3578: 	# We set ac_cv_exeext here because the later test for it is not
 3579: 	# safe: cross compilers may not add the suffix if given an `-o'
 3580: 	# argument, so we may need to know it at that point already.
 3581: 	# Even if this section looks crufty: it has the advantage of
 3582: 	# actually working.
 3583: 	break;;
 3584:     * )
 3585: 	break;;
 3586:   esac
 3587: done
 3588: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3589: 
 3590: else
 3591:   ac_file=''
 3592: fi
 3593: if test -z "$ac_file"; then :
 3594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3595: $as_echo "no" >&6; }
 3596: $as_echo "$as_me: failed program was:" >&5
 3597: sed 's/^/| /' conftest.$ac_ext >&5
 3598: 
 3599: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3600: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3601: as_fn_error 77 "C compiler cannot create executables
 3602: See \`config.log' for more details" "$LINENO" 5; }
 3603: else
 3604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3605: $as_echo "yes" >&6; }
 3606: fi
 3607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3608: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3610: $as_echo "$ac_file" >&6; }
 3611: ac_exeext=$ac_cv_exeext
 3612: 
 3613: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3614: ac_clean_files=$ac_clean_files_save
 3615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3616: $as_echo_n "checking for suffix of executables... " >&6; }
 3617: if { { ac_try="$ac_link"
 3618: case "(($ac_try" in
 3619:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3620:   *) ac_try_echo=$ac_try;;
 3621: esac
 3622: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3623: $as_echo "$ac_try_echo"; } >&5
 3624:   (eval "$ac_link") 2>&5
 3625:   ac_status=$?
 3626:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3627:   test $ac_status = 0; }; then :
 3628:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3629: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3630: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3631: # `rm'.
 3632: for ac_file in conftest.exe conftest conftest.*; do
 3633:   test -f "$ac_file" || continue
 3634:   case $ac_file in
 3635:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3636:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3637: 	  break;;
 3638:     * ) break;;
 3639:   esac
 3640: done
 3641: else
 3642:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3643: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3644: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3645: See \`config.log' for more details" "$LINENO" 5; }
 3646: fi
 3647: rm -f conftest conftest$ac_cv_exeext
 3648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3649: $as_echo "$ac_cv_exeext" >&6; }
 3650: 
 3651: rm -f conftest.$ac_ext
 3652: EXEEXT=$ac_cv_exeext
 3653: ac_exeext=$EXEEXT
 3654: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3655: /* end confdefs.h.  */
 3656: #include <stdio.h>
 3657: int
 3658: main ()
 3659: {
 3660: FILE *f = fopen ("conftest.out", "w");
 3661:  return ferror (f) || fclose (f) != 0;
 3662: 
 3663:   ;
 3664:   return 0;
 3665: }
 3666: _ACEOF
 3667: ac_clean_files="$ac_clean_files conftest.out"
 3668: # Check that the compiler produces executables we can run.  If not, either
 3669: # the compiler is broken, or we cross compile.
 3670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3671: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3672: if test "$cross_compiling" != yes; then
 3673:   { { ac_try="$ac_link"
 3674: case "(($ac_try" in
 3675:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3676:   *) ac_try_echo=$ac_try;;
 3677: esac
 3678: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3679: $as_echo "$ac_try_echo"; } >&5
 3680:   (eval "$ac_link") 2>&5
 3681:   ac_status=$?
 3682:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3683:   test $ac_status = 0; }
 3684:   if { ac_try='./conftest$ac_cv_exeext'
 3685:   { { case "(($ac_try" in
 3686:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3687:   *) ac_try_echo=$ac_try;;
 3688: esac
 3689: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3690: $as_echo "$ac_try_echo"; } >&5
 3691:   (eval "$ac_try") 2>&5
 3692:   ac_status=$?
 3693:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3694:   test $ac_status = 0; }; }; then
 3695:     cross_compiling=no
 3696:   else
 3697:     if test "$cross_compiling" = maybe; then
 3698: 	cross_compiling=yes
 3699:     else
 3700: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3701: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3702: as_fn_error $? "cannot run C compiled programs.
 3703: If you meant to cross compile, use \`--host'.
 3704: See \`config.log' for more details" "$LINENO" 5; }
 3705:     fi
 3706:   fi
 3707: fi
 3708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3709: $as_echo "$cross_compiling" >&6; }
 3710: 
 3711: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3712: ac_clean_files=$ac_clean_files_save
 3713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3714: $as_echo_n "checking for suffix of object files... " >&6; }
 3715: if ${ac_cv_objext+:} false; then :
 3716:   $as_echo_n "(cached) " >&6
 3717: else
 3718:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3719: /* end confdefs.h.  */
 3720: 
 3721: int
 3722: main ()
 3723: {
 3724: 
 3725:   ;
 3726:   return 0;
 3727: }
 3728: _ACEOF
 3729: rm -f conftest.o conftest.obj
 3730: if { { ac_try="$ac_compile"
 3731: case "(($ac_try" in
 3732:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3733:   *) ac_try_echo=$ac_try;;
 3734: esac
 3735: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3736: $as_echo "$ac_try_echo"; } >&5
 3737:   (eval "$ac_compile") 2>&5
 3738:   ac_status=$?
 3739:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3740:   test $ac_status = 0; }; then :
 3741:   for ac_file in conftest.o conftest.obj conftest.*; do
 3742:   test -f "$ac_file" || continue;
 3743:   case $ac_file in
 3744:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3745:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3746:        break;;
 3747:   esac
 3748: done
 3749: else
 3750:   $as_echo "$as_me: failed program was:" >&5
 3751: sed 's/^/| /' conftest.$ac_ext >&5
 3752: 
 3753: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3754: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3755: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3756: See \`config.log' for more details" "$LINENO" 5; }
 3757: fi
 3758: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3759: fi
 3760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3761: $as_echo "$ac_cv_objext" >&6; }
 3762: OBJEXT=$ac_cv_objext
 3763: ac_objext=$OBJEXT
 3764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3765: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3766: if ${ac_cv_c_compiler_gnu+:} false; then :
 3767:   $as_echo_n "(cached) " >&6
 3768: else
 3769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3770: /* end confdefs.h.  */
 3771: 
 3772: int
 3773: main ()
 3774: {
 3775: #ifndef __GNUC__
 3776:        choke me
 3777: #endif
 3778: 
 3779:   ;
 3780:   return 0;
 3781: }
 3782: _ACEOF
 3783: if ac_fn_c_try_compile "$LINENO"; then :
 3784:   ac_compiler_gnu=yes
 3785: else
 3786:   ac_compiler_gnu=no
 3787: fi
 3788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3789: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3790: 
 3791: fi
 3792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3793: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3794: if test $ac_compiler_gnu = yes; then
 3795:   GCC=yes
 3796: else
 3797:   GCC=
 3798: fi
 3799: ac_test_CFLAGS=${CFLAGS+set}
 3800: ac_save_CFLAGS=$CFLAGS
 3801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3802: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3803: if ${ac_cv_prog_cc_g+:} false; then :
 3804:   $as_echo_n "(cached) " >&6
 3805: else
 3806:   ac_save_c_werror_flag=$ac_c_werror_flag
 3807:    ac_c_werror_flag=yes
 3808:    ac_cv_prog_cc_g=no
 3809:    CFLAGS="-g"
 3810:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3811: /* end confdefs.h.  */
 3812: 
 3813: int
 3814: main ()
 3815: {
 3816: 
 3817:   ;
 3818:   return 0;
 3819: }
 3820: _ACEOF
 3821: if ac_fn_c_try_compile "$LINENO"; then :
 3822:   ac_cv_prog_cc_g=yes
 3823: else
 3824:   CFLAGS=""
 3825:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3826: /* end confdefs.h.  */
 3827: 
 3828: int
 3829: main ()
 3830: {
 3831: 
 3832:   ;
 3833:   return 0;
 3834: }
 3835: _ACEOF
 3836: if ac_fn_c_try_compile "$LINENO"; then :
 3837: 
 3838: else
 3839:   ac_c_werror_flag=$ac_save_c_werror_flag
 3840: 	 CFLAGS="-g"
 3841: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3842: /* end confdefs.h.  */
 3843: 
 3844: int
 3845: main ()
 3846: {
 3847: 
 3848:   ;
 3849:   return 0;
 3850: }
 3851: _ACEOF
 3852: if ac_fn_c_try_compile "$LINENO"; then :
 3853:   ac_cv_prog_cc_g=yes
 3854: fi
 3855: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3856: fi
 3857: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3858: fi
 3859: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3860:    ac_c_werror_flag=$ac_save_c_werror_flag
 3861: fi
 3862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3863: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3864: if test "$ac_test_CFLAGS" = set; then
 3865:   CFLAGS=$ac_save_CFLAGS
 3866: elif test $ac_cv_prog_cc_g = yes; then
 3867:   if test "$GCC" = yes; then
 3868:     CFLAGS="-g -O2"
 3869:   else
 3870:     CFLAGS="-g"
 3871:   fi
 3872: else
 3873:   if test "$GCC" = yes; then
 3874:     CFLAGS="-O2"
 3875:   else
 3876:     CFLAGS=
 3877:   fi
 3878: fi
 3879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3880: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3881: if ${ac_cv_prog_cc_c89+:} false; then :
 3882:   $as_echo_n "(cached) " >&6
 3883: else
 3884:   ac_cv_prog_cc_c89=no
 3885: ac_save_CC=$CC
 3886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3887: /* end confdefs.h.  */
 3888: #include <stdarg.h>
 3889: #include <stdio.h>
 3890: #include <sys/types.h>
 3891: #include <sys/stat.h>
 3892: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3893: struct buf { int x; };
 3894: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3895: static char *e (p, i)
 3896:      char **p;
 3897:      int i;
 3898: {
 3899:   return p[i];
 3900: }
 3901: static char *f (char * (*g) (char **, int), char **p, ...)
 3902: {
 3903:   char *s;
 3904:   va_list v;
 3905:   va_start (v,p);
 3906:   s = g (p, va_arg (v,int));
 3907:   va_end (v);
 3908:   return s;
 3909: }
 3910: 
 3911: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3912:    function prototypes and stuff, but not '\xHH' hex character constants.
 3913:    These don't provoke an error unfortunately, instead are silently treated
 3914:    as 'x'.  The following induces an error, until -std is added to get
 3915:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3916:    array size at least.  It's necessary to write '\x00'==0 to get something
 3917:    that's true only with -std.  */
 3918: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3919: 
 3920: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3921:    inside strings and character constants.  */
 3922: #define FOO(x) 'x'
 3923: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3924: 
 3925: int test (int i, double x);
 3926: struct s1 {int (*f) (int a);};
 3927: struct s2 {int (*f) (double a);};
 3928: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3929: int argc;
 3930: char **argv;
 3931: int
 3932: main ()
 3933: {
 3934: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3935:   ;
 3936:   return 0;
 3937: }
 3938: _ACEOF
 3939: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3940: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3941: do
 3942:   CC="$ac_save_CC $ac_arg"
 3943:   if ac_fn_c_try_compile "$LINENO"; then :
 3944:   ac_cv_prog_cc_c89=$ac_arg
 3945: fi
 3946: rm -f core conftest.err conftest.$ac_objext
 3947:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3948: done
 3949: rm -f conftest.$ac_ext
 3950: CC=$ac_save_CC
 3951: 
 3952: fi
 3953: # AC_CACHE_VAL
 3954: case "x$ac_cv_prog_cc_c89" in
 3955:   x)
 3956:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3957: $as_echo "none needed" >&6; } ;;
 3958:   xno)
 3959:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3960: $as_echo "unsupported" >&6; } ;;
 3961:   *)
 3962:     CC="$CC $ac_cv_prog_cc_c89"
 3963:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3964: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3965: esac
 3966: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3967: 
 3968: fi
 3969: 
 3970: ac_ext=c
 3971: ac_cpp='$CPP $CPPFLAGS'
 3972: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3973: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3974: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3975: DEPDIR="${am__leading_dot}deps"
 3976: 
 3977: ac_config_commands="$ac_config_commands depfiles"
 3978: 
 3979: 
 3980: am_make=${MAKE-make}
 3981: cat > confinc << 'END'
 3982: am__doit:
 3983: 	@echo this is the am__doit target
 3984: .PHONY: am__doit
 3985: END
 3986: # If we don't find an include directive, just comment out the code.
 3987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3988: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3989: am__include="#"
 3990: am__quote=
 3991: _am_result=none
 3992: # First try GNU make style include.
 3993: echo "include confinc" > confmf
 3994: # Ignore all kinds of additional output from `make'.
 3995: case `$am_make -s -f confmf 2> /dev/null` in #(
 3996: *the\ am__doit\ target*)
 3997:   am__include=include
 3998:   am__quote=
 3999:   _am_result=GNU
 4000:   ;;
 4001: esac
 4002: # Now try BSD make style include.
 4003: if test "$am__include" = "#"; then
 4004:    echo '.include "confinc"' > confmf
 4005:    case `$am_make -s -f confmf 2> /dev/null` in #(
 4006:    *the\ am__doit\ target*)
 4007:      am__include=.include
 4008:      am__quote="\""
 4009:      _am_result=BSD
 4010:      ;;
 4011:    esac
 4012: fi
 4013: 
 4014: 
 4015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 4016: $as_echo "$_am_result" >&6; }
 4017: rm -f confinc confmf
 4018: 
 4019: # Check whether --enable-dependency-tracking was given.
 4020: if test "${enable_dependency_tracking+set}" = set; then :
 4021:   enableval=$enable_dependency_tracking;
 4022: fi
 4023: 
 4024: if test "x$enable_dependency_tracking" != xno; then
 4025:   am_depcomp="$ac_aux_dir/depcomp"
 4026:   AMDEPBACKSLASH='\'
 4027: fi
 4028:  if test "x$enable_dependency_tracking" != xno; then
 4029:   AMDEP_TRUE=
 4030:   AMDEP_FALSE='#'
 4031: else
 4032:   AMDEP_TRUE='#'
 4033:   AMDEP_FALSE=
 4034: fi
 4035: 
 4036: 
 4037: 
 4038: depcc="$CC"   am_compiler_list=
 4039: 
 4040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4041: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4042: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 4043:   $as_echo_n "(cached) " >&6
 4044: else
 4045:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4046:   # We make a subdir and do the tests there.  Otherwise we can end up
 4047:   # making bogus files that we don't know about and never remove.  For
 4048:   # instance it was reported that on HP-UX the gcc test will end up
 4049:   # making a dummy file named `D' -- because `-MD' means `put the output
 4050:   # in D'.
 4051:   mkdir conftest.dir
 4052:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4053:   # using a relative directory.
 4054:   cp "$am_depcomp" conftest.dir
 4055:   cd conftest.dir
 4056:   # We will build objects and dependencies in a subdirectory because
 4057:   # it helps to detect inapplicable dependency modes.  For instance
 4058:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4059:   # side effect of compilation, but ICC will put the dependencies in
 4060:   # the current directory while Tru64 will put them in the object
 4061:   # directory.
 4062:   mkdir sub
 4063: 
 4064:   am_cv_CC_dependencies_compiler_type=none
 4065:   if test "$am_compiler_list" = ""; then
 4066:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4067:   fi
 4068:   am__universal=false
 4069:   case " $depcc " in #(
 4070:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4071:      esac
 4072: 
 4073:   for depmode in $am_compiler_list; do
 4074:     # Setup a source with many dependencies, because some compilers
 4075:     # like to wrap large dependency lists on column 80 (with \), and
 4076:     # we should not choose a depcomp mode which is confused by this.
 4077:     #
 4078:     # We need to recreate these files for each test, as the compiler may
 4079:     # overwrite some of them when testing with obscure command lines.
 4080:     # This happens at least with the AIX C compiler.
 4081:     : > sub/conftest.c
 4082:     for i in 1 2 3 4 5 6; do
 4083:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4084:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4085:       # Solaris 8's {/usr,}/bin/sh.
 4086:       touch sub/conftst$i.h
 4087:     done
 4088:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4089: 
 4090:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4091:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4092:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4093:     # versions had trouble with output in subdirs
 4094:     am__obj=sub/conftest.${OBJEXT-o}
 4095:     am__minus_obj="-o $am__obj"
 4096:     case $depmode in
 4097:     gcc)
 4098:       # This depmode causes a compiler race in universal mode.
 4099:       test "$am__universal" = false || continue
 4100:       ;;
 4101:     nosideeffect)
 4102:       # after this tag, mechanisms are not by side-effect, so they'll
 4103:       # only be used when explicitly requested
 4104:       if test "x$enable_dependency_tracking" = xyes; then
 4105: 	continue
 4106:       else
 4107: 	break
 4108:       fi
 4109:       ;;
 4110:     msvisualcpp | msvcmsys)
 4111:       # This compiler won't grok `-c -o', but also, the minuso test has
 4112:       # not run yet.  These depmodes are late enough in the game, and
 4113:       # so weak that their functioning should not be impacted.
 4114:       am__obj=conftest.${OBJEXT-o}
 4115:       am__minus_obj=
 4116:       ;;
 4117:     none) break ;;
 4118:     esac
 4119:     if depmode=$depmode \
 4120:        source=sub/conftest.c object=$am__obj \
 4121:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4122:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4123:          >/dev/null 2>conftest.err &&
 4124:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4125:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4126:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4127:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4128:       # icc doesn't choke on unknown options, it will just issue warnings
 4129:       # or remarks (even with -Werror).  So we grep stderr for any message
 4130:       # that says an option was ignored or not supported.
 4131:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4132:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4133:       # The diagnosis changed in icc 8.0:
 4134:       #   icc: Command line remark: option '-MP' not supported
 4135:       if (grep 'ignoring option' conftest.err ||
 4136:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4137:         am_cv_CC_dependencies_compiler_type=$depmode
 4138:         break
 4139:       fi
 4140:     fi
 4141:   done
 4142: 
 4143:   cd ..
 4144:   rm -rf conftest.dir
 4145: else
 4146:   am_cv_CC_dependencies_compiler_type=none
 4147: fi
 4148: 
 4149: fi
 4150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4151: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4152: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4153: 
 4154:  if
 4155:   test "x$enable_dependency_tracking" != xno \
 4156:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4157:   am__fastdepCC_TRUE=
 4158:   am__fastdepCC_FALSE='#'
 4159: else
 4160:   am__fastdepCC_TRUE='#'
 4161:   am__fastdepCC_FALSE=
 4162: fi
 4163: 
 4164: 
 4165: ac_ext=cpp
 4166: ac_cpp='$CXXCPP $CPPFLAGS'
 4167: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4168: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4169: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4170: if test -z "$CXX"; then
 4171:   if test -n "$CCC"; then
 4172:     CXX=$CCC
 4173:   else
 4174:     if test -n "$ac_tool_prefix"; then
 4175:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 4176:   do
 4177:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4178: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4179: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4180: $as_echo_n "checking for $ac_word... " >&6; }
 4181: if ${ac_cv_prog_CXX+:} false; then :
 4182:   $as_echo_n "(cached) " >&6
 4183: else
 4184:   if test -n "$CXX"; then
 4185:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4186: else
 4187: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4188: for as_dir in $PATH
 4189: do
 4190:   IFS=$as_save_IFS
 4191:   test -z "$as_dir" && as_dir=.
 4192:     for ac_exec_ext in '' $ac_executable_extensions; do
 4193:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4194:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4195:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4196:     break 2
 4197:   fi
 4198: done
 4199:   done
 4200: IFS=$as_save_IFS
 4201: 
 4202: fi
 4203: fi
 4204: CXX=$ac_cv_prog_CXX
 4205: if test -n "$CXX"; then
 4206:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4207: $as_echo "$CXX" >&6; }
 4208: else
 4209:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4210: $as_echo "no" >&6; }
 4211: fi
 4212: 
 4213: 
 4214:     test -n "$CXX" && break
 4215:   done
 4216: fi
 4217: if test -z "$CXX"; then
 4218:   ac_ct_CXX=$CXX
 4219:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 4220: do
 4221:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4222: set dummy $ac_prog; ac_word=$2
 4223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4224: $as_echo_n "checking for $ac_word... " >&6; }
 4225: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4226:   $as_echo_n "(cached) " >&6
 4227: else
 4228:   if test -n "$ac_ct_CXX"; then
 4229:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4230: else
 4231: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4232: for as_dir in $PATH
 4233: do
 4234:   IFS=$as_save_IFS
 4235:   test -z "$as_dir" && as_dir=.
 4236:     for ac_exec_ext in '' $ac_executable_extensions; do
 4237:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4238:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4239:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4240:     break 2
 4241:   fi
 4242: done
 4243:   done
 4244: IFS=$as_save_IFS
 4245: 
 4246: fi
 4247: fi
 4248: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4249: if test -n "$ac_ct_CXX"; then
 4250:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4251: $as_echo "$ac_ct_CXX" >&6; }
 4252: else
 4253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4254: $as_echo "no" >&6; }
 4255: fi
 4256: 
 4257: 
 4258:   test -n "$ac_ct_CXX" && break
 4259: done
 4260: 
 4261:   if test "x$ac_ct_CXX" = x; then
 4262:     CXX="g++"
 4263:   else
 4264:     case $cross_compiling:$ac_tool_warned in
 4265: yes:)
 4266: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4267: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4268: ac_tool_warned=yes ;;
 4269: esac
 4270:     CXX=$ac_ct_CXX
 4271:   fi
 4272: fi
 4273: 
 4274:   fi
 4275: fi
 4276: # Provide some information about the compiler.
 4277: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4278: set X $ac_compile
 4279: ac_compiler=$2
 4280: for ac_option in --version -v -V -qversion; do
 4281:   { { ac_try="$ac_compiler $ac_option >&5"
 4282: case "(($ac_try" in
 4283:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4284:   *) ac_try_echo=$ac_try;;
 4285: esac
 4286: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4287: $as_echo "$ac_try_echo"; } >&5
 4288:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4289:   ac_status=$?
 4290:   if test -s conftest.err; then
 4291:     sed '10a\
 4292: ... rest of stderr output deleted ...
 4293:          10q' conftest.err >conftest.er1
 4294:     cat conftest.er1 >&5
 4295:   fi
 4296:   rm -f conftest.er1 conftest.err
 4297:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4298:   test $ac_status = 0; }
 4299: done
 4300: 
 4301: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4302: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4303: if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4304:   $as_echo_n "(cached) " >&6
 4305: else
 4306:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4307: /* end confdefs.h.  */
 4308: 
 4309: int
 4310: main ()
 4311: {
 4312: #ifndef __GNUC__
 4313:        choke me
 4314: #endif
 4315: 
 4316:   ;
 4317:   return 0;
 4318: }
 4319: _ACEOF
 4320: if ac_fn_cxx_try_compile "$LINENO"; then :
 4321:   ac_compiler_gnu=yes
 4322: else
 4323:   ac_compiler_gnu=no
 4324: fi
 4325: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4326: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4327: 
 4328: fi
 4329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4330: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4331: if test $ac_compiler_gnu = yes; then
 4332:   GXX=yes
 4333: else
 4334:   GXX=
 4335: fi
 4336: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4337: ac_save_CXXFLAGS=$CXXFLAGS
 4338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4339: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4340: if ${ac_cv_prog_cxx_g+:} false; then :
 4341:   $as_echo_n "(cached) " >&6
 4342: else
 4343:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4344:    ac_cxx_werror_flag=yes
 4345:    ac_cv_prog_cxx_g=no
 4346:    CXXFLAGS="-g"
 4347:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4348: /* end confdefs.h.  */
 4349: 
 4350: int
 4351: main ()
 4352: {
 4353: 
 4354:   ;
 4355:   return 0;
 4356: }
 4357: _ACEOF
 4358: if ac_fn_cxx_try_compile "$LINENO"; then :
 4359:   ac_cv_prog_cxx_g=yes
 4360: else
 4361:   CXXFLAGS=""
 4362:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4363: /* end confdefs.h.  */
 4364: 
 4365: int
 4366: main ()
 4367: {
 4368: 
 4369:   ;
 4370:   return 0;
 4371: }
 4372: _ACEOF
 4373: if ac_fn_cxx_try_compile "$LINENO"; then :
 4374: 
 4375: else
 4376:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4377: 	 CXXFLAGS="-g"
 4378: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4379: /* end confdefs.h.  */
 4380: 
 4381: int
 4382: main ()
 4383: {
 4384: 
 4385:   ;
 4386:   return 0;
 4387: }
 4388: _ACEOF
 4389: if ac_fn_cxx_try_compile "$LINENO"; then :
 4390:   ac_cv_prog_cxx_g=yes
 4391: fi
 4392: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4393: fi
 4394: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4395: fi
 4396: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4397:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4398: fi
 4399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4400: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4401: if test "$ac_test_CXXFLAGS" = set; then
 4402:   CXXFLAGS=$ac_save_CXXFLAGS
 4403: elif test $ac_cv_prog_cxx_g = yes; then
 4404:   if test "$GXX" = yes; then
 4405:     CXXFLAGS="-g -O2"
 4406:   else
 4407:     CXXFLAGS="-g"
 4408:   fi
 4409: else
 4410:   if test "$GXX" = yes; then
 4411:     CXXFLAGS="-O2"
 4412:   else
 4413:     CXXFLAGS=
 4414:   fi
 4415: fi
 4416: ac_ext=c
 4417: ac_cpp='$CPP $CPPFLAGS'
 4418: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4419: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4420: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4421: 
 4422: depcc="$CXX"  am_compiler_list=
 4423: 
 4424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4425: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4426: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4427:   $as_echo_n "(cached) " >&6
 4428: else
 4429:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4430:   # We make a subdir and do the tests there.  Otherwise we can end up
 4431:   # making bogus files that we don't know about and never remove.  For
 4432:   # instance it was reported that on HP-UX the gcc test will end up
 4433:   # making a dummy file named `D' -- because `-MD' means `put the output
 4434:   # in D'.
 4435:   mkdir conftest.dir
 4436:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4437:   # using a relative directory.
 4438:   cp "$am_depcomp" conftest.dir
 4439:   cd conftest.dir
 4440:   # We will build objects and dependencies in a subdirectory because
 4441:   # it helps to detect inapplicable dependency modes.  For instance
 4442:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4443:   # side effect of compilation, but ICC will put the dependencies in
 4444:   # the current directory while Tru64 will put them in the object
 4445:   # directory.
 4446:   mkdir sub
 4447: 
 4448:   am_cv_CXX_dependencies_compiler_type=none
 4449:   if test "$am_compiler_list" = ""; then
 4450:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4451:   fi
 4452:   am__universal=false
 4453:   case " $depcc " in #(
 4454:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4455:      esac
 4456: 
 4457:   for depmode in $am_compiler_list; do
 4458:     # Setup a source with many dependencies, because some compilers
 4459:     # like to wrap large dependency lists on column 80 (with \), and
 4460:     # we should not choose a depcomp mode which is confused by this.
 4461:     #
 4462:     # We need to recreate these files for each test, as the compiler may
 4463:     # overwrite some of them when testing with obscure command lines.
 4464:     # This happens at least with the AIX C compiler.
 4465:     : > sub/conftest.c
 4466:     for i in 1 2 3 4 5 6; do
 4467:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4468:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4469:       # Solaris 8's {/usr,}/bin/sh.
 4470:       touch sub/conftst$i.h
 4471:     done
 4472:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4473: 
 4474:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4475:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4476:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4477:     # versions had trouble with output in subdirs
 4478:     am__obj=sub/conftest.${OBJEXT-o}
 4479:     am__minus_obj="-o $am__obj"
 4480:     case $depmode in
 4481:     gcc)
 4482:       # This depmode causes a compiler race in universal mode.
 4483:       test "$am__universal" = false || continue
 4484:       ;;
 4485:     nosideeffect)
 4486:       # after this tag, mechanisms are not by side-effect, so they'll
 4487:       # only be used when explicitly requested
 4488:       if test "x$enable_dependency_tracking" = xyes; then
 4489: 	continue
 4490:       else
 4491: 	break
 4492:       fi
 4493:       ;;
 4494:     msvisualcpp | msvcmsys)
 4495:       # This compiler won't grok `-c -o', but also, the minuso test has
 4496:       # not run yet.  These depmodes are late enough in the game, and
 4497:       # so weak that their functioning should not be impacted.
 4498:       am__obj=conftest.${OBJEXT-o}
 4499:       am__minus_obj=
 4500:       ;;
 4501:     none) break ;;
 4502:     esac
 4503:     if depmode=$depmode \
 4504:        source=sub/conftest.c object=$am__obj \
 4505:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4506:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4507:          >/dev/null 2>conftest.err &&
 4508:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4509:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4510:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4511:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4512:       # icc doesn't choke on unknown options, it will just issue warnings
 4513:       # or remarks (even with -Werror).  So we grep stderr for any message
 4514:       # that says an option was ignored or not supported.
 4515:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4516:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4517:       # The diagnosis changed in icc 8.0:
 4518:       #   icc: Command line remark: option '-MP' not supported
 4519:       if (grep 'ignoring option' conftest.err ||
 4520:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4521:         am_cv_CXX_dependencies_compiler_type=$depmode
 4522:         break
 4523:       fi
 4524:     fi
 4525:   done
 4526: 
 4527:   cd ..
 4528:   rm -rf conftest.dir
 4529: else
 4530:   am_cv_CXX_dependencies_compiler_type=none
 4531: fi
 4532: 
 4533: fi
 4534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4535: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4536: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4537: 
 4538:  if
 4539:   test "x$enable_dependency_tracking" != xno \
 4540:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4541:   am__fastdepCXX_TRUE=
 4542:   am__fastdepCXX_FALSE='#'
 4543: else
 4544:   am__fastdepCXX_TRUE='#'
 4545:   am__fastdepCXX_FALSE=
 4546: fi
 4547: 
 4548: 
 4549: 
 4550: if test "x$remember_set_CFLAGS" = "x"
 4551: then
 4552:   if test "$CFLAGS" = "-g -O2"
 4553:   then
 4554:     CFLAGS="-O2"
 4555:   elif test "$CFLAGS" = "-g"
 4556:   then
 4557:     CFLAGS=""
 4558:   fi
 4559: fi
 4560: 
 4561: if test "x$remember_set_CXXFLAGS" = "x"
 4562: then
 4563:   if test "$CXXFLAGS" = "-g -O2"
 4564:   then
 4565:     CXXFLAGS="-O2"
 4566:   elif test "$CXXFLAGS" = "-g"
 4567:   then
 4568:     CXXFLAGS=""
 4569:   fi
 4570: fi
 4571: 
 4572: # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
 4573: # Check for that case, and just disable c++ code if g++ doesn't run.
 4574: ac_ext=cpp
 4575: ac_cpp='$CXXCPP $CPPFLAGS'
 4576: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4577: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4578: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4579: 
 4580: 
 4581: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4582: /* end confdefs.h.  */
 4583: 
 4584: int
 4585: main ()
 4586: {
 4587: 
 4588:   ;
 4589:   return 0;
 4590: }
 4591: _ACEOF
 4592: if ac_fn_cxx_try_compile "$LINENO"; then :
 4593: 
 4594: else
 4595:   CXX=""; CXXCP=""; CXXFLAGS=""
 4596: fi
 4597: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4598: ac_ext=c
 4599: ac_cpp='$CPP $CPPFLAGS'
 4600: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4601: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4602: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4603: 
 4604: 
 4605: # Check for a 64-bit integer type
 4606: 
 4607: ac_ext=c
 4608: ac_cpp='$CPP $CPPFLAGS'
 4609: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4610: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4611: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4613: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4614: # On Suns, sometimes $CPP names a directory.
 4615: if test -n "$CPP" && test -d "$CPP"; then
 4616:   CPP=
 4617: fi
 4618: if test -z "$CPP"; then
 4619:   if ${ac_cv_prog_CPP+:} false; then :
 4620:   $as_echo_n "(cached) " >&6
 4621: else
 4622:       # Double quotes because CPP needs to be expanded
 4623:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4624:     do
 4625:       ac_preproc_ok=false
 4626: for ac_c_preproc_warn_flag in '' yes
 4627: do
 4628:   # Use a header file that comes with gcc, so configuring glibc
 4629:   # with a fresh cross-compiler works.
 4630:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4631:   # <limits.h> exists even on freestanding compilers.
 4632:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4633:   # not just through cpp. "Syntax error" is here to catch this case.
 4634:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4635: /* end confdefs.h.  */
 4636: #ifdef __STDC__
 4637: # include <limits.h>
 4638: #else
 4639: # include <assert.h>
 4640: #endif
 4641: 		     Syntax error
 4642: _ACEOF
 4643: if ac_fn_c_try_cpp "$LINENO"; then :
 4644: 
 4645: else
 4646:   # Broken: fails on valid input.
 4647: continue
 4648: fi
 4649: rm -f conftest.err conftest.i conftest.$ac_ext
 4650: 
 4651:   # OK, works on sane cases.  Now check whether nonexistent headers
 4652:   # can be detected and how.
 4653:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4654: /* end confdefs.h.  */
 4655: #include <ac_nonexistent.h>
 4656: _ACEOF
 4657: if ac_fn_c_try_cpp "$LINENO"; then :
 4658:   # Broken: success on invalid input.
 4659: continue
 4660: else
 4661:   # Passes both tests.
 4662: ac_preproc_ok=:
 4663: break
 4664: fi
 4665: rm -f conftest.err conftest.i conftest.$ac_ext
 4666: 
 4667: done
 4668: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4669: rm -f conftest.i conftest.err conftest.$ac_ext
 4670: if $ac_preproc_ok; then :
 4671:   break
 4672: fi
 4673: 
 4674:     done
 4675:     ac_cv_prog_CPP=$CPP
 4676: 
 4677: fi
 4678:   CPP=$ac_cv_prog_CPP
 4679: else
 4680:   ac_cv_prog_CPP=$CPP
 4681: fi
 4682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4683: $as_echo "$CPP" >&6; }
 4684: ac_preproc_ok=false
 4685: for ac_c_preproc_warn_flag in '' yes
 4686: do
 4687:   # Use a header file that comes with gcc, so configuring glibc
 4688:   # with a fresh cross-compiler works.
 4689:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4690:   # <limits.h> exists even on freestanding compilers.
 4691:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4692:   # not just through cpp. "Syntax error" is here to catch this case.
 4693:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4694: /* end confdefs.h.  */
 4695: #ifdef __STDC__
 4696: # include <limits.h>
 4697: #else
 4698: # include <assert.h>
 4699: #endif
 4700: 		     Syntax error
 4701: _ACEOF
 4702: if ac_fn_c_try_cpp "$LINENO"; then :
 4703: 
 4704: else
 4705:   # Broken: fails on valid input.
 4706: continue
 4707: fi
 4708: rm -f conftest.err conftest.i conftest.$ac_ext
 4709: 
 4710:   # OK, works on sane cases.  Now check whether nonexistent headers
 4711:   # can be detected and how.
 4712:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4713: /* end confdefs.h.  */
 4714: #include <ac_nonexistent.h>
 4715: _ACEOF
 4716: if ac_fn_c_try_cpp "$LINENO"; then :
 4717:   # Broken: success on invalid input.
 4718: continue
 4719: else
 4720:   # Passes both tests.
 4721: ac_preproc_ok=:
 4722: break
 4723: fi
 4724: rm -f conftest.err conftest.i conftest.$ac_ext
 4725: 
 4726: done
 4727: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4728: rm -f conftest.i conftest.err conftest.$ac_ext
 4729: if $ac_preproc_ok; then :
 4730: 
 4731: else
 4732:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4733: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4734: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 4735: See \`config.log' for more details" "$LINENO" 5; }
 4736: fi
 4737: 
 4738: ac_ext=c
 4739: ac_cpp='$CPP $CPPFLAGS'
 4740: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4741: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4742: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4743: 
 4744: 
 4745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4746: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4747: if ${ac_cv_path_GREP+:} false; then :
 4748:   $as_echo_n "(cached) " >&6
 4749: else
 4750:   if test -z "$GREP"; then
 4751:   ac_path_GREP_found=false
 4752:   # Loop through the user's path and test for each of PROGNAME-LIST
 4753:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4754: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4755: do
 4756:   IFS=$as_save_IFS
 4757:   test -z "$as_dir" && as_dir=.
 4758:     for ac_prog in grep ggrep; do
 4759:     for ac_exec_ext in '' $ac_executable_extensions; do
 4760:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4761:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4762: # Check for GNU ac_path_GREP and select it if it is found.
 4763:   # Check for GNU $ac_path_GREP
 4764: case `"$ac_path_GREP" --version 2>&1` in
 4765: *GNU*)
 4766:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4767: *)
 4768:   ac_count=0
 4769:   $as_echo_n 0123456789 >"conftest.in"
 4770:   while :
 4771:   do
 4772:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4773:     mv "conftest.tmp" "conftest.in"
 4774:     cp "conftest.in" "conftest.nl"
 4775:     $as_echo 'GREP' >> "conftest.nl"
 4776:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4777:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4778:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4779:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4780:       # Best one so far, save it but keep looking for a better one
 4781:       ac_cv_path_GREP="$ac_path_GREP"
 4782:       ac_path_GREP_max=$ac_count
 4783:     fi
 4784:     # 10*(2^10) chars as input seems more than enough
 4785:     test $ac_count -gt 10 && break
 4786:   done
 4787:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4788: esac
 4789: 
 4790:       $ac_path_GREP_found && break 3
 4791:     done
 4792:   done
 4793:   done
 4794: IFS=$as_save_IFS
 4795:   if test -z "$ac_cv_path_GREP"; then
 4796:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4797:   fi
 4798: else
 4799:   ac_cv_path_GREP=$GREP
 4800: fi
 4801: 
 4802: fi
 4803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4804: $as_echo "$ac_cv_path_GREP" >&6; }
 4805:  GREP="$ac_cv_path_GREP"
 4806: 
 4807: 
 4808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4809: $as_echo_n "checking for egrep... " >&6; }
 4810: if ${ac_cv_path_EGREP+:} false; then :
 4811:   $as_echo_n "(cached) " >&6
 4812: else
 4813:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4814:    then ac_cv_path_EGREP="$GREP -E"
 4815:    else
 4816:      if test -z "$EGREP"; then
 4817:   ac_path_EGREP_found=false
 4818:   # Loop through the user's path and test for each of PROGNAME-LIST
 4819:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4820: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4821: do
 4822:   IFS=$as_save_IFS
 4823:   test -z "$as_dir" && as_dir=.
 4824:     for ac_prog in egrep; do
 4825:     for ac_exec_ext in '' $ac_executable_extensions; do
 4826:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4827:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4828: # Check for GNU ac_path_EGREP and select it if it is found.
 4829:   # Check for GNU $ac_path_EGREP
 4830: case `"$ac_path_EGREP" --version 2>&1` in
 4831: *GNU*)
 4832:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4833: *)
 4834:   ac_count=0
 4835:   $as_echo_n 0123456789 >"conftest.in"
 4836:   while :
 4837:   do
 4838:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4839:     mv "conftest.tmp" "conftest.in"
 4840:     cp "conftest.in" "conftest.nl"
 4841:     $as_echo 'EGREP' >> "conftest.nl"
 4842:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4843:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4844:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4845:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4846:       # Best one so far, save it but keep looking for a better one
 4847:       ac_cv_path_EGREP="$ac_path_EGREP"
 4848:       ac_path_EGREP_max=$ac_count
 4849:     fi
 4850:     # 10*(2^10) chars as input seems more than enough
 4851:     test $ac_count -gt 10 && break
 4852:   done
 4853:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4854: esac
 4855: 
 4856:       $ac_path_EGREP_found && break 3
 4857:     done
 4858:   done
 4859:   done
 4860: IFS=$as_save_IFS
 4861:   if test -z "$ac_cv_path_EGREP"; then
 4862:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4863:   fi
 4864: else
 4865:   ac_cv_path_EGREP=$EGREP
 4866: fi
 4867: 
 4868:    fi
 4869: fi
 4870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4871: $as_echo "$ac_cv_path_EGREP" >&6; }
 4872:  EGREP="$ac_cv_path_EGREP"
 4873: 
 4874: 
 4875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 4876: $as_echo_n "checking for ANSI C header files... " >&6; }
 4877: if ${ac_cv_header_stdc+:} false; then :
 4878:   $as_echo_n "(cached) " >&6
 4879: else
 4880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4881: /* end confdefs.h.  */
 4882: #include <stdlib.h>
 4883: #include <stdarg.h>
 4884: #include <string.h>
 4885: #include <float.h>
 4886: 
 4887: int
 4888: main ()
 4889: {
 4890: 
 4891:   ;
 4892:   return 0;
 4893: }
 4894: _ACEOF
 4895: if ac_fn_c_try_compile "$LINENO"; then :
 4896:   ac_cv_header_stdc=yes
 4897: else
 4898:   ac_cv_header_stdc=no
 4899: fi
 4900: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4901: 
 4902: if test $ac_cv_header_stdc = yes; then
 4903:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4904:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4905: /* end confdefs.h.  */
 4906: #include <string.h>
 4907: 
 4908: _ACEOF
 4909: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4910:   $EGREP "memchr" >/dev/null 2>&1; then :
 4911: 
 4912: else
 4913:   ac_cv_header_stdc=no
 4914: fi
 4915: rm -f conftest*
 4916: 
 4917: fi
 4918: 
 4919: if test $ac_cv_header_stdc = yes; then
 4920:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4921:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4922: /* end confdefs.h.  */
 4923: #include <stdlib.h>
 4924: 
 4925: _ACEOF
 4926: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4927:   $EGREP "free" >/dev/null 2>&1; then :
 4928: 
 4929: else
 4930:   ac_cv_header_stdc=no
 4931: fi
 4932: rm -f conftest*
 4933: 
 4934: fi
 4935: 
 4936: if test $ac_cv_header_stdc = yes; then
 4937:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4938:   if test "$cross_compiling" = yes; then :
 4939:   :
 4940: else
 4941:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4942: /* end confdefs.h.  */
 4943: #include <ctype.h>
 4944: #include <stdlib.h>
 4945: #if ((' ' & 0x0FF) == 0x020)
 4946: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4947: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4948: #else
 4949: # define ISLOWER(c) \
 4950: 		   (('a' <= (c) && (c) <= 'i') \
 4951: 		     || ('j' <= (c) && (c) <= 'r') \
 4952: 		     || ('s' <= (c) && (c) <= 'z'))
 4953: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4954: #endif
 4955: 
 4956: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4957: int
 4958: main ()
 4959: {
 4960:   int i;
 4961:   for (i = 0; i < 256; i++)
 4962:     if (XOR (islower (i), ISLOWER (i))
 4963: 	|| toupper (i) != TOUPPER (i))
 4964:       return 2;
 4965:   return 0;
 4966: }
 4967: _ACEOF
 4968: if ac_fn_c_try_run "$LINENO"; then :
 4969: 
 4970: else
 4971:   ac_cv_header_stdc=no
 4972: fi
 4973: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4974:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4975: fi
 4976: 
 4977: fi
 4978: fi
 4979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 4980: $as_echo "$ac_cv_header_stdc" >&6; }
 4981: if test $ac_cv_header_stdc = yes; then
 4982: 
 4983: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 4984: 
 4985: fi
 4986: 
 4987: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 4988: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 4989: 		  inttypes.h stdint.h unistd.h
 4990: do :
 4991:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4992: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 4993: "
 4994: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 4995:   cat >>confdefs.h <<_ACEOF
 4996: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4997: _ACEOF
 4998: 
 4999: fi
 5000: 
 5001: done
 5002: 
 5003: 
 5004: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
 5005: case $ac_cv_c_int64_t in #(
 5006:   no|yes) ;; #(
 5007:   *)
 5008: 
 5009: cat >>confdefs.h <<_ACEOF
 5010: #define int64_t $ac_cv_c_int64_t
 5011: _ACEOF
 5012: ;;
 5013: esac
 5014: 
 5015: 
 5016: 
 5017: # Make sure we can run config.sub.
 5018: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 5019:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 5020: 
 5021: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 5022: $as_echo_n "checking build system type... " >&6; }
 5023: if ${ac_cv_build+:} false; then :
 5024:   $as_echo_n "(cached) " >&6
 5025: else
 5026:   ac_build_alias=$build_alias
 5027: test "x$ac_build_alias" = x &&
 5028:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 5029: test "x$ac_build_alias" = x &&
 5030:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 5031: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 5032:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 5033: 
 5034: fi
 5035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 5036: $as_echo "$ac_cv_build" >&6; }
 5037: case $ac_cv_build in
 5038: *-*-*) ;;
 5039: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 5040: esac
 5041: build=$ac_cv_build
 5042: ac_save_IFS=$IFS; IFS='-'
 5043: set x $ac_cv_build
 5044: shift
 5045: build_cpu=$1
 5046: build_vendor=$2
 5047: shift; shift
 5048: # Remember, the first character of IFS is used to create $*,
 5049: # except with old shells:
 5050: build_os=$*
 5051: IFS=$ac_save_IFS
 5052: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 5053: 
 5054: 
 5055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 5056: $as_echo_n "checking host system type... " >&6; }
 5057: if ${ac_cv_host+:} false; then :
 5058:   $as_echo_n "(cached) " >&6
 5059: else
 5060:   if test "x$host_alias" = x; then
 5061:   ac_cv_host=$ac_cv_build
 5062: else
 5063:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 5064:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 5065: fi
 5066: 
 5067: fi
 5068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 5069: $as_echo "$ac_cv_host" >&6; }
 5070: case $ac_cv_host in
 5071: *-*-*) ;;
 5072: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 5073: esac
 5074: host=$ac_cv_host
 5075: ac_save_IFS=$IFS; IFS='-'
 5076: set x $ac_cv_host
 5077: shift
 5078: host_cpu=$1
 5079: host_vendor=$2
 5080: shift; shift
 5081: # Remember, the first character of IFS is used to create $*,
 5082: # except with old shells:
 5083: host_os=$*
 5084: IFS=$ac_save_IFS
 5085: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 5086: 
 5087: 
 5088: enable_win32_dll=yes
 5089: 
 5090: case $host in
 5091: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 5092:   if test -n "$ac_tool_prefix"; then
 5093:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 5094: set dummy ${ac_tool_prefix}as; ac_word=$2
 5095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5096: $as_echo_n "checking for $ac_word... " >&6; }
 5097: if ${ac_cv_prog_AS+:} false; then :
 5098:   $as_echo_n "(cached) " >&6
 5099: else
 5100:   if test -n "$AS"; then
 5101:   ac_cv_prog_AS="$AS" # Let the user override the test.
 5102: else
 5103: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5104: for as_dir in $PATH
 5105: do
 5106:   IFS=$as_save_IFS
 5107:   test -z "$as_dir" && as_dir=.
 5108:     for ac_exec_ext in '' $ac_executable_extensions; do
 5109:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5110:     ac_cv_prog_AS="${ac_tool_prefix}as"
 5111:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5112:     break 2
 5113:   fi
 5114: done
 5115:   done
 5116: IFS=$as_save_IFS
 5117: 
 5118: fi
 5119: fi
 5120: AS=$ac_cv_prog_AS
 5121: if test -n "$AS"; then
 5122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 5123: $as_echo "$AS" >&6; }
 5124: else
 5125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5126: $as_echo "no" >&6; }
 5127: fi
 5128: 
 5129: 
 5130: fi
 5131: if test -z "$ac_cv_prog_AS"; then
 5132:   ac_ct_AS=$AS
 5133:   # Extract the first word of "as", so it can be a program name with args.
 5134: set dummy as; ac_word=$2
 5135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5136: $as_echo_n "checking for $ac_word... " >&6; }
 5137: if ${ac_cv_prog_ac_ct_AS+:} false; then :
 5138:   $as_echo_n "(cached) " >&6
 5139: else
 5140:   if test -n "$ac_ct_AS"; then
 5141:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 5142: else
 5143: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5144: for as_dir in $PATH
 5145: do
 5146:   IFS=$as_save_IFS
 5147:   test -z "$as_dir" && as_dir=.
 5148:     for ac_exec_ext in '' $ac_executable_extensions; do
 5149:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5150:     ac_cv_prog_ac_ct_AS="as"
 5151:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5152:     break 2
 5153:   fi
 5154: done
 5155:   done
 5156: IFS=$as_save_IFS
 5157: 
 5158: fi
 5159: fi
 5160: ac_ct_AS=$ac_cv_prog_ac_ct_AS
 5161: if test -n "$ac_ct_AS"; then
 5162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 5163: $as_echo "$ac_ct_AS" >&6; }
 5164: else
 5165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5166: $as_echo "no" >&6; }
 5167: fi
 5168: 
 5169:   if test "x$ac_ct_AS" = x; then
 5170:     AS="false"
 5171:   else
 5172:     case $cross_compiling:$ac_tool_warned in
 5173: yes:)
 5174: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5175: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5176: ac_tool_warned=yes ;;
 5177: esac
 5178:     AS=$ac_ct_AS
 5179:   fi
 5180: else
 5181:   AS="$ac_cv_prog_AS"
 5182: fi
 5183: 
 5184:   if test -n "$ac_tool_prefix"; then
 5185:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 5186: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 5187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5188: $as_echo_n "checking for $ac_word... " >&6; }
 5189: if ${ac_cv_prog_DLLTOOL+:} false; then :
 5190:   $as_echo_n "(cached) " >&6
 5191: else
 5192:   if test -n "$DLLTOOL"; then
 5193:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 5194: else
 5195: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5196: for as_dir in $PATH
 5197: do
 5198:   IFS=$as_save_IFS
 5199:   test -z "$as_dir" && as_dir=.
 5200:     for ac_exec_ext in '' $ac_executable_extensions; do
 5201:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5202:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 5203:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5204:     break 2
 5205:   fi
 5206: done
 5207:   done
 5208: IFS=$as_save_IFS
 5209: 
 5210: fi
 5211: fi
 5212: DLLTOOL=$ac_cv_prog_DLLTOOL
 5213: if test -n "$DLLTOOL"; then
 5214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 5215: $as_echo "$DLLTOOL" >&6; }
 5216: else
 5217:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5218: $as_echo "no" >&6; }
 5219: fi
 5220: 
 5221: 
 5222: fi
 5223: if test -z "$ac_cv_prog_DLLTOOL"; then
 5224:   ac_ct_DLLTOOL=$DLLTOOL
 5225:   # Extract the first word of "dlltool", so it can be a program name with args.
 5226: set dummy dlltool; ac_word=$2
 5227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5228: $as_echo_n "checking for $ac_word... " >&6; }
 5229: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 5230:   $as_echo_n "(cached) " >&6
 5231: else
 5232:   if test -n "$ac_ct_DLLTOOL"; then
 5233:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 5234: else
 5235: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5236: for as_dir in $PATH
 5237: do
 5238:   IFS=$as_save_IFS
 5239:   test -z "$as_dir" && as_dir=.
 5240:     for ac_exec_ext in '' $ac_executable_extensions; do
 5241:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5242:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 5243:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5244:     break 2
 5245:   fi
 5246: done
 5247:   done
 5248: IFS=$as_save_IFS
 5249: 
 5250: fi
 5251: fi
 5252: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 5253: if test -n "$ac_ct_DLLTOOL"; then
 5254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 5255: $as_echo "$ac_ct_DLLTOOL" >&6; }
 5256: else
 5257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5258: $as_echo "no" >&6; }
 5259: fi
 5260: 
 5261:   if test "x$ac_ct_DLLTOOL" = x; then
 5262:     DLLTOOL="false"
 5263:   else
 5264:     case $cross_compiling:$ac_tool_warned in
 5265: yes:)
 5266: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5267: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5268: ac_tool_warned=yes ;;
 5269: esac
 5270:     DLLTOOL=$ac_ct_DLLTOOL
 5271:   fi
 5272: else
 5273:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 5274: fi
 5275: 
 5276:   if test -n "$ac_tool_prefix"; then
 5277:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5278: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5280: $as_echo_n "checking for $ac_word... " >&6; }
 5281: if ${ac_cv_prog_OBJDUMP+:} false; then :
 5282:   $as_echo_n "(cached) " >&6
 5283: else
 5284:   if test -n "$OBJDUMP"; then
 5285:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5286: else
 5287: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5288: for as_dir in $PATH
 5289: do
 5290:   IFS=$as_save_IFS
 5291:   test -z "$as_dir" && as_dir=.
 5292:     for ac_exec_ext in '' $ac_executable_extensions; do
 5293:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5294:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5295:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5296:     break 2
 5297:   fi
 5298: done
 5299:   done
 5300: IFS=$as_save_IFS
 5301: 
 5302: fi
 5303: fi
 5304: OBJDUMP=$ac_cv_prog_OBJDUMP
 5305: if test -n "$OBJDUMP"; then
 5306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5307: $as_echo "$OBJDUMP" >&6; }
 5308: else
 5309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5310: $as_echo "no" >&6; }
 5311: fi
 5312: 
 5313: 
 5314: fi
 5315: if test -z "$ac_cv_prog_OBJDUMP"; then
 5316:   ac_ct_OBJDUMP=$OBJDUMP
 5317:   # Extract the first word of "objdump", so it can be a program name with args.
 5318: set dummy objdump; ac_word=$2
 5319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5320: $as_echo_n "checking for $ac_word... " >&6; }
 5321: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 5322:   $as_echo_n "(cached) " >&6
 5323: else
 5324:   if test -n "$ac_ct_OBJDUMP"; then
 5325:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5326: else
 5327: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5328: for as_dir in $PATH
 5329: do
 5330:   IFS=$as_save_IFS
 5331:   test -z "$as_dir" && as_dir=.
 5332:     for ac_exec_ext in '' $ac_executable_extensions; do
 5333:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5334:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5335:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5336:     break 2
 5337:   fi
 5338: done
 5339:   done
 5340: IFS=$as_save_IFS
 5341: 
 5342: fi
 5343: fi
 5344: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5345: if test -n "$ac_ct_OBJDUMP"; then
 5346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5347: $as_echo "$ac_ct_OBJDUMP" >&6; }
 5348: else
 5349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5350: $as_echo "no" >&6; }
 5351: fi
 5352: 
 5353:   if test "x$ac_ct_OBJDUMP" = x; then
 5354:     OBJDUMP="false"
 5355:   else
 5356:     case $cross_compiling:$ac_tool_warned in
 5357: yes:)
 5358: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5359: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5360: ac_tool_warned=yes ;;
 5361: esac
 5362:     OBJDUMP=$ac_ct_OBJDUMP
 5363:   fi
 5364: else
 5365:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 5366: fi
 5367: 
 5368:   ;;
 5369: esac
 5370: 
 5371: test -z "$AS" && AS=as
 5372: 
 5373: 
 5374: 
 5375: 
 5376: 
 5377: test -z "$DLLTOOL" && DLLTOOL=dlltool
 5378: 
 5379: 
 5380: 
 5381: 
 5382: 
 5383: test -z "$OBJDUMP" && OBJDUMP=objdump
 5384: 
 5385: 
 5386: 
 5387: 
 5388: 
 5389: 
 5390: 
 5391: case `pwd` in
 5392:   *\ * | *\	*)
 5393:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 5394: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 5395: esac
 5396: 
 5397: 
 5398: 
 5399: macro_version='2.4'
 5400: macro_revision='1.3293'
 5401: 
 5402: 
 5403: 
 5404: 
 5405: 
 5406: 
 5407: 
 5408: 
 5409: 
 5410: 
 5411: 
 5412: 
 5413: 
 5414: ltmain="$ac_aux_dir/ltmain.sh"
 5415: 
 5416: # Backslashify metacharacters that are still active within
 5417: # double-quoted strings.
 5418: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 5419: 
 5420: # Same as above, but do not quote variable references.
 5421: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 5422: 
 5423: # Sed substitution to delay expansion of an escaped shell variable in a
 5424: # double_quote_subst'ed string.
 5425: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 5426: 
 5427: # Sed substitution to delay expansion of an escaped single quote.
 5428: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 5429: 
 5430: # Sed substitution to avoid accidental globbing in evaled expressions
 5431: no_glob_subst='s/\*/\\\*/g'
 5432: 
 5433: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 5434: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 5435: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 5436: 
 5437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 5438: $as_echo_n "checking how to print strings... " >&6; }
 5439: # Test print first, because it will be a builtin if present.
 5440: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 5441:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 5442:   ECHO='print -r --'
 5443: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 5444:   ECHO='printf %s\n'
 5445: else
 5446:   # Use this function as a fallback that always works.
 5447:   func_fallback_echo ()
 5448:   {
 5449:     eval 'cat <<_LTECHO_EOF
 5450: $1
 5451: _LTECHO_EOF'
 5452:   }
 5453:   ECHO='func_fallback_echo'
 5454: fi
 5455: 
 5456: # func_echo_all arg...
 5457: # Invoke $ECHO with all args, space-separated.
 5458: func_echo_all ()
 5459: {
 5460:     $ECHO ""
 5461: }
 5462: 
 5463: case "$ECHO" in
 5464:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 5465: $as_echo "printf" >&6; } ;;
 5466:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 5467: $as_echo "print -r" >&6; } ;;
 5468:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 5469: $as_echo "cat" >&6; } ;;
 5470: esac
 5471: 
 5472: 
 5473: 
 5474: 
 5475: 
 5476: 
 5477: 
 5478: 
 5479: 
 5480: 
 5481: 
 5482: 
 5483: 
 5484: 
 5485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 5486: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 5487: if ${ac_cv_path_SED+:} false; then :
 5488:   $as_echo_n "(cached) " >&6
 5489: else
 5490:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 5491:      for ac_i in 1 2 3 4 5 6 7; do
 5492:        ac_script="$ac_script$as_nl$ac_script"
 5493:      done
 5494:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 5495:      { ac_script=; unset ac_script;}
 5496:      if test -z "$SED"; then
 5497:   ac_path_SED_found=false
 5498:   # Loop through the user's path and test for each of PROGNAME-LIST
 5499:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5500: for as_dir in $PATH
 5501: do
 5502:   IFS=$as_save_IFS
 5503:   test -z "$as_dir" && as_dir=.
 5504:     for ac_prog in sed gsed; do
 5505:     for ac_exec_ext in '' $ac_executable_extensions; do
 5506:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 5507:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 5508: # Check for GNU ac_path_SED and select it if it is found.
 5509:   # Check for GNU $ac_path_SED
 5510: case `"$ac_path_SED" --version 2>&1` in
 5511: *GNU*)
 5512:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 5513: *)
 5514:   ac_count=0
 5515:   $as_echo_n 0123456789 >"conftest.in"
 5516:   while :
 5517:   do
 5518:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5519:     mv "conftest.tmp" "conftest.in"
 5520:     cp "conftest.in" "conftest.nl"
 5521:     $as_echo '' >> "conftest.nl"
 5522:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5523:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5524:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5525:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 5526:       # Best one so far, save it but keep looking for a better one
 5527:       ac_cv_path_SED="$ac_path_SED"
 5528:       ac_path_SED_max=$ac_count
 5529:     fi
 5530:     # 10*(2^10) chars as input seems more than enough
 5531:     test $ac_count -gt 10 && break
 5532:   done
 5533:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5534: esac
 5535: 
 5536:       $ac_path_SED_found && break 3
 5537:     done
 5538:   done
 5539:   done
 5540: IFS=$as_save_IFS
 5541:   if test -z "$ac_cv_path_SED"; then
 5542:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 5543:   fi
 5544: else
 5545:   ac_cv_path_SED=$SED
 5546: fi
 5547: 
 5548: fi
 5549: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 5550: $as_echo "$ac_cv_path_SED" >&6; }
 5551:  SED="$ac_cv_path_SED"
 5552:   rm -f conftest.sed
 5553: 
 5554: test -z "$SED" && SED=sed
 5555: Xsed="$SED -e 1s/^X//"
 5556: 
 5557: 
 5558: 
 5559: 
 5560: 
 5561: 
 5562: 
 5563: 
 5564: 
 5565: 
 5566: 
 5567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 5568: $as_echo_n "checking for fgrep... " >&6; }
 5569: if ${ac_cv_path_FGREP+:} false; then :
 5570:   $as_echo_n "(cached) " >&6
 5571: else
 5572:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 5573:    then ac_cv_path_FGREP="$GREP -F"
 5574:    else
 5575:      if test -z "$FGREP"; then
 5576:   ac_path_FGREP_found=false
 5577:   # Loop through the user's path and test for each of PROGNAME-LIST
 5578:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5579: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5580: do
 5581:   IFS=$as_save_IFS
 5582:   test -z "$as_dir" && as_dir=.
 5583:     for ac_prog in fgrep; do
 5584:     for ac_exec_ext in '' $ac_executable_extensions; do
 5585:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 5586:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 5587: # Check for GNU ac_path_FGREP and select it if it is found.
 5588:   # Check for GNU $ac_path_FGREP
 5589: case `"$ac_path_FGREP" --version 2>&1` in
 5590: *GNU*)
 5591:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 5592: *)
 5593:   ac_count=0
 5594:   $as_echo_n 0123456789 >"conftest.in"
 5595:   while :
 5596:   do
 5597:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5598:     mv "conftest.tmp" "conftest.in"
 5599:     cp "conftest.in" "conftest.nl"
 5600:     $as_echo 'FGREP' >> "conftest.nl"
 5601:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5602:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5603:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5604:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 5605:       # Best one so far, save it but keep looking for a better one
 5606:       ac_cv_path_FGREP="$ac_path_FGREP"
 5607:       ac_path_FGREP_max=$ac_count
 5608:     fi
 5609:     # 10*(2^10) chars as input seems more than enough
 5610:     test $ac_count -gt 10 && break
 5611:   done
 5612:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5613: esac
 5614: 
 5615:       $ac_path_FGREP_found && break 3
 5616:     done
 5617:   done
 5618:   done
 5619: IFS=$as_save_IFS
 5620:   if test -z "$ac_cv_path_FGREP"; then
 5621:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5622:   fi
 5623: else
 5624:   ac_cv_path_FGREP=$FGREP
 5625: fi
 5626: 
 5627:    fi
 5628: fi
 5629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 5630: $as_echo "$ac_cv_path_FGREP" >&6; }
 5631:  FGREP="$ac_cv_path_FGREP"
 5632: 
 5633: 
 5634: test -z "$GREP" && GREP=grep
 5635: 
 5636: 
 5637: 
 5638: 
 5639: 
 5640: 
 5641: 
 5642: 
 5643: 
 5644: 
 5645: 
 5646: 
 5647: 
 5648: 
 5649: 
 5650: 
 5651: 
 5652: 
 5653: 
 5654: # Check whether --with-gnu-ld was given.
 5655: if test "${with_gnu_ld+set}" = set; then :
 5656:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 5657: else
 5658:   with_gnu_ld=no
 5659: fi
 5660: 
 5661: ac_prog=ld
 5662: if test "$GCC" = yes; then
 5663:   # Check if gcc -print-prog-name=ld gives a path.
 5664:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 5665: $as_echo_n "checking for ld used by $CC... " >&6; }
 5666:   case $host in
 5667:   *-*-mingw*)
 5668:     # gcc leaves a trailing carriage return which upsets mingw
 5669:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 5670:   *)
 5671:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 5672:   esac
 5673:   case $ac_prog in
 5674:     # Accept absolute paths.
 5675:     [\\/]* | ?:[\\/]*)
 5676:       re_direlt='/[^/][^/]*/\.\./'
 5677:       # Canonicalize the pathname of ld
 5678:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 5679:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 5680: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 5681:       done
 5682:       test -z "$LD" && LD="$ac_prog"
 5683:       ;;
 5684:   "")
 5685:     # If it fails, then pretend we aren't using GCC.
 5686:     ac_prog=ld
 5687:     ;;
 5688:   *)
 5689:     # If it is relative, then search for the first ld in PATH.
 5690:     with_gnu_ld=unknown
 5691:     ;;
 5692:   esac
 5693: elif test "$with_gnu_ld" = yes; then
 5694:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 5695: $as_echo_n "checking for GNU ld... " >&6; }
 5696: else
 5697:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 5698: $as_echo_n "checking for non-GNU ld... " >&6; }
 5699: fi
 5700: if ${lt_cv_path_LD+:} false; then :
 5701:   $as_echo_n "(cached) " >&6
 5702: else
 5703:   if test -z "$LD"; then
 5704:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 5705:   for ac_dir in $PATH; do
 5706:     IFS="$lt_save_ifs"
 5707:     test -z "$ac_dir" && ac_dir=.
 5708:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 5709:       lt_cv_path_LD="$ac_dir/$ac_prog"
 5710:       # Check to see if the program is GNU ld.  I'd rather use --version,
 5711:       # but apparently some variants of GNU ld only accept -v.
 5712:       # Break only if it was the GNU/non-GNU ld that we prefer.
 5713:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 5714:       *GNU* | *'with BFD'*)
 5715: 	test "$with_gnu_ld" != no && break
 5716: 	;;
 5717:       *)
 5718: 	test "$with_gnu_ld" != yes && break
 5719: 	;;
 5720:       esac
 5721:     fi
 5722:   done
 5723:   IFS="$lt_save_ifs"
 5724: else
 5725:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 5726: fi
 5727: fi
 5728: 
 5729: LD="$lt_cv_path_LD"
 5730: if test -n "$LD"; then
 5731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 5732: $as_echo "$LD" >&6; }
 5733: else
 5734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5735: $as_echo "no" >&6; }
 5736: fi
 5737: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 5738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 5739: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 5740: if ${lt_cv_prog_gnu_ld+:} false; then :
 5741:   $as_echo_n "(cached) " >&6
 5742: else
 5743:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 5744: case `$LD -v 2>&1 </dev/null` in
 5745: *GNU* | *'with BFD'*)
 5746:   lt_cv_prog_gnu_ld=yes
 5747:   ;;
 5748: *)
 5749:   lt_cv_prog_gnu_ld=no
 5750:   ;;
 5751: esac
 5752: fi
 5753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 5754: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 5755: with_gnu_ld=$lt_cv_prog_gnu_ld
 5756: 
 5757: 
 5758: 
 5759: 
 5760: 
 5761: 
 5762: 
 5763: 
 5764: 
 5765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 5766: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 5767: if ${lt_cv_path_NM+:} false; then :
 5768:   $as_echo_n "(cached) " >&6
 5769: else
 5770:   if test -n "$NM"; then
 5771:   # Let the user override the test.
 5772:   lt_cv_path_NM="$NM"
 5773: else
 5774:   lt_nm_to_check="${ac_tool_prefix}nm"
 5775:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 5776:     lt_nm_to_check="$lt_nm_to_check nm"
 5777:   fi
 5778:   for lt_tmp_nm in $lt_nm_to_check; do
 5779:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 5780:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 5781:       IFS="$lt_save_ifs"
 5782:       test -z "$ac_dir" && ac_dir=.
 5783:       tmp_nm="$ac_dir/$lt_tmp_nm"
 5784:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 5785: 	# Check to see if the nm accepts a BSD-compat flag.
 5786: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 5787: 	#   nm: unknown option "B" ignored
 5788: 	# Tru64's nm complains that /dev/null is an invalid object file
 5789: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 5790: 	*/dev/null* | *'Invalid file or object type'*)
 5791: 	  lt_cv_path_NM="$tmp_nm -B"
 5792: 	  break
 5793: 	  ;;
 5794: 	*)
 5795: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 5796: 	  */dev/null*)
 5797: 	    lt_cv_path_NM="$tmp_nm -p"
 5798: 	    break
 5799: 	    ;;
 5800: 	  *)
 5801: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 5802: 	    continue # so that we can try to find one that supports BSD flags
 5803: 	    ;;
 5804: 	  esac
 5805: 	  ;;
 5806: 	esac
 5807:       fi
 5808:     done
 5809:     IFS="$lt_save_ifs"
 5810:   done
 5811:   : ${lt_cv_path_NM=no}
 5812: fi
 5813: fi
 5814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 5815: $as_echo "$lt_cv_path_NM" >&6; }
 5816: if test "$lt_cv_path_NM" != "no"; then
 5817:   NM="$lt_cv_path_NM"
 5818: else
 5819:   # Didn't find any BSD compatible name lister, look for dumpbin.
 5820:   if test -n "$DUMPBIN"; then :
 5821:     # Let the user override the test.
 5822:   else
 5823:     if test -n "$ac_tool_prefix"; then
 5824:   for ac_prog in dumpbin "link -dump"
 5825:   do
 5826:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5827: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5829: $as_echo_n "checking for $ac_word... " >&6; }
 5830: if ${ac_cv_prog_DUMPBIN+:} false; then :
 5831:   $as_echo_n "(cached) " >&6
 5832: else
 5833:   if test -n "$DUMPBIN"; then
 5834:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 5835: else
 5836: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5837: for as_dir in $PATH
 5838: do
 5839:   IFS=$as_save_IFS
 5840:   test -z "$as_dir" && as_dir=.
 5841:     for ac_exec_ext in '' $ac_executable_extensions; do
 5842:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5843:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 5844:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5845:     break 2
 5846:   fi
 5847: done
 5848:   done
 5849: IFS=$as_save_IFS
 5850: 
 5851: fi
 5852: fi
 5853: DUMPBIN=$ac_cv_prog_DUMPBIN
 5854: if test -n "$DUMPBIN"; then
 5855:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5856: $as_echo "$DUMPBIN" >&6; }
 5857: else
 5858:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5859: $as_echo "no" >&6; }
 5860: fi
 5861: 
 5862: 
 5863:     test -n "$DUMPBIN" && break
 5864:   done
 5865: fi
 5866: if test -z "$DUMPBIN"; then
 5867:   ac_ct_DUMPBIN=$DUMPBIN
 5868:   for ac_prog in dumpbin "link -dump"
 5869: do
 5870:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5871: set dummy $ac_prog; ac_word=$2
 5872: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5873: $as_echo_n "checking for $ac_word... " >&6; }
 5874: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5875:   $as_echo_n "(cached) " >&6
 5876: else
 5877:   if test -n "$ac_ct_DUMPBIN"; then
 5878:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5879: else
 5880: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5881: for as_dir in $PATH
 5882: do
 5883:   IFS=$as_save_IFS
 5884:   test -z "$as_dir" && as_dir=.
 5885:     for ac_exec_ext in '' $ac_executable_extensions; do
 5886:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5887:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5888:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5889:     break 2
 5890:   fi
 5891: done
 5892:   done
 5893: IFS=$as_save_IFS
 5894: 
 5895: fi
 5896: fi
 5897: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5898: if test -n "$ac_ct_DUMPBIN"; then
 5899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5900: $as_echo "$ac_ct_DUMPBIN" >&6; }
 5901: else
 5902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5903: $as_echo "no" >&6; }
 5904: fi
 5905: 
 5906: 
 5907:   test -n "$ac_ct_DUMPBIN" && break
 5908: done
 5909: 
 5910:   if test "x$ac_ct_DUMPBIN" = x; then
 5911:     DUMPBIN=":"
 5912:   else
 5913:     case $cross_compiling:$ac_tool_warned in
 5914: yes:)
 5915: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5916: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5917: ac_tool_warned=yes ;;
 5918: esac
 5919:     DUMPBIN=$ac_ct_DUMPBIN
 5920:   fi
 5921: fi
 5922: 
 5923:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 5924:     *COFF*)
 5925:       DUMPBIN="$DUMPBIN -symbols"
 5926:       ;;
 5927:     *)
 5928:       DUMPBIN=:
 5929:       ;;
 5930:     esac
 5931:   fi
 5932: 
 5933:   if test "$DUMPBIN" != ":"; then
 5934:     NM="$DUMPBIN"
 5935:   fi
 5936: fi
 5937: test -z "$NM" && NM=nm
 5938: 
 5939: 
 5940: 
 5941: 
 5942: 
 5943: 
 5944: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5945: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5946: if ${lt_cv_nm_interface+:} false; then :
 5947:   $as_echo_n "(cached) " >&6
 5948: else
 5949:   lt_cv_nm_interface="BSD nm"
 5950:   echo "int some_variable = 0;" > conftest.$ac_ext
 5951:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 5952:   (eval "$ac_compile" 2>conftest.err)
 5953:   cat conftest.err >&5
 5954:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5955:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5956:   cat conftest.err >&5
 5957:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 5958:   cat conftest.out >&5
 5959:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5960:     lt_cv_nm_interface="MS dumpbin"
 5961:   fi
 5962:   rm -f conftest*
 5963: fi
 5964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5965: $as_echo "$lt_cv_nm_interface" >&6; }
 5966: 
 5967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 5968: $as_echo_n "checking whether ln -s works... " >&6; }
 5969: LN_S=$as_ln_s
 5970: if test "$LN_S" = "ln -s"; then
 5971:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5972: $as_echo "yes" >&6; }
 5973: else
 5974:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 5975: $as_echo "no, using $LN_S" >&6; }
 5976: fi
 5977: 
 5978: # find the maximum length of command line arguments
 5979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 5980: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 5981: if ${lt_cv_sys_max_cmd_len+:} false; then :
 5982:   $as_echo_n "(cached) " >&6
 5983: else
 5984:     i=0
 5985:   teststring="ABCD"
 5986: 
 5987:   case $build_os in
 5988:   msdosdjgpp*)
 5989:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 5990:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 5991:     # during glob expansion).  Even if it were fixed, the result of this
 5992:     # check would be larger than it should be.
 5993:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5994:     ;;
 5995: 
 5996:   gnu*)
 5997:     # Under GNU Hurd, this test is not required because there is
 5998:     # no limit to the length of command line arguments.
 5999:     # Libtool will interpret -1 as no limit whatsoever
 6000:     lt_cv_sys_max_cmd_len=-1;
 6001:     ;;
 6002: 
 6003:   cygwin* | mingw* | cegcc*)
 6004:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 6005:     # about 5 minutes as the teststring grows exponentially.
 6006:     # Worse, since 9x/ME are not pre-emptively multitasking,
 6007:     # you end up with a "frozen" computer, even though with patience
 6008:     # the test eventually succeeds (with a max line length of 256k).
 6009:     # Instead, let's just punt: use the minimum linelength reported by
 6010:     # all of the supported platforms: 8192 (on NT/2K/XP).
 6011:     lt_cv_sys_max_cmd_len=8192;
 6012:     ;;
 6013: 
 6014:   mint*)
 6015:     # On MiNT this can take a long time and run out of memory.
 6016:     lt_cv_sys_max_cmd_len=8192;
 6017:     ;;
 6018: 
 6019:   amigaos*)
 6020:     # On AmigaOS with pdksh, this test takes hours, literally.
 6021:     # So we just punt and use a minimum line length of 8192.
 6022:     lt_cv_sys_max_cmd_len=8192;
 6023:     ;;
 6024: 
 6025:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 6026:     # This has been around since 386BSD, at least.  Likely further.
 6027:     if test -x /sbin/sysctl; then
 6028:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 6029:     elif test -x /usr/sbin/sysctl; then
 6030:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 6031:     else
 6032:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 6033:     fi
 6034:     # And add a safety zone
 6035:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6036:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6037:     ;;
 6038: 
 6039:   interix*)
 6040:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 6041:     lt_cv_sys_max_cmd_len=196608
 6042:     ;;
 6043: 
 6044:   osf*)
 6045:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 6046:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 6047:     # nice to cause kernel panics so lets avoid the loop below.
 6048:     # First set a reasonable default.
 6049:     lt_cv_sys_max_cmd_len=16384
 6050:     #
 6051:     if test -x /sbin/sysconfig; then
 6052:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 6053:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 6054:       esac
 6055:     fi
 6056:     ;;
 6057:   sco3.2v5*)
 6058:     lt_cv_sys_max_cmd_len=102400
 6059:     ;;
 6060:   sysv5* | sco5v6* | sysv4.2uw2*)
 6061:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 6062:     if test -n "$kargmax"; then
 6063:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 6064:     else
 6065:       lt_cv_sys_max_cmd_len=32768
 6066:     fi
 6067:     ;;
 6068:   *)
 6069:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 6070:     if test -n "$lt_cv_sys_max_cmd_len"; then
 6071:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6072:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6073:     else
 6074:       # Make teststring a little bigger before we do anything with it.
 6075:       # a 1K string should be a reasonable start.
 6076:       for i in 1 2 3 4 5 6 7 8 ; do
 6077:         teststring=$teststring$teststring
 6078:       done
 6079:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 6080:       # If test is not a shell built-in, we'll probably end up computing a
 6081:       # maximum length that is only half of the actual maximum length, but
 6082:       # we can't tell.
 6083:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 6084: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 6085: 	      test $i != 17 # 1/2 MB should be enough
 6086:       do
 6087:         i=`expr $i + 1`
 6088:         teststring=$teststring$teststring
 6089:       done
 6090:       # Only check the string length outside the loop.
 6091:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 6092:       teststring=
 6093:       # Add a significant safety factor because C++ compilers can tack on
 6094:       # massive amounts of additional arguments before passing them to the
 6095:       # linker.  It appears as though 1/2 is a usable value.
 6096:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 6097:     fi
 6098:     ;;
 6099:   esac
 6100: 
 6101: fi
 6102: 
 6103: if test -n $lt_cv_sys_max_cmd_len ; then
 6104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 6105: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 6106: else
 6107:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 6108: $as_echo "none" >&6; }
 6109: fi
 6110: max_cmd_len=$lt_cv_sys_max_cmd_len
 6111: 
 6112: 
 6113: 
 6114: 
 6115: 
 6116: 
 6117: : ${CP="cp -f"}
 6118: : ${MV="mv -f"}
 6119: : ${RM="rm -f"}
 6120: 
 6121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 6122: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 6123: # Try some XSI features
 6124: xsi_shell=no
 6125: ( _lt_dummy="a/b/c"
 6126:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 6127:       = c,a/b,b/c, \
 6128:     && eval 'test $(( 1 + 1 )) -eq 2 \
 6129:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 6130:   && xsi_shell=yes
 6131: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 6132: $as_echo "$xsi_shell" >&6; }
 6133: 
 6134: 
 6135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 6136: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 6137: lt_shell_append=no
 6138: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 6139:     >/dev/null 2>&1 \
 6140:   && lt_shell_append=yes
 6141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 6142: $as_echo "$lt_shell_append" >&6; }
 6143: 
 6144: 
 6145: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 6146:   lt_unset=unset
 6147: else
 6148:   lt_unset=false
 6149: fi
 6150: 
 6151: 
 6152: 
 6153: 
 6154: 
 6155: # test EBCDIC or ASCII
 6156: case `echo X|tr X '\101'` in
 6157:  A) # ASCII based system
 6158:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 6159:   lt_SP2NL='tr \040 \012'
 6160:   lt_NL2SP='tr \015\012 \040\040'
 6161:   ;;
 6162:  *) # EBCDIC based system
 6163:   lt_SP2NL='tr \100 \n'
 6164:   lt_NL2SP='tr \r\n \100\100'
 6165:   ;;
 6166: esac
 6167: 
 6168: 
 6169: 
 6170: 
 6171: 
 6172: 
 6173: 
 6174: 
 6175: 
 6176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 6177: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 6178: if ${lt_cv_to_host_file_cmd+:} false; then :
 6179:   $as_echo_n "(cached) " >&6
 6180: else
 6181:   case $host in
 6182:   *-*-mingw* )
 6183:     case $build in
 6184:       *-*-mingw* ) # actually msys
 6185:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 6186:         ;;
 6187:       *-*-cygwin* )
 6188:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 6189:         ;;
 6190:       * ) # otherwise, assume *nix
 6191:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 6192:         ;;
 6193:     esac
 6194:     ;;
 6195:   *-*-cygwin* )
 6196:     case $build in
 6197:       *-*-mingw* ) # actually msys
 6198:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 6199:         ;;
 6200:       *-*-cygwin* )
 6201:         lt_cv_to_host_file_cmd=func_convert_file_noop
 6202:         ;;
 6203:       * ) # otherwise, assume *nix
 6204:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 6205:         ;;
 6206:     esac
 6207:     ;;
 6208:   * ) # unhandled hosts (and "normal" native builds)
 6209:     lt_cv_to_host_file_cmd=func_convert_file_noop
 6210:     ;;
 6211: esac
 6212: 
 6213: fi
 6214: 
 6215: to_host_file_cmd=$lt_cv_to_host_file_cmd
 6216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 6217: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 6218: 
 6219: 
 6220: 
 6221: 
 6222: 
 6223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 6224: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 6225: if ${lt_cv_to_tool_file_cmd+:} false; then :
 6226:   $as_echo_n "(cached) " >&6
 6227: else
 6228:   #assume ordinary cross tools, or native build.
 6229: lt_cv_to_tool_file_cmd=func_convert_file_noop
 6230: case $host in
 6231:   *-*-mingw* )
 6232:     case $build in
 6233:       *-*-mingw* ) # actually msys
 6234:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 6235:         ;;
 6236:     esac
 6237:     ;;
 6238: esac
 6239: 
 6240: fi
 6241: 
 6242: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 6243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 6244: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 6245: 
 6246: 
 6247: 
 6248: 
 6249: 
 6250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 6251: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 6252: if ${lt_cv_ld_reload_flag+:} false; then :
 6253:   $as_echo_n "(cached) " >&6
 6254: else
 6255:   lt_cv_ld_reload_flag='-r'
 6256: fi
 6257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 6258: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 6259: reload_flag=$lt_cv_ld_reload_flag
 6260: case $reload_flag in
 6261: "" | " "*) ;;
 6262: *) reload_flag=" $reload_flag" ;;
 6263: esac
 6264: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6265: case $host_os in
 6266:   cygwin* | mingw* | pw32* | cegcc*)
 6267:     if test "$GCC" != yes; then
 6268:       reload_cmds=false
 6269:     fi
 6270:     ;;
 6271:   darwin*)
 6272:     if test "$GCC" = yes; then
 6273:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 6274:     else
 6275:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6276:     fi
 6277:     ;;
 6278: esac
 6279: 
 6280: 
 6281: 
 6282: 
 6283: 
 6284: 
 6285: 
 6286: 
 6287: 
 6288: if test -n "$ac_tool_prefix"; then
 6289:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 6290: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 6291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6292: $as_echo_n "checking for $ac_word... " >&6; }
 6293: if ${ac_cv_prog_OBJDUMP+:} false; then :
 6294:   $as_echo_n "(cached) " >&6
 6295: else
 6296:   if test -n "$OBJDUMP"; then
 6297:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 6298: else
 6299: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6300: for as_dir in $PATH
 6301: do
 6302:   IFS=$as_save_IFS
 6303:   test -z "$as_dir" && as_dir=.
 6304:     for ac_exec_ext in '' $ac_executable_extensions; do
 6305:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6306:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 6307:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6308:     break 2
 6309:   fi
 6310: done
 6311:   done
 6312: IFS=$as_save_IFS
 6313: 
 6314: fi
 6315: fi
 6316: OBJDUMP=$ac_cv_prog_OBJDUMP
 6317: if test -n "$OBJDUMP"; then
 6318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 6319: $as_echo "$OBJDUMP" >&6; }
 6320: else
 6321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6322: $as_echo "no" >&6; }
 6323: fi
 6324: 
 6325: 
 6326: fi
 6327: if test -z "$ac_cv_prog_OBJDUMP"; then
 6328:   ac_ct_OBJDUMP=$OBJDUMP
 6329:   # Extract the first word of "objdump", so it can be a program name with args.
 6330: set dummy objdump; ac_word=$2
 6331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6332: $as_echo_n "checking for $ac_word... " >&6; }
 6333: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 6334:   $as_echo_n "(cached) " >&6
 6335: else
 6336:   if test -n "$ac_ct_OBJDUMP"; then
 6337:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 6338: else
 6339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6340: for as_dir in $PATH
 6341: do
 6342:   IFS=$as_save_IFS
 6343:   test -z "$as_dir" && as_dir=.
 6344:     for ac_exec_ext in '' $ac_executable_extensions; do
 6345:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6346:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 6347:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6348:     break 2
 6349:   fi
 6350: done
 6351:   done
 6352: IFS=$as_save_IFS
 6353: 
 6354: fi
 6355: fi
 6356: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 6357: if test -n "$ac_ct_OBJDUMP"; then
 6358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 6359: $as_echo "$ac_ct_OBJDUMP" >&6; }
 6360: else
 6361:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6362: $as_echo "no" >&6; }
 6363: fi
 6364: 
 6365:   if test "x$ac_ct_OBJDUMP" = x; then
 6366:     OBJDUMP="false"
 6367:   else
 6368:     case $cross_compiling:$ac_tool_warned in
 6369: yes:)
 6370: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6371: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6372: ac_tool_warned=yes ;;
 6373: esac
 6374:     OBJDUMP=$ac_ct_OBJDUMP
 6375:   fi
 6376: else
 6377:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 6378: fi
 6379: 
 6380: test -z "$OBJDUMP" && OBJDUMP=objdump
 6381: 
 6382: 
 6383: 
 6384: 
 6385: 
 6386: 
 6387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 6388: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 6389: if ${lt_cv_deplibs_check_method+:} false; then :
 6390:   $as_echo_n "(cached) " >&6
 6391: else
 6392:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 6393: lt_cv_file_magic_test_file=
 6394: lt_cv_deplibs_check_method='unknown'
 6395: # Need to set the preceding variable on all platforms that support
 6396: # interlibrary dependencies.
 6397: # 'none' -- dependencies not supported.
 6398: # `unknown' -- same as none, but documents that we really don't know.
 6399: # 'pass_all' -- all dependencies passed with no checks.
 6400: # 'test_compile' -- check by making test program.
 6401: # 'file_magic [[regex]]' -- check by looking for files in library path
 6402: # which responds to the $file_magic_cmd with a given extended regex.
 6403: # If you have `file' or equivalent on your system and you're not sure
 6404: # whether `pass_all' will *always* work, you probably want this one.
 6405: 
 6406: case $host_os in
 6407: aix[4-9]*)
 6408:   lt_cv_deplibs_check_method=pass_all
 6409:   ;;
 6410: 
 6411: beos*)
 6412:   lt_cv_deplibs_check_method=pass_all
 6413:   ;;
 6414: 
 6415: bsdi[45]*)
 6416:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 6417:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 6418:   lt_cv_file_magic_test_file=/shlib/libc.so
 6419:   ;;
 6420: 
 6421: cygwin*)
 6422:   # func_win32_libid is a shell function defined in ltmain.sh
 6423:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6424:   lt_cv_file_magic_cmd='func_win32_libid'
 6425:   ;;
 6426: 
 6427: mingw* | pw32*)
 6428:   # Base MSYS/MinGW do not provide the 'file' command needed by
 6429:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 6430:   # unless we find 'file', for example because we are cross-compiling.
 6431:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 6432:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 6433:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6434:     lt_cv_file_magic_cmd='func_win32_libid'
 6435:   else
 6436:     # Keep this pattern in sync with the one in func_win32_libid.
 6437:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 6438:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 6439:   fi
 6440:   ;;
 6441: 
 6442: cegcc*)
 6443:   # use the weaker test based on 'objdump'. See mingw*.
 6444:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 6445:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 6446:   ;;
 6447: 
 6448: darwin* | rhapsody*)
 6449:   lt_cv_deplibs_check_method=pass_all
 6450:   ;;
 6451: 
 6452: freebsd* | dragonfly*)
 6453:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6454:     case $host_cpu in
 6455:     i*86 )
 6456:       # Not sure whether the presence of OpenBSD here was a mistake.
 6457:       # Let's accept both of them until this is cleared up.
 6458:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 6459:       lt_cv_file_magic_cmd=/usr/bin/file
 6460:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 6461:       ;;
 6462:     esac
 6463:   else
 6464:     lt_cv_deplibs_check_method=pass_all
 6465:   fi
 6466:   ;;
 6467: 
 6468: gnu*)
 6469:   lt_cv_deplibs_check_method=pass_all
 6470:   ;;
 6471: 
 6472: haiku*)
 6473:   lt_cv_deplibs_check_method=pass_all
 6474:   ;;
 6475: 
 6476: hpux10.20* | hpux11*)
 6477:   lt_cv_file_magic_cmd=/usr/bin/file
 6478:   case $host_cpu in
 6479:   ia64*)
 6480:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 6481:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 6482:     ;;
 6483:   hppa*64*)
 6484:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
 6485:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 6486:     ;;
 6487:   *)
 6488:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 6489:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 6490:     ;;
 6491:   esac
 6492:   ;;
 6493: 
 6494: interix[3-9]*)
 6495:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 6496:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 6497:   ;;
 6498: 
 6499: irix5* | irix6* | nonstopux*)
 6500:   case $LD in
 6501:   *-32|*"-32 ") libmagic=32-bit;;
 6502:   *-n32|*"-n32 ") libmagic=N32;;
 6503:   *-64|*"-64 ") libmagic=64-bit;;
 6504:   *) libmagic=never-match;;
 6505:   esac
 6506:   lt_cv_deplibs_check_method=pass_all
 6507:   ;;
 6508: 
 6509: # This must be Linux ELF.
 6510: linux* | k*bsd*-gnu | kopensolaris*-gnu)
 6511:   lt_cv_deplibs_check_method=pass_all
 6512:   ;;
 6513: 
 6514: netbsd*)
 6515:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6516:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6517:   else
 6518:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 6519:   fi
 6520:   ;;
 6521: 
 6522: newos6*)
 6523:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 6524:   lt_cv_file_magic_cmd=/usr/bin/file
 6525:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 6526:   ;;
 6527: 
 6528: *nto* | *qnx*)
 6529:   lt_cv_deplibs_check_method=pass_all
 6530:   ;;
 6531: 
 6532: openbsd*)
 6533:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 6534:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 6535:   else
 6536:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6537:   fi
 6538:   ;;
 6539: 
 6540: osf3* | osf4* | osf5*)
 6541:   lt_cv_deplibs_check_method=pass_all
 6542:   ;;
 6543: 
 6544: rdos*)
 6545:   lt_cv_deplibs_check_method=pass_all
 6546:   ;;
 6547: 
 6548: solaris*)
 6549:   lt_cv_deplibs_check_method=pass_all
 6550:   ;;
 6551: 
 6552: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 6553:   lt_cv_deplibs_check_method=pass_all
 6554:   ;;
 6555: 
 6556: sysv4 | sysv4.3*)
 6557:   case $host_vendor in
 6558:   motorola)
 6559:     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]'
 6560:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 6561:     ;;
 6562:   ncr)
 6563:     lt_cv_deplibs_check_method=pass_all
 6564:     ;;
 6565:   sequent)
 6566:     lt_cv_file_magic_cmd='/bin/file'
 6567:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 6568:     ;;
 6569:   sni)
 6570:     lt_cv_file_magic_cmd='/bin/file'
 6571:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 6572:     lt_cv_file_magic_test_file=/lib/libc.so
 6573:     ;;
 6574:   siemens)
 6575:     lt_cv_deplibs_check_method=pass_all
 6576:     ;;
 6577:   pc)
 6578:     lt_cv_deplibs_check_method=pass_all
 6579:     ;;
 6580:   esac
 6581:   ;;
 6582: 
 6583: tpf*)
 6584:   lt_cv_deplibs_check_method=pass_all
 6585:   ;;
 6586: esac
 6587: 
 6588: fi
 6589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 6590: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 6591: 
 6592: file_magic_glob=
 6593: want_nocaseglob=no
 6594: if test "$build" = "$host"; then
 6595:   case $host_os in
 6596:   mingw* | pw32*)
 6597:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 6598:       want_nocaseglob=yes
 6599:     else
 6600:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 6601:     fi
 6602:     ;;
 6603:   esac
 6604: fi
 6605: 
 6606: file_magic_cmd=$lt_cv_file_magic_cmd
 6607: deplibs_check_method=$lt_cv_deplibs_check_method
 6608: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 6609: 
 6610: 
 6611: 
 6612: 
 6613: 
 6614: 
 6615: 
 6616: 
 6617: 
 6618: 
 6619: 
 6620: 
 6621: 
 6622: 
 6623: 
 6624: 
 6625: 
 6626: 
 6627: 
 6628: 
 6629: 
 6630: 
 6631: if test -n "$ac_tool_prefix"; then
 6632:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 6633: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 6634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6635: $as_echo_n "checking for $ac_word... " >&6; }
 6636: if ${ac_cv_prog_DLLTOOL+:} false; then :
 6637:   $as_echo_n "(cached) " >&6
 6638: else
 6639:   if test -n "$DLLTOOL"; then
 6640:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 6641: else
 6642: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6643: for as_dir in $PATH
 6644: do
 6645:   IFS=$as_save_IFS
 6646:   test -z "$as_dir" && as_dir=.
 6647:     for ac_exec_ext in '' $ac_executable_extensions; do
 6648:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6649:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 6650:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6651:     break 2
 6652:   fi
 6653: done
 6654:   done
 6655: IFS=$as_save_IFS
 6656: 
 6657: fi
 6658: fi
 6659: DLLTOOL=$ac_cv_prog_DLLTOOL
 6660: if test -n "$DLLTOOL"; then
 6661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 6662: $as_echo "$DLLTOOL" >&6; }
 6663: else
 6664:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6665: $as_echo "no" >&6; }
 6666: fi
 6667: 
 6668: 
 6669: fi
 6670: if test -z "$ac_cv_prog_DLLTOOL"; then
 6671:   ac_ct_DLLTOOL=$DLLTOOL
 6672:   # Extract the first word of "dlltool", so it can be a program name with args.
 6673: set dummy dlltool; ac_word=$2
 6674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6675: $as_echo_n "checking for $ac_word... " >&6; }
 6676: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 6677:   $as_echo_n "(cached) " >&6
 6678: else
 6679:   if test -n "$ac_ct_DLLTOOL"; then
 6680:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 6681: else
 6682: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6683: for as_dir in $PATH
 6684: do
 6685:   IFS=$as_save_IFS
 6686:   test -z "$as_dir" && as_dir=.
 6687:     for ac_exec_ext in '' $ac_executable_extensions; do
 6688:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6689:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 6690:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6691:     break 2
 6692:   fi
 6693: done
 6694:   done
 6695: IFS=$as_save_IFS
 6696: 
 6697: fi
 6698: fi
 6699: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 6700: if test -n "$ac_ct_DLLTOOL"; then
 6701:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 6702: $as_echo "$ac_ct_DLLTOOL" >&6; }
 6703: else
 6704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6705: $as_echo "no" >&6; }
 6706: fi
 6707: 
 6708:   if test "x$ac_ct_DLLTOOL" = x; then
 6709:     DLLTOOL="false"
 6710:   else
 6711:     case $cross_compiling:$ac_tool_warned in
 6712: yes:)
 6713: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6714: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6715: ac_tool_warned=yes ;;
 6716: esac
 6717:     DLLTOOL=$ac_ct_DLLTOOL
 6718:   fi
 6719: else
 6720:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 6721: fi
 6722: 
 6723: test -z "$DLLTOOL" && DLLTOOL=dlltool
 6724: 
 6725: 
 6726: 
 6727: 
 6728: 
 6729: 
 6730: 
 6731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 6732: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 6733: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 6734:   $as_echo_n "(cached) " >&6
 6735: else
 6736:   lt_cv_sharedlib_from_linklib_cmd='unknown'
 6737: 
 6738: case $host_os in
 6739: cygwin* | mingw* | pw32* | cegcc*)
 6740:   # two different shell functions defined in ltmain.sh
 6741:   # decide which to use based on capabilities of $DLLTOOL
 6742:   case `$DLLTOOL --help 2>&1` in
 6743:   *--identify-strict*)
 6744:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 6745:     ;;
 6746:   *)
 6747:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 6748:     ;;
 6749:   esac
 6750:   ;;
 6751: *)
 6752:   # fallback: assume linklib IS sharedlib
 6753:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 6754:   ;;
 6755: esac
 6756: 
 6757: fi
 6758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 6759: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 6760: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 6761: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 6762: 
 6763: 
 6764: 
 6765: 
 6766: 
 6767: 
 6768: 
 6769: if test -n "$ac_tool_prefix"; then
 6770:   for ac_prog in ar
 6771:   do
 6772:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 6773: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 6774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6775: $as_echo_n "checking for $ac_word... " >&6; }
 6776: if ${ac_cv_prog_AR+:} false; then :
 6777:   $as_echo_n "(cached) " >&6
 6778: else
 6779:   if test -n "$AR"; then
 6780:   ac_cv_prog_AR="$AR" # Let the user override the test.
 6781: else
 6782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6783: for as_dir in $PATH
 6784: do
 6785:   IFS=$as_save_IFS
 6786:   test -z "$as_dir" && as_dir=.
 6787:     for ac_exec_ext in '' $ac_executable_extensions; do
 6788:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6789:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 6790:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6791:     break 2
 6792:   fi
 6793: done
 6794:   done
 6795: IFS=$as_save_IFS
 6796: 
 6797: fi
 6798: fi
 6799: AR=$ac_cv_prog_AR
 6800: if test -n "$AR"; then
 6801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 6802: $as_echo "$AR" >&6; }
 6803: else
 6804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6805: $as_echo "no" >&6; }
 6806: fi
 6807: 
 6808: 
 6809:     test -n "$AR" && break
 6810:   done
 6811: fi
 6812: if test -z "$AR"; then
 6813:   ac_ct_AR=$AR
 6814:   for ac_prog in ar
 6815: do
 6816:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 6817: set dummy $ac_prog; ac_word=$2
 6818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6819: $as_echo_n "checking for $ac_word... " >&6; }
 6820: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 6821:   $as_echo_n "(cached) " >&6
 6822: else
 6823:   if test -n "$ac_ct_AR"; then
 6824:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 6825: else
 6826: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6827: for as_dir in $PATH
 6828: do
 6829:   IFS=$as_save_IFS
 6830:   test -z "$as_dir" && as_dir=.
 6831:     for ac_exec_ext in '' $ac_executable_extensions; do
 6832:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6833:     ac_cv_prog_ac_ct_AR="$ac_prog"
 6834:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6835:     break 2
 6836:   fi
 6837: done
 6838:   done
 6839: IFS=$as_save_IFS
 6840: 
 6841: fi
 6842: fi
 6843: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 6844: if test -n "$ac_ct_AR"; then
 6845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 6846: $as_echo "$ac_ct_AR" >&6; }
 6847: else
 6848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6849: $as_echo "no" >&6; }
 6850: fi
 6851: 
 6852: 
 6853:   test -n "$ac_ct_AR" && break
 6854: done
 6855: 
 6856:   if test "x$ac_ct_AR" = x; then
 6857:     AR="false"
 6858:   else
 6859:     case $cross_compiling:$ac_tool_warned in
 6860: yes:)
 6861: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6862: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6863: ac_tool_warned=yes ;;
 6864: esac
 6865:     AR=$ac_ct_AR
 6866:   fi
 6867: fi
 6868: 
 6869: : ${AR=ar}
 6870: : ${AR_FLAGS=cru}
 6871: 
 6872: 
 6873: 
 6874: 
 6875: 
 6876: 
 6877: 
 6878: 
 6879: 
 6880: 
 6881: 
 6882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 6883: $as_echo_n "checking for archiver @FILE support... " >&6; }
 6884: if ${lt_cv_ar_at_file+:} false; then :
 6885:   $as_echo_n "(cached) " >&6
 6886: else
 6887:   lt_cv_ar_at_file=no
 6888:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6889: /* end confdefs.h.  */
 6890: 
 6891: int
 6892: main ()
 6893: {
 6894: 
 6895:   ;
 6896:   return 0;
 6897: }
 6898: _ACEOF
 6899: if ac_fn_c_try_compile "$LINENO"; then :
 6900:   echo conftest.$ac_objext > conftest.lst
 6901:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 6902:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6903:   (eval $lt_ar_try) 2>&5
 6904:   ac_status=$?
 6905:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6906:   test $ac_status = 0; }
 6907:       if test "$ac_status" -eq 0; then
 6908: 	# Ensure the archiver fails upon bogus file names.
 6909: 	rm -f conftest.$ac_objext libconftest.a
 6910: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6911:   (eval $lt_ar_try) 2>&5
 6912:   ac_status=$?
 6913:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6914:   test $ac_status = 0; }
 6915: 	if test "$ac_status" -ne 0; then
 6916:           lt_cv_ar_at_file=@
 6917:         fi
 6918:       fi
 6919:       rm -f conftest.* libconftest.a
 6920: 
 6921: fi
 6922: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6923: 
 6924: fi
 6925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 6926: $as_echo "$lt_cv_ar_at_file" >&6; }
 6927: 
 6928: if test "x$lt_cv_ar_at_file" = xno; then
 6929:   archiver_list_spec=
 6930: else
 6931:   archiver_list_spec=$lt_cv_ar_at_file
 6932: fi
 6933: 
 6934: 
 6935: 
 6936: 
 6937: 
 6938: 
 6939: 
 6940: if test -n "$ac_tool_prefix"; then
 6941:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 6942: set dummy ${ac_tool_prefix}strip; ac_word=$2
 6943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6944: $as_echo_n "checking for $ac_word... " >&6; }
 6945: if ${ac_cv_prog_STRIP+:} false; then :
 6946:   $as_echo_n "(cached) " >&6
 6947: else
 6948:   if test -n "$STRIP"; then
 6949:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 6950: else
 6951: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6952: for as_dir in $PATH
 6953: do
 6954:   IFS=$as_save_IFS
 6955:   test -z "$as_dir" && as_dir=.
 6956:     for ac_exec_ext in '' $ac_executable_extensions; do
 6957:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6958:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6959:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6960:     break 2
 6961:   fi
 6962: done
 6963:   done
 6964: IFS=$as_save_IFS
 6965: 
 6966: fi
 6967: fi
 6968: STRIP=$ac_cv_prog_STRIP
 6969: if test -n "$STRIP"; then
 6970:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 6971: $as_echo "$STRIP" >&6; }
 6972: else
 6973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6974: $as_echo "no" >&6; }
 6975: fi
 6976: 
 6977: 
 6978: fi
 6979: if test -z "$ac_cv_prog_STRIP"; then
 6980:   ac_ct_STRIP=$STRIP
 6981:   # Extract the first word of "strip", so it can be a program name with args.
 6982: set dummy strip; ac_word=$2
 6983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6984: $as_echo_n "checking for $ac_word... " >&6; }
 6985: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 6986:   $as_echo_n "(cached) " >&6
 6987: else
 6988:   if test -n "$ac_ct_STRIP"; then
 6989:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 6990: else
 6991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6992: for as_dir in $PATH
 6993: do
 6994:   IFS=$as_save_IFS
 6995:   test -z "$as_dir" && as_dir=.
 6996:     for ac_exec_ext in '' $ac_executable_extensions; do
 6997:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6998:     ac_cv_prog_ac_ct_STRIP="strip"
 6999:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7000:     break 2
 7001:   fi
 7002: done
 7003:   done
 7004: IFS=$as_save_IFS
 7005: 
 7006: fi
 7007: fi
 7008: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 7009: if test -n "$ac_ct_STRIP"; then
 7010:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 7011: $as_echo "$ac_ct_STRIP" >&6; }
 7012: else
 7013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7014: $as_echo "no" >&6; }
 7015: fi
 7016: 
 7017:   if test "x$ac_ct_STRIP" = x; then
 7018:     STRIP=":"
 7019:   else
 7020:     case $cross_compiling:$ac_tool_warned in
 7021: yes:)
 7022: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7023: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7024: ac_tool_warned=yes ;;
 7025: esac
 7026:     STRIP=$ac_ct_STRIP
 7027:   fi
 7028: else
 7029:   STRIP="$ac_cv_prog_STRIP"
 7030: fi
 7031: 
 7032: test -z "$STRIP" && STRIP=:
 7033: 
 7034: 
 7035: 
 7036: 
 7037: 
 7038: 
 7039: if test -n "$ac_tool_prefix"; then
 7040:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 7041: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 7042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7043: $as_echo_n "checking for $ac_word... " >&6; }
 7044: if ${ac_cv_prog_RANLIB+:} false; then :
 7045:   $as_echo_n "(cached) " >&6
 7046: else
 7047:   if test -n "$RANLIB"; then
 7048:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 7049: else
 7050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7051: for as_dir in $PATH
 7052: do
 7053:   IFS=$as_save_IFS
 7054:   test -z "$as_dir" && as_dir=.
 7055:     for ac_exec_ext in '' $ac_executable_extensions; do
 7056:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7057:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 7058:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7059:     break 2
 7060:   fi
 7061: done
 7062:   done
 7063: IFS=$as_save_IFS
 7064: 
 7065: fi
 7066: fi
 7067: RANLIB=$ac_cv_prog_RANLIB
 7068: if test -n "$RANLIB"; then
 7069:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 7070: $as_echo "$RANLIB" >&6; }
 7071: else
 7072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7073: $as_echo "no" >&6; }
 7074: fi
 7075: 
 7076: 
 7077: fi
 7078: if test -z "$ac_cv_prog_RANLIB"; then
 7079:   ac_ct_RANLIB=$RANLIB
 7080:   # Extract the first word of "ranlib", so it can be a program name with args.
 7081: set dummy ranlib; ac_word=$2
 7082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7083: $as_echo_n "checking for $ac_word... " >&6; }
 7084: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 7085:   $as_echo_n "(cached) " >&6
 7086: else
 7087:   if test -n "$ac_ct_RANLIB"; then
 7088:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 7089: else
 7090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7091: for as_dir in $PATH
 7092: do
 7093:   IFS=$as_save_IFS
 7094:   test -z "$as_dir" && as_dir=.
 7095:     for ac_exec_ext in '' $ac_executable_extensions; do
 7096:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7097:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 7098:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7099:     break 2
 7100:   fi
 7101: done
 7102:   done
 7103: IFS=$as_save_IFS
 7104: 
 7105: fi
 7106: fi
 7107: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 7108: if test -n "$ac_ct_RANLIB"; then
 7109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 7110: $as_echo "$ac_ct_RANLIB" >&6; }
 7111: else
 7112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7113: $as_echo "no" >&6; }
 7114: fi
 7115: 
 7116:   if test "x$ac_ct_RANLIB" = x; then
 7117:     RANLIB=":"
 7118:   else
 7119:     case $cross_compiling:$ac_tool_warned in
 7120: yes:)
 7121: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7122: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7123: ac_tool_warned=yes ;;
 7124: esac
 7125:     RANLIB=$ac_ct_RANLIB
 7126:   fi
 7127: else
 7128:   RANLIB="$ac_cv_prog_RANLIB"
 7129: fi
 7130: 
 7131: test -z "$RANLIB" && RANLIB=:
 7132: 
 7133: 
 7134: 
 7135: 
 7136: 
 7137: 
 7138: # Determine commands to create old-style static archives.
 7139: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 7140: old_postinstall_cmds='chmod 644 $oldlib'
 7141: old_postuninstall_cmds=
 7142: 
 7143: if test -n "$RANLIB"; then
 7144:   case $host_os in
 7145:   openbsd*)
 7146:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 7147:     ;;
 7148:   *)
 7149:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 7150:     ;;
 7151:   esac
 7152:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 7153: fi
 7154: 
 7155: case $host_os in
 7156:   darwin*)
 7157:     lock_old_archive_extraction=yes ;;
 7158:   *)
 7159:     lock_old_archive_extraction=no ;;
 7160: esac
 7161: 
 7162: 
 7163: 
 7164: 
 7165: 
 7166: 
 7167: 
 7168: 
 7169: 
 7170: 
 7171: 
 7172: 
 7173: 
 7174: 
 7175: 
 7176: 
 7177: 
 7178: 
 7179: 
 7180: 
 7181: 
 7182: 
 7183: 
 7184: 
 7185: 
 7186: 
 7187: 
 7188: 
 7189: 
 7190: 
 7191: 
 7192: 
 7193: 
 7194: 
 7195: 
 7196: 
 7197: 
 7198: 
 7199: 
 7200: # If no C compiler was specified, use CC.
 7201: LTCC=${LTCC-"$CC"}
 7202: 
 7203: # If no C compiler flags were specified, use CFLAGS.
 7204: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7205: 
 7206: # Allow CC to be a program name with arguments.
 7207: compiler=$CC
 7208: 
 7209: 
 7210: # Check for command to grab the raw symbol name followed by C symbol from nm.
 7211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 7212: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 7213: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 7214:   $as_echo_n "(cached) " >&6
 7215: else
 7216: 
 7217: # These are sane defaults that work on at least a few old systems.
 7218: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 7219: 
 7220: # Character class describing NM global symbol codes.
 7221: symcode='[BCDEGRST]'
 7222: 
 7223: # Regexp to match symbols that can be accessed directly from C.
 7224: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 7225: 
 7226: # Define system-specific variables.
 7227: case $host_os in
 7228: aix*)
 7229:   symcode='[BCDT]'
 7230:   ;;
 7231: cygwin* | mingw* | pw32* | cegcc*)
 7232:   symcode='[ABCDGISTW]'
 7233:   ;;
 7234: hpux*)
 7235:   if test "$host_cpu" = ia64; then
 7236:     symcode='[ABCDEGRST]'
 7237:   fi
 7238:   ;;
 7239: irix* | nonstopux*)
 7240:   symcode='[BCDEGRST]'
 7241:   ;;
 7242: osf*)
 7243:   symcode='[BCDEGQRST]'
 7244:   ;;
 7245: solaris*)
 7246:   symcode='[BDRT]'
 7247:   ;;
 7248: sco3.2v5*)
 7249:   symcode='[DT]'
 7250:   ;;
 7251: sysv4.2uw2*)
 7252:   symcode='[DT]'
 7253:   ;;
 7254: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 7255:   symcode='[ABDT]'
 7256:   ;;
 7257: sysv4)
 7258:   symcode='[DFNSTU]'
 7259:   ;;
 7260: esac
 7261: 
 7262: # If we're using GNU nm, then use its standard symbol codes.
 7263: case `$NM -V 2>&1` in
 7264: *GNU* | *'with BFD'*)
 7265:   symcode='[ABCDGIRSTW]' ;;
 7266: esac
 7267: 
 7268: # Transform an extracted symbol line into a proper C declaration.
 7269: # Some systems (esp. on ia64) link data and code symbols differently,
 7270: # so use this general approach.
 7271: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 7272: 
 7273: # Transform an extracted symbol line into symbol name and symbol address
 7274: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 7275: 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'"
 7276: 
 7277: # Handle CRLF in mingw tool chain
 7278: opt_cr=
 7279: case $build_os in
 7280: mingw*)
 7281:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 7282:   ;;
 7283: esac
 7284: 
 7285: # Try without a prefix underscore, then with it.
 7286: for ac_symprfx in "" "_"; do
 7287: 
 7288:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 7289:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 7290: 
 7291:   # Write the raw and C identifiers.
 7292:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7293:     # Fake it for dumpbin and say T for any non-static function
 7294:     # and D for any global variable.
 7295:     # Also find C++ and __fastcall symbols from MSVC++,
 7296:     # which start with @ or ?.
 7297:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 7298: "     {last_section=section; section=\$ 3};"\
 7299: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 7300: "     \$ 0!~/External *\|/{next};"\
 7301: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 7302: "     {if(hide[section]) next};"\
 7303: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 7304: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 7305: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 7306: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 7307: "     ' prfx=^$ac_symprfx"
 7308:   else
 7309:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 7310:   fi
 7311:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 7312: 
 7313:   # Check to see that the pipe works correctly.
 7314:   pipe_works=no
 7315: 
 7316:   rm -f conftest*
 7317:   cat > conftest.$ac_ext <<_LT_EOF
 7318: #ifdef __cplusplus
 7319: extern "C" {
 7320: #endif
 7321: char nm_test_var;
 7322: void nm_test_func(void);
 7323: void nm_test_func(void){}
 7324: #ifdef __cplusplus
 7325: }
 7326: #endif
 7327: int main(){nm_test_var='a';nm_test_func();return(0);}
 7328: _LT_EOF
 7329: 
 7330:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7331:   (eval $ac_compile) 2>&5
 7332:   ac_status=$?
 7333:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7334:   test $ac_status = 0; }; then
 7335:     # Now try to grab the symbols.
 7336:     nlist=conftest.nm
 7337:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 7338:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 7339:   ac_status=$?
 7340:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7341:   test $ac_status = 0; } && test -s "$nlist"; then
 7342:       # Try sorting and uniquifying the output.
 7343:       if sort "$nlist" | uniq > "$nlist"T; then
 7344: 	mv -f "$nlist"T "$nlist"
 7345:       else
 7346: 	rm -f "$nlist"T
 7347:       fi
 7348: 
 7349:       # Make sure that we snagged all the symbols we need.
 7350:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 7351: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 7352: 	  cat <<_LT_EOF > conftest.$ac_ext
 7353: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 7354: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 7355: /* DATA imports from DLLs on WIN32 con't be const, because runtime
 7356:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 7357: # define LT_DLSYM_CONST
 7358: #elif defined(__osf__)
 7359: /* This system does not cope well with relocations in const data.  */
 7360: # define LT_DLSYM_CONST
 7361: #else
 7362: # define LT_DLSYM_CONST const
 7363: #endif
 7364: 
 7365: #ifdef __cplusplus
 7366: extern "C" {
 7367: #endif
 7368: 
 7369: _LT_EOF
 7370: 	  # Now generate the symbol file.
 7371: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 7372: 
 7373: 	  cat <<_LT_EOF >> conftest.$ac_ext
 7374: 
 7375: /* The mapping between symbol names and symbols.  */
 7376: LT_DLSYM_CONST struct {
 7377:   const char *name;
 7378:   void       *address;
 7379: }
 7380: lt__PROGRAM__LTX_preloaded_symbols[] =
 7381: {
 7382:   { "@PROGRAM@", (void *) 0 },
 7383: _LT_EOF
 7384: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 7385: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 7386:   {0, (void *) 0}
 7387: };
 7388: 
 7389: /* This works around a problem in FreeBSD linker */
 7390: #ifdef FREEBSD_WORKAROUND
 7391: static const void *lt_preloaded_setup() {
 7392:   return lt__PROGRAM__LTX_preloaded_symbols;
 7393: }
 7394: #endif
 7395: 
 7396: #ifdef __cplusplus
 7397: }
 7398: #endif
 7399: _LT_EOF
 7400: 	  # Now try linking the two files.
 7401: 	  mv conftest.$ac_objext conftstm.$ac_objext
 7402: 	  lt_globsym_save_LIBS=$LIBS
 7403: 	  lt_globsym_save_CFLAGS=$CFLAGS
 7404: 	  LIBS="conftstm.$ac_objext"
 7405: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 7406: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 7407:   (eval $ac_link) 2>&5
 7408:   ac_status=$?
 7409:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7410:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 7411: 	    pipe_works=yes
 7412: 	  fi
 7413: 	  LIBS=$lt_globsym_save_LIBS
 7414: 	  CFLAGS=$lt_globsym_save_CFLAGS
 7415: 	else
 7416: 	  echo "cannot find nm_test_func in $nlist" >&5
 7417: 	fi
 7418:       else
 7419: 	echo "cannot find nm_test_var in $nlist" >&5
 7420:       fi
 7421:     else
 7422:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 7423:     fi
 7424:   else
 7425:     echo "$progname: failed program was:" >&5
 7426:     cat conftest.$ac_ext >&5
 7427:   fi
 7428:   rm -rf conftest* conftst*
 7429: 
 7430:   # Do not use the global_symbol_pipe unless it works.
 7431:   if test "$pipe_works" = yes; then
 7432:     break
 7433:   else
 7434:     lt_cv_sys_global_symbol_pipe=
 7435:   fi
 7436: done
 7437: 
 7438: fi
 7439: 
 7440: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 7441:   lt_cv_sys_global_symbol_to_cdecl=
 7442: fi
 7443: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 7444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 7445: $as_echo "failed" >&6; }
 7446: else
 7447:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 7448: $as_echo "ok" >&6; }
 7449: fi
 7450: 
 7451: # Response file support.
 7452: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7453:   nm_file_list_spec='@'
 7454: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 7455:   nm_file_list_spec='@'
 7456: fi
 7457: 
 7458: 
 7459: 
 7460: 
 7461: 
 7462: 
 7463: 
 7464: 
 7465: 
 7466: 
 7467: 
 7468: 
 7469: 
 7470: 
 7471: 
 7472: 
 7473: 
 7474: 
 7475: 
 7476: 
 7477: 
 7478: 
 7479: 
 7480: 
 7481: 
 7482: 
 7483: 
 7484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 7485: $as_echo_n "checking for sysroot... " >&6; }
 7486: 
 7487: # Check whether --with-sysroot was given.
 7488: if test "${with_sysroot+set}" = set; then :
 7489:   withval=$with_sysroot;
 7490: else
 7491:   with_sysroot=no
 7492: fi
 7493: 
 7494: 
 7495: lt_sysroot=
 7496: case ${with_sysroot} in #(
 7497:  yes)
 7498:    if test "$GCC" = yes; then
 7499:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 7500:    fi
 7501:    ;; #(
 7502:  /*)
 7503:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 7504:    ;; #(
 7505:  no|'')
 7506:    ;; #(
 7507:  *)
 7508:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 7509: $as_echo "${with_sysroot}" >&6; }
 7510:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 7511:    ;;
 7512: esac
 7513: 
 7514:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 7515: $as_echo "${lt_sysroot:-no}" >&6; }
 7516: 
 7517: 
 7518: 
 7519: 
 7520: 
 7521: # Check whether --enable-libtool-lock was given.
 7522: if test "${enable_libtool_lock+set}" = set; then :
 7523:   enableval=$enable_libtool_lock;
 7524: fi
 7525: 
 7526: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 7527: 
 7528: # Some flags need to be propagated to the compiler or linker for good
 7529: # libtool support.
 7530: case $host in
 7531: ia64-*-hpux*)
 7532:   # Find out which ABI we are using.
 7533:   echo 'int i;' > conftest.$ac_ext
 7534:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7535:   (eval $ac_compile) 2>&5
 7536:   ac_status=$?
 7537:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7538:   test $ac_status = 0; }; then
 7539:     case `/usr/bin/file conftest.$ac_objext` in
 7540:       *ELF-32*)
 7541: 	HPUX_IA64_MODE="32"
 7542: 	;;
 7543:       *ELF-64*)
 7544: 	HPUX_IA64_MODE="64"
 7545: 	;;
 7546:     esac
 7547:   fi
 7548:   rm -rf conftest*
 7549:   ;;
 7550: *-*-irix6*)
 7551:   # Find out which ABI we are using.
 7552:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 7553:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7554:   (eval $ac_compile) 2>&5
 7555:   ac_status=$?
 7556:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7557:   test $ac_status = 0; }; then
 7558:     if test "$lt_cv_prog_gnu_ld" = yes; then
 7559:       case `/usr/bin/file conftest.$ac_objext` in
 7560: 	*32-bit*)
 7561: 	  LD="${LD-ld} -melf32bsmip"
 7562: 	  ;;
 7563: 	*N32*)
 7564: 	  LD="${LD-ld} -melf32bmipn32"
 7565: 	  ;;
 7566: 	*64-bit*)
 7567: 	  LD="${LD-ld} -melf64bmip"
 7568: 	;;
 7569:       esac
 7570:     else
 7571:       case `/usr/bin/file conftest.$ac_objext` in
 7572: 	*32-bit*)
 7573: 	  LD="${LD-ld} -32"
 7574: 	  ;;
 7575: 	*N32*)
 7576: 	  LD="${LD-ld} -n32"
 7577: 	  ;;
 7578: 	*64-bit*)
 7579: 	  LD="${LD-ld} -64"
 7580: 	  ;;
 7581:       esac
 7582:     fi
 7583:   fi
 7584:   rm -rf conftest*
 7585:   ;;
 7586: 
 7587: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 7588: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 7589:   # Find out which ABI we are using.
 7590:   echo 'int i;' > conftest.$ac_ext
 7591:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7592:   (eval $ac_compile) 2>&5
 7593:   ac_status=$?
 7594:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7595:   test $ac_status = 0; }; then
 7596:     case `/usr/bin/file conftest.o` in
 7597:       *32-bit*)
 7598: 	case $host in
 7599: 	  x86_64-*kfreebsd*-gnu)
 7600: 	    LD="${LD-ld} -m elf_i386_fbsd"
 7601: 	    ;;
 7602: 	  x86_64-*linux*)
 7603: 	    LD="${LD-ld} -m elf_i386"
 7604: 	    ;;
 7605: 	  ppc64-*linux*|powerpc64-*linux*)
 7606: 	    LD="${LD-ld} -m elf32ppclinux"
 7607: 	    ;;
 7608: 	  s390x-*linux*)
 7609: 	    LD="${LD-ld} -m elf_s390"
 7610: 	    ;;
 7611: 	  sparc64-*linux*)
 7612: 	    LD="${LD-ld} -m elf32_sparc"
 7613: 	    ;;
 7614: 	esac
 7615: 	;;
 7616:       *64-bit*)
 7617: 	case $host in
 7618: 	  x86_64-*kfreebsd*-gnu)
 7619: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 7620: 	    ;;
 7621: 	  x86_64-*linux*)
 7622: 	    LD="${LD-ld} -m elf_x86_64"
 7623: 	    ;;
 7624: 	  ppc*-*linux*|powerpc*-*linux*)
 7625: 	    LD="${LD-ld} -m elf64ppc"
 7626: 	    ;;
 7627: 	  s390*-*linux*|s390*-*tpf*)
 7628: 	    LD="${LD-ld} -m elf64_s390"
 7629: 	    ;;
 7630: 	  sparc*-*linux*)
 7631: 	    LD="${LD-ld} -m elf64_sparc"
 7632: 	    ;;
 7633: 	esac
 7634: 	;;
 7635:     esac
 7636:   fi
 7637:   rm -rf conftest*
 7638:   ;;
 7639: 
 7640: *-*-sco3.2v5*)
 7641:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 7642:   SAVE_CFLAGS="$CFLAGS"
 7643:   CFLAGS="$CFLAGS -belf"
 7644:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 7645: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 7646: if ${lt_cv_cc_needs_belf+:} false; then :
 7647:   $as_echo_n "(cached) " >&6
 7648: else
 7649:   ac_ext=c
 7650: ac_cpp='$CPP $CPPFLAGS'
 7651: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7652: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7653: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7654: 
 7655:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7656: /* end confdefs.h.  */
 7657: 
 7658: int
 7659: main ()
 7660: {
 7661: 
 7662:   ;
 7663:   return 0;
 7664: }
 7665: _ACEOF
 7666: if ac_fn_c_try_link "$LINENO"; then :
 7667:   lt_cv_cc_needs_belf=yes
 7668: else
 7669:   lt_cv_cc_needs_belf=no
 7670: fi
 7671: rm -f core conftest.err conftest.$ac_objext \
 7672:     conftest$ac_exeext conftest.$ac_ext
 7673:      ac_ext=c
 7674: ac_cpp='$CPP $CPPFLAGS'
 7675: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7676: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7677: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7678: 
 7679: fi
 7680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 7681: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 7682:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 7683:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 7684:     CFLAGS="$SAVE_CFLAGS"
 7685:   fi
 7686:   ;;
 7687: sparc*-*solaris*)
 7688:   # Find out which ABI we are using.
 7689:   echo 'int i;' > conftest.$ac_ext
 7690:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7691:   (eval $ac_compile) 2>&5
 7692:   ac_status=$?
 7693:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7694:   test $ac_status = 0; }; then
 7695:     case `/usr/bin/file conftest.o` in
 7696:     *64-bit*)
 7697:       case $lt_cv_prog_gnu_ld in
 7698:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 7699:       *)
 7700: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 7701: 	  LD="${LD-ld} -64"
 7702: 	fi
 7703: 	;;
 7704:       esac
 7705:       ;;
 7706:     esac
 7707:   fi
 7708:   rm -rf conftest*
 7709:   ;;
 7710: esac
 7711: 
 7712: need_locks="$enable_libtool_lock"
 7713: 
 7714: if test -n "$ac_tool_prefix"; then
 7715:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 7716: set dummy ${ac_tool_prefix}mt; ac_word=$2
 7717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7718: $as_echo_n "checking for $ac_word... " >&6; }
 7719: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 7720:   $as_echo_n "(cached) " >&6
 7721: else
 7722:   if test -n "$MANIFEST_TOOL"; then
 7723:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 7724: else
 7725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7726: for as_dir in $PATH
 7727: do
 7728:   IFS=$as_save_IFS
 7729:   test -z "$as_dir" && as_dir=.
 7730:     for ac_exec_ext in '' $ac_executable_extensions; do
 7731:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7732:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 7733:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7734:     break 2
 7735:   fi
 7736: done
 7737:   done
 7738: IFS=$as_save_IFS
 7739: 
 7740: fi
 7741: fi
 7742: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 7743: if test -n "$MANIFEST_TOOL"; then
 7744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 7745: $as_echo "$MANIFEST_TOOL" >&6; }
 7746: else
 7747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7748: $as_echo "no" >&6; }
 7749: fi
 7750: 
 7751: 
 7752: fi
 7753: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 7754:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 7755:   # Extract the first word of "mt", so it can be a program name with args.
 7756: set dummy mt; ac_word=$2
 7757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7758: $as_echo_n "checking for $ac_word... " >&6; }
 7759: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 7760:   $as_echo_n "(cached) " >&6
 7761: else
 7762:   if test -n "$ac_ct_MANIFEST_TOOL"; then
 7763:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 7764: else
 7765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7766: for as_dir in $PATH
 7767: do
 7768:   IFS=$as_save_IFS
 7769:   test -z "$as_dir" && as_dir=.
 7770:     for ac_exec_ext in '' $ac_executable_extensions; do
 7771:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7772:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 7773:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7774:     break 2
 7775:   fi
 7776: done
 7777:   done
 7778: IFS=$as_save_IFS
 7779: 
 7780: fi
 7781: fi
 7782: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 7783: if test -n "$ac_ct_MANIFEST_TOOL"; then
 7784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 7785: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 7786: else
 7787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7788: $as_echo "no" >&6; }
 7789: fi
 7790: 
 7791:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
 7792:     MANIFEST_TOOL=":"
 7793:   else
 7794:     case $cross_compiling:$ac_tool_warned in
 7795: yes:)
 7796: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7797: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7798: ac_tool_warned=yes ;;
 7799: esac
 7800:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 7801:   fi
 7802: else
 7803:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 7804: fi
 7805: 
 7806: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 7807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 7808: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 7809: if ${lt_cv_path_mainfest_tool+:} false; then :
 7810:   $as_echo_n "(cached) " >&6
 7811: else
 7812:   lt_cv_path_mainfest_tool=no
 7813:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 7814:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 7815:   cat conftest.err >&5
 7816:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 7817:     lt_cv_path_mainfest_tool=yes
 7818:   fi
 7819:   rm -f conftest*
 7820: fi
 7821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 7822: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
 7823: if test "x$lt_cv_path_mainfest_tool" != xyes; then
 7824:   MANIFEST_TOOL=:
 7825: fi
 7826: 
 7827: 
 7828: 
 7829: 
 7830: 
 7831: 
 7832:   case $host_os in
 7833:     rhapsody* | darwin*)
 7834:     if test -n "$ac_tool_prefix"; then
 7835:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 7836: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 7837: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7838: $as_echo_n "checking for $ac_word... " >&6; }
 7839: if ${ac_cv_prog_DSYMUTIL+:} false; then :
 7840:   $as_echo_n "(cached) " >&6
 7841: else
 7842:   if test -n "$DSYMUTIL"; then
 7843:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 7844: else
 7845: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7846: for as_dir in $PATH
 7847: do
 7848:   IFS=$as_save_IFS
 7849:   test -z "$as_dir" && as_dir=.
 7850:     for ac_exec_ext in '' $ac_executable_extensions; do
 7851:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7852:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 7853:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7854:     break 2
 7855:   fi
 7856: done
 7857:   done
 7858: IFS=$as_save_IFS
 7859: 
 7860: fi
 7861: fi
 7862: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 7863: if test -n "$DSYMUTIL"; then
 7864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 7865: $as_echo "$DSYMUTIL" >&6; }
 7866: else
 7867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7868: $as_echo "no" >&6; }
 7869: fi
 7870: 
 7871: 
 7872: fi
 7873: if test -z "$ac_cv_prog_DSYMUTIL"; then
 7874:   ac_ct_DSYMUTIL=$DSYMUTIL
 7875:   # Extract the first word of "dsymutil", so it can be a program name with args.
 7876: set dummy dsymutil; ac_word=$2
 7877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7878: $as_echo_n "checking for $ac_word... " >&6; }
 7879: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 7880:   $as_echo_n "(cached) " >&6
 7881: else
 7882:   if test -n "$ac_ct_DSYMUTIL"; then
 7883:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 7884: else
 7885: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7886: for as_dir in $PATH
 7887: do
 7888:   IFS=$as_save_IFS
 7889:   test -z "$as_dir" && as_dir=.
 7890:     for ac_exec_ext in '' $ac_executable_extensions; do
 7891:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7892:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 7893:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7894:     break 2
 7895:   fi
 7896: done
 7897:   done
 7898: IFS=$as_save_IFS
 7899: 
 7900: fi
 7901: fi
 7902: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 7903: if test -n "$ac_ct_DSYMUTIL"; then
 7904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 7905: $as_echo "$ac_ct_DSYMUTIL" >&6; }
 7906: else
 7907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7908: $as_echo "no" >&6; }
 7909: fi
 7910: 
 7911:   if test "x$ac_ct_DSYMUTIL" = x; then
 7912:     DSYMUTIL=":"
 7913:   else
 7914:     case $cross_compiling:$ac_tool_warned in
 7915: yes:)
 7916: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7917: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7918: ac_tool_warned=yes ;;
 7919: esac
 7920:     DSYMUTIL=$ac_ct_DSYMUTIL
 7921:   fi
 7922: else
 7923:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 7924: fi
 7925: 
 7926:     if test -n "$ac_tool_prefix"; then
 7927:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 7928: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 7929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7930: $as_echo_n "checking for $ac_word... " >&6; }
 7931: if ${ac_cv_prog_NMEDIT+:} false; then :
 7932:   $as_echo_n "(cached) " >&6
 7933: else
 7934:   if test -n "$NMEDIT"; then
 7935:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 7936: else
 7937: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7938: for as_dir in $PATH
 7939: do
 7940:   IFS=$as_save_IFS
 7941:   test -z "$as_dir" && as_dir=.
 7942:     for ac_exec_ext in '' $ac_executable_extensions; do
 7943:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7944:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 7945:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7946:     break 2
 7947:   fi
 7948: done
 7949:   done
 7950: IFS=$as_save_IFS
 7951: 
 7952: fi
 7953: fi
 7954: NMEDIT=$ac_cv_prog_NMEDIT
 7955: if test -n "$NMEDIT"; then
 7956:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 7957: $as_echo "$NMEDIT" >&6; }
 7958: else
 7959:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7960: $as_echo "no" >&6; }
 7961: fi
 7962: 
 7963: 
 7964: fi
 7965: if test -z "$ac_cv_prog_NMEDIT"; then
 7966:   ac_ct_NMEDIT=$NMEDIT
 7967:   # Extract the first word of "nmedit", so it can be a program name with args.
 7968: set dummy nmedit; ac_word=$2
 7969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7970: $as_echo_n "checking for $ac_word... " >&6; }
 7971: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 7972:   $as_echo_n "(cached) " >&6
 7973: else
 7974:   if test -n "$ac_ct_NMEDIT"; then
 7975:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 7976: else
 7977: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7978: for as_dir in $PATH
 7979: do
 7980:   IFS=$as_save_IFS
 7981:   test -z "$as_dir" && as_dir=.
 7982:     for ac_exec_ext in '' $ac_executable_extensions; do
 7983:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7984:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 7985:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7986:     break 2
 7987:   fi
 7988: done
 7989:   done
 7990: IFS=$as_save_IFS
 7991: 
 7992: fi
 7993: fi
 7994: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 7995: if test -n "$ac_ct_NMEDIT"; then
 7996:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 7997: $as_echo "$ac_ct_NMEDIT" >&6; }
 7998: else
 7999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8000: $as_echo "no" >&6; }
 8001: fi
 8002: 
 8003:   if test "x$ac_ct_NMEDIT" = x; then
 8004:     NMEDIT=":"
 8005:   else
 8006:     case $cross_compiling:$ac_tool_warned in
 8007: yes:)
 8008: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8009: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8010: ac_tool_warned=yes ;;
 8011: esac
 8012:     NMEDIT=$ac_ct_NMEDIT
 8013:   fi
 8014: else
 8015:   NMEDIT="$ac_cv_prog_NMEDIT"
 8016: fi
 8017: 
 8018:     if test -n "$ac_tool_prefix"; then
 8019:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 8020: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 8021: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8022: $as_echo_n "checking for $ac_word... " >&6; }
 8023: if ${ac_cv_prog_LIPO+:} false; then :
 8024:   $as_echo_n "(cached) " >&6
 8025: else
 8026:   if test -n "$LIPO"; then
 8027:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 8028: else
 8029: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8030: for as_dir in $PATH
 8031: do
 8032:   IFS=$as_save_IFS
 8033:   test -z "$as_dir" && as_dir=.
 8034:     for ac_exec_ext in '' $ac_executable_extensions; do
 8035:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8036:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 8037:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8038:     break 2
 8039:   fi
 8040: done
 8041:   done
 8042: IFS=$as_save_IFS
 8043: 
 8044: fi
 8045: fi
 8046: LIPO=$ac_cv_prog_LIPO
 8047: if test -n "$LIPO"; then
 8048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 8049: $as_echo "$LIPO" >&6; }
 8050: else
 8051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8052: $as_echo "no" >&6; }
 8053: fi
 8054: 
 8055: 
 8056: fi
 8057: if test -z "$ac_cv_prog_LIPO"; then
 8058:   ac_ct_LIPO=$LIPO
 8059:   # Extract the first word of "lipo", so it can be a program name with args.
 8060: set dummy lipo; ac_word=$2
 8061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8062: $as_echo_n "checking for $ac_word... " >&6; }
 8063: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 8064:   $as_echo_n "(cached) " >&6
 8065: else
 8066:   if test -n "$ac_ct_LIPO"; then
 8067:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 8068: else
 8069: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8070: for as_dir in $PATH
 8071: do
 8072:   IFS=$as_save_IFS
 8073:   test -z "$as_dir" && as_dir=.
 8074:     for ac_exec_ext in '' $ac_executable_extensions; do
 8075:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8076:     ac_cv_prog_ac_ct_LIPO="lipo"
 8077:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8078:     break 2
 8079:   fi
 8080: done
 8081:   done
 8082: IFS=$as_save_IFS
 8083: 
 8084: fi
 8085: fi
 8086: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 8087: if test -n "$ac_ct_LIPO"; then
 8088:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 8089: $as_echo "$ac_ct_LIPO" >&6; }
 8090: else
 8091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8092: $as_echo "no" >&6; }
 8093: fi
 8094: 
 8095:   if test "x$ac_ct_LIPO" = x; then
 8096:     LIPO=":"
 8097:   else
 8098:     case $cross_compiling:$ac_tool_warned in
 8099: yes:)
 8100: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8101: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8102: ac_tool_warned=yes ;;
 8103: esac
 8104:     LIPO=$ac_ct_LIPO
 8105:   fi
 8106: else
 8107:   LIPO="$ac_cv_prog_LIPO"
 8108: fi
 8109: 
 8110:     if test -n "$ac_tool_prefix"; then
 8111:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 8112: set dummy ${ac_tool_prefix}otool; ac_word=$2
 8113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8114: $as_echo_n "checking for $ac_word... " >&6; }
 8115: if ${ac_cv_prog_OTOOL+:} false; then :
 8116:   $as_echo_n "(cached) " >&6
 8117: else
 8118:   if test -n "$OTOOL"; then
 8119:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 8120: else
 8121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8122: for as_dir in $PATH
 8123: do
 8124:   IFS=$as_save_IFS
 8125:   test -z "$as_dir" && as_dir=.
 8126:     for ac_exec_ext in '' $ac_executable_extensions; do
 8127:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8128:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 8129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8130:     break 2
 8131:   fi
 8132: done
 8133:   done
 8134: IFS=$as_save_IFS
 8135: 
 8136: fi
 8137: fi
 8138: OTOOL=$ac_cv_prog_OTOOL
 8139: if test -n "$OTOOL"; then
 8140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 8141: $as_echo "$OTOOL" >&6; }
 8142: else
 8143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8144: $as_echo "no" >&6; }
 8145: fi
 8146: 
 8147: 
 8148: fi
 8149: if test -z "$ac_cv_prog_OTOOL"; then
 8150:   ac_ct_OTOOL=$OTOOL
 8151:   # Extract the first word of "otool", so it can be a program name with args.
 8152: set dummy otool; ac_word=$2
 8153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8154: $as_echo_n "checking for $ac_word... " >&6; }
 8155: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 8156:   $as_echo_n "(cached) " >&6
 8157: else
 8158:   if test -n "$ac_ct_OTOOL"; then
 8159:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 8160: else
 8161: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8162: for as_dir in $PATH
 8163: do
 8164:   IFS=$as_save_IFS
 8165:   test -z "$as_dir" && as_dir=.
 8166:     for ac_exec_ext in '' $ac_executable_extensions; do
 8167:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8168:     ac_cv_prog_ac_ct_OTOOL="otool"
 8169:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8170:     break 2
 8171:   fi
 8172: done
 8173:   done
 8174: IFS=$as_save_IFS
 8175: 
 8176: fi
 8177: fi
 8178: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 8179: if test -n "$ac_ct_OTOOL"; then
 8180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 8181: $as_echo "$ac_ct_OTOOL" >&6; }
 8182: else
 8183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8184: $as_echo "no" >&6; }
 8185: fi
 8186: 
 8187:   if test "x$ac_ct_OTOOL" = x; then
 8188:     OTOOL=":"
 8189:   else
 8190:     case $cross_compiling:$ac_tool_warned in
 8191: yes:)
 8192: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8193: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8194: ac_tool_warned=yes ;;
 8195: esac
 8196:     OTOOL=$ac_ct_OTOOL
 8197:   fi
 8198: else
 8199:   OTOOL="$ac_cv_prog_OTOOL"
 8200: fi
 8201: 
 8202:     if test -n "$ac_tool_prefix"; then
 8203:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 8204: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 8205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8206: $as_echo_n "checking for $ac_word... " >&6; }
 8207: if ${ac_cv_prog_OTOOL64+:} false; then :
 8208:   $as_echo_n "(cached) " >&6
 8209: else
 8210:   if test -n "$OTOOL64"; then
 8211:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 8212: else
 8213: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8214: for as_dir in $PATH
 8215: do
 8216:   IFS=$as_save_IFS
 8217:   test -z "$as_dir" && as_dir=.
 8218:     for ac_exec_ext in '' $ac_executable_extensions; do
 8219:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8220:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 8221:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8222:     break 2
 8223:   fi
 8224: done
 8225:   done
 8226: IFS=$as_save_IFS
 8227: 
 8228: fi
 8229: fi
 8230: OTOOL64=$ac_cv_prog_OTOOL64
 8231: if test -n "$OTOOL64"; then
 8232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 8233: $as_echo "$OTOOL64" >&6; }
 8234: else
 8235:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8236: $as_echo "no" >&6; }
 8237: fi
 8238: 
 8239: 
 8240: fi
 8241: if test -z "$ac_cv_prog_OTOOL64"; then
 8242:   ac_ct_OTOOL64=$OTOOL64
 8243:   # Extract the first word of "otool64", so it can be a program name with args.
 8244: set dummy otool64; ac_word=$2
 8245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8246: $as_echo_n "checking for $ac_word... " >&6; }
 8247: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 8248:   $as_echo_n "(cached) " >&6
 8249: else
 8250:   if test -n "$ac_ct_OTOOL64"; then
 8251:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 8252: else
 8253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8254: for as_dir in $PATH
 8255: do
 8256:   IFS=$as_save_IFS
 8257:   test -z "$as_dir" && as_dir=.
 8258:     for ac_exec_ext in '' $ac_executable_extensions; do
 8259:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8260:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 8261:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8262:     break 2
 8263:   fi
 8264: done
 8265:   done
 8266: IFS=$as_save_IFS
 8267: 
 8268: fi
 8269: fi
 8270: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 8271: if test -n "$ac_ct_OTOOL64"; then
 8272:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 8273: $as_echo "$ac_ct_OTOOL64" >&6; }
 8274: else
 8275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8276: $as_echo "no" >&6; }
 8277: fi
 8278: 
 8279:   if test "x$ac_ct_OTOOL64" = x; then
 8280:     OTOOL64=":"
 8281:   else
 8282:     case $cross_compiling:$ac_tool_warned in
 8283: yes:)
 8284: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8285: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8286: ac_tool_warned=yes ;;
 8287: esac
 8288:     OTOOL64=$ac_ct_OTOOL64
 8289:   fi
 8290: else
 8291:   OTOOL64="$ac_cv_prog_OTOOL64"
 8292: fi
 8293: 
 8294: 
 8295: 
 8296: 
 8297: 
 8298: 
 8299: 
 8300: 
 8301: 
 8302: 
 8303: 
 8304: 
 8305: 
 8306: 
 8307: 
 8308: 
 8309: 
 8310: 
 8311: 
 8312: 
 8313: 
 8314: 
 8315: 
 8316: 
 8317: 
 8318: 
 8319: 
 8320:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 8321: $as_echo_n "checking for -single_module linker flag... " >&6; }
 8322: if ${lt_cv_apple_cc_single_mod+:} false; then :
 8323:   $as_echo_n "(cached) " >&6
 8324: else
 8325:   lt_cv_apple_cc_single_mod=no
 8326:       if test -z "${LT_MULTI_MODULE}"; then
 8327: 	# By default we will add the -single_module flag. You can override
 8328: 	# by either setting the environment variable LT_MULTI_MODULE
 8329: 	# non-empty at configure time, or by adding -multi_module to the
 8330: 	# link flags.
 8331: 	rm -rf libconftest.dylib*
 8332: 	echo "int foo(void){return 1;}" > conftest.c
 8333: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8334: -dynamiclib -Wl,-single_module conftest.c" >&5
 8335: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8336: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 8337:         _lt_result=$?
 8338: 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 8339: 	  lt_cv_apple_cc_single_mod=yes
 8340: 	else
 8341: 	  cat conftest.err >&5
 8342: 	fi
 8343: 	rm -rf libconftest.dylib*
 8344: 	rm -f conftest.*
 8345:       fi
 8346: fi
 8347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 8348: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 8349:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 8350: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 8351: if ${lt_cv_ld_exported_symbols_list+:} false; then :
 8352:   $as_echo_n "(cached) " >&6
 8353: else
 8354:   lt_cv_ld_exported_symbols_list=no
 8355:       save_LDFLAGS=$LDFLAGS
 8356:       echo "_main" > conftest.sym
 8357:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 8358:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8359: /* end confdefs.h.  */
 8360: 
 8361: int
 8362: main ()
 8363: {
 8364: 
 8365:   ;
 8366:   return 0;
 8367: }
 8368: _ACEOF
 8369: if ac_fn_c_try_link "$LINENO"; then :
 8370:   lt_cv_ld_exported_symbols_list=yes
 8371: else
 8372:   lt_cv_ld_exported_symbols_list=no
 8373: fi
 8374: rm -f core conftest.err conftest.$ac_objext \
 8375:     conftest$ac_exeext conftest.$ac_ext
 8376: 	LDFLAGS="$save_LDFLAGS"
 8377: 
 8378: fi
 8379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 8380: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 8381:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 8382: $as_echo_n "checking for -force_load linker flag... " >&6; }
 8383: if ${lt_cv_ld_force_load+:} false; then :
 8384:   $as_echo_n "(cached) " >&6
 8385: else
 8386:   lt_cv_ld_force_load=no
 8387:       cat > conftest.c << _LT_EOF
 8388: int forced_loaded() { return 2;}
 8389: _LT_EOF
 8390:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 8391:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 8392:       echo "$AR cru libconftest.a conftest.o" >&5
 8393:       $AR cru libconftest.a conftest.o 2>&5
 8394:       echo "$RANLIB libconftest.a" >&5
 8395:       $RANLIB libconftest.a 2>&5
 8396:       cat > conftest.c << _LT_EOF
 8397: int main() { return 0;}
 8398: _LT_EOF
 8399:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 8400:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 8401:       _lt_result=$?
 8402:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 8403: 	lt_cv_ld_force_load=yes
 8404:       else
 8405: 	cat conftest.err >&5
 8406:       fi
 8407:         rm -f conftest.err libconftest.a conftest conftest.c
 8408:         rm -rf conftest.dSYM
 8409: 
 8410: fi
 8411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 8412: $as_echo "$lt_cv_ld_force_load" >&6; }
 8413:     case $host_os in
 8414:     rhapsody* | darwin1.[012])
 8415:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 8416:     darwin1.*)
 8417:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 8418:     darwin*) # darwin 5.x on
 8419:       # if running on 10.5 or later, the deployment target defaults
 8420:       # to the OS version, if on x86, and 10.4, the deployment
 8421:       # target defaults to 10.4. Don't you love it?
 8422:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 8423: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 8424: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 8425: 	10.[012]*)
 8426: 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 8427: 	10.*)
 8428: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 8429:       esac
 8430:     ;;
 8431:   esac
 8432:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 8433:       _lt_dar_single_mod='$single_module'
 8434:     fi
 8435:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 8436:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 8437:     else
 8438:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 8439:     fi
 8440:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 8441:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 8442:     else
 8443:       _lt_dsymutil=
 8444:     fi
 8445:     ;;
 8446:   esac
 8447: 
 8448: for ac_header in dlfcn.h
 8449: do :
 8450:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 8451: "
 8452: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 8453:   cat >>confdefs.h <<_ACEOF
 8454: #define HAVE_DLFCN_H 1
 8455: _ACEOF
 8456: 
 8457: fi
 8458: 
 8459: done
 8460: 
 8461: 
 8462: 
 8463: func_stripname_cnf ()
 8464: {
 8465:   case ${2} in
 8466:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 8467:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 8468:   esac
 8469: } # func_stripname_cnf
 8470: 
 8471: 
 8472: 
 8473: 
 8474: 
 8475: # Set options
 8476: 
 8477: 
 8478: 
 8479:         enable_dlopen=no
 8480: 
 8481: 
 8482: 
 8483:             # Check whether --enable-shared was given.
 8484: if test "${enable_shared+set}" = set; then :
 8485:   enableval=$enable_shared; p=${PACKAGE-default}
 8486:     case $enableval in
 8487:     yes) enable_shared=yes ;;
 8488:     no) enable_shared=no ;;
 8489:     *)
 8490:       enable_shared=no
 8491:       # Look at the argument we got.  We use all the common list separators.
 8492:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8493:       for pkg in $enableval; do
 8494: 	IFS="$lt_save_ifs"
 8495: 	if test "X$pkg" = "X$p"; then
 8496: 	  enable_shared=yes
 8497: 	fi
 8498:       done
 8499:       IFS="$lt_save_ifs"
 8500:       ;;
 8501:     esac
 8502: else
 8503:   enable_shared=yes
 8504: fi
 8505: 
 8506: 
 8507: 
 8508: 
 8509: 
 8510: 
 8511: 
 8512: 
 8513: 
 8514:   # Check whether --enable-static was given.
 8515: if test "${enable_static+set}" = set; then :
 8516:   enableval=$enable_static; p=${PACKAGE-default}
 8517:     case $enableval in
 8518:     yes) enable_static=yes ;;
 8519:     no) enable_static=no ;;
 8520:     *)
 8521:      enable_static=no
 8522:       # Look at the argument we got.  We use all the common list separators.
 8523:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8524:       for pkg in $enableval; do
 8525: 	IFS="$lt_save_ifs"
 8526: 	if test "X$pkg" = "X$p"; then
 8527: 	  enable_static=yes
 8528: 	fi
 8529:       done
 8530:       IFS="$lt_save_ifs"
 8531:       ;;
 8532:     esac
 8533: else
 8534:   enable_static=yes
 8535: fi
 8536: 
 8537: 
 8538: 
 8539: 
 8540: 
 8541: 
 8542: 
 8543: 
 8544: 
 8545: 
 8546: # Check whether --with-pic was given.
 8547: if test "${with_pic+set}" = set; then :
 8548:   withval=$with_pic; pic_mode="$withval"
 8549: else
 8550:   pic_mode=default
 8551: fi
 8552: 
 8553: 
 8554: test -z "$pic_mode" && pic_mode=default
 8555: 
 8556: 
 8557: 
 8558: 
 8559: 
 8560: 
 8561: 
 8562:   # Check whether --enable-fast-install was given.
 8563: if test "${enable_fast_install+set}" = set; then :
 8564:   enableval=$enable_fast_install; p=${PACKAGE-default}
 8565:     case $enableval in
 8566:     yes) enable_fast_install=yes ;;
 8567:     no) enable_fast_install=no ;;
 8568:     *)
 8569:       enable_fast_install=no
 8570:       # Look at the argument we got.  We use all the common list separators.
 8571:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8572:       for pkg in $enableval; do
 8573: 	IFS="$lt_save_ifs"
 8574: 	if test "X$pkg" = "X$p"; then
 8575: 	  enable_fast_install=yes
 8576: 	fi
 8577:       done
 8578:       IFS="$lt_save_ifs"
 8579:       ;;
 8580:     esac
 8581: else
 8582:   enable_fast_install=yes
 8583: fi
 8584: 
 8585: 
 8586: 
 8587: 
 8588: 
 8589: 
 8590: 
 8591: 
 8592: 
 8593: 
 8594: 
 8595: # This can be used to rebuild libtool when needed
 8596: LIBTOOL_DEPS="$ltmain"
 8597: 
 8598: # Always use our own libtool.
 8599: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 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: test -z "$LN_S" && LN_S="ln -s"
 8627: 
 8628: 
 8629: 
 8630: 
 8631: 
 8632: 
 8633: 
 8634: 
 8635: 
 8636: 
 8637: 
 8638: 
 8639: 
 8640: 
 8641: if test -n "${ZSH_VERSION+set}" ; then
 8642:    setopt NO_GLOB_SUBST
 8643: fi
 8644: 
 8645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 8646: $as_echo_n "checking for objdir... " >&6; }
 8647: if ${lt_cv_objdir+:} false; then :
 8648:   $as_echo_n "(cached) " >&6
 8649: else
 8650:   rm -f .libs 2>/dev/null
 8651: mkdir .libs 2>/dev/null
 8652: if test -d .libs; then
 8653:   lt_cv_objdir=.libs
 8654: else
 8655:   # MS-DOS does not allow filenames that begin with a dot.
 8656:   lt_cv_objdir=_libs
 8657: fi
 8658: rmdir .libs 2>/dev/null
 8659: fi
 8660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 8661: $as_echo "$lt_cv_objdir" >&6; }
 8662: objdir=$lt_cv_objdir
 8663: 
 8664: 
 8665: 
 8666: 
 8667: 
 8668: cat >>confdefs.h <<_ACEOF
 8669: #define LT_OBJDIR "$lt_cv_objdir/"
 8670: _ACEOF
 8671: 
 8672: 
 8673: 
 8674: 
 8675: case $host_os in
 8676: aix3*)
 8677:   # AIX sometimes has problems with the GCC collect2 program.  For some
 8678:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 8679:   # vanish in a puff of smoke.
 8680:   if test "X${COLLECT_NAMES+set}" != Xset; then
 8681:     COLLECT_NAMES=
 8682:     export COLLECT_NAMES
 8683:   fi
 8684:   ;;
 8685: esac
 8686: 
 8687: # Global variables:
 8688: ofile=libtool
 8689: can_build_shared=yes
 8690: 
 8691: # All known linkers require a `.a' archive for static linking (except MSVC,
 8692: # which needs '.lib').
 8693: libext=a
 8694: 
 8695: with_gnu_ld="$lt_cv_prog_gnu_ld"
 8696: 
 8697: old_CC="$CC"
 8698: old_CFLAGS="$CFLAGS"
 8699: 
 8700: # Set sane defaults for various variables
 8701: test -z "$CC" && CC=cc
 8702: test -z "$LTCC" && LTCC=$CC
 8703: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 8704: test -z "$LD" && LD=ld
 8705: test -z "$ac_objext" && ac_objext=o
 8706: 
 8707: for cc_temp in $compiler""; do
 8708:   case $cc_temp in
 8709:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 8710:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 8711:     \-*) ;;
 8712:     *) break;;
 8713:   esac
 8714: done
 8715: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 8716: 
 8717: 
 8718: # Only perform the check for file, if the check method requires it
 8719: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 8720: case $deplibs_check_method in
 8721: file_magic*)
 8722:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 8723:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 8724: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 8725: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8726:   $as_echo_n "(cached) " >&6
 8727: else
 8728:   case $MAGIC_CMD in
 8729: [\\/*] |  ?:[\\/]*)
 8730:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 8731:   ;;
 8732: *)
 8733:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 8734:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8735:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8736:   for ac_dir in $ac_dummy; do
 8737:     IFS="$lt_save_ifs"
 8738:     test -z "$ac_dir" && ac_dir=.
 8739:     if test -f $ac_dir/${ac_tool_prefix}file; then
 8740:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 8741:       if test -n "$file_magic_test_file"; then
 8742: 	case $deplibs_check_method in
 8743: 	"file_magic "*)
 8744: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8745: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8746: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8747: 	    $EGREP "$file_magic_regex" > /dev/null; then
 8748: 	    :
 8749: 	  else
 8750: 	    cat <<_LT_EOF 1>&2
 8751: 
 8752: *** Warning: the command libtool uses to detect shared libraries,
 8753: *** $file_magic_cmd, produces output that libtool cannot recognize.
 8754: *** The result is that libtool may fail to recognize shared libraries
 8755: *** as such.  This will affect the creation of libtool libraries that
 8756: *** depend on shared libraries, but programs linked with such libtool
 8757: *** libraries will work regardless of this problem.  Nevertheless, you
 8758: *** may want to report the problem to your system manager and/or to
 8759: *** bug-libtool@gnu.org
 8760: 
 8761: _LT_EOF
 8762: 	  fi ;;
 8763: 	esac
 8764:       fi
 8765:       break
 8766:     fi
 8767:   done
 8768:   IFS="$lt_save_ifs"
 8769:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 8770:   ;;
 8771: esac
 8772: fi
 8773: 
 8774: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8775: if test -n "$MAGIC_CMD"; then
 8776:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8777: $as_echo "$MAGIC_CMD" >&6; }
 8778: else
 8779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8780: $as_echo "no" >&6; }
 8781: fi
 8782: 
 8783: 
 8784: 
 8785: 
 8786: 
 8787: if test -z "$lt_cv_path_MAGIC_CMD"; then
 8788:   if test -n "$ac_tool_prefix"; then
 8789:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 8790: $as_echo_n "checking for file... " >&6; }
 8791: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8792:   $as_echo_n "(cached) " >&6
 8793: else
 8794:   case $MAGIC_CMD in
 8795: [\\/*] |  ?:[\\/]*)
 8796:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 8797:   ;;
 8798: *)
 8799:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 8800:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8801:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8802:   for ac_dir in $ac_dummy; do
 8803:     IFS="$lt_save_ifs"
 8804:     test -z "$ac_dir" && ac_dir=.
 8805:     if test -f $ac_dir/file; then
 8806:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 8807:       if test -n "$file_magic_test_file"; then
 8808: 	case $deplibs_check_method in
 8809: 	"file_magic "*)
 8810: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8811: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8812: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8813: 	    $EGREP "$file_magic_regex" > /dev/null; then
 8814: 	    :
 8815: 	  else
 8816: 	    cat <<_LT_EOF 1>&2
 8817: 
 8818: *** Warning: the command libtool uses to detect shared libraries,
 8819: *** $file_magic_cmd, produces output that libtool cannot recognize.
 8820: *** The result is that libtool may fail to recognize shared libraries
 8821: *** as such.  This will affect the creation of libtool libraries that
 8822: *** depend on shared libraries, but programs linked with such libtool
 8823: *** libraries will work regardless of this problem.  Nevertheless, you
 8824: *** may want to report the problem to your system manager and/or to
 8825: *** bug-libtool@gnu.org
 8826: 
 8827: _LT_EOF
 8828: 	  fi ;;
 8829: 	esac
 8830:       fi
 8831:       break
 8832:     fi
 8833:   done
 8834:   IFS="$lt_save_ifs"
 8835:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 8836:   ;;
 8837: esac
 8838: fi
 8839: 
 8840: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8841: if test -n "$MAGIC_CMD"; then
 8842:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8843: $as_echo "$MAGIC_CMD" >&6; }
 8844: else
 8845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8846: $as_echo "no" >&6; }
 8847: fi
 8848: 
 8849: 
 8850:   else
 8851:     MAGIC_CMD=:
 8852:   fi
 8853: fi
 8854: 
 8855:   fi
 8856:   ;;
 8857: esac
 8858: 
 8859: # Use C for the default configuration in the libtool script
 8860: 
 8861: lt_save_CC="$CC"
 8862: ac_ext=c
 8863: ac_cpp='$CPP $CPPFLAGS'
 8864: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8865: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8866: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8867: 
 8868: 
 8869: # Source file extension for C test sources.
 8870: ac_ext=c
 8871: 
 8872: # Object file extension for compiled C test sources.
 8873: objext=o
 8874: objext=$objext
 8875: 
 8876: # Code to be used in simple compile tests
 8877: lt_simple_compile_test_code="int some_variable = 0;"
 8878: 
 8879: # Code to be used in simple link tests
 8880: lt_simple_link_test_code='int main(){return(0);}'
 8881: 
 8882: 
 8883: 
 8884: 
 8885: 
 8886: 
 8887: 
 8888: # If no C compiler was specified, use CC.
 8889: LTCC=${LTCC-"$CC"}
 8890: 
 8891: # If no C compiler flags were specified, use CFLAGS.
 8892: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 8893: 
 8894: # Allow CC to be a program name with arguments.
 8895: compiler=$CC
 8896: 
 8897: # Save the default compiler, since it gets overwritten when the other
 8898: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 8899: compiler_DEFAULT=$CC
 8900: 
 8901: # save warnings/boilerplate of simple test code
 8902: ac_outfile=conftest.$ac_objext
 8903: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 8904: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8905: _lt_compiler_boilerplate=`cat conftest.err`
 8906: $RM conftest*
 8907: 
 8908: ac_outfile=conftest.$ac_objext
 8909: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 8910: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8911: _lt_linker_boilerplate=`cat conftest.err`
 8912: $RM -r conftest*
 8913: 
 8914: 
 8915: if test -n "$compiler"; then
 8916: 
 8917: lt_prog_compiler_no_builtin_flag=
 8918: 
 8919: if test "$GCC" = yes; then
 8920:   case $cc_basename in
 8921:   nvcc*)
 8922:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 8923:   *)
 8924:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 8925:   esac
 8926: 
 8927:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 8928: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 8929: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 8930:   $as_echo_n "(cached) " >&6
 8931: else
 8932:   lt_cv_prog_compiler_rtti_exceptions=no
 8933:    ac_outfile=conftest.$ac_objext
 8934:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8935:    lt_compiler_flag="-fno-rtti -fno-exceptions"
 8936:    # Insert the option either (1) after the last *FLAGS variable, or
 8937:    # (2) before a word containing "conftest.", or (3) at the end.
 8938:    # Note that $ac_compile itself does not contain backslashes and begins
 8939:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8940:    # The option is referenced via a variable to avoid confusing sed.
 8941:    lt_compile=`echo "$ac_compile" | $SED \
 8942:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8943:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8944:    -e 's:$: $lt_compiler_flag:'`
 8945:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8946:    (eval "$lt_compile" 2>conftest.err)
 8947:    ac_status=$?
 8948:    cat conftest.err >&5
 8949:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8950:    if (exit $ac_status) && test -s "$ac_outfile"; then
 8951:      # The compiler can only warn and ignore the option if not recognized
 8952:      # So say no if there are warnings other than the usual output.
 8953:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 8954:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8955:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 8956:        lt_cv_prog_compiler_rtti_exceptions=yes
 8957:      fi
 8958:    fi
 8959:    $RM conftest*
 8960: 
 8961: fi
 8962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 8963: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 8964: 
 8965: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 8966:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 8967: else
 8968:     :
 8969: fi
 8970: 
 8971: fi
 8972: 
 8973: 
 8974: 
 8975: 
 8976: 
 8977: 
 8978:   lt_prog_compiler_wl=
 8979: lt_prog_compiler_pic=
 8980: lt_prog_compiler_static=
 8981: 
 8982: 
 8983:   if test "$GCC" = yes; then
 8984:     lt_prog_compiler_wl='-Wl,'
 8985:     lt_prog_compiler_static='-static'
 8986: 
 8987:     case $host_os in
 8988:       aix*)
 8989:       # All AIX code is PIC.
 8990:       if test "$host_cpu" = ia64; then
 8991: 	# AIX 5 now supports IA64 processor
 8992: 	lt_prog_compiler_static='-Bstatic'
 8993:       fi
 8994:       ;;
 8995: 
 8996:     amigaos*)
 8997:       case $host_cpu in
 8998:       powerpc)
 8999:             # see comment about AmigaOS4 .so support
 9000:             lt_prog_compiler_pic='-fPIC'
 9001:         ;;
 9002:       m68k)
 9003:             # FIXME: we need at least 68020 code to build shared libraries, but
 9004:             # adding the `-m68020' flag to GCC prevents building anything better,
 9005:             # like `-m68040'.
 9006:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 9007:         ;;
 9008:       esac
 9009:       ;;
 9010: 
 9011:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 9012:       # PIC is the default for these OSes.
 9013:       ;;
 9014: 
 9015:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9016:       # This hack is so that the source file can tell whether it is being
 9017:       # built for inclusion in a dll (and should export symbols for example).
 9018:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 9019:       # (--disable-auto-import) libraries
 9020:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9021:       ;;
 9022: 
 9023:     darwin* | rhapsody*)
 9024:       # PIC is the default on this platform
 9025:       # Common symbols not allowed in MH_DYLIB files
 9026:       lt_prog_compiler_pic='-fno-common'
 9027:       ;;
 9028: 
 9029:     haiku*)
 9030:       # PIC is the default for Haiku.
 9031:       # The "-static" flag exists, but is broken.
 9032:       lt_prog_compiler_static=
 9033:       ;;
 9034: 
 9035:     hpux*)
 9036:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 9037:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 9038:       # sets the default TLS model and affects inlining.
 9039:       case $host_cpu in
 9040:       hppa*64*)
 9041: 	# +Z the default
 9042: 	;;
 9043:       *)
 9044: 	lt_prog_compiler_pic='-fPIC'
 9045: 	;;
 9046:       esac
 9047:       ;;
 9048: 
 9049:     interix[3-9]*)
 9050:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 9051:       # Instead, we relocate shared libraries at runtime.
 9052:       ;;
 9053: 
 9054:     msdosdjgpp*)
 9055:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 9056:       # on systems that don't support them.
 9057:       lt_prog_compiler_can_build_shared=no
 9058:       enable_shared=no
 9059:       ;;
 9060: 
 9061:     *nto* | *qnx*)
 9062:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9063:       # it will coredump.
 9064:       lt_prog_compiler_pic='-fPIC -shared'
 9065:       ;;
 9066: 
 9067:     sysv4*MP*)
 9068:       if test -d /usr/nec; then
 9069: 	lt_prog_compiler_pic=-Kconform_pic
 9070:       fi
 9071:       ;;
 9072: 
 9073:     *)
 9074:       lt_prog_compiler_pic='-fPIC'
 9075:       ;;
 9076:     esac
 9077: 
 9078:     case $cc_basename in
 9079:     nvcc*) # Cuda Compiler Driver 2.2
 9080:       lt_prog_compiler_wl='-Xlinker '
 9081:       lt_prog_compiler_pic='-Xcompiler -fPIC'
 9082:       ;;
 9083:     esac
 9084:   else
 9085:     # PORTME Check for flag to pass linker flags through the system compiler.
 9086:     case $host_os in
 9087:     aix*)
 9088:       lt_prog_compiler_wl='-Wl,'
 9089:       if test "$host_cpu" = ia64; then
 9090: 	# AIX 5 now supports IA64 processor
 9091: 	lt_prog_compiler_static='-Bstatic'
 9092:       else
 9093: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 9094:       fi
 9095:       ;;
 9096: 
 9097:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9098:       # This hack is so that the source file can tell whether it is being
 9099:       # built for inclusion in a dll (and should export symbols for example).
 9100:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9101:       ;;
 9102: 
 9103:     hpux9* | hpux10* | hpux11*)
 9104:       lt_prog_compiler_wl='-Wl,'
 9105:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 9106:       # not for PA HP-UX.
 9107:       case $host_cpu in
 9108:       hppa*64*|ia64*)
 9109: 	# +Z the default
 9110: 	;;
 9111:       *)
 9112: 	lt_prog_compiler_pic='+Z'
 9113: 	;;
 9114:       esac
 9115:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 9116:       lt_prog_compiler_static='${wl}-a ${wl}archive'
 9117:       ;;
 9118: 
 9119:     irix5* | irix6* | nonstopux*)
 9120:       lt_prog_compiler_wl='-Wl,'
 9121:       # PIC (with -KPIC) is the default.
 9122:       lt_prog_compiler_static='-non_shared'
 9123:       ;;
 9124: 
 9125:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
 9126:       case $cc_basename in
 9127:       # old Intel for x86_64 which still supported -KPIC.
 9128:       ecc*)
 9129: 	lt_prog_compiler_wl='-Wl,'
 9130: 	lt_prog_compiler_pic='-KPIC'
 9131: 	lt_prog_compiler_static='-static'
 9132:         ;;
 9133:       # icc used to be incompatible with GCC.
 9134:       # ICC 10 doesn't accept -KPIC any more.
 9135:       icc* | ifort*)
 9136: 	lt_prog_compiler_wl='-Wl,'
 9137: 	lt_prog_compiler_pic='-fPIC'
 9138: 	lt_prog_compiler_static='-static'
 9139:         ;;
 9140:       # Lahey Fortran 8.1.
 9141:       lf95*)
 9142: 	lt_prog_compiler_wl='-Wl,'
 9143: 	lt_prog_compiler_pic='--shared'
 9144: 	lt_prog_compiler_static='--static'
 9145: 	;;
 9146:       nagfor*)
 9147: 	# NAG Fortran compiler
 9148: 	lt_prog_compiler_wl='-Wl,-Wl,,'
 9149: 	lt_prog_compiler_pic='-PIC'
 9150: 	lt_prog_compiler_static='-Bstatic'
 9151: 	;;
 9152:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 9153:         # Portland Group compilers (*not* the Pentium gcc compiler,
 9154: 	# which looks to be a dead project)
 9155: 	lt_prog_compiler_wl='-Wl,'
 9156: 	lt_prog_compiler_pic='-fpic'
 9157: 	lt_prog_compiler_static='-Bstatic'
 9158:         ;;
 9159:       ccc*)
 9160:         lt_prog_compiler_wl='-Wl,'
 9161:         # All Alpha code is PIC.
 9162:         lt_prog_compiler_static='-non_shared'
 9163:         ;;
 9164:       xl* | bgxl* | bgf* | mpixl*)
 9165: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 9166: 	lt_prog_compiler_wl='-Wl,'
 9167: 	lt_prog_compiler_pic='-qpic'
 9168: 	lt_prog_compiler_static='-qstaticlink'
 9169: 	;;
 9170:       *)
 9171: 	case `$CC -V 2>&1 | sed 5q` in
 9172: 	*Sun\ F* | *Sun*Fortran*)
 9173: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 9174: 	  lt_prog_compiler_pic='-KPIC'
 9175: 	  lt_prog_compiler_static='-Bstatic'
 9176: 	  lt_prog_compiler_wl=''
 9177: 	  ;;
 9178: 	*Sun\ C*)
 9179: 	  # Sun C 5.9
 9180: 	  lt_prog_compiler_pic='-KPIC'
 9181: 	  lt_prog_compiler_static='-Bstatic'
 9182: 	  lt_prog_compiler_wl='-Wl,'
 9183: 	  ;;
 9184: 	esac
 9185: 	;;
 9186:       esac
 9187:       ;;
 9188: 
 9189:     newsos6)
 9190:       lt_prog_compiler_pic='-KPIC'
 9191:       lt_prog_compiler_static='-Bstatic'
 9192:       ;;
 9193: 
 9194:     *nto* | *qnx*)
 9195:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9196:       # it will coredump.
 9197:       lt_prog_compiler_pic='-fPIC -shared'
 9198:       ;;
 9199: 
 9200:     osf3* | osf4* | osf5*)
 9201:       lt_prog_compiler_wl='-Wl,'
 9202:       # All OSF/1 code is PIC.
 9203:       lt_prog_compiler_static='-non_shared'
 9204:       ;;
 9205: 
 9206:     rdos*)
 9207:       lt_prog_compiler_static='-non_shared'
 9208:       ;;
 9209: 
 9210:     solaris*)
 9211:       lt_prog_compiler_pic='-KPIC'
 9212:       lt_prog_compiler_static='-Bstatic'
 9213:       case $cc_basename in
 9214:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 9215: 	lt_prog_compiler_wl='-Qoption ld ';;
 9216:       *)
 9217: 	lt_prog_compiler_wl='-Wl,';;
 9218:       esac
 9219:       ;;
 9220: 
 9221:     sunos4*)
 9222:       lt_prog_compiler_wl='-Qoption ld '
 9223:       lt_prog_compiler_pic='-PIC'
 9224:       lt_prog_compiler_static='-Bstatic'
 9225:       ;;
 9226: 
 9227:     sysv4 | sysv4.2uw2* | sysv4.3*)
 9228:       lt_prog_compiler_wl='-Wl,'
 9229:       lt_prog_compiler_pic='-KPIC'
 9230:       lt_prog_compiler_static='-Bstatic'
 9231:       ;;
 9232: 
 9233:     sysv4*MP*)
 9234:       if test -d /usr/nec ;then
 9235: 	lt_prog_compiler_pic='-Kconform_pic'
 9236: 	lt_prog_compiler_static='-Bstatic'
 9237:       fi
 9238:       ;;
 9239: 
 9240:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 9241:       lt_prog_compiler_wl='-Wl,'
 9242:       lt_prog_compiler_pic='-KPIC'
 9243:       lt_prog_compiler_static='-Bstatic'
 9244:       ;;
 9245: 
 9246:     unicos*)
 9247:       lt_prog_compiler_wl='-Wl,'
 9248:       lt_prog_compiler_can_build_shared=no
 9249:       ;;
 9250: 
 9251:     uts4*)
 9252:       lt_prog_compiler_pic='-pic'
 9253:       lt_prog_compiler_static='-Bstatic'
 9254:       ;;
 9255: 
 9256:     *)
 9257:       lt_prog_compiler_can_build_shared=no
 9258:       ;;
 9259:     esac
 9260:   fi
 9261: 
 9262: case $host_os in
 9263:   # For platforms which do not support PIC, -DPIC is meaningless:
 9264:   *djgpp*)
 9265:     lt_prog_compiler_pic=
 9266:     ;;
 9267:   *)
 9268:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 9269:     ;;
 9270: esac
 9271: 
 9272: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 9273: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 9274: if ${lt_cv_prog_compiler_pic+:} false; then :
 9275:   $as_echo_n "(cached) " >&6
 9276: else
 9277:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 9278: fi
 9279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 9280: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 9281: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 9282: 
 9283: #
 9284: # Check to make sure the PIC flag actually works.
 9285: #
 9286: if test -n "$lt_prog_compiler_pic"; then
 9287:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 9288: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 9289: if ${lt_cv_prog_compiler_pic_works+:} false; then :
 9290:   $as_echo_n "(cached) " >&6
 9291: else
 9292:   lt_cv_prog_compiler_pic_works=no
 9293:    ac_outfile=conftest.$ac_objext
 9294:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9295:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 9296:    # Insert the option either (1) after the last *FLAGS variable, or
 9297:    # (2) before a word containing "conftest.", or (3) at the end.
 9298:    # Note that $ac_compile itself does not contain backslashes and begins
 9299:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9300:    # The option is referenced via a variable to avoid confusing sed.
 9301:    lt_compile=`echo "$ac_compile" | $SED \
 9302:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9303:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9304:    -e 's:$: $lt_compiler_flag:'`
 9305:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9306:    (eval "$lt_compile" 2>conftest.err)
 9307:    ac_status=$?
 9308:    cat conftest.err >&5
 9309:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9310:    if (exit $ac_status) && test -s "$ac_outfile"; then
 9311:      # The compiler can only warn and ignore the option if not recognized
 9312:      # So say no if there are warnings other than the usual output.
 9313:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 9314:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9315:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9316:        lt_cv_prog_compiler_pic_works=yes
 9317:      fi
 9318:    fi
 9319:    $RM conftest*
 9320: 
 9321: fi
 9322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 9323: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 9324: 
 9325: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 9326:     case $lt_prog_compiler_pic in
 9327:      "" | " "*) ;;
 9328:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 9329:      esac
 9330: else
 9331:     lt_prog_compiler_pic=
 9332:      lt_prog_compiler_can_build_shared=no
 9333: fi
 9334: 
 9335: fi
 9336: 
 9337: 
 9338: 
 9339: 
 9340: 
 9341: 
 9342: 
 9343: 
 9344: 
 9345: 
 9346: 
 9347: #
 9348: # Check to make sure the static flag actually works.
 9349: #
 9350: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 9351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 9352: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 9353: if ${lt_cv_prog_compiler_static_works+:} false; then :
 9354:   $as_echo_n "(cached) " >&6
 9355: else
 9356:   lt_cv_prog_compiler_static_works=no
 9357:    save_LDFLAGS="$LDFLAGS"
 9358:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 9359:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 9360:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 9361:      # The linker can only warn and ignore the option if not recognized
 9362:      # So say no if there are warnings
 9363:      if test -s conftest.err; then
 9364:        # Append any errors to the config.log.
 9365:        cat conftest.err 1>&5
 9366:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 9367:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9368:        if diff conftest.exp conftest.er2 >/dev/null; then
 9369:          lt_cv_prog_compiler_static_works=yes
 9370:        fi
 9371:      else
 9372:        lt_cv_prog_compiler_static_works=yes
 9373:      fi
 9374:    fi
 9375:    $RM -r conftest*
 9376:    LDFLAGS="$save_LDFLAGS"
 9377: 
 9378: fi
 9379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 9380: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 9381: 
 9382: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 9383:     :
 9384: else
 9385:     lt_prog_compiler_static=
 9386: fi
 9387: 
 9388: 
 9389: 
 9390: 
 9391: 
 9392: 
 9393: 
 9394:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9395: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9396: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9397:   $as_echo_n "(cached) " >&6
 9398: else
 9399:   lt_cv_prog_compiler_c_o=no
 9400:    $RM -r conftest 2>/dev/null
 9401:    mkdir conftest
 9402:    cd conftest
 9403:    mkdir out
 9404:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9405: 
 9406:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9407:    # Insert the option either (1) after the last *FLAGS variable, or
 9408:    # (2) before a word containing "conftest.", or (3) at the end.
 9409:    # Note that $ac_compile itself does not contain backslashes and begins
 9410:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9411:    lt_compile=`echo "$ac_compile" | $SED \
 9412:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9413:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9414:    -e 's:$: $lt_compiler_flag:'`
 9415:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9416:    (eval "$lt_compile" 2>out/conftest.err)
 9417:    ac_status=$?
 9418:    cat out/conftest.err >&5
 9419:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9420:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9421:    then
 9422:      # The compiler can only warn and ignore the option if not recognized
 9423:      # So say no if there are warnings
 9424:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9425:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9426:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9427:        lt_cv_prog_compiler_c_o=yes
 9428:      fi
 9429:    fi
 9430:    chmod u+w . 2>&5
 9431:    $RM conftest*
 9432:    # SGI C++ compiler will create directory out/ii_files/ for
 9433:    # template instantiation
 9434:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9435:    $RM out/* && rmdir out
 9436:    cd ..
 9437:    $RM -r conftest
 9438:    $RM conftest*
 9439: 
 9440: fi
 9441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9442: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9443: 
 9444: 
 9445: 
 9446: 
 9447: 
 9448: 
 9449:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9450: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9451: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9452:   $as_echo_n "(cached) " >&6
 9453: else
 9454:   lt_cv_prog_compiler_c_o=no
 9455:    $RM -r conftest 2>/dev/null
 9456:    mkdir conftest
 9457:    cd conftest
 9458:    mkdir out
 9459:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9460: 
 9461:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9462:    # Insert the option either (1) after the last *FLAGS variable, or
 9463:    # (2) before a word containing "conftest.", or (3) at the end.
 9464:    # Note that $ac_compile itself does not contain backslashes and begins
 9465:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9466:    lt_compile=`echo "$ac_compile" | $SED \
 9467:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9468:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9469:    -e 's:$: $lt_compiler_flag:'`
 9470:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9471:    (eval "$lt_compile" 2>out/conftest.err)
 9472:    ac_status=$?
 9473:    cat out/conftest.err >&5
 9474:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9475:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9476:    then
 9477:      # The compiler can only warn and ignore the option if not recognized
 9478:      # So say no if there are warnings
 9479:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9480:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9481:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9482:        lt_cv_prog_compiler_c_o=yes
 9483:      fi
 9484:    fi
 9485:    chmod u+w . 2>&5
 9486:    $RM conftest*
 9487:    # SGI C++ compiler will create directory out/ii_files/ for
 9488:    # template instantiation
 9489:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9490:    $RM out/* && rmdir out
 9491:    cd ..
 9492:    $RM -r conftest
 9493:    $RM conftest*
 9494: 
 9495: fi
 9496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9497: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9498: 
 9499: 
 9500: 
 9501: 
 9502: hard_links="nottested"
 9503: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 9504:   # do not overwrite the value of need_locks provided by the user
 9505:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 9506: $as_echo_n "checking if we can lock with hard links... " >&6; }
 9507:   hard_links=yes
 9508:   $RM conftest*
 9509:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9510:   touch conftest.a
 9511:   ln conftest.a conftest.b 2>&5 || hard_links=no
 9512:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 9514: $as_echo "$hard_links" >&6; }
 9515:   if test "$hard_links" = no; then
 9516:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 9517: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 9518:     need_locks=warn
 9519:   fi
 9520: else
 9521:   need_locks=no
 9522: fi
 9523: 
 9524: 
 9525: 
 9526: 
 9527: 
 9528: 
 9529:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 9530: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 9531: 
 9532:   runpath_var=
 9533:   allow_undefined_flag=
 9534:   always_export_symbols=no
 9535:   archive_cmds=
 9536:   archive_expsym_cmds=
 9537:   compiler_needs_object=no
 9538:   enable_shared_with_static_runtimes=no
 9539:   export_dynamic_flag_spec=
 9540:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 9541:   hardcode_automatic=no
 9542:   hardcode_direct=no
 9543:   hardcode_direct_absolute=no
 9544:   hardcode_libdir_flag_spec=
 9545:   hardcode_libdir_flag_spec_ld=
 9546:   hardcode_libdir_separator=
 9547:   hardcode_minus_L=no
 9548:   hardcode_shlibpath_var=unsupported
 9549:   inherit_rpath=no
 9550:   link_all_deplibs=unknown
 9551:   module_cmds=
 9552:   module_expsym_cmds=
 9553:   old_archive_from_new_cmds=
 9554:   old_archive_from_expsyms_cmds=
 9555:   thread_safe_flag_spec=
 9556:   whole_archive_flag_spec=
 9557:   # include_expsyms should be a list of space-separated symbols to be *always*
 9558:   # included in the symbol list
 9559:   include_expsyms=
 9560:   # exclude_expsyms can be an extended regexp of symbols to exclude
 9561:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 9562:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 9563:   # as well as any symbol that contains `d'.
 9564:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 9565:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 9566:   # platforms (ab)use it in PIC code, but their linkers get confused if
 9567:   # the symbol is explicitly referenced.  Since portable code cannot
 9568:   # rely on this symbol name, it's probably fine to never include it in
 9569:   # preloaded symbol tables.
 9570:   # Exclude shared library initialization/finalization symbols.
 9571:   extract_expsyms_cmds=
 9572: 
 9573:   case $host_os in
 9574:   cygwin* | mingw* | pw32* | cegcc*)
 9575:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 9576:     # When not using gcc, we currently assume that we are using
 9577:     # Microsoft Visual C++.
 9578:     if test "$GCC" != yes; then
 9579:       with_gnu_ld=no
 9580:     fi
 9581:     ;;
 9582:   interix*)
 9583:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 9584:     with_gnu_ld=yes
 9585:     ;;
 9586:   openbsd*)
 9587:     with_gnu_ld=no
 9588:     ;;
 9589:   esac
 9590: 
 9591:   ld_shlibs=yes
 9592: 
 9593:   # On some targets, GNU ld is compatible enough with the native linker
 9594:   # that we're better off using the native interface for both.
 9595:   lt_use_gnu_ld_interface=no
 9596:   if test "$with_gnu_ld" = yes; then
 9597:     case $host_os in
 9598:       aix*)
 9599: 	# The AIX port of GNU ld has always aspired to compatibility
 9600: 	# with the native linker.  However, as the warning in the GNU ld
 9601: 	# block says, versions before 2.19.5* couldn't really create working
 9602: 	# shared libraries, regardless of the interface used.
 9603: 	case `$LD -v 2>&1` in
 9604: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 9605: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 9606: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 9607: 	  *)
 9608: 	    lt_use_gnu_ld_interface=yes
 9609: 	    ;;
 9610: 	esac
 9611: 	;;
 9612:       *)
 9613: 	lt_use_gnu_ld_interface=yes
 9614: 	;;
 9615:     esac
 9616:   fi
 9617: 
 9618:   if test "$lt_use_gnu_ld_interface" = yes; then
 9619:     # If archive_cmds runs LD, not CC, wlarc should be empty
 9620:     wlarc='${wl}'
 9621: 
 9622:     # Set some defaults for GNU ld with shared library support. These
 9623:     # are reset later if shared libraries are not supported. Putting them
 9624:     # here allows them to be overridden if necessary.
 9625:     runpath_var=LD_RUN_PATH
 9626:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9627:     export_dynamic_flag_spec='${wl}--export-dynamic'
 9628:     # ancient GNU ld didn't support --whole-archive et. al.
 9629:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 9630:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 9631:     else
 9632:       whole_archive_flag_spec=
 9633:     fi
 9634:     supports_anon_versioning=no
 9635:     case `$LD -v 2>&1` in
 9636:       *GNU\ gold*) supports_anon_versioning=yes ;;
 9637:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 9638:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 9639:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 9640:       *\ 2.11.*) ;; # other 2.11 versions
 9641:       *) supports_anon_versioning=yes ;;
 9642:     esac
 9643: 
 9644:     # See if GNU ld supports shared libraries.
 9645:     case $host_os in
 9646:     aix[3-9]*)
 9647:       # On AIX/PPC, the GNU linker is very broken
 9648:       if test "$host_cpu" != ia64; then
 9649: 	ld_shlibs=no
 9650: 	cat <<_LT_EOF 1>&2
 9651: 
 9652: *** Warning: the GNU linker, at least up to release 2.19, is reported
 9653: *** to be unable to reliably create shared libraries on AIX.
 9654: *** Therefore, libtool is disabling shared libraries support.  If you
 9655: *** really care for shared libraries, you may want to install binutils
 9656: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 9657: *** You will then need to restart the configuration process.
 9658: 
 9659: _LT_EOF
 9660:       fi
 9661:       ;;
 9662: 
 9663:     amigaos*)
 9664:       case $host_cpu in
 9665:       powerpc)
 9666:             # see comment about AmigaOS4 .so support
 9667:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9668:             archive_expsym_cmds=''
 9669:         ;;
 9670:       m68k)
 9671:             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)'
 9672:             hardcode_libdir_flag_spec='-L$libdir'
 9673:             hardcode_minus_L=yes
 9674:         ;;
 9675:       esac
 9676:       ;;
 9677: 
 9678:     beos*)
 9679:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9680: 	allow_undefined_flag=unsupported
 9681: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 9682: 	# support --undefined.  This deserves some investigation.  FIXME
 9683: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9684:       else
 9685: 	ld_shlibs=no
 9686:       fi
 9687:       ;;
 9688: 
 9689:     cygwin* | mingw* | pw32* | cegcc*)
 9690:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 9691:       # as there is no search path for DLLs.
 9692:       hardcode_libdir_flag_spec='-L$libdir'
 9693:       export_dynamic_flag_spec='${wl}--export-all-symbols'
 9694:       allow_undefined_flag=unsupported
 9695:       always_export_symbols=no
 9696:       enable_shared_with_static_runtimes=yes
 9697:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 9698:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 9699: 
 9700:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 9701:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9702: 	# If the export-symbols file already is a .def file (1st line
 9703: 	# is EXPORTS), use it as is; otherwise, prepend...
 9704: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 9705: 	  cp $export_symbols $output_objdir/$soname.def;
 9706: 	else
 9707: 	  echo EXPORTS > $output_objdir/$soname.def;
 9708: 	  cat $export_symbols >> $output_objdir/$soname.def;
 9709: 	fi~
 9710: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9711:       else
 9712: 	ld_shlibs=no
 9713:       fi
 9714:       ;;
 9715: 
 9716:     haiku*)
 9717:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9718:       link_all_deplibs=yes
 9719:       ;;
 9720: 
 9721:     interix[3-9]*)
 9722:       hardcode_direct=no
 9723:       hardcode_shlibpath_var=no
 9724:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 9725:       export_dynamic_flag_spec='${wl}-E'
 9726:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 9727:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 9728:       # default) and relocated if they conflict, which is a slow very memory
 9729:       # consuming and fragmenting process.  To avoid this, we pick a random,
 9730:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 9731:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 9732:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 9733:       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'
 9734:       ;;
 9735: 
 9736:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 9737:       tmp_diet=no
 9738:       if test "$host_os" = linux-dietlibc; then
 9739: 	case $cc_basename in
 9740: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 9741: 	esac
 9742:       fi
 9743:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 9744: 	 && test "$tmp_diet" = no
 9745:       then
 9746: 	tmp_addflag=' $pic_flag'
 9747: 	tmp_sharedflag='-shared'
 9748: 	case $cc_basename,$host_cpu in
 9749:         pgcc*)				# Portland Group C compiler
 9750: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 9751: 	  tmp_addflag=' $pic_flag'
 9752: 	  ;;
 9753: 	pgf77* | pgf90* | pgf95* | pgfortran*)
 9754: 					# Portland Group f77 and f90 compilers
 9755: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 9756: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 9757: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 9758: 	  tmp_addflag=' -i_dynamic' ;;
 9759: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 9760: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 9761: 	ifc* | ifort*)			# Intel Fortran compiler
 9762: 	  tmp_addflag=' -nofor_main' ;;
 9763: 	lf95*)				# Lahey Fortran 8.1
 9764: 	  whole_archive_flag_spec=
 9765: 	  tmp_sharedflag='--shared' ;;
 9766: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 9767: 	  tmp_sharedflag='-qmkshrobj'
 9768: 	  tmp_addflag= ;;
 9769: 	nvcc*)	# Cuda Compiler Driver 2.2
 9770: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 9771: 	  compiler_needs_object=yes
 9772: 	  ;;
 9773: 	esac
 9774: 	case `$CC -V 2>&1 | sed 5q` in
 9775: 	*Sun\ C*)			# Sun C 5.9
 9776: 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 9777: 	  compiler_needs_object=yes
 9778: 	  tmp_sharedflag='-G' ;;
 9779: 	*Sun\ F*)			# Sun Fortran 8.3
 9780: 	  tmp_sharedflag='-G' ;;
 9781: 	esac
 9782: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9783: 
 9784:         if test "x$supports_anon_versioning" = xyes; then
 9785:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9786: 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9787: 	    echo "local: *; };" >> $output_objdir/$libname.ver~
 9788: 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 9789:         fi
 9790: 
 9791: 	case $cc_basename in
 9792: 	xlf* | bgf* | bgxlf* | mpixlf*)
 9793: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 9794: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 9795: 	  hardcode_libdir_flag_spec=
 9796: 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
 9797: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 9798: 	  if test "x$supports_anon_versioning" = xyes; then
 9799: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9800: 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9801: 	      echo "local: *; };" >> $output_objdir/$libname.ver~
 9802: 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 9803: 	  fi
 9804: 	  ;;
 9805: 	esac
 9806:       else
 9807:         ld_shlibs=no
 9808:       fi
 9809:       ;;
 9810: 
 9811:     netbsd*)
 9812:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9813: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 9814: 	wlarc=
 9815:       else
 9816: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9817: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9818:       fi
 9819:       ;;
 9820: 
 9821:     solaris*)
 9822:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 9823: 	ld_shlibs=no
 9824: 	cat <<_LT_EOF 1>&2
 9825: 
 9826: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 9827: *** create shared libraries on Solaris systems.  Therefore, libtool
 9828: *** is disabling shared libraries support.  We urge you to upgrade GNU
 9829: *** binutils to release 2.9.1 or newer.  Another option is to modify
 9830: *** your PATH or compiler configuration so that the native linker is
 9831: *** used, and then restart.
 9832: 
 9833: _LT_EOF
 9834:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9835: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9836: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9837:       else
 9838: 	ld_shlibs=no
 9839:       fi
 9840:       ;;
 9841: 
 9842:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 9843:       case `$LD -v 2>&1` in
 9844:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 9845: 	ld_shlibs=no
 9846: 	cat <<_LT_EOF 1>&2
 9847: 
 9848: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 9849: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 9850: *** is disabling shared libraries support.  We urge you to upgrade GNU
 9851: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 9852: *** your PATH or compiler configuration so that the native linker is
 9853: *** used, and then restart.
 9854: 
 9855: _LT_EOF
 9856: 	;;
 9857: 	*)
 9858: 	  # For security reasons, it is highly recommended that you always
 9859: 	  # use absolute paths for naming shared libraries, and exclude the
 9860: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 9861: 	  # requires that you compile everything twice, which is a pain.
 9862: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9863: 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9864: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9865: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9866: 	  else
 9867: 	    ld_shlibs=no
 9868: 	  fi
 9869: 	;;
 9870:       esac
 9871:       ;;
 9872: 
 9873:     sunos4*)
 9874:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 9875:       wlarc=
 9876:       hardcode_direct=yes
 9877:       hardcode_shlibpath_var=no
 9878:       ;;
 9879: 
 9880:     *)
 9881:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9882: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9883: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9884:       else
 9885: 	ld_shlibs=no
 9886:       fi
 9887:       ;;
 9888:     esac
 9889: 
 9890:     if test "$ld_shlibs" = no; then
 9891:       runpath_var=
 9892:       hardcode_libdir_flag_spec=
 9893:       export_dynamic_flag_spec=
 9894:       whole_archive_flag_spec=
 9895:     fi
 9896:   else
 9897:     # PORTME fill in a description of your system's linker (not GNU ld)
 9898:     case $host_os in
 9899:     aix3*)
 9900:       allow_undefined_flag=unsupported
 9901:       always_export_symbols=yes
 9902:       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'
 9903:       # Note: this linker hardcodes the directories in LIBPATH if there
 9904:       # are no directories specified by -L.
 9905:       hardcode_minus_L=yes
 9906:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 9907: 	# Neither direct hardcoding nor static linking is supported with a
 9908: 	# broken collect2.
 9909: 	hardcode_direct=unsupported
 9910:       fi
 9911:       ;;
 9912: 
 9913:     aix[4-9]*)
 9914:       if test "$host_cpu" = ia64; then
 9915: 	# On IA64, the linker does run time linking by default, so we don't
 9916: 	# have to do anything special.
 9917: 	aix_use_runtimelinking=no
 9918: 	exp_sym_flag='-Bexport'
 9919: 	no_entry_flag=""
 9920:       else
 9921: 	# If we're using GNU nm, then we don't want the "-C" option.
 9922: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 9923: 	# Also, AIX nm treats weak defined symbols like other global
 9924: 	# defined symbols, whereas GNU nm marks them as "W".
 9925: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 9926: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 9927: 	else
 9928: 	  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'
 9929: 	fi
 9930: 	aix_use_runtimelinking=no
 9931: 
 9932: 	# Test if we are trying to use run time linking or normal
 9933: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 9934: 	# need to do runtime linking.
 9935: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 9936: 	  for ld_flag in $LDFLAGS; do
 9937: 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 9938: 	    aix_use_runtimelinking=yes
 9939: 	    break
 9940: 	  fi
 9941: 	  done
 9942: 	  ;;
 9943: 	esac
 9944: 
 9945: 	exp_sym_flag='-bexport'
 9946: 	no_entry_flag='-bnoentry'
 9947:       fi
 9948: 
 9949:       # When large executables or shared objects are built, AIX ld can
 9950:       # have problems creating the table of contents.  If linking a library
 9951:       # or program results in "error TOC overflow" add -mminimal-toc to
 9952:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 9953:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 9954: 
 9955:       archive_cmds=''
 9956:       hardcode_direct=yes
 9957:       hardcode_direct_absolute=yes
 9958:       hardcode_libdir_separator=':'
 9959:       link_all_deplibs=yes
 9960:       file_list_spec='${wl}-f,'
 9961: 
 9962:       if test "$GCC" = yes; then
 9963: 	case $host_os in aix4.[012]|aix4.[012].*)
 9964: 	# We only want to do this on AIX 4.2 and lower, the check
 9965: 	# below for broken collect2 doesn't work under 4.3+
 9966: 	  collect2name=`${CC} -print-prog-name=collect2`
 9967: 	  if test -f "$collect2name" &&
 9968: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 9969: 	  then
 9970: 	  # We have reworked collect2
 9971: 	  :
 9972: 	  else
 9973: 	  # We have old collect2
 9974: 	  hardcode_direct=unsupported
 9975: 	  # It fails to find uninstalled libraries when the uninstalled
 9976: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 9977: 	  # to unsupported forces relinking
 9978: 	  hardcode_minus_L=yes
 9979: 	  hardcode_libdir_flag_spec='-L$libdir'
 9980: 	  hardcode_libdir_separator=
 9981: 	  fi
 9982: 	  ;;
 9983: 	esac
 9984: 	shared_flag='-shared'
 9985: 	if test "$aix_use_runtimelinking" = yes; then
 9986: 	  shared_flag="$shared_flag "'${wl}-G'
 9987: 	fi
 9988:       else
 9989: 	# not using gcc
 9990: 	if test "$host_cpu" = ia64; then
 9991: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 9992: 	# chokes on -Wl,-G. The following line is correct:
 9993: 	  shared_flag='-G'
 9994: 	else
 9995: 	  if test "$aix_use_runtimelinking" = yes; then
 9996: 	    shared_flag='${wl}-G'
 9997: 	  else
 9998: 	    shared_flag='${wl}-bM:SRE'
 9999: 	  fi
10000: 	fi
10001:       fi
10002: 
10003:       export_dynamic_flag_spec='${wl}-bexpall'
10004:       # It seems that -bexpall does not export symbols beginning with
10005:       # underscore (_), so it is better to generate a list of symbols to export.
10006:       always_export_symbols=yes
10007:       if test "$aix_use_runtimelinking" = yes; then
10008: 	# Warning - without using the other runtime loading flags (-brtl),
10009: 	# -berok will link without error, but may produce a broken library.
10010: 	allow_undefined_flag='-berok'
10011:         # Determine the default libpath from the value encoded in an
10012:         # empty executable.
10013:         if test "${lt_cv_aix_libpath+set}" = set; then
10014:   aix_libpath=$lt_cv_aix_libpath
10015: else
10016:   if ${lt_cv_aix_libpath_+:} false; then :
10017:   $as_echo_n "(cached) " >&6
10018: else
10019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020: /* end confdefs.h.  */
10021: 
10022: int
10023: main ()
10024: {
10025: 
10026:   ;
10027:   return 0;
10028: }
10029: _ACEOF
10030: if ac_fn_c_try_link "$LINENO"; then :
10031: 
10032:   lt_aix_libpath_sed='
10033:       /Import File Strings/,/^$/ {
10034: 	  /^0/ {
10035: 	      s/^0  *\([^ ]*\) *$/\1/
10036: 	      p
10037: 	  }
10038:       }'
10039:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10040:   # Check for a 64-bit object if we didn't find anything.
10041:   if test -z "$lt_cv_aix_libpath_"; then
10042:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10043:   fi
10044: fi
10045: rm -f core conftest.err conftest.$ac_objext \
10046:     conftest$ac_exeext conftest.$ac_ext
10047:   if test -z "$lt_cv_aix_libpath_"; then
10048:     lt_cv_aix_libpath_="/usr/lib:/lib"
10049:   fi
10050: 
10051: fi
10052: 
10053:   aix_libpath=$lt_cv_aix_libpath_
10054: fi
10055: 
10056:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10057:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10058:       else
10059: 	if test "$host_cpu" = ia64; then
10060: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10061: 	  allow_undefined_flag="-z nodefs"
10062: 	  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"
10063: 	else
10064: 	 # Determine the default libpath from the value encoded in an
10065: 	 # empty executable.
10066: 	 if test "${lt_cv_aix_libpath+set}" = set; then
10067:   aix_libpath=$lt_cv_aix_libpath
10068: else
10069:   if ${lt_cv_aix_libpath_+:} false; then :
10070:   $as_echo_n "(cached) " >&6
10071: else
10072:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073: /* end confdefs.h.  */
10074: 
10075: int
10076: main ()
10077: {
10078: 
10079:   ;
10080:   return 0;
10081: }
10082: _ACEOF
10083: if ac_fn_c_try_link "$LINENO"; then :
10084: 
10085:   lt_aix_libpath_sed='
10086:       /Import File Strings/,/^$/ {
10087: 	  /^0/ {
10088: 	      s/^0  *\([^ ]*\) *$/\1/
10089: 	      p
10090: 	  }
10091:       }'
10092:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10093:   # Check for a 64-bit object if we didn't find anything.
10094:   if test -z "$lt_cv_aix_libpath_"; then
10095:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10096:   fi
10097: fi
10098: rm -f core conftest.err conftest.$ac_objext \
10099:     conftest$ac_exeext conftest.$ac_ext
10100:   if test -z "$lt_cv_aix_libpath_"; then
10101:     lt_cv_aix_libpath_="/usr/lib:/lib"
10102:   fi
10103: 
10104: fi
10105: 
10106:   aix_libpath=$lt_cv_aix_libpath_
10107: fi
10108: 
10109: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10110: 	  # Warning - without using the other run time loading flags,
10111: 	  # -berok will link without error, but may produce a broken library.
10112: 	  no_undefined_flag=' ${wl}-bernotok'
10113: 	  allow_undefined_flag=' ${wl}-berok'
10114: 	  if test "$with_gnu_ld" = yes; then
10115: 	    # We only use this code for GNU lds that support --whole-archive.
10116: 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10117: 	  else
10118: 	    # Exported symbols can be pulled into shared objects from archives
10119: 	    whole_archive_flag_spec='$convenience'
10120: 	  fi
10121: 	  archive_cmds_need_lc=yes
10122: 	  # This is similar to how AIX traditionally builds its shared libraries.
10123: 	  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'
10124: 	fi
10125:       fi
10126:       ;;
10127: 
10128:     amigaos*)
10129:       case $host_cpu in
10130:       powerpc)
10131:             # see comment about AmigaOS4 .so support
10132:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10133:             archive_expsym_cmds=''
10134:         ;;
10135:       m68k)
10136:             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)'
10137:             hardcode_libdir_flag_spec='-L$libdir'
10138:             hardcode_minus_L=yes
10139:         ;;
10140:       esac
10141:       ;;
10142: 
10143:     bsdi[45]*)
10144:       export_dynamic_flag_spec=-rdynamic
10145:       ;;
10146: 
10147:     cygwin* | mingw* | pw32* | cegcc*)
10148:       # When not using gcc, we currently assume that we are using
10149:       # Microsoft Visual C++.
10150:       # hardcode_libdir_flag_spec is actually meaningless, as there is
10151:       # no search path for DLLs.
10152:       case $cc_basename in
10153:       cl*)
10154: 	# Native MSVC
10155: 	hardcode_libdir_flag_spec=' '
10156: 	allow_undefined_flag=unsupported
10157: 	always_export_symbols=yes
10158: 	file_list_spec='@'
10159: 	# Tell ltmain to make .lib files, not .a files.
10160: 	libext=lib
10161: 	# Tell ltmain to make .dll files, not .so files.
10162: 	shrext_cmds=".dll"
10163: 	# FIXME: Setting linknames here is a bad hack.
10164: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10165: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10166: 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10167: 	  else
10168: 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10169: 	  fi~
10170: 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10171: 	  linknames='
10172: 	# The linker will not automatically build a static lib if we build a DLL.
10173: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10174: 	enable_shared_with_static_runtimes=yes
10175: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10176: 	# Don't use ranlib
10177: 	old_postinstall_cmds='chmod 644 $oldlib'
10178: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
10179: 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10180: 	  case $lt_outputfile in
10181: 	    *.exe|*.EXE) ;;
10182: 	    *)
10183: 	      lt_outputfile="$lt_outputfile.exe"
10184: 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10185: 	      ;;
10186: 	  esac~
10187: 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10188: 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10189: 	    $RM "$lt_outputfile.manifest";
10190: 	  fi'
10191: 	;;
10192:       *)
10193: 	# Assume MSVC wrapper
10194: 	hardcode_libdir_flag_spec=' '
10195: 	allow_undefined_flag=unsupported
10196: 	# Tell ltmain to make .lib files, not .a files.
10197: 	libext=lib
10198: 	# Tell ltmain to make .dll files, not .so files.
10199: 	shrext_cmds=".dll"
10200: 	# FIXME: Setting linknames here is a bad hack.
10201: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10202: 	# The linker will automatically build a .lib file if we build a DLL.
10203: 	old_archive_from_new_cmds='true'
10204: 	# FIXME: Should let the user specify the lib program.
10205: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10206: 	enable_shared_with_static_runtimes=yes
10207: 	;;
10208:       esac
10209:       ;;
10210: 
10211:     darwin* | rhapsody*)
10212: 
10213: 
10214:   archive_cmds_need_lc=no
10215:   hardcode_direct=no
10216:   hardcode_automatic=yes
10217:   hardcode_shlibpath_var=unsupported
10218:   if test "$lt_cv_ld_force_load" = "yes"; then
10219:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10220:   else
10221:     whole_archive_flag_spec=''
10222:   fi
10223:   link_all_deplibs=yes
10224:   allow_undefined_flag="$_lt_dar_allow_undefined"
10225:   case $cc_basename in
10226:      ifort*) _lt_dar_can_shared=yes ;;
10227:      *) _lt_dar_can_shared=$GCC ;;
10228:   esac
10229:   if test "$_lt_dar_can_shared" = "yes"; then
10230:     output_verbose_link_cmd=func_echo_all
10231:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10232:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10233:     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}"
10234:     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}"
10235: 
10236:   else
10237:   ld_shlibs=no
10238:   fi
10239: 
10240:       ;;
10241: 
10242:     dgux*)
10243:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10244:       hardcode_libdir_flag_spec='-L$libdir'
10245:       hardcode_shlibpath_var=no
10246:       ;;
10247: 
10248:     freebsd1*)
10249:       ld_shlibs=no
10250:       ;;
10251: 
10252:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10253:     # support.  Future versions do this automatically, but an explicit c++rt0.o
10254:     # does not break anything, and helps significantly (at the cost of a little
10255:     # extra space).
10256:     freebsd2.2*)
10257:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10258:       hardcode_libdir_flag_spec='-R$libdir'
10259:       hardcode_direct=yes
10260:       hardcode_shlibpath_var=no
10261:       ;;
10262: 
10263:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10264:     freebsd2*)
10265:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10266:       hardcode_direct=yes
10267:       hardcode_minus_L=yes
10268:       hardcode_shlibpath_var=no
10269:       ;;
10270: 
10271:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10272:     freebsd* | dragonfly*)
10273:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10274:       hardcode_libdir_flag_spec='-R$libdir'
10275:       hardcode_direct=yes
10276:       hardcode_shlibpath_var=no
10277:       ;;
10278: 
10279:     hpux9*)
10280:       if test "$GCC" = yes; then
10281: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10282:       else
10283: 	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'
10284:       fi
10285:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10286:       hardcode_libdir_separator=:
10287:       hardcode_direct=yes
10288: 
10289:       # hardcode_minus_L: Not really in the search PATH,
10290:       # but as the default location of the library.
10291:       hardcode_minus_L=yes
10292:       export_dynamic_flag_spec='${wl}-E'
10293:       ;;
10294: 
10295:     hpux10*)
10296:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10297: 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10298:       else
10299: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10300:       fi
10301:       if test "$with_gnu_ld" = no; then
10302: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10303: 	hardcode_libdir_flag_spec_ld='+b $libdir'
10304: 	hardcode_libdir_separator=:
10305: 	hardcode_direct=yes
10306: 	hardcode_direct_absolute=yes
10307: 	export_dynamic_flag_spec='${wl}-E'
10308: 	# hardcode_minus_L: Not really in the search PATH,
10309: 	# but as the default location of the library.
10310: 	hardcode_minus_L=yes
10311:       fi
10312:       ;;
10313: 
10314:     hpux11*)
10315:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10316: 	case $host_cpu in
10317: 	hppa*64*)
10318: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10319: 	  ;;
10320: 	ia64*)
10321: 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10322: 	  ;;
10323: 	*)
10324: 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10325: 	  ;;
10326: 	esac
10327:       else
10328: 	case $host_cpu in
10329: 	hppa*64*)
10330: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10331: 	  ;;
10332: 	ia64*)
10333: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10334: 	  ;;
10335: 	*)
10336: 
10337: 	  # Older versions of the 11.00 compiler do not understand -b yet
10338: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10339: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10340: $as_echo_n "checking if $CC understands -b... " >&6; }
10341: if ${lt_cv_prog_compiler__b+:} false; then :
10342:   $as_echo_n "(cached) " >&6
10343: else
10344:   lt_cv_prog_compiler__b=no
10345:    save_LDFLAGS="$LDFLAGS"
10346:    LDFLAGS="$LDFLAGS -b"
10347:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10348:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10349:      # The linker can only warn and ignore the option if not recognized
10350:      # So say no if there are warnings
10351:      if test -s conftest.err; then
10352:        # Append any errors to the config.log.
10353:        cat conftest.err 1>&5
10354:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10355:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10356:        if diff conftest.exp conftest.er2 >/dev/null; then
10357:          lt_cv_prog_compiler__b=yes
10358:        fi
10359:      else
10360:        lt_cv_prog_compiler__b=yes
10361:      fi
10362:    fi
10363:    $RM -r conftest*
10364:    LDFLAGS="$save_LDFLAGS"
10365: 
10366: fi
10367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10368: $as_echo "$lt_cv_prog_compiler__b" >&6; }
10369: 
10370: if test x"$lt_cv_prog_compiler__b" = xyes; then
10371:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10372: else
10373:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10374: fi
10375: 
10376: 	  ;;
10377: 	esac
10378:       fi
10379:       if test "$with_gnu_ld" = no; then
10380: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10381: 	hardcode_libdir_separator=:
10382: 
10383: 	case $host_cpu in
10384: 	hppa*64*|ia64*)
10385: 	  hardcode_direct=no
10386: 	  hardcode_shlibpath_var=no
10387: 	  ;;
10388: 	*)
10389: 	  hardcode_direct=yes
10390: 	  hardcode_direct_absolute=yes
10391: 	  export_dynamic_flag_spec='${wl}-E'
10392: 
10393: 	  # hardcode_minus_L: Not really in the search PATH,
10394: 	  # but as the default location of the library.
10395: 	  hardcode_minus_L=yes
10396: 	  ;;
10397: 	esac
10398:       fi
10399:       ;;
10400: 
10401:     irix5* | irix6* | nonstopux*)
10402:       if test "$GCC" = yes; then
10403: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10404: 	# Try to use the -exported_symbol ld option, if it does not
10405: 	# work, assume that -exports_file does not work either and
10406: 	# implicitly export all symbols.
10407: 	# This should be the same for all languages, so no per-tag cache variable.
10408: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10409: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10410: if ${lt_cv_irix_exported_symbol+:} false; then :
10411:   $as_echo_n "(cached) " >&6
10412: else
10413:   save_LDFLAGS="$LDFLAGS"
10414: 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10415: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416: /* end confdefs.h.  */
10417: int foo (void) { return 0; }
10418: _ACEOF
10419: if ac_fn_c_try_link "$LINENO"; then :
10420:   lt_cv_irix_exported_symbol=yes
10421: else
10422:   lt_cv_irix_exported_symbol=no
10423: fi
10424: rm -f core conftest.err conftest.$ac_objext \
10425:     conftest$ac_exeext conftest.$ac_ext
10426:            LDFLAGS="$save_LDFLAGS"
10427: fi
10428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10429: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10430: 	if test "$lt_cv_irix_exported_symbol" = yes; then
10431:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10432: 	fi
10433:       else
10434: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10435: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10436:       fi
10437:       archive_cmds_need_lc='no'
10438:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10439:       hardcode_libdir_separator=:
10440:       inherit_rpath=yes
10441:       link_all_deplibs=yes
10442:       ;;
10443: 
10444:     netbsd*)
10445:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10446: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10447:       else
10448: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10449:       fi
10450:       hardcode_libdir_flag_spec='-R$libdir'
10451:       hardcode_direct=yes
10452:       hardcode_shlibpath_var=no
10453:       ;;
10454: 
10455:     newsos6)
10456:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10457:       hardcode_direct=yes
10458:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10459:       hardcode_libdir_separator=:
10460:       hardcode_shlibpath_var=no
10461:       ;;
10462: 
10463:     *nto* | *qnx*)
10464:       ;;
10465: 
10466:     openbsd*)
10467:       if test -f /usr/libexec/ld.so; then
10468: 	hardcode_direct=yes
10469: 	hardcode_shlibpath_var=no
10470: 	hardcode_direct_absolute=yes
10471: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10472: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10473: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10474: 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10475: 	  export_dynamic_flag_spec='${wl}-E'
10476: 	else
10477: 	  case $host_os in
10478: 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10479: 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10480: 	     hardcode_libdir_flag_spec='-R$libdir'
10481: 	     ;;
10482: 	   *)
10483: 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10484: 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10485: 	     ;;
10486: 	  esac
10487: 	fi
10488:       else
10489: 	ld_shlibs=no
10490:       fi
10491:       ;;
10492: 
10493:     os2*)
10494:       hardcode_libdir_flag_spec='-L$libdir'
10495:       hardcode_minus_L=yes
10496:       allow_undefined_flag=unsupported
10497:       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'
10498:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10499:       ;;
10500: 
10501:     osf3*)
10502:       if test "$GCC" = yes; then
10503: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10504: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10505:       else
10506: 	allow_undefined_flag=' -expect_unresolved \*'
10507: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10508:       fi
10509:       archive_cmds_need_lc='no'
10510:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10511:       hardcode_libdir_separator=:
10512:       ;;
10513: 
10514:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
10515:       if test "$GCC" = yes; then
10516: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10517: 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10518: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10519:       else
10520: 	allow_undefined_flag=' -expect_unresolved \*'
10521: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10522: 	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~
10523: 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10524: 
10525: 	# Both c and cxx compiler support -rpath directly
10526: 	hardcode_libdir_flag_spec='-rpath $libdir'
10527:       fi
10528:       archive_cmds_need_lc='no'
10529:       hardcode_libdir_separator=:
10530:       ;;
10531: 
10532:     solaris*)
10533:       no_undefined_flag=' -z defs'
10534:       if test "$GCC" = yes; then
10535: 	wlarc='${wl}'
10536: 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10537: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10538: 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10539:       else
10540: 	case `$CC -V 2>&1` in
10541: 	*"Compilers 5.0"*)
10542: 	  wlarc=''
10543: 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10544: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10545: 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10546: 	  ;;
10547: 	*)
10548: 	  wlarc='${wl}'
10549: 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10550: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10551: 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10552: 	  ;;
10553: 	esac
10554:       fi
10555:       hardcode_libdir_flag_spec='-R$libdir'
10556:       hardcode_shlibpath_var=no
10557:       case $host_os in
10558:       solaris2.[0-5] | solaris2.[0-5].*) ;;
10559:       *)
10560: 	# The compiler driver will combine and reorder linker options,
10561: 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10562: 	# but is careful enough not to reorder.
10563: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
10564: 	if test "$GCC" = yes; then
10565: 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10566: 	else
10567: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10568: 	fi
10569: 	;;
10570:       esac
10571:       link_all_deplibs=yes
10572:       ;;
10573: 
10574:     sunos4*)
10575:       if test "x$host_vendor" = xsequent; then
10576: 	# Use $CC to link under sequent, because it throws in some extra .o
10577: 	# files that make .init and .fini sections work.
10578: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10579:       else
10580: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10581:       fi
10582:       hardcode_libdir_flag_spec='-L$libdir'
10583:       hardcode_direct=yes
10584:       hardcode_minus_L=yes
10585:       hardcode_shlibpath_var=no
10586:       ;;
10587: 
10588:     sysv4)
10589:       case $host_vendor in
10590: 	sni)
10591: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10592: 	  hardcode_direct=yes # is this really true???
10593: 	;;
10594: 	siemens)
10595: 	  ## LD is ld it makes a PLAMLIB
10596: 	  ## CC just makes a GrossModule.
10597: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10598: 	  reload_cmds='$CC -r -o $output$reload_objs'
10599: 	  hardcode_direct=no
10600:         ;;
10601: 	motorola)
10602: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10603: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10604: 	;;
10605:       esac
10606:       runpath_var='LD_RUN_PATH'
10607:       hardcode_shlibpath_var=no
10608:       ;;
10609: 
10610:     sysv4.3*)
10611:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612:       hardcode_shlibpath_var=no
10613:       export_dynamic_flag_spec='-Bexport'
10614:       ;;
10615: 
10616:     sysv4*MP*)
10617:       if test -d /usr/nec; then
10618: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10619: 	hardcode_shlibpath_var=no
10620: 	runpath_var=LD_RUN_PATH
10621: 	hardcode_runpath_var=yes
10622: 	ld_shlibs=yes
10623:       fi
10624:       ;;
10625: 
10626:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10627:       no_undefined_flag='${wl}-z,text'
10628:       archive_cmds_need_lc=no
10629:       hardcode_shlibpath_var=no
10630:       runpath_var='LD_RUN_PATH'
10631: 
10632:       if test "$GCC" = yes; then
10633: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10634: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10635:       else
10636: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638:       fi
10639:       ;;
10640: 
10641:     sysv5* | sco3.2v5* | sco5v6*)
10642:       # Note: We can NOT use -z defs as we might desire, because we do not
10643:       # link with -lc, and that would cause any symbols used from libc to
10644:       # always be unresolved, which means just about no library would
10645:       # ever link correctly.  If we're not using GNU ld we use -z text
10646:       # though, which does catch some bad symbols but isn't as heavy-handed
10647:       # as -z defs.
10648:       no_undefined_flag='${wl}-z,text'
10649:       allow_undefined_flag='${wl}-z,nodefs'
10650:       archive_cmds_need_lc=no
10651:       hardcode_shlibpath_var=no
10652:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10653:       hardcode_libdir_separator=':'
10654:       link_all_deplibs=yes
10655:       export_dynamic_flag_spec='${wl}-Bexport'
10656:       runpath_var='LD_RUN_PATH'
10657: 
10658:       if test "$GCC" = yes; then
10659: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661:       else
10662: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664:       fi
10665:       ;;
10666: 
10667:     uts4*)
10668:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10669:       hardcode_libdir_flag_spec='-L$libdir'
10670:       hardcode_shlibpath_var=no
10671:       ;;
10672: 
10673:     *)
10674:       ld_shlibs=no
10675:       ;;
10676:     esac
10677: 
10678:     if test x$host_vendor = xsni; then
10679:       case $host in
10680:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10681: 	export_dynamic_flag_spec='${wl}-Blargedynsym'
10682: 	;;
10683:       esac
10684:     fi
10685:   fi
10686: 
10687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10688: $as_echo "$ld_shlibs" >&6; }
10689: test "$ld_shlibs" = no && can_build_shared=no
10690: 
10691: with_gnu_ld=$with_gnu_ld
10692: 
10693: 
10694: 
10695: 
10696: 
10697: 
10698: 
10699: 
10700: 
10701: 
10702: 
10703: 
10704: 
10705: 
10706: 
10707: #
10708: # Do we need to explicitly link libc?
10709: #
10710: case "x$archive_cmds_need_lc" in
10711: x|xyes)
10712:   # Assume -lc should be added
10713:   archive_cmds_need_lc=yes
10714: 
10715:   if test "$enable_shared" = yes && test "$GCC" = yes; then
10716:     case $archive_cmds in
10717:     *'~'*)
10718:       # FIXME: we may have to deal with multi-command sequences.
10719:       ;;
10720:     '$CC '*)
10721:       # Test whether the compiler implicitly links with -lc since on some
10722:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10723:       # to ld, don't add -lc before -lgcc.
10724:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10725: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10726: if ${lt_cv_archive_cmds_need_lc+:} false; then :
10727:   $as_echo_n "(cached) " >&6
10728: else
10729:   $RM conftest*
10730: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10731: 
10732: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10733:   (eval $ac_compile) 2>&5
10734:   ac_status=$?
10735:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10736:   test $ac_status = 0; } 2>conftest.err; then
10737: 	  soname=conftest
10738: 	  lib=conftest
10739: 	  libobjs=conftest.$ac_objext
10740: 	  deplibs=
10741: 	  wl=$lt_prog_compiler_wl
10742: 	  pic_flag=$lt_prog_compiler_pic
10743: 	  compiler_flags=-v
10744: 	  linker_flags=-v
10745: 	  verstring=
10746: 	  output_objdir=.
10747: 	  libname=conftest
10748: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
10749: 	  allow_undefined_flag=
10750: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10751:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10752:   ac_status=$?
10753:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10754:   test $ac_status = 0; }
10755: 	  then
10756: 	    lt_cv_archive_cmds_need_lc=no
10757: 	  else
10758: 	    lt_cv_archive_cmds_need_lc=yes
10759: 	  fi
10760: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
10761: 	else
10762: 	  cat conftest.err 1>&5
10763: 	fi
10764: 	$RM conftest*
10765: 
10766: fi
10767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10768: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10769:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10770:       ;;
10771:     esac
10772:   fi
10773:   ;;
10774: esac
10775: 
10776: 
10777: 
10778: 
10779: 
10780: 
10781: 
10782: 
10783: 
10784: 
10785: 
10786: 
10787: 
10788: 
10789: 
10790: 
10791: 
10792: 
10793: 
10794: 
10795: 
10796: 
10797: 
10798: 
10799: 
10800: 
10801: 
10802: 
10803: 
10804: 
10805: 
10806: 
10807: 
10808: 
10809: 
10810: 
10811: 
10812: 
10813: 
10814: 
10815: 
10816: 
10817: 
10818: 
10819: 
10820: 
10821: 
10822: 
10823: 
10824: 
10825: 
10826: 
10827: 
10828: 
10829: 
10830: 
10831: 
10832: 
10833: 
10834: 
10835: 
10836: 
10837: 
10838: 
10839: 
10840: 
10841: 
10842: 
10843: 
10844: 
10845: 
10846: 
10847: 
10848: 
10849: 
10850: 
10851: 
10852: 
10853: 
10854: 
10855: 
10856: 
10857: 
10858: 
10859: 
10860: 
10861: 
10862: 
10863: 
10864: 
10865: 
10866: 
10867: 
10868: 
10869: 
10870: 
10871: 
10872: 
10873: 
10874: 
10875: 
10876: 
10877: 
10878: 
10879: 
10880: 
10881: 
10882: 
10883: 
10884: 
10885: 
10886: 
10887: 
10888: 
10889: 
10890: 
10891: 
10892: 
10893: 
10894: 
10895: 
10896: 
10897: 
10898: 
10899: 
10900: 
10901: 
10902: 
10903: 
10904: 
10905: 
10906: 
10907: 
10908: 
10909: 
10910: 
10911: 
10912: 
10913: 
10914: 
10915: 
10916: 
10917: 
10918: 
10919: 
10920: 
10921: 
10922: 
10923: 
10924: 
10925: 
10926: 
10927: 
10928: 
10929: 
10930: 
10931: 
10932:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10933: $as_echo_n "checking dynamic linker characteristics... " >&6; }
10934: 
10935: if test "$GCC" = yes; then
10936:   case $host_os in
10937:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10938:     *) lt_awk_arg="/^libraries:/" ;;
10939:   esac
10940:   case $host_os in
10941:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10942:     *) lt_sed_strip_eq="s,=/,/,g" ;;
10943:   esac
10944:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10945:   case $lt_search_path_spec in
10946:   *\;*)
10947:     # if the path contains ";" then we assume it to be the separator
10948:     # otherwise default to the standard path separator (i.e. ":") - it is
10949:     # assumed that no part of a normal pathname contains ";" but that should
10950:     # okay in the real world where ";" in dirpaths is itself problematic.
10951:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10952:     ;;
10953:   *)
10954:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10955:     ;;
10956:   esac
10957:   # Ok, now we have the path, separated by spaces, we can step through it
10958:   # and add multilib dir if necessary.
10959:   lt_tmp_lt_search_path_spec=
10960:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10961:   for lt_sys_path in $lt_search_path_spec; do
10962:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10963:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10964:     else
10965:       test -d "$lt_sys_path" && \
10966: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10967:     fi
10968:   done
10969:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10970: BEGIN {RS=" "; FS="/|\n";} {
10971:   lt_foo="";
10972:   lt_count=0;
10973:   for (lt_i = NF; lt_i > 0; lt_i--) {
10974:     if ($lt_i != "" && $lt_i != ".") {
10975:       if ($lt_i == "..") {
10976:         lt_count++;
10977:       } else {
10978:         if (lt_count == 0) {
10979:           lt_foo="/" $lt_i lt_foo;
10980:         } else {
10981:           lt_count--;
10982:         }
10983:       }
10984:     }
10985:   }
10986:   if (lt_foo != "") { lt_freq[lt_foo]++; }
10987:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10988: }'`
10989:   # AWK program above erroneously prepends '/' to C:/dos/paths
10990:   # for these hosts.
10991:   case $host_os in
10992:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10993:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10994:   esac
10995:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10996: else
10997:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10998: fi
10999: library_names_spec=
11000: libname_spec='lib$name'
11001: soname_spec=
11002: shrext_cmds=".so"
11003: postinstall_cmds=
11004: postuninstall_cmds=
11005: finish_cmds=
11006: finish_eval=
11007: shlibpath_var=
11008: shlibpath_overrides_runpath=unknown
11009: version_type=none
11010: dynamic_linker="$host_os ld.so"
11011: sys_lib_dlsearch_path_spec="/lib /usr/lib"
11012: need_lib_prefix=unknown
11013: hardcode_into_libs=no
11014: 
11015: # when you set need_version to no, make sure it does not cause -set_version
11016: # flags to be left without arguments
11017: need_version=unknown
11018: 
11019: case $host_os in
11020: aix3*)
11021:   version_type=linux
11022:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11023:   shlibpath_var=LIBPATH
11024: 
11025:   # AIX 3 has no versioning support, so we append a major version to the name.
11026:   soname_spec='${libname}${release}${shared_ext}$major'
11027:   ;;
11028: 
11029: aix[4-9]*)
11030:   version_type=linux
11031:   need_lib_prefix=no
11032:   need_version=no
11033:   hardcode_into_libs=yes
11034:   if test "$host_cpu" = ia64; then
11035:     # AIX 5 supports IA64
11036:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11037:     shlibpath_var=LD_LIBRARY_PATH
11038:   else
11039:     # With GCC up to 2.95.x, collect2 would create an import file
11040:     # for dependence libraries.  The import file would start with
11041:     # the line `#! .'.  This would cause the generated library to
11042:     # depend on `.', always an invalid library.  This was fixed in
11043:     # development snapshots of GCC prior to 3.0.
11044:     case $host_os in
11045:       aix4 | aix4.[01] | aix4.[01].*)
11046:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11047: 	   echo ' yes '
11048: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11049: 	:
11050:       else
11051: 	can_build_shared=no
11052:       fi
11053:       ;;
11054:     esac
11055:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11056:     # soname into executable. Probably we can add versioning support to
11057:     # collect2, so additional links can be useful in future.
11058:     if test "$aix_use_runtimelinking" = yes; then
11059:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11060:       # instead of lib<name>.a to let people know that these are not
11061:       # typical AIX shared libraries.
11062:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063:     else
11064:       # We preserve .a as extension for shared libraries through AIX4.2
11065:       # and later when we are not doing run time linking.
11066:       library_names_spec='${libname}${release}.a $libname.a'
11067:       soname_spec='${libname}${release}${shared_ext}$major'
11068:     fi
11069:     shlibpath_var=LIBPATH
11070:   fi
11071:   ;;
11072: 
11073: amigaos*)
11074:   case $host_cpu in
11075:   powerpc)
11076:     # Since July 2007 AmigaOS4 officially supports .so libraries.
11077:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11078:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079:     ;;
11080:   m68k)
11081:     library_names_spec='$libname.ixlibrary $libname.a'
11082:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11083:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11084:     ;;
11085:   esac
11086:   ;;
11087: 
11088: beos*)
11089:   library_names_spec='${libname}${shared_ext}'
11090:   dynamic_linker="$host_os ld.so"
11091:   shlibpath_var=LIBRARY_PATH
11092:   ;;
11093: 
11094: bsdi[45]*)
11095:   version_type=linux
11096:   need_version=no
11097:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098:   soname_spec='${libname}${release}${shared_ext}$major'
11099:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11100:   shlibpath_var=LD_LIBRARY_PATH
11101:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11102:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11103:   # the default ld.so.conf also contains /usr/contrib/lib and
11104:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11105:   # libtool to hard-code these into programs
11106:   ;;
11107: 
11108: cygwin* | mingw* | pw32* | cegcc*)
11109:   version_type=windows
11110:   shrext_cmds=".dll"
11111:   need_version=no
11112:   need_lib_prefix=no
11113: 
11114:   case $GCC,$cc_basename in
11115:   yes,*)
11116:     # gcc
11117:     library_names_spec='$libname.dll.a'
11118:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11119:     postinstall_cmds='base_file=`basename \${file}`~
11120:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11121:       dldir=$destdir/`dirname \$dlpath`~
11122:       test -d \$dldir || mkdir -p \$dldir~
11123:       $install_prog $dir/$dlname \$dldir/$dlname~
11124:       chmod a+x \$dldir/$dlname~
11125:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11126:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11127:       fi'
11128:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11129:       dlpath=$dir/\$dldll~
11130:        $RM \$dlpath'
11131:     shlibpath_overrides_runpath=yes
11132: 
11133:     case $host_os in
11134:     cygwin*)
11135:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11136:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11137: 
11138:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11139:       ;;
11140:     mingw* | cegcc*)
11141:       # MinGW DLLs use traditional 'lib' prefix
11142:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11143:       ;;
11144:     pw32*)
11145:       # pw32 DLLs use 'pw' prefix rather than 'lib'
11146:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11147:       ;;
11148:     esac
11149:     dynamic_linker='Win32 ld.exe'
11150:     ;;
11151: 
11152:   *,cl*)
11153:     # Native MSVC
11154:     libname_spec='$name'
11155:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11156:     library_names_spec='${libname}.dll.lib'
11157: 
11158:     case $build_os in
11159:     mingw*)
11160:       sys_lib_search_path_spec=
11161:       lt_save_ifs=$IFS
11162:       IFS=';'
11163:       for lt_path in $LIB
11164:       do
11165:         IFS=$lt_save_ifs
11166:         # Let DOS variable expansion print the short 8.3 style file name.
11167:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11168:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11169:       done
11170:       IFS=$lt_save_ifs
11171:       # Convert to MSYS style.
11172:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11173:       ;;
11174:     cygwin*)
11175:       # Convert to unix form, then to dos form, then back to unix form
11176:       # but this time dos style (no spaces!) so that the unix form looks
11177:       # like /cygdrive/c/PROGRA~1:/cygdr...
11178:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11179:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11180:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11181:       ;;
11182:     *)
11183:       sys_lib_search_path_spec="$LIB"
11184:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11185:         # It is most probably a Windows format PATH.
11186:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11187:       else
11188:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11189:       fi
11190:       # FIXME: find the short name or the path components, as spaces are
11191:       # common. (e.g. "Program Files" -> "PROGRA~1")
11192:       ;;
11193:     esac
11194: 
11195:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196:     postinstall_cmds='base_file=`basename \${file}`~
11197:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11198:       dldir=$destdir/`dirname \$dlpath`~
11199:       test -d \$dldir || mkdir -p \$dldir~
11200:       $install_prog $dir/$dlname \$dldir/$dlname'
11201:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11202:       dlpath=$dir/\$dldll~
11203:        $RM \$dlpath'
11204:     shlibpath_overrides_runpath=yes
11205:     dynamic_linker='Win32 link.exe'
11206:     ;;
11207: 
11208:   *)
11209:     # Assume MSVC wrapper
11210:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11211:     dynamic_linker='Win32 ld.exe'
11212:     ;;
11213:   esac
11214:   # FIXME: first we should search . and the directory the executable is in
11215:   shlibpath_var=PATH
11216:   ;;
11217: 
11218: darwin* | rhapsody*)
11219:   dynamic_linker="$host_os dyld"
11220:   version_type=darwin
11221:   need_lib_prefix=no
11222:   need_version=no
11223:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11224:   soname_spec='${libname}${release}${major}$shared_ext'
11225:   shlibpath_overrides_runpath=yes
11226:   shlibpath_var=DYLD_LIBRARY_PATH
11227:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11228: 
11229:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11230:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11231:   ;;
11232: 
11233: dgux*)
11234:   version_type=linux
11235:   need_lib_prefix=no
11236:   need_version=no
11237:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11238:   soname_spec='${libname}${release}${shared_ext}$major'
11239:   shlibpath_var=LD_LIBRARY_PATH
11240:   ;;
11241: 
11242: freebsd1*)
11243:   dynamic_linker=no
11244:   ;;
11245: 
11246: freebsd* | dragonfly*)
11247:   # DragonFly does not have aout.  When/if they implement a new
11248:   # versioning mechanism, adjust this.
11249:   if test -x /usr/bin/objformat; then
11250:     objformat=`/usr/bin/objformat`
11251:   else
11252:     case $host_os in
11253:     freebsd[123]*) objformat=aout ;;
11254:     *) objformat=elf ;;
11255:     esac
11256:   fi
11257:   # Handle Gentoo/FreeBSD as it was Linux
11258:   case $host_vendor in
11259:     gentoo)
11260:       version_type=linux ;;
11261:     *)
11262:       version_type=freebsd-$objformat ;;
11263:   esac
11264: 
11265:   case $version_type in
11266:     freebsd-elf*)
11267:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11268:       need_version=no
11269:       need_lib_prefix=no
11270:       ;;
11271:     freebsd-*)
11272:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11273:       need_version=yes
11274:       ;;
11275:     linux)
11276:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11277:       soname_spec='${libname}${release}${shared_ext}$major'
11278:       need_lib_prefix=no
11279:       need_version=no
11280:       ;;
11281:   esac
11282:   shlibpath_var=LD_LIBRARY_PATH
11283:   case $host_os in
11284:   freebsd2*)
11285:     shlibpath_overrides_runpath=yes
11286:     ;;
11287:   freebsd3.[01]* | freebsdelf3.[01]*)
11288:     shlibpath_overrides_runpath=yes
11289:     hardcode_into_libs=yes
11290:     ;;
11291:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11292:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11293:     shlibpath_overrides_runpath=no
11294:     hardcode_into_libs=yes
11295:     ;;
11296:   *) # from 4.6 on, and DragonFly
11297:     shlibpath_overrides_runpath=yes
11298:     hardcode_into_libs=yes
11299:     ;;
11300:   esac
11301:   ;;
11302: 
11303: gnu*)
11304:   version_type=linux
11305:   need_lib_prefix=no
11306:   need_version=no
11307:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11308:   soname_spec='${libname}${release}${shared_ext}$major'
11309:   shlibpath_var=LD_LIBRARY_PATH
11310:   hardcode_into_libs=yes
11311:   ;;
11312: 
11313: haiku*)
11314:   version_type=linux
11315:   need_lib_prefix=no
11316:   need_version=no
11317:   dynamic_linker="$host_os runtime_loader"
11318:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11319:   soname_spec='${libname}${release}${shared_ext}$major'
11320:   shlibpath_var=LIBRARY_PATH
11321:   shlibpath_overrides_runpath=yes
11322:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11323:   hardcode_into_libs=yes
11324:   ;;
11325: 
11326: hpux9* | hpux10* | hpux11*)
11327:   # Give a soname corresponding to the major version so that dld.sl refuses to
11328:   # link against other versions.
11329:   version_type=sunos
11330:   need_lib_prefix=no
11331:   need_version=no
11332:   case $host_cpu in
11333:   ia64*)
11334:     shrext_cmds='.so'
11335:     hardcode_into_libs=yes
11336:     dynamic_linker="$host_os dld.so"
11337:     shlibpath_var=LD_LIBRARY_PATH
11338:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11339:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340:     soname_spec='${libname}${release}${shared_ext}$major'
11341:     if test "X$HPUX_IA64_MODE" = X32; then
11342:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11343:     else
11344:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11345:     fi
11346:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11347:     ;;
11348:   hppa*64*)
11349:     shrext_cmds='.sl'
11350:     hardcode_into_libs=yes
11351:     dynamic_linker="$host_os dld.sl"
11352:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11353:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11354:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355:     soname_spec='${libname}${release}${shared_ext}$major'
11356:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11357:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11358:     ;;
11359:   *)
11360:     shrext_cmds='.sl'
11361:     dynamic_linker="$host_os dld.sl"
11362:     shlibpath_var=SHLIB_PATH
11363:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11364:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11365:     soname_spec='${libname}${release}${shared_ext}$major'
11366:     ;;
11367:   esac
11368:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11369:   postinstall_cmds='chmod 555 $lib'
11370:   # or fails outright, so override atomically:
11371:   install_override_mode=555
11372:   ;;
11373: 
11374: interix[3-9]*)
11375:   version_type=linux
11376:   need_lib_prefix=no
11377:   need_version=no
11378:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11379:   soname_spec='${libname}${release}${shared_ext}$major'
11380:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11381:   shlibpath_var=LD_LIBRARY_PATH
11382:   shlibpath_overrides_runpath=no
11383:   hardcode_into_libs=yes
11384:   ;;
11385: 
11386: irix5* | irix6* | nonstopux*)
11387:   case $host_os in
11388:     nonstopux*) version_type=nonstopux ;;
11389:     *)
11390: 	if test "$lt_cv_prog_gnu_ld" = yes; then
11391: 		version_type=linux
11392: 	else
11393: 		version_type=irix
11394: 	fi ;;
11395:   esac
11396:   need_lib_prefix=no
11397:   need_version=no
11398:   soname_spec='${libname}${release}${shared_ext}$major'
11399:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11400:   case $host_os in
11401:   irix5* | nonstopux*)
11402:     libsuff= shlibsuff=
11403:     ;;
11404:   *)
11405:     case $LD in # libtool.m4 will add one of these switches to LD
11406:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11407:       libsuff= shlibsuff= libmagic=32-bit;;
11408:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11409:       libsuff=32 shlibsuff=N32 libmagic=N32;;
11410:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11411:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11412:     *) libsuff= shlibsuff= libmagic=never-match;;
11413:     esac
11414:     ;;
11415:   esac
11416:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11417:   shlibpath_overrides_runpath=no
11418:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11419:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11420:   hardcode_into_libs=yes
11421:   ;;
11422: 
11423: # No shared lib support for Linux oldld, aout, or coff.
11424: linux*oldld* | linux*aout* | linux*coff*)
11425:   dynamic_linker=no
11426:   ;;
11427: 
11428: # This must be Linux ELF.
11429: linux* | k*bsd*-gnu | kopensolaris*-gnu)
11430:   version_type=linux
11431:   need_lib_prefix=no
11432:   need_version=no
11433:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434:   soname_spec='${libname}${release}${shared_ext}$major'
11435:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11436:   shlibpath_var=LD_LIBRARY_PATH
11437:   shlibpath_overrides_runpath=no
11438: 
11439:   # Some binutils ld are patched to set DT_RUNPATH
11440:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11441:   $as_echo_n "(cached) " >&6
11442: else
11443:   lt_cv_shlibpath_overrides_runpath=no
11444:     save_LDFLAGS=$LDFLAGS
11445:     save_libdir=$libdir
11446:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11447: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11448:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449: /* end confdefs.h.  */
11450: 
11451: int
11452: main ()
11453: {
11454: 
11455:   ;
11456:   return 0;
11457: }
11458: _ACEOF
11459: if ac_fn_c_try_link "$LINENO"; then :
11460:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11461:   lt_cv_shlibpath_overrides_runpath=yes
11462: fi
11463: fi
11464: rm -f core conftest.err conftest.$ac_objext \
11465:     conftest$ac_exeext conftest.$ac_ext
11466:     LDFLAGS=$save_LDFLAGS
11467:     libdir=$save_libdir
11468: 
11469: fi
11470: 
11471:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11472: 
11473:   # This implies no fast_install, which is unacceptable.
11474:   # Some rework will be needed to allow for fast_install
11475:   # before this can be enabled.
11476:   hardcode_into_libs=yes
11477: 
11478:   # Append ld.so.conf contents to the search path
11479:   if test -f /etc/ld.so.conf; then
11480:     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;s/"//g;/^$/d' | tr '\n' ' '`
11481:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11482:   fi
11483: 
11484:   # We used to test for /lib/ld.so.1 and disable shared libraries on
11485:   # powerpc, because MkLinux only supported shared libraries with the
11486:   # GNU dynamic linker.  Since this was broken with cross compilers,
11487:   # most powerpc-linux boxes support dynamic linking these days and
11488:   # people can always --disable-shared, the test was removed, and we
11489:   # assume the GNU/Linux dynamic linker is in use.
11490:   dynamic_linker='GNU/Linux ld.so'
11491:   ;;
11492: 
11493: netbsd*)
11494:   version_type=sunos
11495:   need_lib_prefix=no
11496:   need_version=no
11497:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11498:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11499:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11500:     dynamic_linker='NetBSD (a.out) ld.so'
11501:   else
11502:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11503:     soname_spec='${libname}${release}${shared_ext}$major'
11504:     dynamic_linker='NetBSD ld.elf_so'
11505:   fi
11506:   shlibpath_var=LD_LIBRARY_PATH
11507:   shlibpath_overrides_runpath=yes
11508:   hardcode_into_libs=yes
11509:   ;;
11510: 
11511: newsos6)
11512:   version_type=linux
11513:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514:   shlibpath_var=LD_LIBRARY_PATH
11515:   shlibpath_overrides_runpath=yes
11516:   ;;
11517: 
11518: *nto* | *qnx*)
11519:   version_type=qnx
11520:   need_lib_prefix=no
11521:   need_version=no
11522:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523:   soname_spec='${libname}${release}${shared_ext}$major'
11524:   shlibpath_var=LD_LIBRARY_PATH
11525:   shlibpath_overrides_runpath=no
11526:   hardcode_into_libs=yes
11527:   dynamic_linker='ldqnx.so'
11528:   ;;
11529: 
11530: openbsd*)
11531:   version_type=sunos
11532:   sys_lib_dlsearch_path_spec="/usr/lib"
11533:   need_lib_prefix=no
11534:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11535:   case $host_os in
11536:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11537:     *)				need_version=no  ;;
11538:   esac
11539:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11540:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11541:   shlibpath_var=LD_LIBRARY_PATH
11542:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11543:     case $host_os in
11544:       openbsd2.[89] | openbsd2.[89].*)
11545: 	shlibpath_overrides_runpath=no
11546: 	;;
11547:       *)
11548: 	shlibpath_overrides_runpath=yes
11549: 	;;
11550:       esac
11551:   else
11552:     shlibpath_overrides_runpath=yes
11553:   fi
11554:   ;;
11555: 
11556: os2*)
11557:   libname_spec='$name'
11558:   shrext_cmds=".dll"
11559:   need_lib_prefix=no
11560:   library_names_spec='$libname${shared_ext} $libname.a'
11561:   dynamic_linker='OS/2 ld.exe'
11562:   shlibpath_var=LIBPATH
11563:   ;;
11564: 
11565: osf3* | osf4* | osf5*)
11566:   version_type=osf
11567:   need_lib_prefix=no
11568:   need_version=no
11569:   soname_spec='${libname}${release}${shared_ext}$major'
11570:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571:   shlibpath_var=LD_LIBRARY_PATH
11572:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11573:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11574:   ;;
11575: 
11576: rdos*)
11577:   dynamic_linker=no
11578:   ;;
11579: 
11580: solaris*)
11581:   version_type=linux
11582:   need_lib_prefix=no
11583:   need_version=no
11584:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585:   soname_spec='${libname}${release}${shared_ext}$major'
11586:   shlibpath_var=LD_LIBRARY_PATH
11587:   shlibpath_overrides_runpath=yes
11588:   hardcode_into_libs=yes
11589:   # ldd complains unless libraries are executable
11590:   postinstall_cmds='chmod +x $lib'
11591:   ;;
11592: 
11593: sunos4*)
11594:   version_type=sunos
11595:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11596:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11597:   shlibpath_var=LD_LIBRARY_PATH
11598:   shlibpath_overrides_runpath=yes
11599:   if test "$with_gnu_ld" = yes; then
11600:     need_lib_prefix=no
11601:   fi
11602:   need_version=yes
11603:   ;;
11604: 
11605: sysv4 | sysv4.3*)
11606:   version_type=linux
11607:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608:   soname_spec='${libname}${release}${shared_ext}$major'
11609:   shlibpath_var=LD_LIBRARY_PATH
11610:   case $host_vendor in
11611:     sni)
11612:       shlibpath_overrides_runpath=no
11613:       need_lib_prefix=no
11614:       runpath_var=LD_RUN_PATH
11615:       ;;
11616:     siemens)
11617:       need_lib_prefix=no
11618:       ;;
11619:     motorola)
11620:       need_lib_prefix=no
11621:       need_version=no
11622:       shlibpath_overrides_runpath=no
11623:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11624:       ;;
11625:   esac
11626:   ;;
11627: 
11628: sysv4*MP*)
11629:   if test -d /usr/nec ;then
11630:     version_type=linux
11631:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11632:     soname_spec='$libname${shared_ext}.$major'
11633:     shlibpath_var=LD_LIBRARY_PATH
11634:   fi
11635:   ;;
11636: 
11637: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11638:   version_type=freebsd-elf
11639:   need_lib_prefix=no
11640:   need_version=no
11641:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11642:   soname_spec='${libname}${release}${shared_ext}$major'
11643:   shlibpath_var=LD_LIBRARY_PATH
11644:   shlibpath_overrides_runpath=yes
11645:   hardcode_into_libs=yes
11646:   if test "$with_gnu_ld" = yes; then
11647:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11648:   else
11649:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11650:     case $host_os in
11651:       sco3.2v5*)
11652:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11653: 	;;
11654:     esac
11655:   fi
11656:   sys_lib_dlsearch_path_spec='/usr/lib'
11657:   ;;
11658: 
11659: tpf*)
11660:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11661:   version_type=linux
11662:   need_lib_prefix=no
11663:   need_version=no
11664:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665:   shlibpath_var=LD_LIBRARY_PATH
11666:   shlibpath_overrides_runpath=no
11667:   hardcode_into_libs=yes
11668:   ;;
11669: 
11670: uts4*)
11671:   version_type=linux
11672:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11673:   soname_spec='${libname}${release}${shared_ext}$major'
11674:   shlibpath_var=LD_LIBRARY_PATH
11675:   ;;
11676: 
11677: *)
11678:   dynamic_linker=no
11679:   ;;
11680: esac
11681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11682: $as_echo "$dynamic_linker" >&6; }
11683: test "$dynamic_linker" = no && can_build_shared=no
11684: 
11685: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11686: if test "$GCC" = yes; then
11687:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11688: fi
11689: 
11690: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11691:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11692: fi
11693: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11694:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11695: fi
11696: 
11697: 
11698: 
11699: 
11700: 
11701: 
11702: 
11703: 
11704: 
11705: 
11706: 
11707: 
11708: 
11709: 
11710: 
11711: 
11712: 
11713: 
11714: 
11715: 
11716: 
11717: 
11718: 
11719: 
11720: 
11721: 
11722: 
11723: 
11724: 
11725: 
11726: 
11727: 
11728: 
11729: 
11730: 
11731: 
11732: 
11733: 
11734: 
11735: 
11736: 
11737: 
11738: 
11739: 
11740: 
11741: 
11742: 
11743: 
11744: 
11745: 
11746: 
11747: 
11748: 
11749: 
11750: 
11751: 
11752: 
11753: 
11754: 
11755: 
11756: 
11757: 
11758: 
11759: 
11760: 
11761: 
11762: 
11763: 
11764: 
11765: 
11766: 
11767: 
11768: 
11769: 
11770: 
11771: 
11772: 
11773: 
11774: 
11775: 
11776: 
11777: 
11778: 
11779: 
11780: 
11781: 
11782: 
11783: 
11784: 
11785: 
11786: 
11787: 
11788:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11789: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11790: hardcode_action=
11791: if test -n "$hardcode_libdir_flag_spec" ||
11792:    test -n "$runpath_var" ||
11793:    test "X$hardcode_automatic" = "Xyes" ; then
11794: 
11795:   # We can hardcode non-existent directories.
11796:   if test "$hardcode_direct" != no &&
11797:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11798:      # have to relink, otherwise we might link with an installed library
11799:      # when we should be linking with a yet-to-be-installed one
11800:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11801:      test "$hardcode_minus_L" != no; then
11802:     # Linking always hardcodes the temporary library directory.
11803:     hardcode_action=relink
11804:   else
11805:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11806:     hardcode_action=immediate
11807:   fi
11808: else
11809:   # We cannot hardcode anything, or else we can only hardcode existing
11810:   # directories.
11811:   hardcode_action=unsupported
11812: fi
11813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11814: $as_echo "$hardcode_action" >&6; }
11815: 
11816: if test "$hardcode_action" = relink ||
11817:    test "$inherit_rpath" = yes; then
11818:   # Fast installation is not supported
11819:   enable_fast_install=no
11820: elif test "$shlibpath_overrides_runpath" = yes ||
11821:      test "$enable_shared" = no; then
11822:   # Fast installation is not necessary
11823:   enable_fast_install=needless
11824: fi
11825: 
11826: 
11827: 
11828: 
11829: 
11830: 
11831:   if test "x$enable_dlopen" != xyes; then
11832:   enable_dlopen=unknown
11833:   enable_dlopen_self=unknown
11834:   enable_dlopen_self_static=unknown
11835: else
11836:   lt_cv_dlopen=no
11837:   lt_cv_dlopen_libs=
11838: 
11839:   case $host_os in
11840:   beos*)
11841:     lt_cv_dlopen="load_add_on"
11842:     lt_cv_dlopen_libs=
11843:     lt_cv_dlopen_self=yes
11844:     ;;
11845: 
11846:   mingw* | pw32* | cegcc*)
11847:     lt_cv_dlopen="LoadLibrary"
11848:     lt_cv_dlopen_libs=
11849:     ;;
11850: 
11851:   cygwin*)
11852:     lt_cv_dlopen="dlopen"
11853:     lt_cv_dlopen_libs=
11854:     ;;
11855: 
11856:   darwin*)
11857:   # if libdl is installed we need to link against it
11858:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11859: $as_echo_n "checking for dlopen in -ldl... " >&6; }
11860: if ${ac_cv_lib_dl_dlopen+:} false; then :
11861:   $as_echo_n "(cached) " >&6
11862: else
11863:   ac_check_lib_save_LIBS=$LIBS
11864: LIBS="-ldl  $LIBS"
11865: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866: /* end confdefs.h.  */
11867: 
11868: /* Override any GCC internal prototype to avoid an error.
11869:    Use char because int might match the return type of a GCC
11870:    builtin and then its argument prototype would still apply.  */
11871: #ifdef __cplusplus
11872: extern "C"
11873: #endif
11874: char dlopen ();
11875: int
11876: main ()
11877: {
11878: return dlopen ();
11879:   ;
11880:   return 0;
11881: }
11882: _ACEOF
11883: if ac_fn_c_try_link "$LINENO"; then :
11884:   ac_cv_lib_dl_dlopen=yes
11885: else
11886:   ac_cv_lib_dl_dlopen=no
11887: fi
11888: rm -f core conftest.err conftest.$ac_objext \
11889:     conftest$ac_exeext conftest.$ac_ext
11890: LIBS=$ac_check_lib_save_LIBS
11891: fi
11892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11893: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11894: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11895:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11896: else
11897: 
11898:     lt_cv_dlopen="dyld"
11899:     lt_cv_dlopen_libs=
11900:     lt_cv_dlopen_self=yes
11901: 
11902: fi
11903: 
11904:     ;;
11905: 
11906:   *)
11907:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11908: if test "x$ac_cv_func_shl_load" = xyes; then :
11909:   lt_cv_dlopen="shl_load"
11910: else
11911:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11912: $as_echo_n "checking for shl_load in -ldld... " >&6; }
11913: if ${ac_cv_lib_dld_shl_load+:} false; then :
11914:   $as_echo_n "(cached) " >&6
11915: else
11916:   ac_check_lib_save_LIBS=$LIBS
11917: LIBS="-ldld  $LIBS"
11918: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919: /* end confdefs.h.  */
11920: 
11921: /* Override any GCC internal prototype to avoid an error.
11922:    Use char because int might match the return type of a GCC
11923:    builtin and then its argument prototype would still apply.  */
11924: #ifdef __cplusplus
11925: extern "C"
11926: #endif
11927: char shl_load ();
11928: int
11929: main ()
11930: {
11931: return shl_load ();
11932:   ;
11933:   return 0;
11934: }
11935: _ACEOF
11936: if ac_fn_c_try_link "$LINENO"; then :
11937:   ac_cv_lib_dld_shl_load=yes
11938: else
11939:   ac_cv_lib_dld_shl_load=no
11940: fi
11941: rm -f core conftest.err conftest.$ac_objext \
11942:     conftest$ac_exeext conftest.$ac_ext
11943: LIBS=$ac_check_lib_save_LIBS
11944: fi
11945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11946: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11947: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11948:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11949: else
11950:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11951: if test "x$ac_cv_func_dlopen" = xyes; then :
11952:   lt_cv_dlopen="dlopen"
11953: else
11954:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11955: $as_echo_n "checking for dlopen in -ldl... " >&6; }
11956: if ${ac_cv_lib_dl_dlopen+:} false; then :
11957:   $as_echo_n "(cached) " >&6
11958: else
11959:   ac_check_lib_save_LIBS=$LIBS
11960: LIBS="-ldl  $LIBS"
11961: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962: /* end confdefs.h.  */
11963: 
11964: /* Override any GCC internal prototype to avoid an error.
11965:    Use char because int might match the return type of a GCC
11966:    builtin and then its argument prototype would still apply.  */
11967: #ifdef __cplusplus
11968: extern "C"
11969: #endif
11970: char dlopen ();
11971: int
11972: main ()
11973: {
11974: return dlopen ();
11975:   ;
11976:   return 0;
11977: }
11978: _ACEOF
11979: if ac_fn_c_try_link "$LINENO"; then :
11980:   ac_cv_lib_dl_dlopen=yes
11981: else
11982:   ac_cv_lib_dl_dlopen=no
11983: fi
11984: rm -f core conftest.err conftest.$ac_objext \
11985:     conftest$ac_exeext conftest.$ac_ext
11986: LIBS=$ac_check_lib_save_LIBS
11987: fi
11988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11989: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11990: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11991:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11992: else
11993:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11994: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11995: if ${ac_cv_lib_svld_dlopen+:} false; then :
11996:   $as_echo_n "(cached) " >&6
11997: else
11998:   ac_check_lib_save_LIBS=$LIBS
11999: LIBS="-lsvld  $LIBS"
12000: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001: /* end confdefs.h.  */
12002: 
12003: /* Override any GCC internal prototype to avoid an error.
12004:    Use char because int might match the return type of a GCC
12005:    builtin and then its argument prototype would still apply.  */
12006: #ifdef __cplusplus
12007: extern "C"
12008: #endif
12009: char dlopen ();
12010: int
12011: main ()
12012: {
12013: return dlopen ();
12014:   ;
12015:   return 0;
12016: }
12017: _ACEOF
12018: if ac_fn_c_try_link "$LINENO"; then :
12019:   ac_cv_lib_svld_dlopen=yes
12020: else
12021:   ac_cv_lib_svld_dlopen=no
12022: fi
12023: rm -f core conftest.err conftest.$ac_objext \
12024:     conftest$ac_exeext conftest.$ac_ext
12025: LIBS=$ac_check_lib_save_LIBS
12026: fi
12027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12028: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12029: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12030:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12031: else
12032:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12033: $as_echo_n "checking for dld_link in -ldld... " >&6; }
12034: if ${ac_cv_lib_dld_dld_link+:} false; then :
12035:   $as_echo_n "(cached) " >&6
12036: else
12037:   ac_check_lib_save_LIBS=$LIBS
12038: LIBS="-ldld  $LIBS"
12039: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040: /* end confdefs.h.  */
12041: 
12042: /* Override any GCC internal prototype to avoid an error.
12043:    Use char because int might match the return type of a GCC
12044:    builtin and then its argument prototype would still apply.  */
12045: #ifdef __cplusplus
12046: extern "C"
12047: #endif
12048: char dld_link ();
12049: int
12050: main ()
12051: {
12052: return dld_link ();
12053:   ;
12054:   return 0;
12055: }
12056: _ACEOF
12057: if ac_fn_c_try_link "$LINENO"; then :
12058:   ac_cv_lib_dld_dld_link=yes
12059: else
12060:   ac_cv_lib_dld_dld_link=no
12061: fi
12062: rm -f core conftest.err conftest.$ac_objext \
12063:     conftest$ac_exeext conftest.$ac_ext
12064: LIBS=$ac_check_lib_save_LIBS
12065: fi
12066: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12067: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12068: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12069:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12070: fi
12071: 
12072: 
12073: fi
12074: 
12075: 
12076: fi
12077: 
12078: 
12079: fi
12080: 
12081: 
12082: fi
12083: 
12084: 
12085: fi
12086: 
12087:     ;;
12088:   esac
12089: 
12090:   if test "x$lt_cv_dlopen" != xno; then
12091:     enable_dlopen=yes
12092:   else
12093:     enable_dlopen=no
12094:   fi
12095: 
12096:   case $lt_cv_dlopen in
12097:   dlopen)
12098:     save_CPPFLAGS="$CPPFLAGS"
12099:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12100: 
12101:     save_LDFLAGS="$LDFLAGS"
12102:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12103: 
12104:     save_LIBS="$LIBS"
12105:     LIBS="$lt_cv_dlopen_libs $LIBS"
12106: 
12107:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12108: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12109: if ${lt_cv_dlopen_self+:} false; then :
12110:   $as_echo_n "(cached) " >&6
12111: else
12112:   	  if test "$cross_compiling" = yes; then :
12113:   lt_cv_dlopen_self=cross
12114: else
12115:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12116:   lt_status=$lt_dlunknown
12117:   cat > conftest.$ac_ext <<_LT_EOF
12118: #line $LINENO "configure"
12119: #include "confdefs.h"
12120: 
12121: #if HAVE_DLFCN_H
12122: #include <dlfcn.h>
12123: #endif
12124: 
12125: #include <stdio.h>
12126: 
12127: #ifdef RTLD_GLOBAL
12128: #  define LT_DLGLOBAL		RTLD_GLOBAL
12129: #else
12130: #  ifdef DL_GLOBAL
12131: #    define LT_DLGLOBAL		DL_GLOBAL
12132: #  else
12133: #    define LT_DLGLOBAL		0
12134: #  endif
12135: #endif
12136: 
12137: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12138:    find out it does not work in some platform. */
12139: #ifndef LT_DLLAZY_OR_NOW
12140: #  ifdef RTLD_LAZY
12141: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12142: #  else
12143: #    ifdef DL_LAZY
12144: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12145: #    else
12146: #      ifdef RTLD_NOW
12147: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12148: #      else
12149: #        ifdef DL_NOW
12150: #          define LT_DLLAZY_OR_NOW	DL_NOW
12151: #        else
12152: #          define LT_DLLAZY_OR_NOW	0
12153: #        endif
12154: #      endif
12155: #    endif
12156: #  endif
12157: #endif
12158: 
12159: /* When -fvisbility=hidden is used, assume the code has been annotated
12160:    correspondingly for the symbols needed.  */
12161: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12162: int fnord () __attribute__((visibility("default")));
12163: #endif
12164: 
12165: int fnord () { return 42; }
12166: int main ()
12167: {
12168:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12169:   int status = $lt_dlunknown;
12170: 
12171:   if (self)
12172:     {
12173:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12174:       else
12175:         {
12176: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12177:           else puts (dlerror ());
12178: 	}
12179:       /* dlclose (self); */
12180:     }
12181:   else
12182:     puts (dlerror ());
12183: 
12184:   return status;
12185: }
12186: _LT_EOF
12187:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12188:   (eval $ac_link) 2>&5
12189:   ac_status=$?
12190:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12191:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12192:     (./conftest; exit; ) >&5 2>/dev/null
12193:     lt_status=$?
12194:     case x$lt_status in
12195:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12196:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12197:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12198:     esac
12199:   else :
12200:     # compilation failed
12201:     lt_cv_dlopen_self=no
12202:   fi
12203: fi
12204: rm -fr conftest*
12205: 
12206: 
12207: fi
12208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12209: $as_echo "$lt_cv_dlopen_self" >&6; }
12210: 
12211:     if test "x$lt_cv_dlopen_self" = xyes; then
12212:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12213:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12214: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12215: if ${lt_cv_dlopen_self_static+:} false; then :
12216:   $as_echo_n "(cached) " >&6
12217: else
12218:   	  if test "$cross_compiling" = yes; then :
12219:   lt_cv_dlopen_self_static=cross
12220: else
12221:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12222:   lt_status=$lt_dlunknown
12223:   cat > conftest.$ac_ext <<_LT_EOF
12224: #line $LINENO "configure"
12225: #include "confdefs.h"
12226: 
12227: #if HAVE_DLFCN_H
12228: #include <dlfcn.h>
12229: #endif
12230: 
12231: #include <stdio.h>
12232: 
12233: #ifdef RTLD_GLOBAL
12234: #  define LT_DLGLOBAL		RTLD_GLOBAL
12235: #else
12236: #  ifdef DL_GLOBAL
12237: #    define LT_DLGLOBAL		DL_GLOBAL
12238: #  else
12239: #    define LT_DLGLOBAL		0
12240: #  endif
12241: #endif
12242: 
12243: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12244:    find out it does not work in some platform. */
12245: #ifndef LT_DLLAZY_OR_NOW
12246: #  ifdef RTLD_LAZY
12247: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12248: #  else
12249: #    ifdef DL_LAZY
12250: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12251: #    else
12252: #      ifdef RTLD_NOW
12253: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12254: #      else
12255: #        ifdef DL_NOW
12256: #          define LT_DLLAZY_OR_NOW	DL_NOW
12257: #        else
12258: #          define LT_DLLAZY_OR_NOW	0
12259: #        endif
12260: #      endif
12261: #    endif
12262: #  endif
12263: #endif
12264: 
12265: /* When -fvisbility=hidden is used, assume the code has been annotated
12266:    correspondingly for the symbols needed.  */
12267: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12268: int fnord () __attribute__((visibility("default")));
12269: #endif
12270: 
12271: int fnord () { return 42; }
12272: int main ()
12273: {
12274:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12275:   int status = $lt_dlunknown;
12276: 
12277:   if (self)
12278:     {
12279:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12280:       else
12281:         {
12282: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12283:           else puts (dlerror ());
12284: 	}
12285:       /* dlclose (self); */
12286:     }
12287:   else
12288:     puts (dlerror ());
12289: 
12290:   return status;
12291: }
12292: _LT_EOF
12293:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12294:   (eval $ac_link) 2>&5
12295:   ac_status=$?
12296:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12297:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12298:     (./conftest; exit; ) >&5 2>/dev/null
12299:     lt_status=$?
12300:     case x$lt_status in
12301:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12302:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12303:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12304:     esac
12305:   else :
12306:     # compilation failed
12307:     lt_cv_dlopen_self_static=no
12308:   fi
12309: fi
12310: rm -fr conftest*
12311: 
12312: 
12313: fi
12314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12315: $as_echo "$lt_cv_dlopen_self_static" >&6; }
12316:     fi
12317: 
12318:     CPPFLAGS="$save_CPPFLAGS"
12319:     LDFLAGS="$save_LDFLAGS"
12320:     LIBS="$save_LIBS"
12321:     ;;
12322:   esac
12323: 
12324:   case $lt_cv_dlopen_self in
12325:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12326:   *) enable_dlopen_self=unknown ;;
12327:   esac
12328: 
12329:   case $lt_cv_dlopen_self_static in
12330:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12331:   *) enable_dlopen_self_static=unknown ;;
12332:   esac
12333: fi
12334: 
12335: 
12336: 
12337: 
12338: 
12339: 
12340: 
12341: 
12342: 
12343: 
12344: 
12345: 
12346: 
12347: 
12348: 
12349: 
12350: 
12351: striplib=
12352: old_striplib=
12353: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12354: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12355: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12356:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12357:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12359: $as_echo "yes" >&6; }
12360: else
12361: # FIXME - insert some real tests, host_os isn't really good enough
12362:   case $host_os in
12363:   darwin*)
12364:     if test -n "$STRIP" ; then
12365:       striplib="$STRIP -x"
12366:       old_striplib="$STRIP -S"
12367:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12368: $as_echo "yes" >&6; }
12369:     else
12370:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371: $as_echo "no" >&6; }
12372:     fi
12373:     ;;
12374:   *)
12375:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376: $as_echo "no" >&6; }
12377:     ;;
12378:   esac
12379: fi
12380: 
12381: 
12382: 
12383: 
12384: 
12385: 
12386: 
12387: 
12388: 
12389: 
12390: 
12391: 
12392:   # Report which library types will actually be built
12393:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12394: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12396: $as_echo "$can_build_shared" >&6; }
12397: 
12398:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12399: $as_echo_n "checking whether to build shared libraries... " >&6; }
12400:   test "$can_build_shared" = "no" && enable_shared=no
12401: 
12402:   # On AIX, shared libraries and static libraries use the same namespace, and
12403:   # are all built from PIC.
12404:   case $host_os in
12405:   aix3*)
12406:     test "$enable_shared" = yes && enable_static=no
12407:     if test -n "$RANLIB"; then
12408:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12409:       postinstall_cmds='$RANLIB $lib'
12410:     fi
12411:     ;;
12412: 
12413:   aix[4-9]*)
12414:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12415:       test "$enable_shared" = yes && enable_static=no
12416:     fi
12417:     ;;
12418:   esac
12419:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12420: $as_echo "$enable_shared" >&6; }
12421: 
12422:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12423: $as_echo_n "checking whether to build static libraries... " >&6; }
12424:   # Make sure either enable_shared or enable_static is yes.
12425:   test "$enable_shared" = yes || enable_static=yes
12426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12427: $as_echo "$enable_static" >&6; }
12428: 
12429: 
12430: 
12431: 
12432: fi
12433: ac_ext=c
12434: ac_cpp='$CPP $CPPFLAGS'
12435: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12436: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12437: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12438: 
12439: CC="$lt_save_CC"
12440: 
12441:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12442:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12443:     (test "X$CXX" != "Xg++"))) ; then
12444:   ac_ext=cpp
12445: ac_cpp='$CXXCPP $CPPFLAGS'
12446: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12447: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12448: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12450: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12451: if test -z "$CXXCPP"; then
12452:   if ${ac_cv_prog_CXXCPP+:} false; then :
12453:   $as_echo_n "(cached) " >&6
12454: else
12455:       # Double quotes because CXXCPP needs to be expanded
12456:     for CXXCPP in "$CXX -E" "/lib/cpp"
12457:     do
12458:       ac_preproc_ok=false
12459: for ac_cxx_preproc_warn_flag in '' yes
12460: do
12461:   # Use a header file that comes with gcc, so configuring glibc
12462:   # with a fresh cross-compiler works.
12463:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12464:   # <limits.h> exists even on freestanding compilers.
12465:   # On the NeXT, cc -E runs the code through the compiler's parser,
12466:   # not just through cpp. "Syntax error" is here to catch this case.
12467:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468: /* end confdefs.h.  */
12469: #ifdef __STDC__
12470: # include <limits.h>
12471: #else
12472: # include <assert.h>
12473: #endif
12474: 		     Syntax error
12475: _ACEOF
12476: if ac_fn_cxx_try_cpp "$LINENO"; then :
12477: 
12478: else
12479:   # Broken: fails on valid input.
12480: continue
12481: fi
12482: rm -f conftest.err conftest.i conftest.$ac_ext
12483: 
12484:   # OK, works on sane cases.  Now check whether nonexistent headers
12485:   # can be detected and how.
12486:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487: /* end confdefs.h.  */
12488: #include <ac_nonexistent.h>
12489: _ACEOF
12490: if ac_fn_cxx_try_cpp "$LINENO"; then :
12491:   # Broken: success on invalid input.
12492: continue
12493: else
12494:   # Passes both tests.
12495: ac_preproc_ok=:
12496: break
12497: fi
12498: rm -f conftest.err conftest.i conftest.$ac_ext
12499: 
12500: done
12501: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12502: rm -f conftest.i conftest.err conftest.$ac_ext
12503: if $ac_preproc_ok; then :
12504:   break
12505: fi
12506: 
12507:     done
12508:     ac_cv_prog_CXXCPP=$CXXCPP
12509: 
12510: fi
12511:   CXXCPP=$ac_cv_prog_CXXCPP
12512: else
12513:   ac_cv_prog_CXXCPP=$CXXCPP
12514: fi
12515: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12516: $as_echo "$CXXCPP" >&6; }
12517: ac_preproc_ok=false
12518: for ac_cxx_preproc_warn_flag in '' yes
12519: do
12520:   # Use a header file that comes with gcc, so configuring glibc
12521:   # with a fresh cross-compiler works.
12522:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12523:   # <limits.h> exists even on freestanding compilers.
12524:   # On the NeXT, cc -E runs the code through the compiler's parser,
12525:   # not just through cpp. "Syntax error" is here to catch this case.
12526:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527: /* end confdefs.h.  */
12528: #ifdef __STDC__
12529: # include <limits.h>
12530: #else
12531: # include <assert.h>
12532: #endif
12533: 		     Syntax error
12534: _ACEOF
12535: if ac_fn_cxx_try_cpp "$LINENO"; then :
12536: 
12537: else
12538:   # Broken: fails on valid input.
12539: continue
12540: fi
12541: rm -f conftest.err conftest.i conftest.$ac_ext
12542: 
12543:   # OK, works on sane cases.  Now check whether nonexistent headers
12544:   # can be detected and how.
12545:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546: /* end confdefs.h.  */
12547: #include <ac_nonexistent.h>
12548: _ACEOF
12549: if ac_fn_cxx_try_cpp "$LINENO"; then :
12550:   # Broken: success on invalid input.
12551: continue
12552: else
12553:   # Passes both tests.
12554: ac_preproc_ok=:
12555: break
12556: fi
12557: rm -f conftest.err conftest.i conftest.$ac_ext
12558: 
12559: done
12560: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12561: rm -f conftest.i conftest.err conftest.$ac_ext
12562: if $ac_preproc_ok; then :
12563: 
12564: else
12565:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12566: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12567: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12568: See \`config.log' for more details" "$LINENO" 5; }
12569: fi
12570: 
12571: ac_ext=c
12572: ac_cpp='$CPP $CPPFLAGS'
12573: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12574: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12575: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12576: 
12577: else
12578:   _lt_caught_CXX_error=yes
12579: fi
12580: 
12581: ac_ext=cpp
12582: ac_cpp='$CXXCPP $CPPFLAGS'
12583: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12584: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12585: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12586: 
12587: archive_cmds_need_lc_CXX=no
12588: allow_undefined_flag_CXX=
12589: always_export_symbols_CXX=no
12590: archive_expsym_cmds_CXX=
12591: compiler_needs_object_CXX=no
12592: export_dynamic_flag_spec_CXX=
12593: hardcode_direct_CXX=no
12594: hardcode_direct_absolute_CXX=no
12595: hardcode_libdir_flag_spec_CXX=
12596: hardcode_libdir_flag_spec_ld_CXX=
12597: hardcode_libdir_separator_CXX=
12598: hardcode_minus_L_CXX=no
12599: hardcode_shlibpath_var_CXX=unsupported
12600: hardcode_automatic_CXX=no
12601: inherit_rpath_CXX=no
12602: module_cmds_CXX=
12603: module_expsym_cmds_CXX=
12604: link_all_deplibs_CXX=unknown
12605: old_archive_cmds_CXX=$old_archive_cmds
12606: reload_flag_CXX=$reload_flag
12607: reload_cmds_CXX=$reload_cmds
12608: no_undefined_flag_CXX=
12609: whole_archive_flag_spec_CXX=
12610: enable_shared_with_static_runtimes_CXX=no
12611: 
12612: # Source file extension for C++ test sources.
12613: ac_ext=cpp
12614: 
12615: # Object file extension for compiled C++ test sources.
12616: objext=o
12617: objext_CXX=$objext
12618: 
12619: # No sense in running all these tests if we already determined that
12620: # the CXX compiler isn't working.  Some variables (like enable_shared)
12621: # are currently assumed to apply to all compilers on this platform,
12622: # and will be corrupted by setting them based on a non-working compiler.
12623: if test "$_lt_caught_CXX_error" != yes; then
12624:   # Code to be used in simple compile tests
12625:   lt_simple_compile_test_code="int some_variable = 0;"
12626: 
12627:   # Code to be used in simple link tests
12628:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12629: 
12630:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12631: 
12632: 
12633: 
12634: 
12635: 
12636: 
12637: # If no C compiler was specified, use CC.
12638: LTCC=${LTCC-"$CC"}
12639: 
12640: # If no C compiler flags were specified, use CFLAGS.
12641: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12642: 
12643: # Allow CC to be a program name with arguments.
12644: compiler=$CC
12645: 
12646: 
12647:   # save warnings/boilerplate of simple test code
12648:   ac_outfile=conftest.$ac_objext
12649: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12650: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12651: _lt_compiler_boilerplate=`cat conftest.err`
12652: $RM conftest*
12653: 
12654:   ac_outfile=conftest.$ac_objext
12655: echo "$lt_simple_link_test_code" >conftest.$ac_ext
12656: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12657: _lt_linker_boilerplate=`cat conftest.err`
12658: $RM -r conftest*
12659: 
12660: 
12661:   # Allow CC to be a program name with arguments.
12662:   lt_save_CC=$CC
12663:   lt_save_CFLAGS=$CFLAGS
12664:   lt_save_LD=$LD
12665:   lt_save_GCC=$GCC
12666:   GCC=$GXX
12667:   lt_save_with_gnu_ld=$with_gnu_ld
12668:   lt_save_path_LD=$lt_cv_path_LD
12669:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12670:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12671:   else
12672:     $as_unset lt_cv_prog_gnu_ld
12673:   fi
12674:   if test -n "${lt_cv_path_LDCXX+set}"; then
12675:     lt_cv_path_LD=$lt_cv_path_LDCXX
12676:   else
12677:     $as_unset lt_cv_path_LD
12678:   fi
12679:   test -z "${LDCXX+set}" || LD=$LDCXX
12680:   CC=${CXX-"c++"}
12681:   CFLAGS=$CXXFLAGS
12682:   compiler=$CC
12683:   compiler_CXX=$CC
12684:   for cc_temp in $compiler""; do
12685:   case $cc_temp in
12686:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12687:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12688:     \-*) ;;
12689:     *) break;;
12690:   esac
12691: done
12692: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12693: 
12694: 
12695:   if test -n "$compiler"; then
12696:     # We don't want -fno-exception when compiling C++ code, so set the
12697:     # no_builtin_flag separately
12698:     if test "$GXX" = yes; then
12699:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12700:     else
12701:       lt_prog_compiler_no_builtin_flag_CXX=
12702:     fi
12703: 
12704:     if test "$GXX" = yes; then
12705:       # Set up default GNU C++ configuration
12706: 
12707: 
12708: 
12709: # Check whether --with-gnu-ld was given.
12710: if test "${with_gnu_ld+set}" = set; then :
12711:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12712: else
12713:   with_gnu_ld=no
12714: fi
12715: 
12716: ac_prog=ld
12717: if test "$GCC" = yes; then
12718:   # Check if gcc -print-prog-name=ld gives a path.
12719:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12720: $as_echo_n "checking for ld used by $CC... " >&6; }
12721:   case $host in
12722:   *-*-mingw*)
12723:     # gcc leaves a trailing carriage return which upsets mingw
12724:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12725:   *)
12726:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12727:   esac
12728:   case $ac_prog in
12729:     # Accept absolute paths.
12730:     [\\/]* | ?:[\\/]*)
12731:       re_direlt='/[^/][^/]*/\.\./'
12732:       # Canonicalize the pathname of ld
12733:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12734:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12735: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12736:       done
12737:       test -z "$LD" && LD="$ac_prog"
12738:       ;;
12739:   "")
12740:     # If it fails, then pretend we aren't using GCC.
12741:     ac_prog=ld
12742:     ;;
12743:   *)
12744:     # If it is relative, then search for the first ld in PATH.
12745:     with_gnu_ld=unknown
12746:     ;;
12747:   esac
12748: elif test "$with_gnu_ld" = yes; then
12749:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12750: $as_echo_n "checking for GNU ld... " >&6; }
12751: else
12752:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12753: $as_echo_n "checking for non-GNU ld... " >&6; }
12754: fi
12755: if ${lt_cv_path_LD+:} false; then :
12756:   $as_echo_n "(cached) " >&6
12757: else
12758:   if test -z "$LD"; then
12759:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12760:   for ac_dir in $PATH; do
12761:     IFS="$lt_save_ifs"
12762:     test -z "$ac_dir" && ac_dir=.
12763:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12764:       lt_cv_path_LD="$ac_dir/$ac_prog"
12765:       # Check to see if the program is GNU ld.  I'd rather use --version,
12766:       # but apparently some variants of GNU ld only accept -v.
12767:       # Break only if it was the GNU/non-GNU ld that we prefer.
12768:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12769:       *GNU* | *'with BFD'*)
12770: 	test "$with_gnu_ld" != no && break
12771: 	;;
12772:       *)
12773: 	test "$with_gnu_ld" != yes && break
12774: 	;;
12775:       esac
12776:     fi
12777:   done
12778:   IFS="$lt_save_ifs"
12779: else
12780:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12781: fi
12782: fi
12783: 
12784: LD="$lt_cv_path_LD"
12785: if test -n "$LD"; then
12786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12787: $as_echo "$LD" >&6; }
12788: else
12789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12790: $as_echo "no" >&6; }
12791: fi
12792: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12794: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12795: if ${lt_cv_prog_gnu_ld+:} false; then :
12796:   $as_echo_n "(cached) " >&6
12797: else
12798:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12799: case `$LD -v 2>&1 </dev/null` in
12800: *GNU* | *'with BFD'*)
12801:   lt_cv_prog_gnu_ld=yes
12802:   ;;
12803: *)
12804:   lt_cv_prog_gnu_ld=no
12805:   ;;
12806: esac
12807: fi
12808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12809: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12810: with_gnu_ld=$lt_cv_prog_gnu_ld
12811: 
12812: 
12813: 
12814: 
12815: 
12816: 
12817: 
12818:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12819:       # archiving commands below assume that GNU ld is being used.
12820:       if test "$with_gnu_ld" = yes; then
12821:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12822:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12823: 
12824:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12825:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12826: 
12827:         # If archive_cmds runs LD, not CC, wlarc should be empty
12828:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12829:         #     investigate it a little bit more. (MM)
12830:         wlarc='${wl}'
12831: 
12832:         # ancient GNU ld didn't support --whole-archive et. al.
12833:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12834: 	  $GREP 'no-whole-archive' > /dev/null; then
12835:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12836:         else
12837:           whole_archive_flag_spec_CXX=
12838:         fi
12839:       else
12840:         with_gnu_ld=no
12841:         wlarc=
12842: 
12843:         # A generic and very simple default shared library creation
12844:         # command for GNU C++ for the case where it uses the native
12845:         # linker, instead of GNU ld.  If possible, this setting should
12846:         # overridden to take advantage of the native linker features on
12847:         # the platform it is being used on.
12848:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12849:       fi
12850: 
12851:       # Commands to make compiler produce verbose output that lists
12852:       # what "hidden" libraries, object files and flags are used when
12853:       # linking a shared library.
12854:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12855: 
12856:     else
12857:       GXX=no
12858:       with_gnu_ld=no
12859:       wlarc=
12860:     fi
12861: 
12862:     # PORTME: fill in a description of your system's C++ link characteristics
12863:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12864: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12865:     ld_shlibs_CXX=yes
12866:     case $host_os in
12867:       aix3*)
12868:         # FIXME: insert proper C++ library support
12869:         ld_shlibs_CXX=no
12870:         ;;
12871:       aix[4-9]*)
12872:         if test "$host_cpu" = ia64; then
12873:           # On IA64, the linker does run time linking by default, so we don't
12874:           # have to do anything special.
12875:           aix_use_runtimelinking=no
12876:           exp_sym_flag='-Bexport'
12877:           no_entry_flag=""
12878:         else
12879:           aix_use_runtimelinking=no
12880: 
12881:           # Test if we are trying to use run time linking or normal
12882:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12883:           # need to do runtime linking.
12884:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12885: 	    for ld_flag in $LDFLAGS; do
12886: 	      case $ld_flag in
12887: 	      *-brtl*)
12888: 	        aix_use_runtimelinking=yes
12889: 	        break
12890: 	        ;;
12891: 	      esac
12892: 	    done
12893: 	    ;;
12894:           esac
12895: 
12896:           exp_sym_flag='-bexport'
12897:           no_entry_flag='-bnoentry'
12898:         fi
12899: 
12900:         # When large executables or shared objects are built, AIX ld can
12901:         # have problems creating the table of contents.  If linking a library
12902:         # or program results in "error TOC overflow" add -mminimal-toc to
12903:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12904:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12905: 
12906:         archive_cmds_CXX=''
12907:         hardcode_direct_CXX=yes
12908:         hardcode_direct_absolute_CXX=yes
12909:         hardcode_libdir_separator_CXX=':'
12910:         link_all_deplibs_CXX=yes
12911:         file_list_spec_CXX='${wl}-f,'
12912: 
12913:         if test "$GXX" = yes; then
12914:           case $host_os in aix4.[012]|aix4.[012].*)
12915:           # We only want to do this on AIX 4.2 and lower, the check
12916:           # below for broken collect2 doesn't work under 4.3+
12917: 	  collect2name=`${CC} -print-prog-name=collect2`
12918: 	  if test -f "$collect2name" &&
12919: 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12920: 	  then
12921: 	    # We have reworked collect2
12922: 	    :
12923: 	  else
12924: 	    # We have old collect2
12925: 	    hardcode_direct_CXX=unsupported
12926: 	    # It fails to find uninstalled libraries when the uninstalled
12927: 	    # path is not listed in the libpath.  Setting hardcode_minus_L
12928: 	    # to unsupported forces relinking
12929: 	    hardcode_minus_L_CXX=yes
12930: 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12931: 	    hardcode_libdir_separator_CXX=
12932: 	  fi
12933:           esac
12934:           shared_flag='-shared'
12935: 	  if test "$aix_use_runtimelinking" = yes; then
12936: 	    shared_flag="$shared_flag "'${wl}-G'
12937: 	  fi
12938:         else
12939:           # not using gcc
12940:           if test "$host_cpu" = ia64; then
12941: 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12942: 	  # chokes on -Wl,-G. The following line is correct:
12943: 	  shared_flag='-G'
12944:           else
12945: 	    if test "$aix_use_runtimelinking" = yes; then
12946: 	      shared_flag='${wl}-G'
12947: 	    else
12948: 	      shared_flag='${wl}-bM:SRE'
12949: 	    fi
12950:           fi
12951:         fi
12952: 
12953:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12954:         # It seems that -bexpall does not export symbols beginning with
12955:         # underscore (_), so it is better to generate a list of symbols to
12956: 	# export.
12957:         always_export_symbols_CXX=yes
12958:         if test "$aix_use_runtimelinking" = yes; then
12959:           # Warning - without using the other runtime loading flags (-brtl),
12960:           # -berok will link without error, but may produce a broken library.
12961:           allow_undefined_flag_CXX='-berok'
12962:           # Determine the default libpath from the value encoded in an empty
12963:           # executable.
12964:           if test "${lt_cv_aix_libpath+set}" = set; then
12965:   aix_libpath=$lt_cv_aix_libpath
12966: else
12967:   if ${lt_cv_aix_libpath__CXX+:} false; then :
12968:   $as_echo_n "(cached) " >&6
12969: else
12970:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971: /* end confdefs.h.  */
12972: 
12973: int
12974: main ()
12975: {
12976: 
12977:   ;
12978:   return 0;
12979: }
12980: _ACEOF
12981: if ac_fn_cxx_try_link "$LINENO"; then :
12982: 
12983:   lt_aix_libpath_sed='
12984:       /Import File Strings/,/^$/ {
12985: 	  /^0/ {
12986: 	      s/^0  *\([^ ]*\) *$/\1/
12987: 	      p
12988: 	  }
12989:       }'
12990:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12991:   # Check for a 64-bit object if we didn't find anything.
12992:   if test -z "$lt_cv_aix_libpath__CXX"; then
12993:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12994:   fi
12995: fi
12996: rm -f core conftest.err conftest.$ac_objext \
12997:     conftest$ac_exeext conftest.$ac_ext
12998:   if test -z "$lt_cv_aix_libpath__CXX"; then
12999:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13000:   fi
13001: 
13002: fi
13003: 
13004:   aix_libpath=$lt_cv_aix_libpath__CXX
13005: fi
13006: 
13007:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13008: 
13009:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13010:         else
13011:           if test "$host_cpu" = ia64; then
13012: 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13013: 	    allow_undefined_flag_CXX="-z nodefs"
13014: 	    archive_expsym_cmds_CXX="\$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"
13015:           else
13016: 	    # Determine the default libpath from the value encoded in an
13017: 	    # empty executable.
13018: 	    if test "${lt_cv_aix_libpath+set}" = set; then
13019:   aix_libpath=$lt_cv_aix_libpath
13020: else
13021:   if ${lt_cv_aix_libpath__CXX+:} false; then :
13022:   $as_echo_n "(cached) " >&6
13023: else
13024:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025: /* end confdefs.h.  */
13026: 
13027: int
13028: main ()
13029: {
13030: 
13031:   ;
13032:   return 0;
13033: }
13034: _ACEOF
13035: if ac_fn_cxx_try_link "$LINENO"; then :
13036: 
13037:   lt_aix_libpath_sed='
13038:       /Import File Strings/,/^$/ {
13039: 	  /^0/ {
13040: 	      s/^0  *\([^ ]*\) *$/\1/
13041: 	      p
13042: 	  }
13043:       }'
13044:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13045:   # Check for a 64-bit object if we didn't find anything.
13046:   if test -z "$lt_cv_aix_libpath__CXX"; then
13047:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13048:   fi
13049: fi
13050: rm -f core conftest.err conftest.$ac_objext \
13051:     conftest$ac_exeext conftest.$ac_ext
13052:   if test -z "$lt_cv_aix_libpath__CXX"; then
13053:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13054:   fi
13055: 
13056: fi
13057: 
13058:   aix_libpath=$lt_cv_aix_libpath__CXX
13059: fi
13060: 
13061: 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13062: 	    # Warning - without using the other run time loading flags,
13063: 	    # -berok will link without error, but may produce a broken library.
13064: 	    no_undefined_flag_CXX=' ${wl}-bernotok'
13065: 	    allow_undefined_flag_CXX=' ${wl}-berok'
13066: 	    if test "$with_gnu_ld" = yes; then
13067: 	      # We only use this code for GNU lds that support --whole-archive.
13068: 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13069: 	    else
13070: 	      # Exported symbols can be pulled into shared objects from archives
13071: 	      whole_archive_flag_spec_CXX='$convenience'
13072: 	    fi
13073: 	    archive_cmds_need_lc_CXX=yes
13074: 	    # This is similar to how AIX traditionally builds its shared
13075: 	    # libraries.
13076: 	    archive_expsym_cmds_CXX="\$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'
13077:           fi
13078:         fi
13079:         ;;
13080: 
13081:       beos*)
13082: 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13083: 	  allow_undefined_flag_CXX=unsupported
13084: 	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13085: 	  # support --undefined.  This deserves some investigation.  FIXME
13086: 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13087: 	else
13088: 	  ld_shlibs_CXX=no
13089: 	fi
13090: 	;;
13091: 
13092:       chorus*)
13093:         case $cc_basename in
13094:           *)
13095: 	  # FIXME: insert proper C++ library support
13096: 	  ld_shlibs_CXX=no
13097: 	  ;;
13098:         esac
13099:         ;;
13100: 
13101:       cygwin* | mingw* | pw32* | cegcc*)
13102: 	case $GXX,$cc_basename in
13103: 	,cl* | no,cl*)
13104: 	  # Native MSVC
13105: 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13106: 	  # no search path for DLLs.
13107: 	  hardcode_libdir_flag_spec_CXX=' '
13108: 	  allow_undefined_flag_CXX=unsupported
13109: 	  always_export_symbols_CXX=yes
13110: 	  file_list_spec_CXX='@'
13111: 	  # Tell ltmain to make .lib files, not .a files.
13112: 	  libext=lib
13113: 	  # Tell ltmain to make .dll files, not .so files.
13114: 	  shrext_cmds=".dll"
13115: 	  # FIXME: Setting linknames here is a bad hack.
13116: 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13117: 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13118: 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13119: 	    else
13120: 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13121: 	    fi~
13122: 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13123: 	    linknames='
13124: 	  # The linker will not automatically build a static lib if we build a DLL.
13125: 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13126: 	  enable_shared_with_static_runtimes_CXX=yes
13127: 	  # Don't use ranlib
13128: 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13129: 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13130: 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
13131: 	    case $lt_outputfile in
13132: 	      *.exe|*.EXE) ;;
13133: 	      *)
13134: 		lt_outputfile="$lt_outputfile.exe"
13135: 		lt_tool_outputfile="$lt_tool_outputfile.exe"
13136: 		;;
13137: 	    esac~
13138: 	    func_to_tool_file "$lt_outputfile"~
13139: 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13140: 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13141: 	      $RM "$lt_outputfile.manifest";
13142: 	    fi'
13143: 	  ;;
13144: 	*)
13145: 	  # g++
13146: 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13147: 	  # as there is no search path for DLLs.
13148: 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13149: 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13150: 	  allow_undefined_flag_CXX=unsupported
13151: 	  always_export_symbols_CXX=no
13152: 	  enable_shared_with_static_runtimes_CXX=yes
13153: 
13154: 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13155: 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13156: 	    # If the export-symbols file already is a .def file (1st line
13157: 	    # is EXPORTS), use it as is; otherwise, prepend...
13158: 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13159: 	      cp $export_symbols $output_objdir/$soname.def;
13160: 	    else
13161: 	      echo EXPORTS > $output_objdir/$soname.def;
13162: 	      cat $export_symbols >> $output_objdir/$soname.def;
13163: 	    fi~
13164: 	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13165: 	  else
13166: 	    ld_shlibs_CXX=no
13167: 	  fi
13168: 	  ;;
13169: 	esac
13170: 	;;
13171:       darwin* | rhapsody*)
13172: 
13173: 
13174:   archive_cmds_need_lc_CXX=no
13175:   hardcode_direct_CXX=no
13176:   hardcode_automatic_CXX=yes
13177:   hardcode_shlibpath_var_CXX=unsupported
13178:   if test "$lt_cv_ld_force_load" = "yes"; then
13179:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13180:   else
13181:     whole_archive_flag_spec_CXX=''
13182:   fi
13183:   link_all_deplibs_CXX=yes
13184:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13185:   case $cc_basename in
13186:      ifort*) _lt_dar_can_shared=yes ;;
13187:      *) _lt_dar_can_shared=$GCC ;;
13188:   esac
13189:   if test "$_lt_dar_can_shared" = "yes"; then
13190:     output_verbose_link_cmd=func_echo_all
13191:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13192:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13193:     archive_expsym_cmds_CXX="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}"
13194:     module_expsym_cmds_CXX="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}"
13195:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13196:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13197:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13198:     fi
13199: 
13200:   else
13201:   ld_shlibs_CXX=no
13202:   fi
13203: 
13204: 	;;
13205: 
13206:       dgux*)
13207:         case $cc_basename in
13208:           ec++*)
13209: 	    # FIXME: insert proper C++ library support
13210: 	    ld_shlibs_CXX=no
13211: 	    ;;
13212:           ghcx*)
13213: 	    # Green Hills C++ Compiler
13214: 	    # FIXME: insert proper C++ library support
13215: 	    ld_shlibs_CXX=no
13216: 	    ;;
13217:           *)
13218: 	    # FIXME: insert proper C++ library support
13219: 	    ld_shlibs_CXX=no
13220: 	    ;;
13221:         esac
13222:         ;;
13223: 
13224:       freebsd[12]*)
13225:         # C++ shared libraries reported to be fairly broken before
13226: 	# switch to ELF
13227:         ld_shlibs_CXX=no
13228:         ;;
13229: 
13230:       freebsd-elf*)
13231:         archive_cmds_need_lc_CXX=no
13232:         ;;
13233: 
13234:       freebsd* | dragonfly*)
13235:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13236:         # conventions
13237:         ld_shlibs_CXX=yes
13238:         ;;
13239: 
13240:       gnu*)
13241:         ;;
13242: 
13243:       haiku*)
13244:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13245:         link_all_deplibs_CXX=yes
13246:         ;;
13247: 
13248:       hpux9*)
13249:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13250:         hardcode_libdir_separator_CXX=:
13251:         export_dynamic_flag_spec_CXX='${wl}-E'
13252:         hardcode_direct_CXX=yes
13253:         hardcode_minus_L_CXX=yes # Not in the search PATH,
13254: 				             # but as the default
13255: 				             # location of the library.
13256: 
13257:         case $cc_basename in
13258:           CC*)
13259:             # FIXME: insert proper C++ library support
13260:             ld_shlibs_CXX=no
13261:             ;;
13262:           aCC*)
13263:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13264:             # Commands to make compiler produce verbose output that lists
13265:             # what "hidden" libraries, object files and flags are used when
13266:             # linking a shared library.
13267:             #
13268:             # There doesn't appear to be a way to prevent this compiler from
13269:             # explicitly linking system object files so we need to strip them
13270:             # from the output so that they don't get included in the library
13271:             # dependencies.
13272:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13273:             ;;
13274:           *)
13275:             if test "$GXX" = yes; then
13276:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13277:             else
13278:               # FIXME: insert proper C++ library support
13279:               ld_shlibs_CXX=no
13280:             fi
13281:             ;;
13282:         esac
13283:         ;;
13284: 
13285:       hpux10*|hpux11*)
13286:         if test $with_gnu_ld = no; then
13287: 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13288: 	  hardcode_libdir_separator_CXX=:
13289: 
13290:           case $host_cpu in
13291:             hppa*64*|ia64*)
13292:               ;;
13293:             *)
13294: 	      export_dynamic_flag_spec_CXX='${wl}-E'
13295:               ;;
13296:           esac
13297:         fi
13298:         case $host_cpu in
13299:           hppa*64*|ia64*)
13300:             hardcode_direct_CXX=no
13301:             hardcode_shlibpath_var_CXX=no
13302:             ;;
13303:           *)
13304:             hardcode_direct_CXX=yes
13305:             hardcode_direct_absolute_CXX=yes
13306:             hardcode_minus_L_CXX=yes # Not in the search PATH,
13307: 					         # but as the default
13308: 					         # location of the library.
13309:             ;;
13310:         esac
13311: 
13312:         case $cc_basename in
13313:           CC*)
13314: 	    # FIXME: insert proper C++ library support
13315: 	    ld_shlibs_CXX=no
13316: 	    ;;
13317:           aCC*)
13318: 	    case $host_cpu in
13319: 	      hppa*64*)
13320: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13321: 	        ;;
13322: 	      ia64*)
13323: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13324: 	        ;;
13325: 	      *)
13326: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13327: 	        ;;
13328: 	    esac
13329: 	    # Commands to make compiler produce verbose output that lists
13330: 	    # what "hidden" libraries, object files and flags are used when
13331: 	    # linking a shared library.
13332: 	    #
13333: 	    # There doesn't appear to be a way to prevent this compiler from
13334: 	    # explicitly linking system object files so we need to strip them
13335: 	    # from the output so that they don't get included in the library
13336: 	    # dependencies.
13337: 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13338: 	    ;;
13339:           *)
13340: 	    if test "$GXX" = yes; then
13341: 	      if test $with_gnu_ld = no; then
13342: 	        case $host_cpu in
13343: 	          hppa*64*)
13344: 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13345: 	            ;;
13346: 	          ia64*)
13347: 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13348: 	            ;;
13349: 	          *)
13350: 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13351: 	            ;;
13352: 	        esac
13353: 	      fi
13354: 	    else
13355: 	      # FIXME: insert proper C++ library support
13356: 	      ld_shlibs_CXX=no
13357: 	    fi
13358: 	    ;;
13359:         esac
13360:         ;;
13361: 
13362:       interix[3-9]*)
13363: 	hardcode_direct_CXX=no
13364: 	hardcode_shlibpath_var_CXX=no
13365: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13366: 	export_dynamic_flag_spec_CXX='${wl}-E'
13367: 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13368: 	# Instead, shared libraries are loaded at an image base (0x10000000 by
13369: 	# default) and relocated if they conflict, which is a slow very memory
13370: 	# consuming and fragmenting process.  To avoid this, we pick a random,
13371: 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13372: 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13373: 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13374: 	archive_expsym_cmds_CXX='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'
13375: 	;;
13376:       irix5* | irix6*)
13377:         case $cc_basename in
13378:           CC*)
13379: 	    # SGI C++
13380: 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13381: 
13382: 	    # Archives containing C++ object files must be created using
13383: 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13384: 	    # necessary to make sure instantiated templates are included
13385: 	    # in the archive.
13386: 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13387: 	    ;;
13388:           *)
13389: 	    if test "$GXX" = yes; then
13390: 	      if test "$with_gnu_ld" = no; then
13391: 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13392: 	      else
13393: 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13394: 	      fi
13395: 	    fi
13396: 	    link_all_deplibs_CXX=yes
13397: 	    ;;
13398:         esac
13399:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13400:         hardcode_libdir_separator_CXX=:
13401:         inherit_rpath_CXX=yes
13402:         ;;
13403: 
13404:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13405:         case $cc_basename in
13406:           KCC*)
13407: 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13408: 
13409: 	    # KCC will only create a shared library if the output file
13410: 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13411: 	    # to its proper name (with version) after linking.
13412: 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13413: 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13414: 	    # Commands to make compiler produce verbose output that lists
13415: 	    # what "hidden" libraries, object files and flags are used when
13416: 	    # linking a shared library.
13417: 	    #
13418: 	    # There doesn't appear to be a way to prevent this compiler from
13419: 	    # explicitly linking system object files so we need to strip them
13420: 	    # from the output so that they don't get included in the library
13421: 	    # dependencies.
13422: 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13423: 
13424: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13425: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13426: 
13427: 	    # Archives containing C++ object files must be created using
13428: 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13429: 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13430: 	    ;;
13431: 	  icpc* | ecpc* )
13432: 	    # Intel C++
13433: 	    with_gnu_ld=yes
13434: 	    # version 8.0 and above of icpc choke on multiply defined symbols
13435: 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13436: 	    # earlier do not add the objects themselves.
13437: 	    case `$CC -V 2>&1` in
13438: 	      *"Version 7."*)
13439: 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13440: 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13441: 		;;
13442: 	      *)  # Version 8.0 or newer
13443: 	        tmp_idyn=
13444: 	        case $host_cpu in
13445: 		  ia64*) tmp_idyn=' -i_dynamic';;
13446: 		esac
13447: 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448: 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13449: 		;;
13450: 	    esac
13451: 	    archive_cmds_need_lc_CXX=no
13452: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13453: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13454: 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13455: 	    ;;
13456:           pgCC* | pgcpp*)
13457:             # Portland Group C++ compiler
13458: 	    case `$CC -V` in
13459: 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13460: 	      prelink_cmds_CXX='tpldir=Template.dir~
13461: 		rm -rf $tpldir~
13462: 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13463: 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13464: 	      old_archive_cmds_CXX='tpldir=Template.dir~
13465: 		rm -rf $tpldir~
13466: 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13467: 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13468: 		$RANLIB $oldlib'
13469: 	      archive_cmds_CXX='tpldir=Template.dir~
13470: 		rm -rf $tpldir~
13471: 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13472: 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13473: 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13474: 		rm -rf $tpldir~
13475: 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13476: 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13477: 	      ;;
13478: 	    *) # Version 6 and above use weak symbols
13479: 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13480: 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13481: 	      ;;
13482: 	    esac
13483: 
13484: 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13485: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13486: 	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13487:             ;;
13488: 	  cxx*)
13489: 	    # Compaq C++
13490: 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13491: 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13492: 
13493: 	    runpath_var=LD_RUN_PATH
13494: 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13495: 	    hardcode_libdir_separator_CXX=:
13496: 
13497: 	    # Commands to make compiler produce verbose output that lists
13498: 	    # what "hidden" libraries, object files and flags are used when
13499: 	    # linking a shared library.
13500: 	    #
13501: 	    # There doesn't appear to be a way to prevent this compiler from
13502: 	    # explicitly linking system object files so we need to strip them
13503: 	    # from the output so that they don't get included in the library
13504: 	    # dependencies.
13505: 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13506: 	    ;;
13507: 	  xl* | mpixl* | bgxl*)
13508: 	    # IBM XL 8.0 on PPC, with GNU ld
13509: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13510: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13511: 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13512: 	    if test "x$supports_anon_versioning" = xyes; then
13513: 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13514: 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13515: 		echo "local: *; };" >> $output_objdir/$libname.ver~
13516: 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13517: 	    fi
13518: 	    ;;
13519: 	  *)
13520: 	    case `$CC -V 2>&1 | sed 5q` in
13521: 	    *Sun\ C*)
13522: 	      # Sun C++ 5.9
13523: 	      no_undefined_flag_CXX=' -zdefs'
13524: 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13525: 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13526: 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13527: 	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13528: 	      compiler_needs_object_CXX=yes
13529: 
13530: 	      # Not sure whether something based on
13531: 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13532: 	      # would be better.
13533: 	      output_verbose_link_cmd='func_echo_all'
13534: 
13535: 	      # Archives containing C++ object files must be created using
13536: 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13537: 	      # necessary to make sure instantiated templates are included
13538: 	      # in the archive.
13539: 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13540: 	      ;;
13541: 	    esac
13542: 	    ;;
13543: 	esac
13544: 	;;
13545: 
13546:       lynxos*)
13547:         # FIXME: insert proper C++ library support
13548: 	ld_shlibs_CXX=no
13549: 	;;
13550: 
13551:       m88k*)
13552:         # FIXME: insert proper C++ library support
13553:         ld_shlibs_CXX=no
13554: 	;;
13555: 
13556:       mvs*)
13557:         case $cc_basename in
13558:           cxx*)
13559: 	    # FIXME: insert proper C++ library support
13560: 	    ld_shlibs_CXX=no
13561: 	    ;;
13562: 	  *)
13563: 	    # FIXME: insert proper C++ library support
13564: 	    ld_shlibs_CXX=no
13565: 	    ;;
13566: 	esac
13567: 	;;
13568: 
13569:       netbsd*)
13570:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13571: 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13572: 	  wlarc=
13573: 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13574: 	  hardcode_direct_CXX=yes
13575: 	  hardcode_shlibpath_var_CXX=no
13576: 	fi
13577: 	# Workaround some broken pre-1.5 toolchains
13578: 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13579: 	;;
13580: 
13581:       *nto* | *qnx*)
13582:         ld_shlibs_CXX=yes
13583: 	;;
13584: 
13585:       openbsd2*)
13586:         # C++ shared libraries are fairly broken
13587: 	ld_shlibs_CXX=no
13588: 	;;
13589: 
13590:       openbsd*)
13591: 	if test -f /usr/libexec/ld.so; then
13592: 	  hardcode_direct_CXX=yes
13593: 	  hardcode_shlibpath_var_CXX=no
13594: 	  hardcode_direct_absolute_CXX=yes
13595: 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13596: 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13597: 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13598: 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13599: 	    export_dynamic_flag_spec_CXX='${wl}-E'
13600: 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13601: 	  fi
13602: 	  output_verbose_link_cmd=func_echo_all
13603: 	else
13604: 	  ld_shlibs_CXX=no
13605: 	fi
13606: 	;;
13607: 
13608:       osf3* | osf4* | osf5*)
13609:         case $cc_basename in
13610:           KCC*)
13611: 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13612: 
13613: 	    # KCC will only create a shared library if the output file
13614: 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13615: 	    # to its proper name (with version) after linking.
13616: 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13617: 
13618: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13619: 	    hardcode_libdir_separator_CXX=:
13620: 
13621: 	    # Archives containing C++ object files must be created using
13622: 	    # the KAI C++ compiler.
13623: 	    case $host in
13624: 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13625: 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13626: 	    esac
13627: 	    ;;
13628:           RCC*)
13629: 	    # Rational C++ 2.4.1
13630: 	    # FIXME: insert proper C++ library support
13631: 	    ld_shlibs_CXX=no
13632: 	    ;;
13633:           cxx*)
13634: 	    case $host in
13635: 	      osf3*)
13636: 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13637: 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13638: 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13639: 		;;
13640: 	      *)
13641: 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13642: 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13643: 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13644: 	          echo "-hidden">> $lib.exp~
13645: 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13646: 	          $RM $lib.exp'
13647: 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13648: 		;;
13649: 	    esac
13650: 
13651: 	    hardcode_libdir_separator_CXX=:
13652: 
13653: 	    # Commands to make compiler produce verbose output that lists
13654: 	    # what "hidden" libraries, object files and flags are used when
13655: 	    # linking a shared library.
13656: 	    #
13657: 	    # There doesn't appear to be a way to prevent this compiler from
13658: 	    # explicitly linking system object files so we need to strip them
13659: 	    # from the output so that they don't get included in the library
13660: 	    # dependencies.
13661: 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13662: 	    ;;
13663: 	  *)
13664: 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13665: 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13666: 	      case $host in
13667: 	        osf3*)
13668: 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13669: 		  ;;
13670: 	        *)
13671: 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13672: 		  ;;
13673: 	      esac
13674: 
13675: 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13676: 	      hardcode_libdir_separator_CXX=:
13677: 
13678: 	      # Commands to make compiler produce verbose output that lists
13679: 	      # what "hidden" libraries, object files and flags are used when
13680: 	      # linking a shared library.
13681: 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13682: 
13683: 	    else
13684: 	      # FIXME: insert proper C++ library support
13685: 	      ld_shlibs_CXX=no
13686: 	    fi
13687: 	    ;;
13688:         esac
13689:         ;;
13690: 
13691:       psos*)
13692:         # FIXME: insert proper C++ library support
13693:         ld_shlibs_CXX=no
13694:         ;;
13695: 
13696:       sunos4*)
13697:         case $cc_basename in
13698:           CC*)
13699: 	    # Sun C++ 4.x
13700: 	    # FIXME: insert proper C++ library support
13701: 	    ld_shlibs_CXX=no
13702: 	    ;;
13703:           lcc*)
13704: 	    # Lucid
13705: 	    # FIXME: insert proper C++ library support
13706: 	    ld_shlibs_CXX=no
13707: 	    ;;
13708:           *)
13709: 	    # FIXME: insert proper C++ library support
13710: 	    ld_shlibs_CXX=no
13711: 	    ;;
13712:         esac
13713:         ;;
13714: 
13715:       solaris*)
13716:         case $cc_basename in
13717:           CC* | sunCC*)
13718: 	    # Sun C++ 4.2, 5.x and Centerline C++
13719:             archive_cmds_need_lc_CXX=yes
13720: 	    no_undefined_flag_CXX=' -zdefs'
13721: 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13722: 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13723: 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13724: 
13725: 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13726: 	    hardcode_shlibpath_var_CXX=no
13727: 	    case $host_os in
13728: 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13729: 	      *)
13730: 		# The compiler driver will combine and reorder linker options,
13731: 		# but understands `-z linker_flag'.
13732: 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13733: 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13734: 	        ;;
13735: 	    esac
13736: 	    link_all_deplibs_CXX=yes
13737: 
13738: 	    output_verbose_link_cmd='func_echo_all'
13739: 
13740: 	    # Archives containing C++ object files must be created using
13741: 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13742: 	    # necessary to make sure instantiated templates are included
13743: 	    # in the archive.
13744: 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13745: 	    ;;
13746:           gcx*)
13747: 	    # Green Hills C++ Compiler
13748: 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13749: 
13750: 	    # The C++ compiler must be used to create the archive.
13751: 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13752: 	    ;;
13753:           *)
13754: 	    # GNU C++ compiler with Solaris linker
13755: 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13756: 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13757: 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13758: 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13759: 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13760: 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13761: 
13762: 	        # Commands to make compiler produce verbose output that lists
13763: 	        # what "hidden" libraries, object files and flags are used when
13764: 	        # linking a shared library.
13765: 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13766: 	      else
13767: 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13768: 	        # platform.
13769: 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13770: 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13771: 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13772: 
13773: 	        # Commands to make compiler produce verbose output that lists
13774: 	        # what "hidden" libraries, object files and flags are used when
13775: 	        # linking a shared library.
13776: 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13777: 	      fi
13778: 
13779: 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13780: 	      case $host_os in
13781: 		solaris2.[0-5] | solaris2.[0-5].*) ;;
13782: 		*)
13783: 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13784: 		  ;;
13785: 	      esac
13786: 	    fi
13787: 	    ;;
13788:         esac
13789:         ;;
13790: 
13791:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13792:       no_undefined_flag_CXX='${wl}-z,text'
13793:       archive_cmds_need_lc_CXX=no
13794:       hardcode_shlibpath_var_CXX=no
13795:       runpath_var='LD_RUN_PATH'
13796: 
13797:       case $cc_basename in
13798:         CC*)
13799: 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13800: 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13801: 	  ;;
13802: 	*)
13803: 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13804: 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13805: 	  ;;
13806:       esac
13807:       ;;
13808: 
13809:       sysv5* | sco3.2v5* | sco5v6*)
13810: 	# Note: We can NOT use -z defs as we might desire, because we do not
13811: 	# link with -lc, and that would cause any symbols used from libc to
13812: 	# always be unresolved, which means just about no library would
13813: 	# ever link correctly.  If we're not using GNU ld we use -z text
13814: 	# though, which does catch some bad symbols but isn't as heavy-handed
13815: 	# as -z defs.
13816: 	no_undefined_flag_CXX='${wl}-z,text'
13817: 	allow_undefined_flag_CXX='${wl}-z,nodefs'
13818: 	archive_cmds_need_lc_CXX=no
13819: 	hardcode_shlibpath_var_CXX=no
13820: 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13821: 	hardcode_libdir_separator_CXX=':'
13822: 	link_all_deplibs_CXX=yes
13823: 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13824: 	runpath_var='LD_RUN_PATH'
13825: 
13826: 	case $cc_basename in
13827:           CC*)
13828: 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13829: 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13830: 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13831: 	      '"$old_archive_cmds_CXX"
13832: 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13833: 	      '"$reload_cmds_CXX"
13834: 	    ;;
13835: 	  *)
13836: 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837: 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838: 	    ;;
13839: 	esac
13840:       ;;
13841: 
13842:       tandem*)
13843:         case $cc_basename in
13844:           NCC*)
13845: 	    # NonStop-UX NCC 3.20
13846: 	    # FIXME: insert proper C++ library support
13847: 	    ld_shlibs_CXX=no
13848: 	    ;;
13849:           *)
13850: 	    # FIXME: insert proper C++ library support
13851: 	    ld_shlibs_CXX=no
13852: 	    ;;
13853:         esac
13854:         ;;
13855: 
13856:       vxworks*)
13857:         # FIXME: insert proper C++ library support
13858:         ld_shlibs_CXX=no
13859:         ;;
13860: 
13861:       *)
13862:         # FIXME: insert proper C++ library support
13863:         ld_shlibs_CXX=no
13864:         ;;
13865:     esac
13866: 
13867:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13868: $as_echo "$ld_shlibs_CXX" >&6; }
13869:     test "$ld_shlibs_CXX" = no && can_build_shared=no
13870: 
13871:     GCC_CXX="$GXX"
13872:     LD_CXX="$LD"
13873: 
13874:     ## CAVEAT EMPTOR:
13875:     ## There is no encapsulation within the following macros, do not change
13876:     ## the running order or otherwise move them around unless you know exactly
13877:     ## what you are doing...
13878:     # Dependencies to place before and after the object being linked:
13879: predep_objects_CXX=
13880: postdep_objects_CXX=
13881: predeps_CXX=
13882: postdeps_CXX=
13883: compiler_lib_search_path_CXX=
13884: 
13885: cat > conftest.$ac_ext <<_LT_EOF
13886: class Foo
13887: {
13888: public:
13889:   Foo (void) { a = 0; }
13890: private:
13891:   int a;
13892: };
13893: _LT_EOF
13894: 
13895: 
13896: _lt_libdeps_save_CFLAGS=$CFLAGS
13897: case "$CC $CFLAGS " in #(
13898: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13899: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13900: esac
13901: 
13902: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13903:   (eval $ac_compile) 2>&5
13904:   ac_status=$?
13905:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13906:   test $ac_status = 0; }; then
13907:   # Parse the compiler output and extract the necessary
13908:   # objects, libraries and library flags.
13909: 
13910:   # Sentinel used to keep track of whether or not we are before
13911:   # the conftest object file.
13912:   pre_test_object_deps_done=no
13913: 
13914:   for p in `eval "$output_verbose_link_cmd"`; do
13915:     case ${prev}${p} in
13916: 
13917:     -L* | -R* | -l*)
13918:        # Some compilers place space between "-{L,R}" and the path.
13919:        # Remove the space.
13920:        if test $p = "-L" ||
13921:           test $p = "-R"; then
13922: 	 prev=$p
13923: 	 continue
13924:        fi
13925: 
13926:        # Expand the sysroot to ease extracting the directories later.
13927:        if test -z "$prev"; then
13928:          case $p in
13929:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13930:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13931:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13932:          esac
13933:        fi
13934:        case $p in
13935:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13936:        esac
13937:        if test "$pre_test_object_deps_done" = no; then
13938: 	 case ${prev} in
13939: 	 -L | -R)
13940: 	   # Internal compiler library paths should come after those
13941: 	   # provided the user.  The postdeps already come after the
13942: 	   # user supplied libs so there is no need to process them.
13943: 	   if test -z "$compiler_lib_search_path_CXX"; then
13944: 	     compiler_lib_search_path_CXX="${prev}${p}"
13945: 	   else
13946: 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13947: 	   fi
13948: 	   ;;
13949: 	 # The "-l" case would never come before the object being
13950: 	 # linked, so don't bother handling this case.
13951: 	 esac
13952:        else
13953: 	 if test -z "$postdeps_CXX"; then
13954: 	   postdeps_CXX="${prev}${p}"
13955: 	 else
13956: 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13957: 	 fi
13958:        fi
13959:        prev=
13960:        ;;
13961: 
13962:     *.lto.$objext) ;; # Ignore GCC LTO objects
13963:     *.$objext)
13964:        # This assumes that the test object file only shows up
13965:        # once in the compiler output.
13966:        if test "$p" = "conftest.$objext"; then
13967: 	 pre_test_object_deps_done=yes
13968: 	 continue
13969:        fi
13970: 
13971:        if test "$pre_test_object_deps_done" = no; then
13972: 	 if test -z "$predep_objects_CXX"; then
13973: 	   predep_objects_CXX="$p"
13974: 	 else
13975: 	   predep_objects_CXX="$predep_objects_CXX $p"
13976: 	 fi
13977:        else
13978: 	 if test -z "$postdep_objects_CXX"; then
13979: 	   postdep_objects_CXX="$p"
13980: 	 else
13981: 	   postdep_objects_CXX="$postdep_objects_CXX $p"
13982: 	 fi
13983:        fi
13984:        ;;
13985: 
13986:     *) ;; # Ignore the rest.
13987: 
13988:     esac
13989:   done
13990: 
13991:   # Clean up.
13992:   rm -f a.out a.exe
13993: else
13994:   echo "libtool.m4: error: problem compiling CXX test program"
13995: fi
13996: 
13997: $RM -f confest.$objext
13998: CFLAGS=$_lt_libdeps_save_CFLAGS
13999: 
14000: # PORTME: override above test on systems where it is broken
14001: case $host_os in
14002: interix[3-9]*)
14003:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14004:   # hack all around it, let's just trust "g++" to DTRT.
14005:   predep_objects_CXX=
14006:   postdep_objects_CXX=
14007:   postdeps_CXX=
14008:   ;;
14009: 
14010: linux*)
14011:   case `$CC -V 2>&1 | sed 5q` in
14012:   *Sun\ C*)
14013:     # Sun C++ 5.9
14014: 
14015:     # The more standards-conforming stlport4 library is
14016:     # incompatible with the Cstd library. Avoid specifying
14017:     # it if it's in CXXFLAGS. Ignore libCrun as
14018:     # -library=stlport4 depends on it.
14019:     case " $CXX $CXXFLAGS " in
14020:     *" -library=stlport4 "*)
14021:       solaris_use_stlport4=yes
14022:       ;;
14023:     esac
14024: 
14025:     if test "$solaris_use_stlport4" != yes; then
14026:       postdeps_CXX='-library=Cstd -library=Crun'
14027:     fi
14028:     ;;
14029:   esac
14030:   ;;
14031: 
14032: solaris*)
14033:   case $cc_basename in
14034:   CC* | sunCC*)
14035:     # The more standards-conforming stlport4 library is
14036:     # incompatible with the Cstd library. Avoid specifying
14037:     # it if it's in CXXFLAGS. Ignore libCrun as
14038:     # -library=stlport4 depends on it.
14039:     case " $CXX $CXXFLAGS " in
14040:     *" -library=stlport4 "*)
14041:       solaris_use_stlport4=yes
14042:       ;;
14043:     esac
14044: 
14045:     # Adding this requires a known-good setup of shared libraries for
14046:     # Sun compiler versions before 5.6, else PIC objects from an old
14047:     # archive will be linked into the output, leading to subtle bugs.
14048:     if test "$solaris_use_stlport4" != yes; then
14049:       postdeps_CXX='-library=Cstd -library=Crun'
14050:     fi
14051:     ;;
14052:   esac
14053:   ;;
14054: esac
14055: 
14056: 
14057: case " $postdeps_CXX " in
14058: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14059: esac
14060:  compiler_lib_search_dirs_CXX=
14061: if test -n "${compiler_lib_search_path_CXX}"; then
14062:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14063: fi
14064: 
14065: 
14066: 
14067: 
14068: 
14069: 
14070: 
14071: 
14072: 
14073: 
14074: 
14075: 
14076: 
14077: 
14078: 
14079: 
14080: 
14081: 
14082: 
14083: 
14084: 
14085: 
14086: 
14087: 
14088: 
14089: 
14090: 
14091: 
14092: 
14093: 
14094: 
14095:     lt_prog_compiler_wl_CXX=
14096: lt_prog_compiler_pic_CXX=
14097: lt_prog_compiler_static_CXX=
14098: 
14099: 
14100:   # C++ specific cases for pic, static, wl, etc.
14101:   if test "$GXX" = yes; then
14102:     lt_prog_compiler_wl_CXX='-Wl,'
14103:     lt_prog_compiler_static_CXX='-static'
14104: 
14105:     case $host_os in
14106:     aix*)
14107:       # All AIX code is PIC.
14108:       if test "$host_cpu" = ia64; then
14109: 	# AIX 5 now supports IA64 processor
14110: 	lt_prog_compiler_static_CXX='-Bstatic'
14111:       fi
14112:       ;;
14113: 
14114:     amigaos*)
14115:       case $host_cpu in
14116:       powerpc)
14117:             # see comment about AmigaOS4 .so support
14118:             lt_prog_compiler_pic_CXX='-fPIC'
14119:         ;;
14120:       m68k)
14121:             # FIXME: we need at least 68020 code to build shared libraries, but
14122:             # adding the `-m68020' flag to GCC prevents building anything better,
14123:             # like `-m68040'.
14124:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14125:         ;;
14126:       esac
14127:       ;;
14128: 
14129:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14130:       # PIC is the default for these OSes.
14131:       ;;
14132:     mingw* | cygwin* | os2* | pw32* | cegcc*)
14133:       # This hack is so that the source file can tell whether it is being
14134:       # built for inclusion in a dll (and should export symbols for example).
14135:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14136:       # (--disable-auto-import) libraries
14137:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14138:       ;;
14139:     darwin* | rhapsody*)
14140:       # PIC is the default on this platform
14141:       # Common symbols not allowed in MH_DYLIB files
14142:       lt_prog_compiler_pic_CXX='-fno-common'
14143:       ;;
14144:     *djgpp*)
14145:       # DJGPP does not support shared libraries at all
14146:       lt_prog_compiler_pic_CXX=
14147:       ;;
14148:     haiku*)
14149:       # PIC is the default for Haiku.
14150:       # The "-static" flag exists, but is broken.
14151:       lt_prog_compiler_static_CXX=
14152:       ;;
14153:     interix[3-9]*)
14154:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14155:       # Instead, we relocate shared libraries at runtime.
14156:       ;;
14157:     sysv4*MP*)
14158:       if test -d /usr/nec; then
14159: 	lt_prog_compiler_pic_CXX=-Kconform_pic
14160:       fi
14161:       ;;
14162:     hpux*)
14163:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14164:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14165:       # sets the default TLS model and affects inlining.
14166:       case $host_cpu in
14167:       hppa*64*)
14168: 	;;
14169:       *)
14170: 	lt_prog_compiler_pic_CXX='-fPIC'
14171: 	;;
14172:       esac
14173:       ;;
14174:     *qnx* | *nto*)
14175:       # QNX uses GNU C++, but need to define -shared option too, otherwise
14176:       # it will coredump.
14177:       lt_prog_compiler_pic_CXX='-fPIC -shared'
14178:       ;;
14179:     *)
14180:       lt_prog_compiler_pic_CXX='-fPIC'
14181:       ;;
14182:     esac
14183:   else
14184:     case $host_os in
14185:       aix[4-9]*)
14186: 	# All AIX code is PIC.
14187: 	if test "$host_cpu" = ia64; then
14188: 	  # AIX 5 now supports IA64 processor
14189: 	  lt_prog_compiler_static_CXX='-Bstatic'
14190: 	else
14191: 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14192: 	fi
14193: 	;;
14194:       chorus*)
14195: 	case $cc_basename in
14196: 	cxch68*)
14197: 	  # Green Hills C++ Compiler
14198: 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14199: 	  ;;
14200: 	esac
14201: 	;;
14202:       mingw* | cygwin* | os2* | pw32* | cegcc*)
14203: 	# This hack is so that the source file can tell whether it is being
14204: 	# built for inclusion in a dll (and should export symbols for example).
14205: 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14206: 	;;
14207:       dgux*)
14208: 	case $cc_basename in
14209: 	  ec++*)
14210: 	    lt_prog_compiler_pic_CXX='-KPIC'
14211: 	    ;;
14212: 	  ghcx*)
14213: 	    # Green Hills C++ Compiler
14214: 	    lt_prog_compiler_pic_CXX='-pic'
14215: 	    ;;
14216: 	  *)
14217: 	    ;;
14218: 	esac
14219: 	;;
14220:       freebsd* | dragonfly*)
14221: 	# FreeBSD uses GNU C++
14222: 	;;
14223:       hpux9* | hpux10* | hpux11*)
14224: 	case $cc_basename in
14225: 	  CC*)
14226: 	    lt_prog_compiler_wl_CXX='-Wl,'
14227: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14228: 	    if test "$host_cpu" != ia64; then
14229: 	      lt_prog_compiler_pic_CXX='+Z'
14230: 	    fi
14231: 	    ;;
14232: 	  aCC*)
14233: 	    lt_prog_compiler_wl_CXX='-Wl,'
14234: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14235: 	    case $host_cpu in
14236: 	    hppa*64*|ia64*)
14237: 	      # +Z the default
14238: 	      ;;
14239: 	    *)
14240: 	      lt_prog_compiler_pic_CXX='+Z'
14241: 	      ;;
14242: 	    esac
14243: 	    ;;
14244: 	  *)
14245: 	    ;;
14246: 	esac
14247: 	;;
14248:       interix*)
14249: 	# This is c89, which is MS Visual C++ (no shared libs)
14250: 	# Anyone wants to do a port?
14251: 	;;
14252:       irix5* | irix6* | nonstopux*)
14253: 	case $cc_basename in
14254: 	  CC*)
14255: 	    lt_prog_compiler_wl_CXX='-Wl,'
14256: 	    lt_prog_compiler_static_CXX='-non_shared'
14257: 	    # CC pic flag -KPIC is the default.
14258: 	    ;;
14259: 	  *)
14260: 	    ;;
14261: 	esac
14262: 	;;
14263:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14264: 	case $cc_basename in
14265: 	  KCC*)
14266: 	    # KAI C++ Compiler
14267: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14268: 	    lt_prog_compiler_pic_CXX='-fPIC'
14269: 	    ;;
14270: 	  ecpc* )
14271: 	    # old Intel C++ for x86_64 which still supported -KPIC.
14272: 	    lt_prog_compiler_wl_CXX='-Wl,'
14273: 	    lt_prog_compiler_pic_CXX='-KPIC'
14274: 	    lt_prog_compiler_static_CXX='-static'
14275: 	    ;;
14276: 	  icpc* )
14277: 	    # Intel C++, used to be incompatible with GCC.
14278: 	    # ICC 10 doesn't accept -KPIC any more.
14279: 	    lt_prog_compiler_wl_CXX='-Wl,'
14280: 	    lt_prog_compiler_pic_CXX='-fPIC'
14281: 	    lt_prog_compiler_static_CXX='-static'
14282: 	    ;;
14283: 	  pgCC* | pgcpp*)
14284: 	    # Portland Group C++ compiler
14285: 	    lt_prog_compiler_wl_CXX='-Wl,'
14286: 	    lt_prog_compiler_pic_CXX='-fpic'
14287: 	    lt_prog_compiler_static_CXX='-Bstatic'
14288: 	    ;;
14289: 	  cxx*)
14290: 	    # Compaq C++
14291: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
14292: 	    # Linux and Compaq Tru64 Unix objects are PIC.
14293: 	    lt_prog_compiler_pic_CXX=
14294: 	    lt_prog_compiler_static_CXX='-non_shared'
14295: 	    ;;
14296: 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14297: 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14298: 	    lt_prog_compiler_wl_CXX='-Wl,'
14299: 	    lt_prog_compiler_pic_CXX='-qpic'
14300: 	    lt_prog_compiler_static_CXX='-qstaticlink'
14301: 	    ;;
14302: 	  *)
14303: 	    case `$CC -V 2>&1 | sed 5q` in
14304: 	    *Sun\ C*)
14305: 	      # Sun C++ 5.9
14306: 	      lt_prog_compiler_pic_CXX='-KPIC'
14307: 	      lt_prog_compiler_static_CXX='-Bstatic'
14308: 	      lt_prog_compiler_wl_CXX='-Qoption ld '
14309: 	      ;;
14310: 	    esac
14311: 	    ;;
14312: 	esac
14313: 	;;
14314:       lynxos*)
14315: 	;;
14316:       m88k*)
14317: 	;;
14318:       mvs*)
14319: 	case $cc_basename in
14320: 	  cxx*)
14321: 	    lt_prog_compiler_pic_CXX='-W c,exportall'
14322: 	    ;;
14323: 	  *)
14324: 	    ;;
14325: 	esac
14326: 	;;
14327:       netbsd*)
14328: 	;;
14329:       *qnx* | *nto*)
14330:         # QNX uses GNU C++, but need to define -shared option too, otherwise
14331:         # it will coredump.
14332:         lt_prog_compiler_pic_CXX='-fPIC -shared'
14333:         ;;
14334:       osf3* | osf4* | osf5*)
14335: 	case $cc_basename in
14336: 	  KCC*)
14337: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14338: 	    ;;
14339: 	  RCC*)
14340: 	    # Rational C++ 2.4.1
14341: 	    lt_prog_compiler_pic_CXX='-pic'
14342: 	    ;;
14343: 	  cxx*)
14344: 	    # Digital/Compaq C++
14345: 	    lt_prog_compiler_wl_CXX='-Wl,'
14346: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
14347: 	    # Linux and Compaq Tru64 Unix objects are PIC.
14348: 	    lt_prog_compiler_pic_CXX=
14349: 	    lt_prog_compiler_static_CXX='-non_shared'
14350: 	    ;;
14351: 	  *)
14352: 	    ;;
14353: 	esac
14354: 	;;
14355:       psos*)
14356: 	;;
14357:       solaris*)
14358: 	case $cc_basename in
14359: 	  CC* | sunCC*)
14360: 	    # Sun C++ 4.2, 5.x and Centerline C++
14361: 	    lt_prog_compiler_pic_CXX='-KPIC'
14362: 	    lt_prog_compiler_static_CXX='-Bstatic'
14363: 	    lt_prog_compiler_wl_CXX='-Qoption ld '
14364: 	    ;;
14365: 	  gcx*)
14366: 	    # Green Hills C++ Compiler
14367: 	    lt_prog_compiler_pic_CXX='-PIC'
14368: 	    ;;
14369: 	  *)
14370: 	    ;;
14371: 	esac
14372: 	;;
14373:       sunos4*)
14374: 	case $cc_basename in
14375: 	  CC*)
14376: 	    # Sun C++ 4.x
14377: 	    lt_prog_compiler_pic_CXX='-pic'
14378: 	    lt_prog_compiler_static_CXX='-Bstatic'
14379: 	    ;;
14380: 	  lcc*)
14381: 	    # Lucid
14382: 	    lt_prog_compiler_pic_CXX='-pic'
14383: 	    ;;
14384: 	  *)
14385: 	    ;;
14386: 	esac
14387: 	;;
14388:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14389: 	case $cc_basename in
14390: 	  CC*)
14391: 	    lt_prog_compiler_wl_CXX='-Wl,'
14392: 	    lt_prog_compiler_pic_CXX='-KPIC'
14393: 	    lt_prog_compiler_static_CXX='-Bstatic'
14394: 	    ;;
14395: 	esac
14396: 	;;
14397:       tandem*)
14398: 	case $cc_basename in
14399: 	  NCC*)
14400: 	    # NonStop-UX NCC 3.20
14401: 	    lt_prog_compiler_pic_CXX='-KPIC'
14402: 	    ;;
14403: 	  *)
14404: 	    ;;
14405: 	esac
14406: 	;;
14407:       vxworks*)
14408: 	;;
14409:       *)
14410: 	lt_prog_compiler_can_build_shared_CXX=no
14411: 	;;
14412:     esac
14413:   fi
14414: 
14415: case $host_os in
14416:   # For platforms which do not support PIC, -DPIC is meaningless:
14417:   *djgpp*)
14418:     lt_prog_compiler_pic_CXX=
14419:     ;;
14420:   *)
14421:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14422:     ;;
14423: esac
14424: 
14425: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14426: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14427: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14428:   $as_echo_n "(cached) " >&6
14429: else
14430:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14431: fi
14432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14433: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14434: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14435: 
14436: #
14437: # Check to make sure the PIC flag actually works.
14438: #
14439: if test -n "$lt_prog_compiler_pic_CXX"; then
14440:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14441: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14442: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14443:   $as_echo_n "(cached) " >&6
14444: else
14445:   lt_cv_prog_compiler_pic_works_CXX=no
14446:    ac_outfile=conftest.$ac_objext
14447:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14448:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14449:    # Insert the option either (1) after the last *FLAGS variable, or
14450:    # (2) before a word containing "conftest.", or (3) at the end.
14451:    # Note that $ac_compile itself does not contain backslashes and begins
14452:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14453:    # The option is referenced via a variable to avoid confusing sed.
14454:    lt_compile=`echo "$ac_compile" | $SED \
14455:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14456:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14457:    -e 's:$: $lt_compiler_flag:'`
14458:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14459:    (eval "$lt_compile" 2>conftest.err)
14460:    ac_status=$?
14461:    cat conftest.err >&5
14462:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463:    if (exit $ac_status) && test -s "$ac_outfile"; then
14464:      # The compiler can only warn and ignore the option if not recognized
14465:      # So say no if there are warnings other than the usual output.
14466:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14467:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14468:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14469:        lt_cv_prog_compiler_pic_works_CXX=yes
14470:      fi
14471:    fi
14472:    $RM conftest*
14473: 
14474: fi
14475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14476: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14477: 
14478: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14479:     case $lt_prog_compiler_pic_CXX in
14480:      "" | " "*) ;;
14481:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14482:      esac
14483: else
14484:     lt_prog_compiler_pic_CXX=
14485:      lt_prog_compiler_can_build_shared_CXX=no
14486: fi
14487: 
14488: fi
14489: 
14490: 
14491: 
14492: 
14493: 
14494: #
14495: # Check to make sure the static flag actually works.
14496: #
14497: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14498: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14499: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14500: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14501:   $as_echo_n "(cached) " >&6
14502: else
14503:   lt_cv_prog_compiler_static_works_CXX=no
14504:    save_LDFLAGS="$LDFLAGS"
14505:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14506:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14507:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14508:      # The linker can only warn and ignore the option if not recognized
14509:      # So say no if there are warnings
14510:      if test -s conftest.err; then
14511:        # Append any errors to the config.log.
14512:        cat conftest.err 1>&5
14513:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14514:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14515:        if diff conftest.exp conftest.er2 >/dev/null; then
14516:          lt_cv_prog_compiler_static_works_CXX=yes
14517:        fi
14518:      else
14519:        lt_cv_prog_compiler_static_works_CXX=yes
14520:      fi
14521:    fi
14522:    $RM -r conftest*
14523:    LDFLAGS="$save_LDFLAGS"
14524: 
14525: fi
14526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14527: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14528: 
14529: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14530:     :
14531: else
14532:     lt_prog_compiler_static_CXX=
14533: fi
14534: 
14535: 
14536: 
14537: 
14538:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14539: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14540: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14541:   $as_echo_n "(cached) " >&6
14542: else
14543:   lt_cv_prog_compiler_c_o_CXX=no
14544:    $RM -r conftest 2>/dev/null
14545:    mkdir conftest
14546:    cd conftest
14547:    mkdir out
14548:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14549: 
14550:    lt_compiler_flag="-o out/conftest2.$ac_objext"
14551:    # Insert the option either (1) after the last *FLAGS variable, or
14552:    # (2) before a word containing "conftest.", or (3) at the end.
14553:    # Note that $ac_compile itself does not contain backslashes and begins
14554:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14555:    lt_compile=`echo "$ac_compile" | $SED \
14556:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14557:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14558:    -e 's:$: $lt_compiler_flag:'`
14559:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14560:    (eval "$lt_compile" 2>out/conftest.err)
14561:    ac_status=$?
14562:    cat out/conftest.err >&5
14563:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14565:    then
14566:      # The compiler can only warn and ignore the option if not recognized
14567:      # So say no if there are warnings
14568:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14569:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14570:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14571:        lt_cv_prog_compiler_c_o_CXX=yes
14572:      fi
14573:    fi
14574:    chmod u+w . 2>&5
14575:    $RM conftest*
14576:    # SGI C++ compiler will create directory out/ii_files/ for
14577:    # template instantiation
14578:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14579:    $RM out/* && rmdir out
14580:    cd ..
14581:    $RM -r conftest
14582:    $RM conftest*
14583: 
14584: fi
14585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14586: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14587: 
14588: 
14589: 
14590:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14591: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14592: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14593:   $as_echo_n "(cached) " >&6
14594: else
14595:   lt_cv_prog_compiler_c_o_CXX=no
14596:    $RM -r conftest 2>/dev/null
14597:    mkdir conftest
14598:    cd conftest
14599:    mkdir out
14600:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14601: 
14602:    lt_compiler_flag="-o out/conftest2.$ac_objext"
14603:    # Insert the option either (1) after the last *FLAGS variable, or
14604:    # (2) before a word containing "conftest.", or (3) at the end.
14605:    # Note that $ac_compile itself does not contain backslashes and begins
14606:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14607:    lt_compile=`echo "$ac_compile" | $SED \
14608:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14609:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14610:    -e 's:$: $lt_compiler_flag:'`
14611:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14612:    (eval "$lt_compile" 2>out/conftest.err)
14613:    ac_status=$?
14614:    cat out/conftest.err >&5
14615:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14617:    then
14618:      # The compiler can only warn and ignore the option if not recognized
14619:      # So say no if there are warnings
14620:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14621:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14622:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14623:        lt_cv_prog_compiler_c_o_CXX=yes
14624:      fi
14625:    fi
14626:    chmod u+w . 2>&5
14627:    $RM conftest*
14628:    # SGI C++ compiler will create directory out/ii_files/ for
14629:    # template instantiation
14630:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14631:    $RM out/* && rmdir out
14632:    cd ..
14633:    $RM -r conftest
14634:    $RM conftest*
14635: 
14636: fi
14637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14638: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14639: 
14640: 
14641: 
14642: 
14643: hard_links="nottested"
14644: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14645:   # do not overwrite the value of need_locks provided by the user
14646:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14647: $as_echo_n "checking if we can lock with hard links... " >&6; }
14648:   hard_links=yes
14649:   $RM conftest*
14650:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14651:   touch conftest.a
14652:   ln conftest.a conftest.b 2>&5 || hard_links=no
14653:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14655: $as_echo "$hard_links" >&6; }
14656:   if test "$hard_links" = no; then
14657:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14658: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14659:     need_locks=warn
14660:   fi
14661: else
14662:   need_locks=no
14663: fi
14664: 
14665: 
14666: 
14667:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14668: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14669: 
14670:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14671:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14672:   case $host_os in
14673:   aix[4-9]*)
14674:     # If we're using GNU nm, then we don't want the "-C" option.
14675:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14676:     # Also, AIX nm treats weak defined symbols like other global defined
14677:     # symbols, whereas GNU nm marks them as "W".
14678:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14679:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14680:     else
14681:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14682:     fi
14683:     ;;
14684:   pw32*)
14685:     export_symbols_cmds_CXX="$ltdll_cmds"
14686:     ;;
14687:   cygwin* | mingw* | cegcc*)
14688:     case $cc_basename in
14689:     cl*) ;;
14690:     *)
14691:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14692:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14693:       ;;
14694:     esac
14695:     ;;
14696:   *)
14697:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14698:     ;;
14699:   esac
14700: 
14701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14702: $as_echo "$ld_shlibs_CXX" >&6; }
14703: test "$ld_shlibs_CXX" = no && can_build_shared=no
14704: 
14705: with_gnu_ld_CXX=$with_gnu_ld
14706: 
14707: 
14708: 
14709: 
14710: 
14711: 
14712: #
14713: # Do we need to explicitly link libc?
14714: #
14715: case "x$archive_cmds_need_lc_CXX" in
14716: x|xyes)
14717:   # Assume -lc should be added
14718:   archive_cmds_need_lc_CXX=yes
14719: 
14720:   if test "$enable_shared" = yes && test "$GCC" = yes; then
14721:     case $archive_cmds_CXX in
14722:     *'~'*)
14723:       # FIXME: we may have to deal with multi-command sequences.
14724:       ;;
14725:     '$CC '*)
14726:       # Test whether the compiler implicitly links with -lc since on some
14727:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14728:       # to ld, don't add -lc before -lgcc.
14729:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14730: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14731: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14732:   $as_echo_n "(cached) " >&6
14733: else
14734:   $RM conftest*
14735: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14736: 
14737: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14738:   (eval $ac_compile) 2>&5
14739:   ac_status=$?
14740:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14741:   test $ac_status = 0; } 2>conftest.err; then
14742: 	  soname=conftest
14743: 	  lib=conftest
14744: 	  libobjs=conftest.$ac_objext
14745: 	  deplibs=
14746: 	  wl=$lt_prog_compiler_wl_CXX
14747: 	  pic_flag=$lt_prog_compiler_pic_CXX
14748: 	  compiler_flags=-v
14749: 	  linker_flags=-v
14750: 	  verstring=
14751: 	  output_objdir=.
14752: 	  libname=conftest
14753: 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14754: 	  allow_undefined_flag_CXX=
14755: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14756:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14757:   ac_status=$?
14758:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14759:   test $ac_status = 0; }
14760: 	  then
14761: 	    lt_cv_archive_cmds_need_lc_CXX=no
14762: 	  else
14763: 	    lt_cv_archive_cmds_need_lc_CXX=yes
14764: 	  fi
14765: 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14766: 	else
14767: 	  cat conftest.err 1>&5
14768: 	fi
14769: 	$RM conftest*
14770: 
14771: fi
14772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14773: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14774:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14775:       ;;
14776:     esac
14777:   fi
14778:   ;;
14779: esac
14780: 
14781: 
14782: 
14783: 
14784: 
14785: 
14786: 
14787: 
14788: 
14789: 
14790: 
14791: 
14792: 
14793: 
14794: 
14795: 
14796: 
14797: 
14798: 
14799: 
14800: 
14801: 
14802: 
14803: 
14804: 
14805: 
14806: 
14807: 
14808: 
14809: 
14810: 
14811: 
14812: 
14813: 
14814: 
14815: 
14816: 
14817: 
14818: 
14819: 
14820: 
14821: 
14822: 
14823: 
14824: 
14825: 
14826: 
14827: 
14828: 
14829: 
14830: 
14831: 
14832: 
14833: 
14834: 
14835: 
14836: 
14837: 
14838: 
14839: 
14840: 
14841: 
14842: 
14843: 
14844:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14845: $as_echo_n "checking dynamic linker characteristics... " >&6; }
14846: 
14847: library_names_spec=
14848: libname_spec='lib$name'
14849: soname_spec=
14850: shrext_cmds=".so"
14851: postinstall_cmds=
14852: postuninstall_cmds=
14853: finish_cmds=
14854: finish_eval=
14855: shlibpath_var=
14856: shlibpath_overrides_runpath=unknown
14857: version_type=none
14858: dynamic_linker="$host_os ld.so"
14859: sys_lib_dlsearch_path_spec="/lib /usr/lib"
14860: need_lib_prefix=unknown
14861: hardcode_into_libs=no
14862: 
14863: # when you set need_version to no, make sure it does not cause -set_version
14864: # flags to be left without arguments
14865: need_version=unknown
14866: 
14867: case $host_os in
14868: aix3*)
14869:   version_type=linux
14870:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14871:   shlibpath_var=LIBPATH
14872: 
14873:   # AIX 3 has no versioning support, so we append a major version to the name.
14874:   soname_spec='${libname}${release}${shared_ext}$major'
14875:   ;;
14876: 
14877: aix[4-9]*)
14878:   version_type=linux
14879:   need_lib_prefix=no
14880:   need_version=no
14881:   hardcode_into_libs=yes
14882:   if test "$host_cpu" = ia64; then
14883:     # AIX 5 supports IA64
14884:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14885:     shlibpath_var=LD_LIBRARY_PATH
14886:   else
14887:     # With GCC up to 2.95.x, collect2 would create an import file
14888:     # for dependence libraries.  The import file would start with
14889:     # the line `#! .'.  This would cause the generated library to
14890:     # depend on `.', always an invalid library.  This was fixed in
14891:     # development snapshots of GCC prior to 3.0.
14892:     case $host_os in
14893:       aix4 | aix4.[01] | aix4.[01].*)
14894:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14895: 	   echo ' yes '
14896: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14897: 	:
14898:       else
14899: 	can_build_shared=no
14900:       fi
14901:       ;;
14902:     esac
14903:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14904:     # soname into executable. Probably we can add versioning support to
14905:     # collect2, so additional links can be useful in future.
14906:     if test "$aix_use_runtimelinking" = yes; then
14907:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14908:       # instead of lib<name>.a to let people know that these are not
14909:       # typical AIX shared libraries.
14910:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14911:     else
14912:       # We preserve .a as extension for shared libraries through AIX4.2
14913:       # and later when we are not doing run time linking.
14914:       library_names_spec='${libname}${release}.a $libname.a'
14915:       soname_spec='${libname}${release}${shared_ext}$major'
14916:     fi
14917:     shlibpath_var=LIBPATH
14918:   fi
14919:   ;;
14920: 
14921: amigaos*)
14922:   case $host_cpu in
14923:   powerpc)
14924:     # Since July 2007 AmigaOS4 officially supports .so libraries.
14925:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14926:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14927:     ;;
14928:   m68k)
14929:     library_names_spec='$libname.ixlibrary $libname.a'
14930:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14931:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14932:     ;;
14933:   esac
14934:   ;;
14935: 
14936: beos*)
14937:   library_names_spec='${libname}${shared_ext}'
14938:   dynamic_linker="$host_os ld.so"
14939:   shlibpath_var=LIBRARY_PATH
14940:   ;;
14941: 
14942: bsdi[45]*)
14943:   version_type=linux
14944:   need_version=no
14945:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14946:   soname_spec='${libname}${release}${shared_ext}$major'
14947:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14948:   shlibpath_var=LD_LIBRARY_PATH
14949:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14950:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14951:   # the default ld.so.conf also contains /usr/contrib/lib and
14952:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14953:   # libtool to hard-code these into programs
14954:   ;;
14955: 
14956: cygwin* | mingw* | pw32* | cegcc*)
14957:   version_type=windows
14958:   shrext_cmds=".dll"
14959:   need_version=no
14960:   need_lib_prefix=no
14961: 
14962:   case $GCC,$cc_basename in
14963:   yes,*)
14964:     # gcc
14965:     library_names_spec='$libname.dll.a'
14966:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14967:     postinstall_cmds='base_file=`basename \${file}`~
14968:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14969:       dldir=$destdir/`dirname \$dlpath`~
14970:       test -d \$dldir || mkdir -p \$dldir~
14971:       $install_prog $dir/$dlname \$dldir/$dlname~
14972:       chmod a+x \$dldir/$dlname~
14973:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14974:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14975:       fi'
14976:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14977:       dlpath=$dir/\$dldll~
14978:        $RM \$dlpath'
14979:     shlibpath_overrides_runpath=yes
14980: 
14981:     case $host_os in
14982:     cygwin*)
14983:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14984:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14985: 
14986:       ;;
14987:     mingw* | cegcc*)
14988:       # MinGW DLLs use traditional 'lib' prefix
14989:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14990:       ;;
14991:     pw32*)
14992:       # pw32 DLLs use 'pw' prefix rather than 'lib'
14993:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14994:       ;;
14995:     esac
14996:     dynamic_linker='Win32 ld.exe'
14997:     ;;
14998: 
14999:   *,cl*)
15000:     # Native MSVC
15001:     libname_spec='$name'
15002:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15003:     library_names_spec='${libname}.dll.lib'
15004: 
15005:     case $build_os in
15006:     mingw*)
15007:       sys_lib_search_path_spec=
15008:       lt_save_ifs=$IFS
15009:       IFS=';'
15010:       for lt_path in $LIB
15011:       do
15012:         IFS=$lt_save_ifs
15013:         # Let DOS variable expansion print the short 8.3 style file name.
15014:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15015:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15016:       done
15017:       IFS=$lt_save_ifs
15018:       # Convert to MSYS style.
15019:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15020:       ;;
15021:     cygwin*)
15022:       # Convert to unix form, then to dos form, then back to unix form
15023:       # but this time dos style (no spaces!) so that the unix form looks
15024:       # like /cygdrive/c/PROGRA~1:/cygdr...
15025:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15026:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15027:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15028:       ;;
15029:     *)
15030:       sys_lib_search_path_spec="$LIB"
15031:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15032:         # It is most probably a Windows format PATH.
15033:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15034:       else
15035:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15036:       fi
15037:       # FIXME: find the short name or the path components, as spaces are
15038:       # common. (e.g. "Program Files" -> "PROGRA~1")
15039:       ;;
15040:     esac
15041: 
15042:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15043:     postinstall_cmds='base_file=`basename \${file}`~
15044:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15045:       dldir=$destdir/`dirname \$dlpath`~
15046:       test -d \$dldir || mkdir -p \$dldir~
15047:       $install_prog $dir/$dlname \$dldir/$dlname'
15048:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15049:       dlpath=$dir/\$dldll~
15050:        $RM \$dlpath'
15051:     shlibpath_overrides_runpath=yes
15052:     dynamic_linker='Win32 link.exe'
15053:     ;;
15054: 
15055:   *)
15056:     # Assume MSVC wrapper
15057:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15058:     dynamic_linker='Win32 ld.exe'
15059:     ;;
15060:   esac
15061:   # FIXME: first we should search . and the directory the executable is in
15062:   shlibpath_var=PATH
15063:   ;;
15064: 
15065: darwin* | rhapsody*)
15066:   dynamic_linker="$host_os dyld"
15067:   version_type=darwin
15068:   need_lib_prefix=no
15069:   need_version=no
15070:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15071:   soname_spec='${libname}${release}${major}$shared_ext'
15072:   shlibpath_overrides_runpath=yes
15073:   shlibpath_var=DYLD_LIBRARY_PATH
15074:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15075: 
15076:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15077:   ;;
15078: 
15079: dgux*)
15080:   version_type=linux
15081:   need_lib_prefix=no
15082:   need_version=no
15083:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15084:   soname_spec='${libname}${release}${shared_ext}$major'
15085:   shlibpath_var=LD_LIBRARY_PATH
15086:   ;;
15087: 
15088: freebsd1*)
15089:   dynamic_linker=no
15090:   ;;
15091: 
15092: freebsd* | dragonfly*)
15093:   # DragonFly does not have aout.  When/if they implement a new
15094:   # versioning mechanism, adjust this.
15095:   if test -x /usr/bin/objformat; then
15096:     objformat=`/usr/bin/objformat`
15097:   else
15098:     case $host_os in
15099:     freebsd[123]*) objformat=aout ;;
15100:     *) objformat=elf ;;
15101:     esac
15102:   fi
15103:   # Handle Gentoo/FreeBSD as it was Linux
15104:   case $host_vendor in
15105:     gentoo)
15106:       version_type=linux ;;
15107:     *)
15108:       version_type=freebsd-$objformat ;;
15109:   esac
15110: 
15111:   case $version_type in
15112:     freebsd-elf*)
15113:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15114:       need_version=no
15115:       need_lib_prefix=no
15116:       ;;
15117:     freebsd-*)
15118:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15119:       need_version=yes
15120:       ;;
15121:     linux)
15122:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15123:       soname_spec='${libname}${release}${shared_ext}$major'
15124:       need_lib_prefix=no
15125:       need_version=no
15126:       ;;
15127:   esac
15128:   shlibpath_var=LD_LIBRARY_PATH
15129:   case $host_os in
15130:   freebsd2*)
15131:     shlibpath_overrides_runpath=yes
15132:     ;;
15133:   freebsd3.[01]* | freebsdelf3.[01]*)
15134:     shlibpath_overrides_runpath=yes
15135:     hardcode_into_libs=yes
15136:     ;;
15137:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15138:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15139:     shlibpath_overrides_runpath=no
15140:     hardcode_into_libs=yes
15141:     ;;
15142:   *) # from 4.6 on, and DragonFly
15143:     shlibpath_overrides_runpath=yes
15144:     hardcode_into_libs=yes
15145:     ;;
15146:   esac
15147:   ;;
15148: 
15149: gnu*)
15150:   version_type=linux
15151:   need_lib_prefix=no
15152:   need_version=no
15153:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15154:   soname_spec='${libname}${release}${shared_ext}$major'
15155:   shlibpath_var=LD_LIBRARY_PATH
15156:   hardcode_into_libs=yes
15157:   ;;
15158: 
15159: haiku*)
15160:   version_type=linux
15161:   need_lib_prefix=no
15162:   need_version=no
15163:   dynamic_linker="$host_os runtime_loader"
15164:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15165:   soname_spec='${libname}${release}${shared_ext}$major'
15166:   shlibpath_var=LIBRARY_PATH
15167:   shlibpath_overrides_runpath=yes
15168:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15169:   hardcode_into_libs=yes
15170:   ;;
15171: 
15172: hpux9* | hpux10* | hpux11*)
15173:   # Give a soname corresponding to the major version so that dld.sl refuses to
15174:   # link against other versions.
15175:   version_type=sunos
15176:   need_lib_prefix=no
15177:   need_version=no
15178:   case $host_cpu in
15179:   ia64*)
15180:     shrext_cmds='.so'
15181:     hardcode_into_libs=yes
15182:     dynamic_linker="$host_os dld.so"
15183:     shlibpath_var=LD_LIBRARY_PATH
15184:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15185:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186:     soname_spec='${libname}${release}${shared_ext}$major'
15187:     if test "X$HPUX_IA64_MODE" = X32; then
15188:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15189:     else
15190:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15191:     fi
15192:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15193:     ;;
15194:   hppa*64*)
15195:     shrext_cmds='.sl'
15196:     hardcode_into_libs=yes
15197:     dynamic_linker="$host_os dld.sl"
15198:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15199:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15200:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201:     soname_spec='${libname}${release}${shared_ext}$major'
15202:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15203:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15204:     ;;
15205:   *)
15206:     shrext_cmds='.sl'
15207:     dynamic_linker="$host_os dld.sl"
15208:     shlibpath_var=SHLIB_PATH
15209:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15210:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15211:     soname_spec='${libname}${release}${shared_ext}$major'
15212:     ;;
15213:   esac
15214:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15215:   postinstall_cmds='chmod 555 $lib'
15216:   # or fails outright, so override atomically:
15217:   install_override_mode=555
15218:   ;;
15219: 
15220: interix[3-9]*)
15221:   version_type=linux
15222:   need_lib_prefix=no
15223:   need_version=no
15224:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15225:   soname_spec='${libname}${release}${shared_ext}$major'
15226:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15227:   shlibpath_var=LD_LIBRARY_PATH
15228:   shlibpath_overrides_runpath=no
15229:   hardcode_into_libs=yes
15230:   ;;
15231: 
15232: irix5* | irix6* | nonstopux*)
15233:   case $host_os in
15234:     nonstopux*) version_type=nonstopux ;;
15235:     *)
15236: 	if test "$lt_cv_prog_gnu_ld" = yes; then
15237: 		version_type=linux
15238: 	else
15239: 		version_type=irix
15240: 	fi ;;
15241:   esac
15242:   need_lib_prefix=no
15243:   need_version=no
15244:   soname_spec='${libname}${release}${shared_ext}$major'
15245:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15246:   case $host_os in
15247:   irix5* | nonstopux*)
15248:     libsuff= shlibsuff=
15249:     ;;
15250:   *)
15251:     case $LD in # libtool.m4 will add one of these switches to LD
15252:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15253:       libsuff= shlibsuff= libmagic=32-bit;;
15254:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15255:       libsuff=32 shlibsuff=N32 libmagic=N32;;
15256:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15257:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15258:     *) libsuff= shlibsuff= libmagic=never-match;;
15259:     esac
15260:     ;;
15261:   esac
15262:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15263:   shlibpath_overrides_runpath=no
15264:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15265:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15266:   hardcode_into_libs=yes
15267:   ;;
15268: 
15269: # No shared lib support for Linux oldld, aout, or coff.
15270: linux*oldld* | linux*aout* | linux*coff*)
15271:   dynamic_linker=no
15272:   ;;
15273: 
15274: # This must be Linux ELF.
15275: linux* | k*bsd*-gnu | kopensolaris*-gnu)
15276:   version_type=linux
15277:   need_lib_prefix=no
15278:   need_version=no
15279:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280:   soname_spec='${libname}${release}${shared_ext}$major'
15281:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15282:   shlibpath_var=LD_LIBRARY_PATH
15283:   shlibpath_overrides_runpath=no
15284: 
15285:   # Some binutils ld are patched to set DT_RUNPATH
15286:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15287:   $as_echo_n "(cached) " >&6
15288: else
15289:   lt_cv_shlibpath_overrides_runpath=no
15290:     save_LDFLAGS=$LDFLAGS
15291:     save_libdir=$libdir
15292:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15293: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15294:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295: /* end confdefs.h.  */
15296: 
15297: int
15298: main ()
15299: {
15300: 
15301:   ;
15302:   return 0;
15303: }
15304: _ACEOF
15305: if ac_fn_cxx_try_link "$LINENO"; then :
15306:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15307:   lt_cv_shlibpath_overrides_runpath=yes
15308: fi
15309: fi
15310: rm -f core conftest.err conftest.$ac_objext \
15311:     conftest$ac_exeext conftest.$ac_ext
15312:     LDFLAGS=$save_LDFLAGS
15313:     libdir=$save_libdir
15314: 
15315: fi
15316: 
15317:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15318: 
15319:   # This implies no fast_install, which is unacceptable.
15320:   # Some rework will be needed to allow for fast_install
15321:   # before this can be enabled.
15322:   hardcode_into_libs=yes
15323: 
15324:   # Append ld.so.conf contents to the search path
15325:   if test -f /etc/ld.so.conf; then
15326:     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;s/"//g;/^$/d' | tr '\n' ' '`
15327:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15328:   fi
15329: 
15330:   # We used to test for /lib/ld.so.1 and disable shared libraries on
15331:   # powerpc, because MkLinux only supported shared libraries with the
15332:   # GNU dynamic linker.  Since this was broken with cross compilers,
15333:   # most powerpc-linux boxes support dynamic linking these days and
15334:   # people can always --disable-shared, the test was removed, and we
15335:   # assume the GNU/Linux dynamic linker is in use.
15336:   dynamic_linker='GNU/Linux ld.so'
15337:   ;;
15338: 
15339: netbsd*)
15340:   version_type=sunos
15341:   need_lib_prefix=no
15342:   need_version=no
15343:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15344:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15345:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15346:     dynamic_linker='NetBSD (a.out) ld.so'
15347:   else
15348:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15349:     soname_spec='${libname}${release}${shared_ext}$major'
15350:     dynamic_linker='NetBSD ld.elf_so'
15351:   fi
15352:   shlibpath_var=LD_LIBRARY_PATH
15353:   shlibpath_overrides_runpath=yes
15354:   hardcode_into_libs=yes
15355:   ;;
15356: 
15357: newsos6)
15358:   version_type=linux
15359:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360:   shlibpath_var=LD_LIBRARY_PATH
15361:   shlibpath_overrides_runpath=yes
15362:   ;;
15363: 
15364: *nto* | *qnx*)
15365:   version_type=qnx
15366:   need_lib_prefix=no
15367:   need_version=no
15368:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369:   soname_spec='${libname}${release}${shared_ext}$major'
15370:   shlibpath_var=LD_LIBRARY_PATH
15371:   shlibpath_overrides_runpath=no
15372:   hardcode_into_libs=yes
15373:   dynamic_linker='ldqnx.so'
15374:   ;;
15375: 
15376: openbsd*)
15377:   version_type=sunos
15378:   sys_lib_dlsearch_path_spec="/usr/lib"
15379:   need_lib_prefix=no
15380:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15381:   case $host_os in
15382:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15383:     *)				need_version=no  ;;
15384:   esac
15385:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15386:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15387:   shlibpath_var=LD_LIBRARY_PATH
15388:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15389:     case $host_os in
15390:       openbsd2.[89] | openbsd2.[89].*)
15391: 	shlibpath_overrides_runpath=no
15392: 	;;
15393:       *)
15394: 	shlibpath_overrides_runpath=yes
15395: 	;;
15396:       esac
15397:   else
15398:     shlibpath_overrides_runpath=yes
15399:   fi
15400:   ;;
15401: 
15402: os2*)
15403:   libname_spec='$name'
15404:   shrext_cmds=".dll"
15405:   need_lib_prefix=no
15406:   library_names_spec='$libname${shared_ext} $libname.a'
15407:   dynamic_linker='OS/2 ld.exe'
15408:   shlibpath_var=LIBPATH
15409:   ;;
15410: 
15411: osf3* | osf4* | osf5*)
15412:   version_type=osf
15413:   need_lib_prefix=no
15414:   need_version=no
15415:   soname_spec='${libname}${release}${shared_ext}$major'
15416:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417:   shlibpath_var=LD_LIBRARY_PATH
15418:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15419:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15420:   ;;
15421: 
15422: rdos*)
15423:   dynamic_linker=no
15424:   ;;
15425: 
15426: solaris*)
15427:   version_type=linux
15428:   need_lib_prefix=no
15429:   need_version=no
15430:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15431:   soname_spec='${libname}${release}${shared_ext}$major'
15432:   shlibpath_var=LD_LIBRARY_PATH
15433:   shlibpath_overrides_runpath=yes
15434:   hardcode_into_libs=yes
15435:   # ldd complains unless libraries are executable
15436:   postinstall_cmds='chmod +x $lib'
15437:   ;;
15438: 
15439: sunos4*)
15440:   version_type=sunos
15441:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15442:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15443:   shlibpath_var=LD_LIBRARY_PATH
15444:   shlibpath_overrides_runpath=yes
15445:   if test "$with_gnu_ld" = yes; then
15446:     need_lib_prefix=no
15447:   fi
15448:   need_version=yes
15449:   ;;
15450: 
15451: sysv4 | sysv4.3*)
15452:   version_type=linux
15453:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15454:   soname_spec='${libname}${release}${shared_ext}$major'
15455:   shlibpath_var=LD_LIBRARY_PATH
15456:   case $host_vendor in
15457:     sni)
15458:       shlibpath_overrides_runpath=no
15459:       need_lib_prefix=no
15460:       runpath_var=LD_RUN_PATH
15461:       ;;
15462:     siemens)
15463:       need_lib_prefix=no
15464:       ;;
15465:     motorola)
15466:       need_lib_prefix=no
15467:       need_version=no
15468:       shlibpath_overrides_runpath=no
15469:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15470:       ;;
15471:   esac
15472:   ;;
15473: 
15474: sysv4*MP*)
15475:   if test -d /usr/nec ;then
15476:     version_type=linux
15477:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15478:     soname_spec='$libname${shared_ext}.$major'
15479:     shlibpath_var=LD_LIBRARY_PATH
15480:   fi
15481:   ;;
15482: 
15483: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15484:   version_type=freebsd-elf
15485:   need_lib_prefix=no
15486:   need_version=no
15487:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15488:   soname_spec='${libname}${release}${shared_ext}$major'
15489:   shlibpath_var=LD_LIBRARY_PATH
15490:   shlibpath_overrides_runpath=yes
15491:   hardcode_into_libs=yes
15492:   if test "$with_gnu_ld" = yes; then
15493:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15494:   else
15495:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15496:     case $host_os in
15497:       sco3.2v5*)
15498:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15499: 	;;
15500:     esac
15501:   fi
15502:   sys_lib_dlsearch_path_spec='/usr/lib'
15503:   ;;
15504: 
15505: tpf*)
15506:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15507:   version_type=linux
15508:   need_lib_prefix=no
15509:   need_version=no
15510:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15511:   shlibpath_var=LD_LIBRARY_PATH
15512:   shlibpath_overrides_runpath=no
15513:   hardcode_into_libs=yes
15514:   ;;
15515: 
15516: uts4*)
15517:   version_type=linux
15518:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15519:   soname_spec='${libname}${release}${shared_ext}$major'
15520:   shlibpath_var=LD_LIBRARY_PATH
15521:   ;;
15522: 
15523: *)
15524:   dynamic_linker=no
15525:   ;;
15526: esac
15527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15528: $as_echo "$dynamic_linker" >&6; }
15529: test "$dynamic_linker" = no && can_build_shared=no
15530: 
15531: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15532: if test "$GCC" = yes; then
15533:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15534: fi
15535: 
15536: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15537:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15538: fi
15539: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15540:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15541: fi
15542: 
15543: 
15544: 
15545: 
15546: 
15547: 
15548: 
15549: 
15550: 
15551: 
15552: 
15553: 
15554: 
15555: 
15556: 
15557: 
15558: 
15559: 
15560: 
15561: 
15562: 
15563: 
15564: 
15565: 
15566: 
15567: 
15568: 
15569: 
15570: 
15571: 
15572: 
15573: 
15574: 
15575: 
15576: 
15577: 
15578: 
15579: 
15580:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15581: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15582: hardcode_action_CXX=
15583: if test -n "$hardcode_libdir_flag_spec_CXX" ||
15584:    test -n "$runpath_var_CXX" ||
15585:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15586: 
15587:   # We can hardcode non-existent directories.
15588:   if test "$hardcode_direct_CXX" != no &&
15589:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15590:      # have to relink, otherwise we might link with an installed library
15591:      # when we should be linking with a yet-to-be-installed one
15592:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15593:      test "$hardcode_minus_L_CXX" != no; then
15594:     # Linking always hardcodes the temporary library directory.
15595:     hardcode_action_CXX=relink
15596:   else
15597:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15598:     hardcode_action_CXX=immediate
15599:   fi
15600: else
15601:   # We cannot hardcode anything, or else we can only hardcode existing
15602:   # directories.
15603:   hardcode_action_CXX=unsupported
15604: fi
15605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15606: $as_echo "$hardcode_action_CXX" >&6; }
15607: 
15608: if test "$hardcode_action_CXX" = relink ||
15609:    test "$inherit_rpath_CXX" = yes; then
15610:   # Fast installation is not supported
15611:   enable_fast_install=no
15612: elif test "$shlibpath_overrides_runpath" = yes ||
15613:      test "$enable_shared" = no; then
15614:   # Fast installation is not necessary
15615:   enable_fast_install=needless
15616: fi
15617: 
15618: 
15619: 
15620: 
15621: 
15622: 
15623: 
15624:   fi # test -n "$compiler"
15625: 
15626:   CC=$lt_save_CC
15627:   CFLAGS=$lt_save_CFLAGS
15628:   LDCXX=$LD
15629:   LD=$lt_save_LD
15630:   GCC=$lt_save_GCC
15631:   with_gnu_ld=$lt_save_with_gnu_ld
15632:   lt_cv_path_LDCXX=$lt_cv_path_LD
15633:   lt_cv_path_LD=$lt_save_path_LD
15634:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15635:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15636: fi # test "$_lt_caught_CXX_error" != yes
15637: 
15638: ac_ext=c
15639: ac_cpp='$CPP $CPPFLAGS'
15640: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642: ac_compiler_gnu=$ac_cv_c_compiler_gnu
15643: 
15644: 
15645: 
15646: 
15647: 
15648: 
15649: 
15650: 
15651: 
15652: 
15653: 
15654: 
15655: 
15656:         ac_config_commands="$ac_config_commands libtool"
15657: 
15658: 
15659: 
15660: 
15661: # Only expand once:
15662: 
15663: 
15664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15665: $as_echo_n "checking whether ln -s works... " >&6; }
15666: LN_S=$as_ln_s
15667: if test "$LN_S" = "ln -s"; then
15668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15669: $as_echo "yes" >&6; }
15670: else
15671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15672: $as_echo "no, using $LN_S" >&6; }
15673: fi
15674: 
15675: 
15676: PCRE_MAJOR="8"
15677: PCRE_MINOR="21"
15678: PCRE_PRERELEASE=""
15679: PCRE_DATE="2011-12-12"
15680: 
15681: if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
15682: then
15683:   echo "***"
15684:   echo "*** Minor version number $PCRE_MINOR must not be used. ***"
15685:   echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
15686:   echo "***"
15687:   exit 1
15688: fi
15689: 
15690: 
15691: 
15692: 
15693: 
15694: 
15695: # Set a more sensible default value for $(htmldir).
15696: if test "x$htmldir" = 'x${docdir}'
15697: then
15698:   htmldir='${docdir}/html'
15699: fi
15700: 
15701: # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
15702: # pcre-config.
15703: # Check whether --enable-cpp was given.
15704: if test "${enable_cpp+set}" = set; then :
15705:   enableval=$enable_cpp;
15706: else
15707:   enable_cpp=yes
15708: fi
15709: 
15710: 
15711: 
15712: # Handle --enable-jit (disabled by default)
15713: # Check whether --enable-jit was given.
15714: if test "${enable_jit+set}" = set; then :
15715:   enableval=$enable_jit;
15716: else
15717:   enable_jit=no
15718: fi
15719: 
15720: 
15721: # Handle --disable-pcregrep-jit (enabled by default)
15722: # Check whether --enable-pcregrep-jit was given.
15723: if test "${enable_pcregrep_jit+set}" = set; then :
15724:   enableval=$enable_pcregrep_jit;
15725: else
15726:   enable_pcregrep_jit=yes
15727: fi
15728: 
15729: 
15730: # Handle --enable-rebuild-chartables
15731: # Check whether --enable-rebuild-chartables was given.
15732: if test "${enable_rebuild_chartables+set}" = set; then :
15733:   enableval=$enable_rebuild_chartables;
15734: else
15735:   enable_rebuild_chartables=no
15736: fi
15737: 
15738: 
15739: # Handle --enable-utf8 (disabled by default)
15740: # Check whether --enable-utf8 was given.
15741: if test "${enable_utf8+set}" = set; then :
15742:   enableval=$enable_utf8;
15743: else
15744:   enable_utf8=unset
15745: fi
15746: 
15747: 
15748: # Handle --enable-unicode-properties
15749: # Check whether --enable-unicode-properties was given.
15750: if test "${enable_unicode_properties+set}" = set; then :
15751:   enableval=$enable_unicode_properties;
15752: else
15753:   enable_unicode_properties=no
15754: fi
15755: 
15756: 
15757: # Handle --enable-newline=NL
15758: 
15759: # Separate newline options
15760: ac_pcre_newline=lf
15761: # Check whether --enable-newline-is-cr was given.
15762: if test "${enable_newline_is_cr+set}" = set; then :
15763:   enableval=$enable_newline_is_cr; ac_pcre_newline=cr
15764: fi
15765: 
15766: # Check whether --enable-newline-is-lf was given.
15767: if test "${enable_newline_is_lf+set}" = set; then :
15768:   enableval=$enable_newline_is_lf; ac_pcre_newline=lf
15769: fi
15770: 
15771: # Check whether --enable-newline-is-crlf was given.
15772: if test "${enable_newline_is_crlf+set}" = set; then :
15773:   enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
15774: fi
15775: 
15776: # Check whether --enable-newline-is-anycrlf was given.
15777: if test "${enable_newline_is_anycrlf+set}" = set; then :
15778:   enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
15779: fi
15780: 
15781: # Check whether --enable-newline-is-any was given.
15782: if test "${enable_newline_is_any+set}" = set; then :
15783:   enableval=$enable_newline_is_any; ac_pcre_newline=any
15784: fi
15785: 
15786: enable_newline="$ac_pcre_newline"
15787: 
15788: # Handle --enable-bsr-anycrlf
15789: # Check whether --enable-bsr-anycrlf was given.
15790: if test "${enable_bsr_anycrlf+set}" = set; then :
15791:   enableval=$enable_bsr_anycrlf;
15792: else
15793:   enable_bsr_anycrlf=no
15794: fi
15795: 
15796: 
15797: # Handle --enable-ebcdic
15798: # Check whether --enable-ebcdic was given.
15799: if test "${enable_ebcdic+set}" = set; then :
15800:   enableval=$enable_ebcdic;
15801: else
15802:   enable_ebcdic=no
15803: fi
15804: 
15805: 
15806: # Handle --disable-stack-for-recursion
15807: # Check whether --enable-stack-for-recursion was given.
15808: if test "${enable_stack_for_recursion+set}" = set; then :
15809:   enableval=$enable_stack_for_recursion;
15810: else
15811:   enable_stack_for_recursion=yes
15812: fi
15813: 
15814: 
15815: # Handle --enable-pcregrep-libz
15816: # Check whether --enable-pcregrep-libz was given.
15817: if test "${enable_pcregrep_libz+set}" = set; then :
15818:   enableval=$enable_pcregrep_libz;
15819: else
15820:   enable_pcregrep_libz=no
15821: fi
15822: 
15823: 
15824: # Handle --enable-pcregrep-libbz2
15825: # Check whether --enable-pcregrep-libbz2 was given.
15826: if test "${enable_pcregrep_libbz2+set}" = set; then :
15827:   enableval=$enable_pcregrep_libbz2;
15828: else
15829:   enable_pcregrep_libbz2=no
15830: fi
15831: 
15832: 
15833: # Handle --with-pcregrep-bufsize=N
15834: 
15835: # Check whether --with-pcregrep-bufsize was given.
15836: if test "${with_pcregrep_bufsize+set}" = set; then :
15837:   withval=$with_pcregrep_bufsize;
15838: else
15839:   with_pcregrep_bufsize=20480
15840: fi
15841: 
15842: 
15843: # Handle --enable-pcretest-libreadline
15844: # Check whether --enable-pcretest-libreadline was given.
15845: if test "${enable_pcretest_libreadline+set}" = set; then :
15846:   enableval=$enable_pcretest_libreadline;
15847: else
15848:   enable_pcretest_libreadline=no
15849: fi
15850: 
15851: 
15852: # Handle --with-posix-malloc-threshold=NBYTES
15853: 
15854: # Check whether --with-posix-malloc-threshold was given.
15855: if test "${with_posix_malloc_threshold+set}" = set; then :
15856:   withval=$with_posix_malloc_threshold;
15857: else
15858:   with_posix_malloc_threshold=10
15859: fi
15860: 
15861: 
15862: # Handle --with-link-size=N
15863: 
15864: # Check whether --with-link-size was given.
15865: if test "${with_link_size+set}" = set; then :
15866:   withval=$with_link_size;
15867: else
15868:   with_link_size=2
15869: fi
15870: 
15871: 
15872: # Handle --with-match-limit=N
15873: 
15874: # Check whether --with-match-limit was given.
15875: if test "${with_match_limit+set}" = set; then :
15876:   withval=$with_match_limit;
15877: else
15878:   with_match_limit=10000000
15879: fi
15880: 
15881: 
15882: # Handle --with-match-limit_recursion=N
15883: #
15884: # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
15885: # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
15886: # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
15887: # different numeric value (or even the same numeric value as MATCH_LIMIT,
15888: # though no longer defined in terms of the latter).
15889: #
15890: 
15891: # Check whether --with-match-limit-recursion was given.
15892: if test "${with_match_limit_recursion+set}" = set; then :
15893:   withval=$with_match_limit_recursion;
15894: else
15895:   with_match_limit_recursion=MATCH_LIMIT
15896: fi
15897: 
15898: 
15899: # Make sure that if enable_unicode_properties was set, that UTF-8 support
15900: # is enabled.
15901: #
15902: if test "x$enable_unicode_properties" = "xyes"
15903: then
15904:   if test "x$enable_utf8" = "xno"
15905:   then
15906:     as_fn_error $? "support for Unicode properties requires UTF-8 support" "$LINENO" 5
15907:   fi
15908:   enable_utf8=yes
15909: fi
15910: 
15911: if test "x$enable_utf8" = "xunset"
15912: then
15913:   enable_utf8=no
15914: fi
15915: 
15916: # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
15917: # Also check that UTF-8 support is not requested, because PCRE cannot handle
15918: # EBCDIC and UTF-8 in the same build. To do so it would need to use different
15919: # character constants depending on the mode.
15920: #
15921: if test "x$enable_ebcdic" = "xyes"
15922: then
15923:   enable_rebuild_chartables=yes
15924:   if test "x$enable_utf8" = "xyes"
15925:   then
15926:     as_fn_error $? "support for EBCDIC and UTF-8 cannot be enabled at the same time" "$LINENO" 5
15927:   fi
15928: fi
15929: 
15930: # Convert the newline identifier into the appropriate integer value.
15931: case "$enable_newline" in
15932:   lf)      ac_pcre_newline_value=10   ;;
15933:   cr)      ac_pcre_newline_value=13   ;;
15934:   crlf)    ac_pcre_newline_value=3338 ;;
15935:   anycrlf) ac_pcre_newline_value=-2   ;;
15936:   any)     ac_pcre_newline_value=-1   ;;
15937:   *)
15938:   as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
15939:   ;;
15940: esac
15941: 
15942: # Check argument to --with-link-size
15943: case "$with_link_size" in
15944:   2|3|4) ;;
15945:   *)
15946:   as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
15947:   ;;
15948: esac
15949: 
15950: 
15951: 
15952: # Checks for header files.
15953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15954: $as_echo_n "checking for ANSI C header files... " >&6; }
15955: if ${ac_cv_header_stdc+:} false; then :
15956:   $as_echo_n "(cached) " >&6
15957: else
15958:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959: /* end confdefs.h.  */
15960: #include <stdlib.h>
15961: #include <stdarg.h>
15962: #include <string.h>
15963: #include <float.h>
15964: 
15965: int
15966: main ()
15967: {
15968: 
15969:   ;
15970:   return 0;
15971: }
15972: _ACEOF
15973: if ac_fn_c_try_compile "$LINENO"; then :
15974:   ac_cv_header_stdc=yes
15975: else
15976:   ac_cv_header_stdc=no
15977: fi
15978: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979: 
15980: if test $ac_cv_header_stdc = yes; then
15981:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15982:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983: /* end confdefs.h.  */
15984: #include <string.h>
15985: 
15986: _ACEOF
15987: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15988:   $EGREP "memchr" >/dev/null 2>&1; then :
15989: 
15990: else
15991:   ac_cv_header_stdc=no
15992: fi
15993: rm -f conftest*
15994: 
15995: fi
15996: 
15997: if test $ac_cv_header_stdc = yes; then
15998:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15999:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000: /* end confdefs.h.  */
16001: #include <stdlib.h>
16002: 
16003: _ACEOF
16004: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16005:   $EGREP "free" >/dev/null 2>&1; then :
16006: 
16007: else
16008:   ac_cv_header_stdc=no
16009: fi
16010: rm -f conftest*
16011: 
16012: fi
16013: 
16014: if test $ac_cv_header_stdc = yes; then
16015:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16016:   if test "$cross_compiling" = yes; then :
16017:   :
16018: else
16019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020: /* end confdefs.h.  */
16021: #include <ctype.h>
16022: #include <stdlib.h>
16023: #if ((' ' & 0x0FF) == 0x020)
16024: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16025: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16026: #else
16027: # define ISLOWER(c) \
16028: 		   (('a' <= (c) && (c) <= 'i') \
16029: 		     || ('j' <= (c) && (c) <= 'r') \
16030: 		     || ('s' <= (c) && (c) <= 'z'))
16031: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16032: #endif
16033: 
16034: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16035: int
16036: main ()
16037: {
16038:   int i;
16039:   for (i = 0; i < 256; i++)
16040:     if (XOR (islower (i), ISLOWER (i))
16041: 	|| toupper (i) != TOUPPER (i))
16042:       return 2;
16043:   return 0;
16044: }
16045: _ACEOF
16046: if ac_fn_c_try_run "$LINENO"; then :
16047: 
16048: else
16049:   ac_cv_header_stdc=no
16050: fi
16051: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16052:   conftest.$ac_objext conftest.beam conftest.$ac_ext
16053: fi
16054: 
16055: fi
16056: fi
16057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16058: $as_echo "$ac_cv_header_stdc" >&6; }
16059: if test $ac_cv_header_stdc = yes; then
16060: 
16061: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16062: 
16063: fi
16064: 
16065: for ac_header in limits.h sys/types.h sys/stat.h dirent.h windows.h
16066: do :
16067:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16068: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16069: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16070:   cat >>confdefs.h <<_ACEOF
16071: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16072: _ACEOF
16073: 
16074: fi
16075: 
16076: done
16077: 
16078: 
16079: # The files below are C++ header files.
16080: pcre_have_type_traits="0"
16081: pcre_have_bits_type_traits="0"
16082: if test "x$enable_cpp" = "xyes" -a -n "$CXX"
16083: then
16084: ac_ext=cpp
16085: ac_cpp='$CXXCPP $CPPFLAGS'
16086: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16087: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16088: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16089: 
16090: 
16091: # Older versions of pcre defined pcrecpp::no_arg, but in new versions
16092: # it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
16093: # we want to make one an alias for the other.  Different systems do
16094: # this in different ways.  Some systems, for instance, can do it via
16095: # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
16096: OLD_LDFLAGS="$LDFLAGS"
16097: for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
16098:             "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
16099:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
16100: $as_echo_n "checking for alias support in the linker... " >&6; }
16101:   LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
16102:   # We try to run the linker with this new ld flag.  If the link fails,
16103:   # we give up and remove the new flag from LDFLAGS.
16104:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105: /* end confdefs.h.  */
16106: namespace pcrecpp {
16107:                                     class RE { static int no_arg; };
16108:                                     int RE::no_arg;
16109:                                   }
16110: int
16111: main ()
16112: {
16113: 
16114:   ;
16115:   return 0;
16116: }
16117: _ACEOF
16118: if ac_fn_cxx_try_link "$LINENO"; then :
16119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16120: $as_echo "yes" >&6; };
16121:                   EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
16122:                   break;
16123: else
16124:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125: $as_echo "no" >&6; }
16126: fi
16127: rm -f core conftest.err conftest.$ac_objext \
16128:     conftest$ac_exeext conftest.$ac_ext
16129: done
16130: LDFLAGS="$OLD_LDFLAGS"
16131: 
16132: # We could be more clever here, given we're doing AC_SUBST with this
16133: # (eg set a var to be the name of the include file we want). But we're not
16134: # so it's easy to change back to 'regular' autoconf vars if we needed to.
16135: 
16136: for ac_header in string
16137: do :
16138:   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
16139: if test "x$ac_cv_header_string" = xyes; then :
16140:   cat >>confdefs.h <<_ACEOF
16141: #define HAVE_STRING 1
16142: _ACEOF
16143:  pcre_have_cpp_headers="1"
16144: else
16145:   pcre_have_cpp_headers="0"
16146: fi
16147: 
16148: done
16149: 
16150: for ac_header in bits/type_traits.h
16151: do :
16152:   ac_fn_cxx_check_header_mongrel "$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
16153: if test "x$ac_cv_header_bits_type_traits_h" = xyes; then :
16154:   cat >>confdefs.h <<_ACEOF
16155: #define HAVE_BITS_TYPE_TRAITS_H 1
16156: _ACEOF
16157:  pcre_have_bits_type_traits="1"
16158: else
16159:   pcre_have_bits_type_traits="0"
16160: fi
16161: 
16162: done
16163: 
16164: for ac_header in type_traits.h
16165: do :
16166:   ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
16167: if test "x$ac_cv_header_type_traits_h" = xyes; then :
16168:   cat >>confdefs.h <<_ACEOF
16169: #define HAVE_TYPE_TRAITS_H 1
16170: _ACEOF
16171:  pcre_have_type_traits="1"
16172: else
16173:   pcre_have_type_traits="0"
16174: fi
16175: 
16176: done
16177: 
16178: 
16179: # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
16180: # in a c++ context.  This matters becuase strtoimax is C99 and may not
16181: # be supported by the C++ compiler.)
16182: # Figure out how to create a longlong from a string: strtoll and
16183: # equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
16184: # strtoll, for instance, but it only takes 2 args instead of 3!
16185: # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
16186: 
16187: 
16188: 
16189: 
16190: have_strto_fn=0
16191: for fn in strtoq strtoll _strtoi64 strtoimax; do
16192:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
16193: $as_echo_n "checking for $fn... " >&6; }
16194:   if test "$fn" = strtoimax; then
16195:     include=stdint.h
16196:   else
16197:     include=stdlib.h
16198:   fi
16199:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200: /* end confdefs.h.  */
16201: #include <$include>
16202: int
16203: main ()
16204: {
16205: char* e; return $fn("100", &e, 10)
16206:   ;
16207:   return 0;
16208: }
16209: _ACEOF
16210: if ac_fn_cxx_try_compile "$LINENO"; then :
16211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16212: $as_echo "yes" >&6; }
16213: 
16214: cat >>confdefs.h <<_ACEOF
16215: #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
16216: _ACEOF
16217: 
16218:                      have_strto_fn=1
16219:                      break
16220: else
16221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222: $as_echo "no" >&6; }
16223: fi
16224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16225: done
16226: 
16227: if test "$have_strto_fn" = 1; then
16228:   ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16229: if test "x$ac_cv_type_long_long" = xyes; then :
16230: 
16231: cat >>confdefs.h <<_ACEOF
16232: #define HAVE_LONG_LONG 1
16233: _ACEOF
16234: 
16235: pcre_have_long_long="1"
16236: else
16237:   pcre_have_long_long="0"
16238: fi
16239: 
16240:   ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
16241: if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
16242: 
16243: cat >>confdefs.h <<_ACEOF
16244: #define HAVE_UNSIGNED_LONG_LONG 1
16245: _ACEOF
16246: 
16247: pcre_have_ulong_long="1"
16248: else
16249:   pcre_have_ulong_long="0"
16250: fi
16251: 
16252: else
16253:   pcre_have_long_long="0"
16254:   pcre_have_ulong_long="0"
16255: fi
16256: 
16257: 
16258: 
16259: ac_ext=c
16260: ac_cpp='$CPP $CPPFLAGS'
16261: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16264: 
16265: fi
16266: # Using AC_SUBST eliminates the need to include config.h in a public .h file
16267: 
16268: 
16269: 
16270: # Conditional compilation
16271:  if test "x$enable_cpp" = "xyes"; then
16272:   WITH_PCRE_CPP_TRUE=
16273:   WITH_PCRE_CPP_FALSE='#'
16274: else
16275:   WITH_PCRE_CPP_TRUE='#'
16276:   WITH_PCRE_CPP_FALSE=
16277: fi
16278: 
16279:  if test "x$enable_rebuild_chartables" = "xyes"; then
16280:   WITH_REBUILD_CHARTABLES_TRUE=
16281:   WITH_REBUILD_CHARTABLES_FALSE='#'
16282: else
16283:   WITH_REBUILD_CHARTABLES_TRUE='#'
16284:   WITH_REBUILD_CHARTABLES_FALSE=
16285: fi
16286: 
16287:  if test "x$enable_jit" = "xyes"; then
16288:   WITH_JIT_TRUE=
16289:   WITH_JIT_FALSE='#'
16290: else
16291:   WITH_JIT_TRUE='#'
16292:   WITH_JIT_FALSE=
16293: fi
16294: 
16295:  if test "x$enable_utf8" = "xyes"; then
16296:   WITH_UTF8_TRUE=
16297:   WITH_UTF8_FALSE='#'
16298: else
16299:   WITH_UTF8_TRUE='#'
16300:   WITH_UTF8_FALSE=
16301: fi
16302: 
16303: 
16304: # Checks for typedefs, structures, and compiler characteristics.
16305: 
16306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16307: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16308: if ${ac_cv_c_const+:} false; then :
16309:   $as_echo_n "(cached) " >&6
16310: else
16311:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312: /* end confdefs.h.  */
16313: 
16314: int
16315: main ()
16316: {
16317: /* FIXME: Include the comments suggested by Paul. */
16318: #ifndef __cplusplus
16319:   /* Ultrix mips cc rejects this.  */
16320:   typedef int charset[2];
16321:   const charset cs;
16322:   /* SunOS 4.1.1 cc rejects this.  */
16323:   char const *const *pcpcc;
16324:   char **ppc;
16325:   /* NEC SVR4.0.2 mips cc rejects this.  */
16326:   struct point {int x, y;};
16327:   static struct point const zero = {0,0};
16328:   /* AIX XL C 1.02.0.0 rejects this.
16329:      It does not let you subtract one const X* pointer from another in
16330:      an arm of an if-expression whose if-part is not a constant
16331:      expression */
16332:   const char *g = "string";
16333:   pcpcc = &g + (g ? g-g : 0);
16334:   /* HPUX 7.0 cc rejects these. */
16335:   ++pcpcc;
16336:   ppc = (char**) pcpcc;
16337:   pcpcc = (char const *const *) ppc;
16338:   { /* SCO 3.2v4 cc rejects this.  */
16339:     char *t;
16340:     char const *s = 0 ? (char *) 0 : (char const *) 0;
16341: 
16342:     *t++ = 0;
16343:     if (s) return 0;
16344:   }
16345:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16346:     int x[] = {25, 17};
16347:     const int *foo = &x[0];
16348:     ++foo;
16349:   }
16350:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16351:     typedef const int *iptr;
16352:     iptr p = 0;
16353:     ++p;
16354:   }
16355:   { /* AIX XL C 1.02.0.0 rejects this saying
16356:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16357:     struct s { int j; const int *ap[3]; };
16358:     struct s *b; b->j = 5;
16359:   }
16360:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16361:     const int foo = 10;
16362:     if (!foo) return 0;
16363:   }
16364:   return !cs[0] && !zero.x;
16365: #endif
16366: 
16367:   ;
16368:   return 0;
16369: }
16370: _ACEOF
16371: if ac_fn_c_try_compile "$LINENO"; then :
16372:   ac_cv_c_const=yes
16373: else
16374:   ac_cv_c_const=no
16375: fi
16376: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16377: fi
16378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16379: $as_echo "$ac_cv_c_const" >&6; }
16380: if test $ac_cv_c_const = no; then
16381: 
16382: $as_echo "#define const /**/" >>confdefs.h
16383: 
16384: fi
16385: 
16386: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16387: if test "x$ac_cv_type_size_t" = xyes; then :
16388: 
16389: else
16390: 
16391: cat >>confdefs.h <<_ACEOF
16392: #define size_t unsigned int
16393: _ACEOF
16394: 
16395: fi
16396: 
16397: 
16398: # Checks for library functions.
16399: 
16400: for ac_func in bcopy memmove strerror
16401: do :
16402:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16403: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16404: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16405:   cat >>confdefs.h <<_ACEOF
16406: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16407: _ACEOF
16408: 
16409: fi
16410: done
16411: 
16412: 
16413: # Check for the availability of libz (aka zlib)
16414: 
16415: for ac_header in zlib.h
16416: do :
16417:   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16418: if test "x$ac_cv_header_zlib_h" = xyes; then :
16419:   cat >>confdefs.h <<_ACEOF
16420: #define HAVE_ZLIB_H 1
16421: _ACEOF
16422:  HAVE_ZLIB_H=1
16423: fi
16424: 
16425: done
16426: 
16427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
16428: $as_echo_n "checking for gzopen in -lz... " >&6; }
16429: if ${ac_cv_lib_z_gzopen+:} false; then :
16430:   $as_echo_n "(cached) " >&6
16431: else
16432:   ac_check_lib_save_LIBS=$LIBS
16433: LIBS="-lz  $LIBS"
16434: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435: /* end confdefs.h.  */
16436: 
16437: /* Override any GCC internal prototype to avoid an error.
16438:    Use char because int might match the return type of a GCC
16439:    builtin and then its argument prototype would still apply.  */
16440: #ifdef __cplusplus
16441: extern "C"
16442: #endif
16443: char gzopen ();
16444: int
16445: main ()
16446: {
16447: return gzopen ();
16448:   ;
16449:   return 0;
16450: }
16451: _ACEOF
16452: if ac_fn_c_try_link "$LINENO"; then :
16453:   ac_cv_lib_z_gzopen=yes
16454: else
16455:   ac_cv_lib_z_gzopen=no
16456: fi
16457: rm -f core conftest.err conftest.$ac_objext \
16458:     conftest$ac_exeext conftest.$ac_ext
16459: LIBS=$ac_check_lib_save_LIBS
16460: fi
16461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
16462: $as_echo "$ac_cv_lib_z_gzopen" >&6; }
16463: if test "x$ac_cv_lib_z_gzopen" = xyes; then :
16464:   HAVE_LIBZ=1
16465: fi
16466: 
16467: 
16468: # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
16469: # as for libz. However, this had the following problem, diagnosed and fixed by
16470: # a user:
16471: #
16472: #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
16473: #     under Win32.
16474: #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
16475: #     therefore missing the function definition.
16476: #   - The compiler thus generates a "C" signature for the test function.
16477: #   - The linker fails to find the "C" function.
16478: #   - PCRE fails to configure if asked to do so against libbz2.
16479: #
16480: # Solution:
16481: #
16482: #   - Replace the AC_CHECK_LIB test with a custom test.
16483: 
16484: for ac_header in bzlib.h
16485: do :
16486:   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
16487: if test "x$ac_cv_header_bzlib_h" = xyes; then :
16488:   cat >>confdefs.h <<_ACEOF
16489: #define HAVE_BZLIB_H 1
16490: _ACEOF
16491:  HAVE_BZLIB_H=1
16492: fi
16493: 
16494: done
16495: 
16496: # Original test
16497: # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
16498: #
16499: # Custom test follows
16500: 
16501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
16502: $as_echo_n "checking for libbz2... " >&6; }
16503: OLD_LIBS="$LIBS"
16504: LIBS="$LIBS -lbz2"
16505: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506: /* end confdefs.h.  */
16507: 
16508: #ifdef HAVE_BZLIB_H
16509: #include <bzlib.h>
16510: #endif
16511: int
16512: main ()
16513: {
16514: return (int)BZ2_bzopen("conftest", "rb");
16515:   ;
16516:   return 0;
16517: }
16518: _ACEOF
16519: if ac_fn_c_try_link "$LINENO"; then :
16520:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16521: $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
16522: else
16523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16524: $as_echo "no" >&6; }
16525: fi
16526: rm -f core conftest.err conftest.$ac_objext \
16527:     conftest$ac_exeext conftest.$ac_ext
16528: LIBS="$OLD_LIBS"
16529: 
16530: # Check for the availabiity of libreadline
16531: 
16532: for ac_header in readline/readline.h
16533: do :
16534:   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
16535: if test "x$ac_cv_header_readline_readline_h" = xyes; then :
16536:   cat >>confdefs.h <<_ACEOF
16537: #define HAVE_READLINE_READLINE_H 1
16538: _ACEOF
16539:  HAVE_READLINE_H=1
16540: fi
16541: 
16542: done
16543: 
16544: for ac_header in readline/history.h
16545: do :
16546:   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
16547: if test "x$ac_cv_header_readline_history_h" = xyes; then :
16548:   cat >>confdefs.h <<_ACEOF
16549: #define HAVE_READLINE_HISTORY_H 1
16550: _ACEOF
16551:  HAVE_HISTORY_H=1
16552: fi
16553: 
16554: done
16555: 
16556: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16557: $as_echo_n "checking for readline in -lreadline... " >&6; }
16558: if ${ac_cv_lib_readline_readline+:} false; then :
16559:   $as_echo_n "(cached) " >&6
16560: else
16561:   ac_check_lib_save_LIBS=$LIBS
16562: LIBS="-lreadline  $LIBS"
16563: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564: /* end confdefs.h.  */
16565: 
16566: /* Override any GCC internal prototype to avoid an error.
16567:    Use char because int might match the return type of a GCC
16568:    builtin and then its argument prototype would still apply.  */
16569: #ifdef __cplusplus
16570: extern "C"
16571: #endif
16572: char readline ();
16573: int
16574: main ()
16575: {
16576: return readline ();
16577:   ;
16578:   return 0;
16579: }
16580: _ACEOF
16581: if ac_fn_c_try_link "$LINENO"; then :
16582:   ac_cv_lib_readline_readline=yes
16583: else
16584:   ac_cv_lib_readline_readline=no
16585: fi
16586: rm -f core conftest.err conftest.$ac_objext \
16587:     conftest$ac_exeext conftest.$ac_ext
16588: LIBS=$ac_check_lib_save_LIBS
16589: fi
16590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16591: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16592: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16593:   HAVE_LIB_READLINE=1
16594: fi
16595: 
16596: 
16597: # This facilitates -ansi builds under Linux
16598: 
16599: PCRE_STATIC_CFLAG=""
16600: if test "x$enable_shared" = "xno" ; then
16601: 
16602: $as_echo "#define PCRE_STATIC 1" >>confdefs.h
16603: 
16604:   PCRE_STATIC_CFLAG="-DPCRE_STATIC"
16605: fi
16606: 
16607: 
16608: # Here is where pcre specific defines are handled
16609: 
16610: if test "$enable_jit" = "yes"; then
16611: 
16612: $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
16613: 
16614: else
16615:   enable_pcregrep_jit="no"
16616: fi
16617: 
16618: if test "$enable_pcregrep_jit" = "yes"; then
16619: 
16620: $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
16621: 
16622: fi
16623: 
16624: if test "$enable_utf8" = "yes"; then
16625: 
16626: $as_echo "#define SUPPORT_UTF8 /**/" >>confdefs.h
16627: 
16628: fi
16629: 
16630: if test "$enable_unicode_properties" = "yes"; then
16631: 
16632: $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
16633: 
16634: fi
16635: 
16636: if test "$enable_stack_for_recursion" = "no"; then
16637: 
16638: $as_echo "#define NO_RECURSE /**/" >>confdefs.h
16639: 
16640: fi
16641: 
16642: if test "$enable_pcregrep_libz" = "yes"; then
16643: 
16644: $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
16645: 
16646: fi
16647: 
16648: if test "$enable_pcregrep_libbz2" = "yes"; then
16649: 
16650: $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
16651: 
16652: fi
16653: 
16654: if test $with_pcregrep_bufsize -lt 8192 ; then
16655:   with_pcregrep_bufsize="8192"
16656: fi
16657: 
16658: 
16659: cat >>confdefs.h <<_ACEOF
16660: #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
16661: _ACEOF
16662: 
16663: 
16664: if test "$enable_pcretest_libreadline" = "yes"; then
16665: 
16666: $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
16667: 
16668: fi
16669: 
16670: 
16671: cat >>confdefs.h <<_ACEOF
16672: #define NEWLINE $ac_pcre_newline_value
16673: _ACEOF
16674: 
16675: 
16676: if test "$enable_bsr_anycrlf" = "yes"; then
16677: 
16678: $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
16679: 
16680: fi
16681: 
16682: 
16683: cat >>confdefs.h <<_ACEOF
16684: #define LINK_SIZE $with_link_size
16685: _ACEOF
16686: 
16687: 
16688: 
16689: cat >>confdefs.h <<_ACEOF
16690: #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
16691: _ACEOF
16692: 
16693: 
16694: 
16695: cat >>confdefs.h <<_ACEOF
16696: #define MATCH_LIMIT $with_match_limit
16697: _ACEOF
16698: 
16699: 
16700: 
16701: cat >>confdefs.h <<_ACEOF
16702: #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
16703: _ACEOF
16704: 
16705: 
16706: 
16707: $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
16708: 
16709: 
16710: 
16711: $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
16712: 
16713: 
16714: 
16715: 
16716: if test "$enable_ebcdic" = "yes"; then
16717: 
16718: cat >>confdefs.h <<_ACEOF
16719: #define EBCDIC /**/
16720: _ACEOF
16721: 
16722: fi
16723: 
16724: # Platform specific issues
16725: NO_UNDEFINED=
16726: EXPORT_ALL_SYMBOLS=
16727: case $host_os in
16728:   cygwin* | mingw* )
16729:     if test X"$enable_shared" = Xyes; then
16730:       NO_UNDEFINED="-no-undefined"
16731:       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
16732:     fi
16733:     ;;
16734: esac
16735: 
16736: # The extra LDFLAGS for each particular library
16737: # (Note: The libpcre*_version bits are m4 variables, assigned above)
16738: 
16739: EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
16740:                        $NO_UNDEFINED -version-info 0:1:0"
16741: 
16742: EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
16743:                             $NO_UNDEFINED -version-info 0:0:0"
16744: 
16745: EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
16746:                           $NO_UNDEFINED -version-info 0:0:0 \
16747:                           $EXPORT_ALL_SYMBOLS"
16748: 
16749: 
16750: 
16751: 
16752: 
16753: # When we run 'make distcheck', use these arguments.
16754: DISTCHECK_CONFIGURE_FLAGS="--enable-jit --enable-cpp --enable-unicode-properties"
16755: 
16756: 
16757: # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
16758: # specified, the relevant library is available.
16759: 
16760: if test "$enable_pcregrep_libz" = "yes"; then
16761:   if test "$HAVE_ZLIB_H" != "1"; then
16762:     echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
16763:     exit 1
16764:   fi
16765:   if test "$HAVE_LIBZ" != "1"; then
16766:     echo "** Cannot --enable-pcregrep-libz because libz was not found"
16767:     exit 1
16768:   fi
16769:   LIBZ="-lz"
16770: fi
16771: 
16772: 
16773: if test "$enable_pcregrep_libbz2" = "yes"; then
16774:   if test "$HAVE_BZLIB_H" != "1"; then
16775:     echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
16776:     exit 1
16777:   fi
16778:   if test "$HAVE_LIBBZ2" != "1"; then
16779:     echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
16780:     exit 1
16781:   fi
16782:   LIBBZ2="-lbz2"
16783: fi
16784: 
16785: 
16786: # Similarly for --enable-pcretest-readline
16787: 
16788: if test "$enable_pcretest_libreadline" = "yes"; then
16789:   if test "$HAVE_READLINE_H" != "1"; then
16790:     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
16791:     exit 1
16792:   fi
16793:   if test "$HAVE_HISTORY_H" != "1"; then
16794:     echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
16795:     exit 1
16796:   fi
16797:   LIBREADLINE="-lreadline"
16798: fi
16799: 
16800: 
16801: # Produce these files, in addition to config.h.
16802: ac_config_files="$ac_config_files Makefile libpcre.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
16803: 
16804: 
16805: # Make the generated script files executable.
16806: ac_config_commands="$ac_config_commands script-chmod"
16807: 
16808: 
16809: # Make sure that pcre_chartables.c is removed in case the method for
16810: # creating it was changed by reconfiguration.
16811: ac_config_commands="$ac_config_commands delete-old-chartables"
16812: 
16813: 
16814: cat >confcache <<\_ACEOF
16815: # This file is a shell script that caches the results of configure
16816: # tests run on this system so they can be shared between configure
16817: # scripts and configure runs, see configure's option --config-cache.
16818: # It is not useful on other systems.  If it contains results you don't
16819: # want to keep, you may remove or edit it.
16820: #
16821: # config.status only pays attention to the cache file if you give it
16822: # the --recheck option to rerun configure.
16823: #
16824: # `ac_cv_env_foo' variables (set or unset) will be overridden when
16825: # loading this file, other *unset* `ac_cv_foo' will be assigned the
16826: # following values.
16827: 
16828: _ACEOF
16829: 
16830: # The following way of writing the cache mishandles newlines in values,
16831: # but we know of no workaround that is simple, portable, and efficient.
16832: # So, we kill variables containing newlines.
16833: # Ultrix sh set writes to stderr and can't be redirected directly,
16834: # and sets the high bit in the cache file unless we assign to the vars.
16835: (
16836:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16837:     eval ac_val=\$$ac_var
16838:     case $ac_val in #(
16839:     *${as_nl}*)
16840:       case $ac_var in #(
16841:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16842: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16843:       esac
16844:       case $ac_var in #(
16845:       _ | IFS | as_nl) ;; #(
16846:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16847:       *) { eval $ac_var=; unset $ac_var;} ;;
16848:       esac ;;
16849:     esac
16850:   done
16851: 
16852:   (set) 2>&1 |
16853:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16854:     *${as_nl}ac_space=\ *)
16855:       # `set' does not quote correctly, so add quotes: double-quote
16856:       # substitution turns \\\\ into \\, and sed turns \\ into \.
16857:       sed -n \
16858: 	"s/'/'\\\\''/g;
16859: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16860:       ;; #(
16861:     *)
16862:       # `set' quotes correctly as required by POSIX, so do not add quotes.
16863:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16864:       ;;
16865:     esac |
16866:     sort
16867: ) |
16868:   sed '
16869:      /^ac_cv_env_/b end
16870:      t clear
16871:      :clear
16872:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16873:      t end
16874:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16875:      :end' >>confcache
16876: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16877:   if test -w "$cache_file"; then
16878:     if test "x$cache_file" != "x/dev/null"; then
16879:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16880: $as_echo "$as_me: updating cache $cache_file" >&6;}
16881:       if test ! -f "$cache_file" || test -h "$cache_file"; then
16882: 	cat confcache >"$cache_file"
16883:       else
16884:         case $cache_file in #(
16885:         */* | ?:*)
16886: 	  mv -f confcache "$cache_file"$$ &&
16887: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16888:         *)
16889: 	  mv -f confcache "$cache_file" ;;
16890: 	esac
16891:       fi
16892:     fi
16893:   else
16894:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16895: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16896:   fi
16897: fi
16898: rm -f confcache
16899: 
16900: test "x$prefix" = xNONE && prefix=$ac_default_prefix
16901: # Let make expand exec_prefix.
16902: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16903: 
16904: DEFS=-DHAVE_CONFIG_H
16905: 
16906: ac_libobjs=
16907: ac_ltlibobjs=
16908: U=
16909: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16910:   # 1. Remove the extension, and $U if already installed.
16911:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16912:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16913:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16914:   #    will be set to the directory where LIBOBJS objects are built.
16915:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16916:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16917: done
16918: LIBOBJS=$ac_libobjs
16919: 
16920: LTLIBOBJS=$ac_ltlibobjs
16921: 
16922: 
16923:  if test -n "$EXEEXT"; then
16924:   am__EXEEXT_TRUE=
16925:   am__EXEEXT_FALSE='#'
16926: else
16927:   am__EXEEXT_TRUE='#'
16928:   am__EXEEXT_FALSE=
16929: fi
16930: 
16931: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16932:   as_fn_error $? "conditional \"AMDEP\" was never defined.
16933: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16934: fi
16935: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16936:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16937: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16938: fi
16939: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16940:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16941: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16942: fi
16943: if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
16944:   as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined.
16945: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16946: fi
16947: if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
16948:   as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
16949: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16950: fi
16951: if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
16952:   as_fn_error $? "conditional \"WITH_JIT\" was never defined.
16953: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16954: fi
16955: if test -z "${WITH_UTF8_TRUE}" && test -z "${WITH_UTF8_FALSE}"; then
16956:   as_fn_error $? "conditional \"WITH_UTF8\" was never defined.
16957: Usually this means the macro was only invoked conditionally." "$LINENO" 5
16958: fi
16959: 
16960: : "${CONFIG_STATUS=./config.status}"
16961: ac_write_fail=0
16962: ac_clean_files_save=$ac_clean_files
16963: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16964: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16965: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16966: as_write_fail=0
16967: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16968: #! $SHELL
16969: # Generated by $as_me.
16970: # Run this file to recreate the current configuration.
16971: # Compiler output produced by configure, useful for debugging
16972: # configure, is in config.log if it exists.
16973: 
16974: debug=false
16975: ac_cs_recheck=false
16976: ac_cs_silent=false
16977: 
16978: SHELL=\${CONFIG_SHELL-$SHELL}
16979: export SHELL
16980: _ASEOF
16981: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16982: ## -------------------- ##
16983: ## M4sh Initialization. ##
16984: ## -------------------- ##
16985: 
16986: # Be more Bourne compatible
16987: DUALCASE=1; export DUALCASE # for MKS sh
16988: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16989:   emulate sh
16990:   NULLCMD=:
16991:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16992:   # is contrary to our usage.  Disable this feature.
16993:   alias -g '${1+"$@"}'='"$@"'
16994:   setopt NO_GLOB_SUBST
16995: else
16996:   case `(set -o) 2>/dev/null` in #(
16997:   *posix*) :
16998:     set -o posix ;; #(
16999:   *) :
17000:      ;;
17001: esac
17002: fi
17003: 
17004: 
17005: as_nl='
17006: '
17007: export as_nl
17008: # Printing a long string crashes Solaris 7 /usr/bin/printf.
17009: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17010: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17011: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17012: # Prefer a ksh shell builtin over an external printf program on Solaris,
17013: # but without wasting forks for bash or zsh.
17014: if test -z "$BASH_VERSION$ZSH_VERSION" \
17015:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17016:   as_echo='print -r --'
17017:   as_echo_n='print -rn --'
17018: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17019:   as_echo='printf %s\n'
17020:   as_echo_n='printf %s'
17021: else
17022:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17023:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17024:     as_echo_n='/usr/ucb/echo -n'
17025:   else
17026:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17027:     as_echo_n_body='eval
17028:       arg=$1;
17029:       case $arg in #(
17030:       *"$as_nl"*)
17031: 	expr "X$arg" : "X\\(.*\\)$as_nl";
17032: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17033:       esac;
17034:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17035:     '
17036:     export as_echo_n_body
17037:     as_echo_n='sh -c $as_echo_n_body as_echo'
17038:   fi
17039:   export as_echo_body
17040:   as_echo='sh -c $as_echo_body as_echo'
17041: fi
17042: 
17043: # The user is always right.
17044: if test "${PATH_SEPARATOR+set}" != set; then
17045:   PATH_SEPARATOR=:
17046:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17047:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17048:       PATH_SEPARATOR=';'
17049:   }
17050: fi
17051: 
17052: 
17053: # IFS
17054: # We need space, tab and new line, in precisely that order.  Quoting is
17055: # there to prevent editors from complaining about space-tab.
17056: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17057: # splitting by setting IFS to empty value.)
17058: IFS=" ""	$as_nl"
17059: 
17060: # Find who we are.  Look in the path if we contain no directory separator.
17061: as_myself=
17062: case $0 in #((
17063:   *[\\/]* ) as_myself=$0 ;;
17064:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17065: for as_dir in $PATH
17066: do
17067:   IFS=$as_save_IFS
17068:   test -z "$as_dir" && as_dir=.
17069:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17070:   done
17071: IFS=$as_save_IFS
17072: 
17073:      ;;
17074: esac
17075: # We did not find ourselves, most probably we were run as `sh COMMAND'
17076: # in which case we are not to be found in the path.
17077: if test "x$as_myself" = x; then
17078:   as_myself=$0
17079: fi
17080: if test ! -f "$as_myself"; then
17081:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17082:   exit 1
17083: fi
17084: 
17085: # Unset variables that we do not need and which cause bugs (e.g. in
17086: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17087: # suppresses any "Segmentation fault" message there.  '((' could
17088: # trigger a bug in pdksh 5.2.14.
17089: for as_var in BASH_ENV ENV MAIL MAILPATH
17090: do eval test x\${$as_var+set} = xset \
17091:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17092: done
17093: PS1='$ '
17094: PS2='> '
17095: PS4='+ '
17096: 
17097: # NLS nuisances.
17098: LC_ALL=C
17099: export LC_ALL
17100: LANGUAGE=C
17101: export LANGUAGE
17102: 
17103: # CDPATH.
17104: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17105: 
17106: 
17107: # as_fn_error STATUS ERROR [LINENO LOG_FD]
17108: # ----------------------------------------
17109: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17110: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17111: # script with STATUS, using 1 if that was 0.
17112: as_fn_error ()
17113: {
17114:   as_status=$1; test $as_status -eq 0 && as_status=1
17115:   if test "$4"; then
17116:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17117:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17118:   fi
17119:   $as_echo "$as_me: error: $2" >&2
17120:   as_fn_exit $as_status
17121: } # as_fn_error
17122: 
17123: 
17124: # as_fn_set_status STATUS
17125: # -----------------------
17126: # Set $? to STATUS, without forking.
17127: as_fn_set_status ()
17128: {
17129:   return $1
17130: } # as_fn_set_status
17131: 
17132: # as_fn_exit STATUS
17133: # -----------------
17134: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17135: as_fn_exit ()
17136: {
17137:   set +e
17138:   as_fn_set_status $1
17139:   exit $1
17140: } # as_fn_exit
17141: 
17142: # as_fn_unset VAR
17143: # ---------------
17144: # Portably unset VAR.
17145: as_fn_unset ()
17146: {
17147:   { eval $1=; unset $1;}
17148: }
17149: as_unset=as_fn_unset
17150: # as_fn_append VAR VALUE
17151: # ----------------------
17152: # Append the text in VALUE to the end of the definition contained in VAR. Take
17153: # advantage of any shell optimizations that allow amortized linear growth over
17154: # repeated appends, instead of the typical quadratic growth present in naive
17155: # implementations.
17156: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17157:   eval 'as_fn_append ()
17158:   {
17159:     eval $1+=\$2
17160:   }'
17161: else
17162:   as_fn_append ()
17163:   {
17164:     eval $1=\$$1\$2
17165:   }
17166: fi # as_fn_append
17167: 
17168: # as_fn_arith ARG...
17169: # ------------------
17170: # Perform arithmetic evaluation on the ARGs, and store the result in the
17171: # global $as_val. Take advantage of shells that can avoid forks. The arguments
17172: # must be portable across $(()) and expr.
17173: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17174:   eval 'as_fn_arith ()
17175:   {
17176:     as_val=$(( $* ))
17177:   }'
17178: else
17179:   as_fn_arith ()
17180:   {
17181:     as_val=`expr "$@" || test $? -eq 1`
17182:   }
17183: fi # as_fn_arith
17184: 
17185: 
17186: if expr a : '\(a\)' >/dev/null 2>&1 &&
17187:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17188:   as_expr=expr
17189: else
17190:   as_expr=false
17191: fi
17192: 
17193: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17194:   as_basename=basename
17195: else
17196:   as_basename=false
17197: fi
17198: 
17199: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17200:   as_dirname=dirname
17201: else
17202:   as_dirname=false
17203: fi
17204: 
17205: as_me=`$as_basename -- "$0" ||
17206: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17207: 	 X"$0" : 'X\(//\)$' \| \
17208: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17209: $as_echo X/"$0" |
17210:     sed '/^.*\/\([^/][^/]*\)\/*$/{
17211: 	    s//\1/
17212: 	    q
17213: 	  }
17214: 	  /^X\/\(\/\/\)$/{
17215: 	    s//\1/
17216: 	    q
17217: 	  }
17218: 	  /^X\/\(\/\).*/{
17219: 	    s//\1/
17220: 	    q
17221: 	  }
17222: 	  s/.*/./; q'`
17223: 
17224: # Avoid depending upon Character Ranges.
17225: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17226: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17227: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17228: as_cr_digits='0123456789'
17229: as_cr_alnum=$as_cr_Letters$as_cr_digits
17230: 
17231: ECHO_C= ECHO_N= ECHO_T=
17232: case `echo -n x` in #(((((
17233: -n*)
17234:   case `echo 'xy\c'` in
17235:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17236:   xy)  ECHO_C='\c';;
17237:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17238:        ECHO_T='	';;
17239:   esac;;
17240: *)
17241:   ECHO_N='-n';;
17242: esac
17243: 
17244: rm -f conf$$ conf$$.exe conf$$.file
17245: if test -d conf$$.dir; then
17246:   rm -f conf$$.dir/conf$$.file
17247: else
17248:   rm -f conf$$.dir
17249:   mkdir conf$$.dir 2>/dev/null
17250: fi
17251: if (echo >conf$$.file) 2>/dev/null; then
17252:   if ln -s conf$$.file conf$$ 2>/dev/null; then
17253:     as_ln_s='ln -s'
17254:     # ... but there are two gotchas:
17255:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17256:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17257:     # In both cases, we have to default to `cp -p'.
17258:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17259:       as_ln_s='cp -p'
17260:   elif ln conf$$.file conf$$ 2>/dev/null; then
17261:     as_ln_s=ln
17262:   else
17263:     as_ln_s='cp -p'
17264:   fi
17265: else
17266:   as_ln_s='cp -p'
17267: fi
17268: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17269: rmdir conf$$.dir 2>/dev/null
17270: 
17271: 
17272: # as_fn_mkdir_p
17273: # -------------
17274: # Create "$as_dir" as a directory, including parents if necessary.
17275: as_fn_mkdir_p ()
17276: {
17277: 
17278:   case $as_dir in #(
17279:   -*) as_dir=./$as_dir;;
17280:   esac
17281:   test -d "$as_dir" || eval $as_mkdir_p || {
17282:     as_dirs=
17283:     while :; do
17284:       case $as_dir in #(
17285:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17286:       *) as_qdir=$as_dir;;
17287:       esac
17288:       as_dirs="'$as_qdir' $as_dirs"
17289:       as_dir=`$as_dirname -- "$as_dir" ||
17290: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17291: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
17292: 	 X"$as_dir" : 'X\(//\)$' \| \
17293: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17294: $as_echo X"$as_dir" |
17295:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17296: 	    s//\1/
17297: 	    q
17298: 	  }
17299: 	  /^X\(\/\/\)[^/].*/{
17300: 	    s//\1/
17301: 	    q
17302: 	  }
17303: 	  /^X\(\/\/\)$/{
17304: 	    s//\1/
17305: 	    q
17306: 	  }
17307: 	  /^X\(\/\).*/{
17308: 	    s//\1/
17309: 	    q
17310: 	  }
17311: 	  s/.*/./; q'`
17312:       test -d "$as_dir" && break
17313:     done
17314:     test -z "$as_dirs" || eval "mkdir $as_dirs"
17315:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17316: 
17317: 
17318: } # as_fn_mkdir_p
17319: if mkdir -p . 2>/dev/null; then
17320:   as_mkdir_p='mkdir -p "$as_dir"'
17321: else
17322:   test -d ./-p && rmdir ./-p
17323:   as_mkdir_p=false
17324: fi
17325: 
17326: if test -x / >/dev/null 2>&1; then
17327:   as_test_x='test -x'
17328: else
17329:   if ls -dL / >/dev/null 2>&1; then
17330:     as_ls_L_option=L
17331:   else
17332:     as_ls_L_option=
17333:   fi
17334:   as_test_x='
17335:     eval sh -c '\''
17336:       if test -d "$1"; then
17337: 	test -d "$1/.";
17338:       else
17339: 	case $1 in #(
17340: 	-*)set "./$1";;
17341: 	esac;
17342: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17343: 	???[sx]*):;;*)false;;esac;fi
17344:     '\'' sh
17345:   '
17346: fi
17347: as_executable_p=$as_test_x
17348: 
17349: # Sed expression to map a string onto a valid CPP name.
17350: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17351: 
17352: # Sed expression to map a string onto a valid variable name.
17353: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17354: 
17355: 
17356: exec 6>&1
17357: ## ----------------------------------- ##
17358: ## Main body of $CONFIG_STATUS script. ##
17359: ## ----------------------------------- ##
17360: _ASEOF
17361: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17362: 
17363: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17364: # Save the log message, to keep $0 and so on meaningful, and to
17365: # report actual input values of CONFIG_FILES etc. instead of their
17366: # values after options handling.
17367: ac_log="
17368: This file was extended by PCRE $as_me 8.21, which was
17369: generated by GNU Autoconf 2.68.  Invocation command line was
17370: 
17371:   CONFIG_FILES    = $CONFIG_FILES
17372:   CONFIG_HEADERS  = $CONFIG_HEADERS
17373:   CONFIG_LINKS    = $CONFIG_LINKS
17374:   CONFIG_COMMANDS = $CONFIG_COMMANDS
17375:   $ $0 $@
17376: 
17377: on `(hostname || uname -n) 2>/dev/null | sed 1q`
17378: "
17379: 
17380: _ACEOF
17381: 
17382: case $ac_config_files in *"
17383: "*) set x $ac_config_files; shift; ac_config_files=$*;;
17384: esac
17385: 
17386: case $ac_config_headers in *"
17387: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17388: esac
17389: 
17390: 
17391: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17392: # Files that config.status was made for.
17393: config_files="$ac_config_files"
17394: config_headers="$ac_config_headers"
17395: config_commands="$ac_config_commands"
17396: 
17397: _ACEOF
17398: 
17399: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17400: ac_cs_usage="\
17401: \`$as_me' instantiates files and other configuration actions
17402: from templates according to the current configuration.  Unless the files
17403: and actions are specified as TAGs, all are instantiated by default.
17404: 
17405: Usage: $0 [OPTION]... [TAG]...
17406: 
17407:   -h, --help       print this help, then exit
17408:   -V, --version    print version number and configuration settings, then exit
17409:       --config     print configuration, then exit
17410:   -q, --quiet, --silent
17411:                    do not print progress messages
17412:   -d, --debug      don't remove temporary files
17413:       --recheck    update $as_me by reconfiguring in the same conditions
17414:       --file=FILE[:TEMPLATE]
17415:                    instantiate the configuration file FILE
17416:       --header=FILE[:TEMPLATE]
17417:                    instantiate the configuration header FILE
17418: 
17419: Configuration files:
17420: $config_files
17421: 
17422: Configuration headers:
17423: $config_headers
17424: 
17425: Configuration commands:
17426: $config_commands
17427: 
17428: Report bugs to the package provider."
17429: 
17430: _ACEOF
17431: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17432: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17433: ac_cs_version="\\
17434: PCRE config.status 8.21
17435: configured by $0, generated by GNU Autoconf 2.68,
17436:   with options \\"\$ac_cs_config\\"
17437: 
17438: Copyright (C) 2010 Free Software Foundation, Inc.
17439: This config.status script is free software; the Free Software Foundation
17440: gives unlimited permission to copy, distribute and modify it."
17441: 
17442: ac_pwd='$ac_pwd'
17443: srcdir='$srcdir'
17444: INSTALL='$INSTALL'
17445: MKDIR_P='$MKDIR_P'
17446: AWK='$AWK'
17447: test -n "\$AWK" || AWK=awk
17448: _ACEOF
17449: 
17450: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17451: # The default lists apply if the user does not specify any file.
17452: ac_need_defaults=:
17453: while test $# != 0
17454: do
17455:   case $1 in
17456:   --*=?*)
17457:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17458:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17459:     ac_shift=:
17460:     ;;
17461:   --*=)
17462:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17463:     ac_optarg=
17464:     ac_shift=:
17465:     ;;
17466:   *)
17467:     ac_option=$1
17468:     ac_optarg=$2
17469:     ac_shift=shift
17470:     ;;
17471:   esac
17472: 
17473:   case $ac_option in
17474:   # Handling of the options.
17475:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17476:     ac_cs_recheck=: ;;
17477:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17478:     $as_echo "$ac_cs_version"; exit ;;
17479:   --config | --confi | --conf | --con | --co | --c )
17480:     $as_echo "$ac_cs_config"; exit ;;
17481:   --debug | --debu | --deb | --de | --d | -d )
17482:     debug=: ;;
17483:   --file | --fil | --fi | --f )
17484:     $ac_shift
17485:     case $ac_optarg in
17486:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17487:     '') as_fn_error $? "missing file argument" ;;
17488:     esac
17489:     as_fn_append CONFIG_FILES " '$ac_optarg'"
17490:     ac_need_defaults=false;;
17491:   --header | --heade | --head | --hea )
17492:     $ac_shift
17493:     case $ac_optarg in
17494:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17495:     esac
17496:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17497:     ac_need_defaults=false;;
17498:   --he | --h)
17499:     # Conflict between --help and --header
17500:     as_fn_error $? "ambiguous option: \`$1'
17501: Try \`$0 --help' for more information.";;
17502:   --help | --hel | -h )
17503:     $as_echo "$ac_cs_usage"; exit ;;
17504:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17505:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17506:     ac_cs_silent=: ;;
17507: 
17508:   # This is an error.
17509:   -*) as_fn_error $? "unrecognized option: \`$1'
17510: Try \`$0 --help' for more information." ;;
17511: 
17512:   *) as_fn_append ac_config_targets " $1"
17513:      ac_need_defaults=false ;;
17514: 
17515:   esac
17516:   shift
17517: done
17518: 
17519: ac_configure_extra_args=
17520: 
17521: if $ac_cs_silent; then
17522:   exec 6>/dev/null
17523:   ac_configure_extra_args="$ac_configure_extra_args --silent"
17524: fi
17525: 
17526: _ACEOF
17527: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17528: if \$ac_cs_recheck; then
17529:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17530:   shift
17531:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17532:   CONFIG_SHELL='$SHELL'
17533:   export CONFIG_SHELL
17534:   exec "\$@"
17535: fi
17536: 
17537: _ACEOF
17538: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17539: exec 5>>config.log
17540: {
17541:   echo
17542:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17543: ## Running $as_me. ##
17544: _ASBOX
17545:   $as_echo "$ac_log"
17546: } >&5
17547: 
17548: _ACEOF
17549: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17550: #
17551: # INIT-COMMANDS
17552: #
17553: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17554: 
17555: 
17556: # The HP-UX ksh and POSIX shell print the target directory to stdout
17557: # if CDPATH is set.
17558: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17559: 
17560: sed_quote_subst='$sed_quote_subst'
17561: double_quote_subst='$double_quote_subst'
17562: delay_variable_subst='$delay_variable_subst'
17563: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17564: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17565: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17566: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17567: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17568: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17569: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17570: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17571: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17572: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17573: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17574: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17575: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17576: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17577: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17578: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17579: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17580: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17581: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17582: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17583: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17584: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17585: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17586: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17587: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17588: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17589: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17590: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17591: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17592: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17593: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17594: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17595: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17596: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17597: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17598: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17599: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17600: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17601: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17602: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17603: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17604: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17605: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17606: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17607: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17608: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17609: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17610: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17611: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17612: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17613: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17614: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17615: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17616: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17617: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17618: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17619: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17620: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17621: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17622: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17623: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17624: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17625: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17626: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17627: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17628: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17629: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17630: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17631: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17632: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17633: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17634: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17635: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17636: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17637: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17638: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17639: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17640: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17641: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17642: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17643: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17644: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17645: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17646: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17647: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17648: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17649: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17650: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17651: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17652: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17653: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17654: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17655: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17656: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17657: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17658: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17659: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17660: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17661: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17662: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17663: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17664: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17665: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17666: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17667: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17668: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17669: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17670: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17671: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17672: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17673: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17674: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17675: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17676: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17677: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17678: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17679: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17680: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17681: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17682: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17683: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17684: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17685: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17686: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17687: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17688: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17689: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17690: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17691: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17692: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17693: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17694: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17695: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17696: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17697: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17698: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17699: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17700: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17701: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17702: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17703: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17704: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17705: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17706: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17707: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17708: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17709: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17710: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17711: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17712: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17713: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17714: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17715: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17716: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17717: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17718: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17719: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17720: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17721: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17722: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17723: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17724: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17725: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17726: hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17727: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17728: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17729: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17730: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17731: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17732: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17733: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17734: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17735: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17736: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17737: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17738: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17739: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17740: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17741: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17742: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17743: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17744: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17745: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17746: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17747: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17748: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17749: 
17750: LTCC='$LTCC'
17751: LTCFLAGS='$LTCFLAGS'
17752: compiler='$compiler_DEFAULT'
17753: 
17754: # A function that is used when there is no print builtin or printf.
17755: func_fallback_echo ()
17756: {
17757:   eval 'cat <<_LTECHO_EOF
17758: \$1
17759: _LTECHO_EOF'
17760: }
17761: 
17762: # Quote evaled strings.
17763: for var in AS \
17764: DLLTOOL \
17765: OBJDUMP \
17766: SHELL \
17767: ECHO \
17768: SED \
17769: GREP \
17770: EGREP \
17771: FGREP \
17772: LD \
17773: NM \
17774: LN_S \
17775: lt_SP2NL \
17776: lt_NL2SP \
17777: reload_flag \
17778: deplibs_check_method \
17779: file_magic_cmd \
17780: file_magic_glob \
17781: want_nocaseglob \
17782: sharedlib_from_linklib_cmd \
17783: AR \
17784: AR_FLAGS \
17785: archiver_list_spec \
17786: STRIP \
17787: RANLIB \
17788: CC \
17789: CFLAGS \
17790: compiler \
17791: lt_cv_sys_global_symbol_pipe \
17792: lt_cv_sys_global_symbol_to_cdecl \
17793: lt_cv_sys_global_symbol_to_c_name_address \
17794: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17795: nm_file_list_spec \
17796: lt_prog_compiler_no_builtin_flag \
17797: lt_prog_compiler_pic \
17798: lt_prog_compiler_wl \
17799: lt_prog_compiler_static \
17800: lt_cv_prog_compiler_c_o \
17801: need_locks \
17802: MANIFEST_TOOL \
17803: DSYMUTIL \
17804: NMEDIT \
17805: LIPO \
17806: OTOOL \
17807: OTOOL64 \
17808: shrext_cmds \
17809: export_dynamic_flag_spec \
17810: whole_archive_flag_spec \
17811: compiler_needs_object \
17812: with_gnu_ld \
17813: allow_undefined_flag \
17814: no_undefined_flag \
17815: hardcode_libdir_flag_spec \
17816: hardcode_libdir_flag_spec_ld \
17817: hardcode_libdir_separator \
17818: exclude_expsyms \
17819: include_expsyms \
17820: file_list_spec \
17821: variables_saved_for_relink \
17822: libname_spec \
17823: library_names_spec \
17824: soname_spec \
17825: install_override_mode \
17826: finish_eval \
17827: old_striplib \
17828: striplib \
17829: compiler_lib_search_dirs \
17830: predep_objects \
17831: postdep_objects \
17832: predeps \
17833: postdeps \
17834: compiler_lib_search_path \
17835: LD_CXX \
17836: reload_flag_CXX \
17837: compiler_CXX \
17838: lt_prog_compiler_no_builtin_flag_CXX \
17839: lt_prog_compiler_pic_CXX \
17840: lt_prog_compiler_wl_CXX \
17841: lt_prog_compiler_static_CXX \
17842: lt_cv_prog_compiler_c_o_CXX \
17843: export_dynamic_flag_spec_CXX \
17844: whole_archive_flag_spec_CXX \
17845: compiler_needs_object_CXX \
17846: with_gnu_ld_CXX \
17847: allow_undefined_flag_CXX \
17848: no_undefined_flag_CXX \
17849: hardcode_libdir_flag_spec_CXX \
17850: hardcode_libdir_flag_spec_ld_CXX \
17851: hardcode_libdir_separator_CXX \
17852: exclude_expsyms_CXX \
17853: include_expsyms_CXX \
17854: file_list_spec_CXX \
17855: compiler_lib_search_dirs_CXX \
17856: predep_objects_CXX \
17857: postdep_objects_CXX \
17858: predeps_CXX \
17859: postdeps_CXX \
17860: compiler_lib_search_path_CXX; do
17861:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17862:     *[\\\\\\\`\\"\\\$]*)
17863:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17864:       ;;
17865:     *)
17866:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17867:       ;;
17868:     esac
17869: done
17870: 
17871: # Double-quote double-evaled strings.
17872: for var in reload_cmds \
17873: old_postinstall_cmds \
17874: old_postuninstall_cmds \
17875: old_archive_cmds \
17876: extract_expsyms_cmds \
17877: old_archive_from_new_cmds \
17878: old_archive_from_expsyms_cmds \
17879: archive_cmds \
17880: archive_expsym_cmds \
17881: module_cmds \
17882: module_expsym_cmds \
17883: export_symbols_cmds \
17884: prelink_cmds \
17885: postlink_cmds \
17886: postinstall_cmds \
17887: postuninstall_cmds \
17888: finish_cmds \
17889: sys_lib_search_path_spec \
17890: sys_lib_dlsearch_path_spec \
17891: reload_cmds_CXX \
17892: old_archive_cmds_CXX \
17893: old_archive_from_new_cmds_CXX \
17894: old_archive_from_expsyms_cmds_CXX \
17895: archive_cmds_CXX \
17896: archive_expsym_cmds_CXX \
17897: module_cmds_CXX \
17898: module_expsym_cmds_CXX \
17899: export_symbols_cmds_CXX \
17900: prelink_cmds_CXX \
17901: postlink_cmds_CXX; do
17902:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17903:     *[\\\\\\\`\\"\\\$]*)
17904:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17905:       ;;
17906:     *)
17907:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17908:       ;;
17909:     esac
17910: done
17911: 
17912: ac_aux_dir='$ac_aux_dir'
17913: xsi_shell='$xsi_shell'
17914: lt_shell_append='$lt_shell_append'
17915: 
17916: # See if we are running on zsh, and set the options which allow our
17917: # commands through without removal of \ escapes INIT.
17918: if test -n "\${ZSH_VERSION+set}" ; then
17919:    setopt NO_GLOB_SUBST
17920: fi
17921: 
17922: 
17923:     PACKAGE='$PACKAGE'
17924:     VERSION='$VERSION'
17925:     TIMESTAMP='$TIMESTAMP'
17926:     RM='$RM'
17927:     ofile='$ofile'
17928: 
17929: 
17930: 
17931: 
17932: 
17933: 
17934: _ACEOF
17935: 
17936: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17937: 
17938: # Handling of arguments.
17939: for ac_config_target in $ac_config_targets
17940: do
17941:   case $ac_config_target in
17942:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17943:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17944:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17945:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17946:     "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
17947:     "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
17948:     "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
17949:     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
17950:     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
17951:     "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
17952:     "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
17953:     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
17954:     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
17955: 
17956:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17957:   esac
17958: done
17959: 
17960: 
17961: # If the user did not use the arguments to specify the items to instantiate,
17962: # then the envvar interface is used.  Set only those that are not.
17963: # We use the long form for the default assignment because of an extremely
17964: # bizarre bug on SunOS 4.1.3.
17965: if $ac_need_defaults; then
17966:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17967:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17968:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17969: fi
17970: 
17971: # Have a temporary directory for convenience.  Make it in the build tree
17972: # simply because there is no reason against having it here, and in addition,
17973: # creating and moving files from /tmp can sometimes cause problems.
17974: # Hook for its removal unless debugging.
17975: # Note that there is a small window in which the directory will not be cleaned:
17976: # after its creation but before its name has been assigned to `$tmp'.
17977: $debug ||
17978: {
17979:   tmp= ac_tmp=
17980:   trap 'exit_status=$?
17981:   : "${ac_tmp:=$tmp}"
17982:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17983: ' 0
17984:   trap 'as_fn_exit 1' 1 2 13 15
17985: }
17986: # Create a (secure) tmp directory for tmp files.
17987: 
17988: {
17989:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17990:   test -d "$tmp"
17991: }  ||
17992: {
17993:   tmp=./conf$$-$RANDOM
17994:   (umask 077 && mkdir "$tmp")
17995: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17996: ac_tmp=$tmp
17997: 
17998: # Set up the scripts for CONFIG_FILES section.
17999: # No need to generate them if there are no CONFIG_FILES.
18000: # This happens for instance with `./config.status config.h'.
18001: if test -n "$CONFIG_FILES"; then
18002: 
18003: 
18004: ac_cr=`echo X | tr X '\015'`
18005: # On cygwin, bash can eat \r inside `` if the user requested igncr.
18006: # But we know of no other shell where ac_cr would be empty at this
18007: # point, so we can use a bashism as a fallback.
18008: if test "x$ac_cr" = x; then
18009:   eval ac_cr=\$\'\\r\'
18010: fi
18011: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18012: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18013:   ac_cs_awk_cr='\\r'
18014: else
18015:   ac_cs_awk_cr=$ac_cr
18016: fi
18017: 
18018: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18019: _ACEOF
18020: 
18021: 
18022: {
18023:   echo "cat >conf$$subs.awk <<_ACEOF" &&
18024:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18025:   echo "_ACEOF"
18026: } >conf$$subs.sh ||
18027:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18028: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18029: ac_delim='%!_!# '
18030: for ac_last_try in false false false false false :; do
18031:   . ./conf$$subs.sh ||
18032:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18033: 
18034:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18035:   if test $ac_delim_n = $ac_delim_num; then
18036:     break
18037:   elif $ac_last_try; then
18038:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18039:   else
18040:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18041:   fi
18042: done
18043: rm -f conf$$subs.sh
18044: 
18045: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18046: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18047: _ACEOF
18048: sed -n '
18049: h
18050: s/^/S["/; s/!.*/"]=/
18051: p
18052: g
18053: s/^[^!]*!//
18054: :repl
18055: t repl
18056: s/'"$ac_delim"'$//
18057: t delim
18058: :nl
18059: h
18060: s/\(.\{148\}\)..*/\1/
18061: t more1
18062: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18063: p
18064: n
18065: b repl
18066: :more1
18067: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18068: p
18069: g
18070: s/.\{148\}//
18071: t nl
18072: :delim
18073: h
18074: s/\(.\{148\}\)..*/\1/
18075: t more2
18076: s/["\\]/\\&/g; s/^/"/; s/$/"/
18077: p
18078: b
18079: :more2
18080: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18081: p
18082: g
18083: s/.\{148\}//
18084: t delim
18085: ' <conf$$subs.awk | sed '
18086: /^[^""]/{
18087:   N
18088:   s/\n//
18089: }
18090: ' >>$CONFIG_STATUS || ac_write_fail=1
18091: rm -f conf$$subs.awk
18092: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18093: _ACAWK
18094: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18095:   for (key in S) S_is_set[key] = 1
18096:   FS = ""
18097: 
18098: }
18099: {
18100:   line = $ 0
18101:   nfields = split(line, field, "@")
18102:   substed = 0
18103:   len = length(field[1])
18104:   for (i = 2; i < nfields; i++) {
18105:     key = field[i]
18106:     keylen = length(key)
18107:     if (S_is_set[key]) {
18108:       value = S[key]
18109:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18110:       len += length(value) + length(field[++i])
18111:       substed = 1
18112:     } else
18113:       len += 1 + keylen
18114:   }
18115: 
18116:   print line
18117: }
18118: 
18119: _ACAWK
18120: _ACEOF
18121: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18122: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18123:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18124: else
18125:   cat
18126: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18127:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18128: _ACEOF
18129: 
18130: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18131: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18132: # trailing colons and then remove the whole line if VPATH becomes empty
18133: # (actually we leave an empty line to preserve line numbers).
18134: if test "x$srcdir" = x.; then
18135:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18136: h
18137: s///
18138: s/^/:/
18139: s/[	 ]*$/:/
18140: s/:\$(srcdir):/:/g
18141: s/:\${srcdir}:/:/g
18142: s/:@srcdir@:/:/g
18143: s/^:*//
18144: s/:*$//
18145: x
18146: s/\(=[	 ]*\).*/\1/
18147: G
18148: s/\n//
18149: s/^[^=]*=[	 ]*$//
18150: }'
18151: fi
18152: 
18153: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18154: fi # test -n "$CONFIG_FILES"
18155: 
18156: # Set up the scripts for CONFIG_HEADERS section.
18157: # No need to generate them if there are no CONFIG_HEADERS.
18158: # This happens for instance with `./config.status Makefile'.
18159: if test -n "$CONFIG_HEADERS"; then
18160: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18161: BEGIN {
18162: _ACEOF
18163: 
18164: # Transform confdefs.h into an awk script `defines.awk', embedded as
18165: # here-document in config.status, that substitutes the proper values into
18166: # config.h.in to produce config.h.
18167: 
18168: # Create a delimiter string that does not exist in confdefs.h, to ease
18169: # handling of long lines.
18170: ac_delim='%!_!# '
18171: for ac_last_try in false false :; do
18172:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18173:   if test -z "$ac_tt"; then
18174:     break
18175:   elif $ac_last_try; then
18176:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18177:   else
18178:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18179:   fi
18180: done
18181: 
18182: # For the awk script, D is an array of macro values keyed by name,
18183: # likewise P contains macro parameters if any.  Preserve backslash
18184: # newline sequences.
18185: 
18186: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18187: sed -n '
18188: s/.\{148\}/&'"$ac_delim"'/g
18189: t rset
18190: :rset
18191: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18192: t def
18193: d
18194: :def
18195: s/\\$//
18196: t bsnl
18197: s/["\\]/\\&/g
18198: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18199: D["\1"]=" \3"/p
18200: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18201: d
18202: :bsnl
18203: s/["\\]/\\&/g
18204: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18205: D["\1"]=" \3\\\\\\n"\\/p
18206: t cont
18207: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18208: t cont
18209: d
18210: :cont
18211: n
18212: s/.\{148\}/&'"$ac_delim"'/g
18213: t clear
18214: :clear
18215: s/\\$//
18216: t bsnlc
18217: s/["\\]/\\&/g; s/^/"/; s/$/"/p
18218: d
18219: :bsnlc
18220: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18221: b cont
18222: ' <confdefs.h | sed '
18223: s/'"$ac_delim"'/"\\\
18224: "/g' >>$CONFIG_STATUS || ac_write_fail=1
18225: 
18226: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18227:   for (key in D) D_is_set[key] = 1
18228:   FS = ""
18229: }
18230: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18231:   line = \$ 0
18232:   split(line, arg, " ")
18233:   if (arg[1] == "#") {
18234:     defundef = arg[2]
18235:     mac1 = arg[3]
18236:   } else {
18237:     defundef = substr(arg[1], 2)
18238:     mac1 = arg[2]
18239:   }
18240:   split(mac1, mac2, "(") #)
18241:   macro = mac2[1]
18242:   prefix = substr(line, 1, index(line, defundef) - 1)
18243:   if (D_is_set[macro]) {
18244:     # Preserve the white space surrounding the "#".
18245:     print prefix "define", macro P[macro] D[macro]
18246:     next
18247:   } else {
18248:     # Replace #undef with comments.  This is necessary, for example,
18249:     # in the case of _POSIX_SOURCE, which is predefined and required
18250:     # on some systems where configure will not decide to define it.
18251:     if (defundef == "undef") {
18252:       print "/*", prefix defundef, macro, "*/"
18253:       next
18254:     }
18255:   }
18256: }
18257: { print }
18258: _ACAWK
18259: _ACEOF
18260: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18261:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18262: fi # test -n "$CONFIG_HEADERS"
18263: 
18264: 
18265: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18266: shift
18267: for ac_tag
18268: do
18269:   case $ac_tag in
18270:   :[FHLC]) ac_mode=$ac_tag; continue;;
18271:   esac
18272:   case $ac_mode$ac_tag in
18273:   :[FHL]*:*);;
18274:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18275:   :[FH]-) ac_tag=-:-;;
18276:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18277:   esac
18278:   ac_save_IFS=$IFS
18279:   IFS=:
18280:   set x $ac_tag
18281:   IFS=$ac_save_IFS
18282:   shift
18283:   ac_file=$1
18284:   shift
18285: 
18286:   case $ac_mode in
18287:   :L) ac_source=$1;;
18288:   :[FH])
18289:     ac_file_inputs=
18290:     for ac_f
18291:     do
18292:       case $ac_f in
18293:       -) ac_f="$ac_tmp/stdin";;
18294:       *) # Look for the file first in the build tree, then in the source tree
18295: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18296: 	 # because $ac_f cannot contain `:'.
18297: 	 test -f "$ac_f" ||
18298: 	   case $ac_f in
18299: 	   [\\/$]*) false;;
18300: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18301: 	   esac ||
18302: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18303:       esac
18304:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18305:       as_fn_append ac_file_inputs " '$ac_f'"
18306:     done
18307: 
18308:     # Let's still pretend it is `configure' which instantiates (i.e., don't
18309:     # use $as_me), people would be surprised to read:
18310:     #    /* config.h.  Generated by config.status.  */
18311:     configure_input='Generated from '`
18312: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18313: 	`' by configure.'
18314:     if test x"$ac_file" != x-; then
18315:       configure_input="$ac_file.  $configure_input"
18316:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18317: $as_echo "$as_me: creating $ac_file" >&6;}
18318:     fi
18319:     # Neutralize special characters interpreted by sed in replacement strings.
18320:     case $configure_input in #(
18321:     *\&* | *\|* | *\\* )
18322:        ac_sed_conf_input=`$as_echo "$configure_input" |
18323:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18324:     *) ac_sed_conf_input=$configure_input;;
18325:     esac
18326: 
18327:     case $ac_tag in
18328:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18329:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18330:     esac
18331:     ;;
18332:   esac
18333: 
18334:   ac_dir=`$as_dirname -- "$ac_file" ||
18335: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18336: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
18337: 	 X"$ac_file" : 'X\(//\)$' \| \
18338: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18339: $as_echo X"$ac_file" |
18340:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18341: 	    s//\1/
18342: 	    q
18343: 	  }
18344: 	  /^X\(\/\/\)[^/].*/{
18345: 	    s//\1/
18346: 	    q
18347: 	  }
18348: 	  /^X\(\/\/\)$/{
18349: 	    s//\1/
18350: 	    q
18351: 	  }
18352: 	  /^X\(\/\).*/{
18353: 	    s//\1/
18354: 	    q
18355: 	  }
18356: 	  s/.*/./; q'`
18357:   as_dir="$ac_dir"; as_fn_mkdir_p
18358:   ac_builddir=.
18359: 
18360: case "$ac_dir" in
18361: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18362: *)
18363:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18364:   # A ".." for each directory in $ac_dir_suffix.
18365:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18366:   case $ac_top_builddir_sub in
18367:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18368:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18369:   esac ;;
18370: esac
18371: ac_abs_top_builddir=$ac_pwd
18372: ac_abs_builddir=$ac_pwd$ac_dir_suffix
18373: # for backward compatibility:
18374: ac_top_builddir=$ac_top_build_prefix
18375: 
18376: case $srcdir in
18377:   .)  # We are building in place.
18378:     ac_srcdir=.
18379:     ac_top_srcdir=$ac_top_builddir_sub
18380:     ac_abs_top_srcdir=$ac_pwd ;;
18381:   [\\/]* | ?:[\\/]* )  # Absolute name.
18382:     ac_srcdir=$srcdir$ac_dir_suffix;
18383:     ac_top_srcdir=$srcdir
18384:     ac_abs_top_srcdir=$srcdir ;;
18385:   *) # Relative name.
18386:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18387:     ac_top_srcdir=$ac_top_build_prefix$srcdir
18388:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18389: esac
18390: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18391: 
18392: 
18393:   case $ac_mode in
18394:   :F)
18395:   #
18396:   # CONFIG_FILE
18397:   #
18398: 
18399:   case $INSTALL in
18400:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18401:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18402:   esac
18403:   ac_MKDIR_P=$MKDIR_P
18404:   case $MKDIR_P in
18405:   [\\/$]* | ?:[\\/]* ) ;;
18406:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18407:   esac
18408: _ACEOF
18409: 
18410: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18411: # If the template does not know about datarootdir, expand it.
18412: # FIXME: This hack should be removed a few years after 2.60.
18413: ac_datarootdir_hack=; ac_datarootdir_seen=
18414: ac_sed_dataroot='
18415: /datarootdir/ {
18416:   p
18417:   q
18418: }
18419: /@datadir@/p
18420: /@docdir@/p
18421: /@infodir@/p
18422: /@localedir@/p
18423: /@mandir@/p'
18424: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18425: *datarootdir*) ac_datarootdir_seen=yes;;
18426: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18427:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18428: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18429: _ACEOF
18430: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18431:   ac_datarootdir_hack='
18432:   s&@datadir@&$datadir&g
18433:   s&@docdir@&$docdir&g
18434:   s&@infodir@&$infodir&g
18435:   s&@localedir@&$localedir&g
18436:   s&@mandir@&$mandir&g
18437:   s&\\\${datarootdir}&$datarootdir&g' ;;
18438: esac
18439: _ACEOF
18440: 
18441: # Neutralize VPATH when `$srcdir' = `.'.
18442: # Shell code in configure.ac might set extrasub.
18443: # FIXME: do we really want to maintain this feature?
18444: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445: ac_sed_extra="$ac_vpsub
18446: $extrasub
18447: _ACEOF
18448: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18449: :t
18450: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18451: s|@configure_input@|$ac_sed_conf_input|;t t
18452: s&@top_builddir@&$ac_top_builddir_sub&;t t
18453: s&@top_build_prefix@&$ac_top_build_prefix&;t t
18454: s&@srcdir@&$ac_srcdir&;t t
18455: s&@abs_srcdir@&$ac_abs_srcdir&;t t
18456: s&@top_srcdir@&$ac_top_srcdir&;t t
18457: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18458: s&@builddir@&$ac_builddir&;t t
18459: s&@abs_builddir@&$ac_abs_builddir&;t t
18460: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18461: s&@INSTALL@&$ac_INSTALL&;t t
18462: s&@MKDIR_P@&$ac_MKDIR_P&;t t
18463: $ac_datarootdir_hack
18464: "
18465: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18466:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18467: 
18468: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18469:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18470:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18471:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18472:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18473: which seems to be undefined.  Please make sure it is defined" >&5
18474: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18475: which seems to be undefined.  Please make sure it is defined" >&2;}
18476: 
18477:   rm -f "$ac_tmp/stdin"
18478:   case $ac_file in
18479:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18480:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18481:   esac \
18482:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18483:  ;;
18484:   :H)
18485:   #
18486:   # CONFIG_HEADER
18487:   #
18488:   if test x"$ac_file" != x-; then
18489:     {
18490:       $as_echo "/* $configure_input  */" \
18491:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18492:     } >"$ac_tmp/config.h" \
18493:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18494:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18495:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18496: $as_echo "$as_me: $ac_file is unchanged" >&6;}
18497:     else
18498:       rm -f "$ac_file"
18499:       mv "$ac_tmp/config.h" "$ac_file" \
18500: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18501:     fi
18502:   else
18503:     $as_echo "/* $configure_input  */" \
18504:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18505:       || as_fn_error $? "could not create -" "$LINENO" 5
18506:   fi
18507: # Compute "$ac_file"'s index in $config_headers.
18508: _am_arg="$ac_file"
18509: _am_stamp_count=1
18510: for _am_header in $config_headers :; do
18511:   case $_am_header in
18512:     $_am_arg | $_am_arg:* )
18513:       break ;;
18514:     * )
18515:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18516:   esac
18517: done
18518: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18519: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18520: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18521: 	 X"$_am_arg" : 'X\(//\)$' \| \
18522: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18523: $as_echo X"$_am_arg" |
18524:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18525: 	    s//\1/
18526: 	    q
18527: 	  }
18528: 	  /^X\(\/\/\)[^/].*/{
18529: 	    s//\1/
18530: 	    q
18531: 	  }
18532: 	  /^X\(\/\/\)$/{
18533: 	    s//\1/
18534: 	    q
18535: 	  }
18536: 	  /^X\(\/\).*/{
18537: 	    s//\1/
18538: 	    q
18539: 	  }
18540: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
18541:  ;;
18542: 
18543:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18544: $as_echo "$as_me: executing $ac_file commands" >&6;}
18545:  ;;
18546:   esac
18547: 
18548: 
18549:   case $ac_file$ac_mode in
18550:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18551:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18552:   # are listed without --file.  Let's play safe and only enable the eval
18553:   # if we detect the quoting.
18554:   case $CONFIG_FILES in
18555:   *\'*) eval set x "$CONFIG_FILES" ;;
18556:   *)   set x $CONFIG_FILES ;;
18557:   esac
18558:   shift
18559:   for mf
18560:   do
18561:     # Strip MF so we end up with the name of the file.
18562:     mf=`echo "$mf" | sed -e 's/:.*$//'`
18563:     # Check whether this is an Automake generated Makefile or not.
18564:     # We used to match only the files named `Makefile.in', but
18565:     # some people rename them; so instead we look at the file content.
18566:     # Grep'ing the first line is not enough: some people post-process
18567:     # each Makefile.in and add a new line on top of each file to say so.
18568:     # Grep'ing the whole file is not good either: AIX grep has a line
18569:     # limit of 2048, but all sed's we know have understand at least 4000.
18570:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18571:       dirpart=`$as_dirname -- "$mf" ||
18572: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18573: 	 X"$mf" : 'X\(//\)[^/]' \| \
18574: 	 X"$mf" : 'X\(//\)$' \| \
18575: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18576: $as_echo X"$mf" |
18577:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18578: 	    s//\1/
18579: 	    q
18580: 	  }
18581: 	  /^X\(\/\/\)[^/].*/{
18582: 	    s//\1/
18583: 	    q
18584: 	  }
18585: 	  /^X\(\/\/\)$/{
18586: 	    s//\1/
18587: 	    q
18588: 	  }
18589: 	  /^X\(\/\).*/{
18590: 	    s//\1/
18591: 	    q
18592: 	  }
18593: 	  s/.*/./; q'`
18594:     else
18595:       continue
18596:     fi
18597:     # Extract the definition of DEPDIR, am__include, and am__quote
18598:     # from the Makefile without running `make'.
18599:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18600:     test -z "$DEPDIR" && continue
18601:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18602:     test -z "am__include" && continue
18603:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18604:     # When using ansi2knr, U may be empty or an underscore; expand it
18605:     U=`sed -n 's/^U = //p' < "$mf"`
18606:     # Find all dependency output files, they are included files with
18607:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18608:     # simplest approach to changing $(DEPDIR) to its actual value in the
18609:     # expansion.
18610:     for file in `sed -n "
18611:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18612: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18613:       # Make sure the directory exists.
18614:       test -f "$dirpart/$file" && continue
18615:       fdir=`$as_dirname -- "$file" ||
18616: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18617: 	 X"$file" : 'X\(//\)[^/]' \| \
18618: 	 X"$file" : 'X\(//\)$' \| \
18619: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18620: $as_echo X"$file" |
18621:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18622: 	    s//\1/
18623: 	    q
18624: 	  }
18625: 	  /^X\(\/\/\)[^/].*/{
18626: 	    s//\1/
18627: 	    q
18628: 	  }
18629: 	  /^X\(\/\/\)$/{
18630: 	    s//\1/
18631: 	    q
18632: 	  }
18633: 	  /^X\(\/\).*/{
18634: 	    s//\1/
18635: 	    q
18636: 	  }
18637: 	  s/.*/./; q'`
18638:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18639:       # echo "creating $dirpart/$file"
18640:       echo '# dummy' > "$dirpart/$file"
18641:     done
18642:   done
18643: }
18644:  ;;
18645:     "libtool":C)
18646: 
18647:     # See if we are running on zsh, and set the options which allow our
18648:     # commands through without removal of \ escapes.
18649:     if test -n "${ZSH_VERSION+set}" ; then
18650:       setopt NO_GLOB_SUBST
18651:     fi
18652: 
18653:     cfgfile="${ofile}T"
18654:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18655:     $RM "$cfgfile"
18656: 
18657:     cat <<_LT_EOF >> "$cfgfile"
18658: #! $SHELL
18659: 
18660: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18661: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18662: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18663: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18664: #
18665: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18666: #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18667: #                 Inc.
18668: #   Written by Gordon Matzigkeit, 1996
18669: #
18670: #   This file is part of GNU Libtool.
18671: #
18672: # GNU Libtool is free software; you can redistribute it and/or
18673: # modify it under the terms of the GNU General Public License as
18674: # published by the Free Software Foundation; either version 2 of
18675: # the License, or (at your option) any later version.
18676: #
18677: # As a special exception to the GNU General Public License,
18678: # if you distribute this file as part of a program or library that
18679: # is built using GNU Libtool, you may include this file under the
18680: # same distribution terms that you use for the rest of that program.
18681: #
18682: # GNU Libtool is distributed in the hope that it will be useful,
18683: # but WITHOUT ANY WARRANTY; without even the implied warranty of
18684: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18685: # GNU General Public License for more details.
18686: #
18687: # You should have received a copy of the GNU General Public License
18688: # along with GNU Libtool; see the file COPYING.  If not, a copy
18689: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18690: # obtained by writing to the Free Software Foundation, Inc.,
18691: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18692: 
18693: 
18694: # The names of the tagged configurations supported by this script.
18695: available_tags="CXX "
18696: 
18697: # ### BEGIN LIBTOOL CONFIG
18698: 
18699: # Assembler program.
18700: AS=$lt_AS
18701: 
18702: # DLL creation program.
18703: DLLTOOL=$lt_DLLTOOL
18704: 
18705: # Object dumper program.
18706: OBJDUMP=$lt_OBJDUMP
18707: 
18708: # Which release of libtool.m4 was used?
18709: macro_version=$macro_version
18710: macro_revision=$macro_revision
18711: 
18712: # Whether or not to build shared libraries.
18713: build_libtool_libs=$enable_shared
18714: 
18715: # Whether or not to build static libraries.
18716: build_old_libs=$enable_static
18717: 
18718: # What type of objects to build.
18719: pic_mode=$pic_mode
18720: 
18721: # Whether or not to optimize for fast installation.
18722: fast_install=$enable_fast_install
18723: 
18724: # Shell to use when invoking shell scripts.
18725: SHELL=$lt_SHELL
18726: 
18727: # An echo program that protects backslashes.
18728: ECHO=$lt_ECHO
18729: 
18730: # The host system.
18731: host_alias=$host_alias
18732: host=$host
18733: host_os=$host_os
18734: 
18735: # The build system.
18736: build_alias=$build_alias
18737: build=$build
18738: build_os=$build_os
18739: 
18740: # A sed program that does not truncate output.
18741: SED=$lt_SED
18742: 
18743: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18744: Xsed="\$SED -e 1s/^X//"
18745: 
18746: # A grep program that handles long lines.
18747: GREP=$lt_GREP
18748: 
18749: # An ERE matcher.
18750: EGREP=$lt_EGREP
18751: 
18752: # A literal string matcher.
18753: FGREP=$lt_FGREP
18754: 
18755: # A BSD- or MS-compatible name lister.
18756: NM=$lt_NM
18757: 
18758: # Whether we need soft or hard links.
18759: LN_S=$lt_LN_S
18760: 
18761: # What is the maximum length of a command?
18762: max_cmd_len=$max_cmd_len
18763: 
18764: # Object file suffix (normally "o").
18765: objext=$ac_objext
18766: 
18767: # Executable file suffix (normally "").
18768: exeext=$exeext
18769: 
18770: # whether the shell understands "unset".
18771: lt_unset=$lt_unset
18772: 
18773: # turn spaces into newlines.
18774: SP2NL=$lt_lt_SP2NL
18775: 
18776: # turn newlines into spaces.
18777: NL2SP=$lt_lt_NL2SP
18778: 
18779: # convert \$build file names to \$host format.
18780: to_host_file_cmd=$lt_cv_to_host_file_cmd
18781: 
18782: # convert \$build files to toolchain format.
18783: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18784: 
18785: # Method to check whether dependent libraries are shared objects.
18786: deplibs_check_method=$lt_deplibs_check_method
18787: 
18788: # Command to use when deplibs_check_method = "file_magic".
18789: file_magic_cmd=$lt_file_magic_cmd
18790: 
18791: # How to find potential files when deplibs_check_method = "file_magic".
18792: file_magic_glob=$lt_file_magic_glob
18793: 
18794: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18795: want_nocaseglob=$lt_want_nocaseglob
18796: 
18797: # Command to associate shared and link libraries.
18798: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18799: 
18800: # The archiver.
18801: AR=$lt_AR
18802: 
18803: # Flags to create an archive.
18804: AR_FLAGS=$lt_AR_FLAGS
18805: 
18806: # How to feed a file listing to the archiver.
18807: archiver_list_spec=$lt_archiver_list_spec
18808: 
18809: # A symbol stripping program.
18810: STRIP=$lt_STRIP
18811: 
18812: # Commands used to install an old-style archive.
18813: RANLIB=$lt_RANLIB
18814: old_postinstall_cmds=$lt_old_postinstall_cmds
18815: old_postuninstall_cmds=$lt_old_postuninstall_cmds
18816: 
18817: # Whether to use a lock for old archive extraction.
18818: lock_old_archive_extraction=$lock_old_archive_extraction
18819: 
18820: # A C compiler.
18821: LTCC=$lt_CC
18822: 
18823: # LTCC compiler flags.
18824: LTCFLAGS=$lt_CFLAGS
18825: 
18826: # Take the output of nm and produce a listing of raw symbols and C names.
18827: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18828: 
18829: # Transform the output of nm in a proper C declaration.
18830: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18831: 
18832: # Transform the output of nm in a C name address pair.
18833: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18834: 
18835: # Transform the output of nm in a C name address pair when lib prefix is needed.
18836: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18837: 
18838: # Specify filename containing input files for \$NM.
18839: nm_file_list_spec=$lt_nm_file_list_spec
18840: 
18841: # The root where to search for dependent libraries,and in which our libraries should be installed.
18842: lt_sysroot=$lt_sysroot
18843: 
18844: # The name of the directory that contains temporary libtool files.
18845: objdir=$objdir
18846: 
18847: # Used to examine libraries when file_magic_cmd begins with "file".
18848: MAGIC_CMD=$MAGIC_CMD
18849: 
18850: # Must we lock files when doing compilation?
18851: need_locks=$lt_need_locks
18852: 
18853: # Manifest tool.
18854: MANIFEST_TOOL=$lt_MANIFEST_TOOL
18855: 
18856: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18857: DSYMUTIL=$lt_DSYMUTIL
18858: 
18859: # Tool to change global to local symbols on Mac OS X.
18860: NMEDIT=$lt_NMEDIT
18861: 
18862: # Tool to manipulate fat objects and archives on Mac OS X.
18863: LIPO=$lt_LIPO
18864: 
18865: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18866: OTOOL=$lt_OTOOL
18867: 
18868: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18869: OTOOL64=$lt_OTOOL64
18870: 
18871: # Old archive suffix (normally "a").
18872: libext=$libext
18873: 
18874: # Shared library suffix (normally ".so").
18875: shrext_cmds=$lt_shrext_cmds
18876: 
18877: # The commands to extract the exported symbol list from a shared archive.
18878: extract_expsyms_cmds=$lt_extract_expsyms_cmds
18879: 
18880: # Variables whose values should be saved in libtool wrapper scripts and
18881: # restored at link time.
18882: variables_saved_for_relink=$lt_variables_saved_for_relink
18883: 
18884: # Do we need the "lib" prefix for modules?
18885: need_lib_prefix=$need_lib_prefix
18886: 
18887: # Do we need a version for libraries?
18888: need_version=$need_version
18889: 
18890: # Library versioning type.
18891: version_type=$version_type
18892: 
18893: # Shared library runtime path variable.
18894: runpath_var=$runpath_var
18895: 
18896: # Shared library path variable.
18897: shlibpath_var=$shlibpath_var
18898: 
18899: # Is shlibpath searched before the hard-coded library search path?
18900: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18901: 
18902: # Format of library name prefix.
18903: libname_spec=$lt_libname_spec
18904: 
18905: # List of archive names.  First name is the real one, the rest are links.
18906: # The last name is the one that the linker finds with -lNAME
18907: library_names_spec=$lt_library_names_spec
18908: 
18909: # The coded name of the library, if different from the real name.
18910: soname_spec=$lt_soname_spec
18911: 
18912: # Permission mode override for installation of shared libraries.
18913: install_override_mode=$lt_install_override_mode
18914: 
18915: # Command to use after installation of a shared archive.
18916: postinstall_cmds=$lt_postinstall_cmds
18917: 
18918: # Command to use after uninstallation of a shared archive.
18919: postuninstall_cmds=$lt_postuninstall_cmds
18920: 
18921: # Commands used to finish a libtool library installation in a directory.
18922: finish_cmds=$lt_finish_cmds
18923: 
18924: # As "finish_cmds", except a single script fragment to be evaled but
18925: # not shown.
18926: finish_eval=$lt_finish_eval
18927: 
18928: # Whether we should hardcode library paths into libraries.
18929: hardcode_into_libs=$hardcode_into_libs
18930: 
18931: # Compile-time system search path for libraries.
18932: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18933: 
18934: # Run-time system search path for libraries.
18935: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18936: 
18937: # Whether dlopen is supported.
18938: dlopen_support=$enable_dlopen
18939: 
18940: # Whether dlopen of programs is supported.
18941: dlopen_self=$enable_dlopen_self
18942: 
18943: # Whether dlopen of statically linked programs is supported.
18944: dlopen_self_static=$enable_dlopen_self_static
18945: 
18946: # Commands to strip libraries.
18947: old_striplib=$lt_old_striplib
18948: striplib=$lt_striplib
18949: 
18950: 
18951: # The linker used to build libraries.
18952: LD=$lt_LD
18953: 
18954: # How to create reloadable object files.
18955: reload_flag=$lt_reload_flag
18956: reload_cmds=$lt_reload_cmds
18957: 
18958: # Commands used to build an old-style archive.
18959: old_archive_cmds=$lt_old_archive_cmds
18960: 
18961: # A language specific compiler.
18962: CC=$lt_compiler
18963: 
18964: # Is the compiler the GNU compiler?
18965: with_gcc=$GCC
18966: 
18967: # Compiler flag to turn off builtin functions.
18968: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18969: 
18970: # Additional compiler flags for building library objects.
18971: pic_flag=$lt_lt_prog_compiler_pic
18972: 
18973: # How to pass a linker flag through the compiler.
18974: wl=$lt_lt_prog_compiler_wl
18975: 
18976: # Compiler flag to prevent dynamic linking.
18977: link_static_flag=$lt_lt_prog_compiler_static
18978: 
18979: # Does compiler simultaneously support -c and -o options?
18980: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18981: 
18982: # Whether or not to add -lc for building shared libraries.
18983: build_libtool_need_lc=$archive_cmds_need_lc
18984: 
18985: # Whether or not to disallow shared libs when runtime libs are static.
18986: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18987: 
18988: # Compiler flag to allow reflexive dlopens.
18989: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18990: 
18991: # Compiler flag to generate shared objects directly from archives.
18992: whole_archive_flag_spec=$lt_whole_archive_flag_spec
18993: 
18994: # Whether the compiler copes with passing no objects directly.
18995: compiler_needs_object=$lt_compiler_needs_object
18996: 
18997: # Create an old-style archive from a shared archive.
18998: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18999: 
19000: # Create a temporary old-style archive to link instead of a shared archive.
19001: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19002: 
19003: # Commands used to build a shared archive.
19004: archive_cmds=$lt_archive_cmds
19005: archive_expsym_cmds=$lt_archive_expsym_cmds
19006: 
19007: # Commands used to build a loadable module if different from building
19008: # a shared archive.
19009: module_cmds=$lt_module_cmds
19010: module_expsym_cmds=$lt_module_expsym_cmds
19011: 
19012: # Whether we are building with GNU ld or not.
19013: with_gnu_ld=$lt_with_gnu_ld
19014: 
19015: # Flag that allows shared libraries with undefined symbols to be built.
19016: allow_undefined_flag=$lt_allow_undefined_flag
19017: 
19018: # Flag that enforces no undefined symbols.
19019: no_undefined_flag=$lt_no_undefined_flag
19020: 
19021: # Flag to hardcode \$libdir into a binary during linking.
19022: # This must work even if \$libdir does not exist
19023: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19024: 
19025: # If ld is used when linking, flag to hardcode \$libdir into a binary
19026: # during linking.  This must work even if \$libdir does not exist.
19027: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19028: 
19029: # Whether we need a single "-rpath" flag with a separated argument.
19030: hardcode_libdir_separator=$lt_hardcode_libdir_separator
19031: 
19032: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19033: # DIR into the resulting binary.
19034: hardcode_direct=$hardcode_direct
19035: 
19036: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19037: # DIR into the resulting binary and the resulting library dependency is
19038: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19039: # library is relocated.
19040: hardcode_direct_absolute=$hardcode_direct_absolute
19041: 
19042: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19043: # into the resulting binary.
19044: hardcode_minus_L=$hardcode_minus_L
19045: 
19046: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19047: # into the resulting binary.
19048: hardcode_shlibpath_var=$hardcode_shlibpath_var
19049: 
19050: # Set to "yes" if building a shared library automatically hardcodes DIR
19051: # into the library and all subsequent libraries and executables linked
19052: # against it.
19053: hardcode_automatic=$hardcode_automatic
19054: 
19055: # Set to yes if linker adds runtime paths of dependent libraries
19056: # to runtime path list.
19057: inherit_rpath=$inherit_rpath
19058: 
19059: # Whether libtool must link a program against all its dependency libraries.
19060: link_all_deplibs=$link_all_deplibs
19061: 
19062: # Set to "yes" if exported symbols are required.
19063: always_export_symbols=$always_export_symbols
19064: 
19065: # The commands to list exported symbols.
19066: export_symbols_cmds=$lt_export_symbols_cmds
19067: 
19068: # Symbols that should not be listed in the preloaded symbols.
19069: exclude_expsyms=$lt_exclude_expsyms
19070: 
19071: # Symbols that must always be exported.
19072: include_expsyms=$lt_include_expsyms
19073: 
19074: # Commands necessary for linking programs (against libraries) with templates.
19075: prelink_cmds=$lt_prelink_cmds
19076: 
19077: # Commands necessary for finishing linking programs.
19078: postlink_cmds=$lt_postlink_cmds
19079: 
19080: # Specify filename containing input files.
19081: file_list_spec=$lt_file_list_spec
19082: 
19083: # How to hardcode a shared library path into an executable.
19084: hardcode_action=$hardcode_action
19085: 
19086: # The directories searched by this compiler when creating a shared library.
19087: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19088: 
19089: # Dependencies to place before and after the objects being linked to
19090: # create a shared library.
19091: predep_objects=$lt_predep_objects
19092: postdep_objects=$lt_postdep_objects
19093: predeps=$lt_predeps
19094: postdeps=$lt_postdeps
19095: 
19096: # The library search path used internally by the compiler when linking
19097: # a shared library.
19098: compiler_lib_search_path=$lt_compiler_lib_search_path
19099: 
19100: # ### END LIBTOOL CONFIG
19101: 
19102: _LT_EOF
19103: 
19104:   case $host_os in
19105:   aix3*)
19106:     cat <<\_LT_EOF >> "$cfgfile"
19107: # AIX sometimes has problems with the GCC collect2 program.  For some
19108: # reason, if we set the COLLECT_NAMES environment variable, the problems
19109: # vanish in a puff of smoke.
19110: if test "X${COLLECT_NAMES+set}" != Xset; then
19111:   COLLECT_NAMES=
19112:   export COLLECT_NAMES
19113: fi
19114: _LT_EOF
19115:     ;;
19116:   esac
19117: 
19118: 
19119: ltmain="$ac_aux_dir/ltmain.sh"
19120: 
19121: 
19122:   # We use sed instead of cat because bash on DJGPP gets confused if
19123:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19124:   # text mode, it properly converts lines to CR/LF.  This bash problem
19125:   # is reportedly fixed, but why not run on old versions too?
19126:   sed '$q' "$ltmain" >> "$cfgfile" \
19127:      || (rm -f "$cfgfile"; exit 1)
19128: 
19129:   if test x"$xsi_shell" = xyes; then
19130:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19131: func_dirname ()\
19132: {\
19133: \    case ${1} in\
19134: \      */*) func_dirname_result="${1%/*}${2}" ;;\
19135: \      *  ) func_dirname_result="${3}" ;;\
19136: \    esac\
19137: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19138:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19139:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19140: test 0 -eq $? || _lt_function_replace_fail=:
19141: 
19142: 
19143:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19144: func_basename ()\
19145: {\
19146: \    func_basename_result="${1##*/}"\
19147: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19148:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19149:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19150: test 0 -eq $? || _lt_function_replace_fail=:
19151: 
19152: 
19153:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19154: func_dirname_and_basename ()\
19155: {\
19156: \    case ${1} in\
19157: \      */*) func_dirname_result="${1%/*}${2}" ;;\
19158: \      *  ) func_dirname_result="${3}" ;;\
19159: \    esac\
19160: \    func_basename_result="${1##*/}"\
19161: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19162:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19163:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19164: test 0 -eq $? || _lt_function_replace_fail=:
19165: 
19166: 
19167:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19168: func_stripname ()\
19169: {\
19170: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19171: \    # positional parameters, so assign one to ordinary parameter first.\
19172: \    func_stripname_result=${3}\
19173: \    func_stripname_result=${func_stripname_result#"${1}"}\
19174: \    func_stripname_result=${func_stripname_result%"${2}"}\
19175: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19176:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19177:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19178: test 0 -eq $? || _lt_function_replace_fail=:
19179: 
19180: 
19181:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19182: func_split_long_opt ()\
19183: {\
19184: \    func_split_long_opt_name=${1%%=*}\
19185: \    func_split_long_opt_arg=${1#*=}\
19186: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19187:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19188:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19189: test 0 -eq $? || _lt_function_replace_fail=:
19190: 
19191: 
19192:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19193: func_split_short_opt ()\
19194: {\
19195: \    func_split_short_opt_arg=${1#??}\
19196: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19197: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19198:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19199:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19200: test 0 -eq $? || _lt_function_replace_fail=:
19201: 
19202: 
19203:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19204: func_lo2o ()\
19205: {\
19206: \    case ${1} in\
19207: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19208: \      *)    func_lo2o_result=${1} ;;\
19209: \    esac\
19210: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19211:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19212:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19213: test 0 -eq $? || _lt_function_replace_fail=:
19214: 
19215: 
19216:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19217: func_xform ()\
19218: {\
19219:     func_xform_result=${1%.*}.lo\
19220: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19221:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19222:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19223: test 0 -eq $? || _lt_function_replace_fail=:
19224: 
19225: 
19226:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19227: func_arith ()\
19228: {\
19229:     func_arith_result=$(( $* ))\
19230: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19231:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19232:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19233: test 0 -eq $? || _lt_function_replace_fail=:
19234: 
19235: 
19236:   sed -e '/^func_len ()$/,/^} # func_len /c\
19237: func_len ()\
19238: {\
19239:     func_len_result=${#1}\
19240: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19241:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19242:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19243: test 0 -eq $? || _lt_function_replace_fail=:
19244: 
19245: fi
19246: 
19247: if test x"$lt_shell_append" = xyes; then
19248:   sed -e '/^func_append ()$/,/^} # func_append /c\
19249: func_append ()\
19250: {\
19251:     eval "${1}+=\\${2}"\
19252: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19253:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19254:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19255: test 0 -eq $? || _lt_function_replace_fail=:
19256: 
19257: 
19258:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19259: func_append_quoted ()\
19260: {\
19261: \    func_quote_for_eval "${2}"\
19262: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19263: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19264:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19265:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19266: test 0 -eq $? || _lt_function_replace_fail=:
19267: 
19268: 
19269:   # Save a `func_append' function call where possible by direct use of '+='
19270:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19271:     && mv -f "$cfgfile.tmp" "$cfgfile" \
19272:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19273:   test 0 -eq $? || _lt_function_replace_fail=:
19274: else
19275:   # Save a `func_append' function call even when '+=' is not available
19276:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19277:     && mv -f "$cfgfile.tmp" "$cfgfile" \
19278:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19279:   test 0 -eq $? || _lt_function_replace_fail=:
19280: fi
19281: 
19282: if test x"$_lt_function_replace_fail" = x":"; then
19283:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19284: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19285: fi
19286: 
19287: 
19288:    mv -f "$cfgfile" "$ofile" ||
19289:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19290:   chmod +x "$ofile"
19291: 
19292: 
19293:     cat <<_LT_EOF >> "$ofile"
19294: 
19295: # ### BEGIN LIBTOOL TAG CONFIG: CXX
19296: 
19297: # The linker used to build libraries.
19298: LD=$lt_LD_CXX
19299: 
19300: # How to create reloadable object files.
19301: reload_flag=$lt_reload_flag_CXX
19302: reload_cmds=$lt_reload_cmds_CXX
19303: 
19304: # Commands used to build an old-style archive.
19305: old_archive_cmds=$lt_old_archive_cmds_CXX
19306: 
19307: # A language specific compiler.
19308: CC=$lt_compiler_CXX
19309: 
19310: # Is the compiler the GNU compiler?
19311: with_gcc=$GCC_CXX
19312: 
19313: # Compiler flag to turn off builtin functions.
19314: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19315: 
19316: # Additional compiler flags for building library objects.
19317: pic_flag=$lt_lt_prog_compiler_pic_CXX
19318: 
19319: # How to pass a linker flag through the compiler.
19320: wl=$lt_lt_prog_compiler_wl_CXX
19321: 
19322: # Compiler flag to prevent dynamic linking.
19323: link_static_flag=$lt_lt_prog_compiler_static_CXX
19324: 
19325: # Does compiler simultaneously support -c and -o options?
19326: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19327: 
19328: # Whether or not to add -lc for building shared libraries.
19329: build_libtool_need_lc=$archive_cmds_need_lc_CXX
19330: 
19331: # Whether or not to disallow shared libs when runtime libs are static.
19332: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19333: 
19334: # Compiler flag to allow reflexive dlopens.
19335: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19336: 
19337: # Compiler flag to generate shared objects directly from archives.
19338: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19339: 
19340: # Whether the compiler copes with passing no objects directly.
19341: compiler_needs_object=$lt_compiler_needs_object_CXX
19342: 
19343: # Create an old-style archive from a shared archive.
19344: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19345: 
19346: # Create a temporary old-style archive to link instead of a shared archive.
19347: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19348: 
19349: # Commands used to build a shared archive.
19350: archive_cmds=$lt_archive_cmds_CXX
19351: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19352: 
19353: # Commands used to build a loadable module if different from building
19354: # a shared archive.
19355: module_cmds=$lt_module_cmds_CXX
19356: module_expsym_cmds=$lt_module_expsym_cmds_CXX
19357: 
19358: # Whether we are building with GNU ld or not.
19359: with_gnu_ld=$lt_with_gnu_ld_CXX
19360: 
19361: # Flag that allows shared libraries with undefined symbols to be built.
19362: allow_undefined_flag=$lt_allow_undefined_flag_CXX
19363: 
19364: # Flag that enforces no undefined symbols.
19365: no_undefined_flag=$lt_no_undefined_flag_CXX
19366: 
19367: # Flag to hardcode \$libdir into a binary during linking.
19368: # This must work even if \$libdir does not exist
19369: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19370: 
19371: # If ld is used when linking, flag to hardcode \$libdir into a binary
19372: # during linking.  This must work even if \$libdir does not exist.
19373: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19374: 
19375: # Whether we need a single "-rpath" flag with a separated argument.
19376: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19377: 
19378: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19379: # DIR into the resulting binary.
19380: hardcode_direct=$hardcode_direct_CXX
19381: 
19382: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19383: # DIR into the resulting binary and the resulting library dependency is
19384: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19385: # library is relocated.
19386: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19387: 
19388: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19389: # into the resulting binary.
19390: hardcode_minus_L=$hardcode_minus_L_CXX
19391: 
19392: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19393: # into the resulting binary.
19394: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19395: 
19396: # Set to "yes" if building a shared library automatically hardcodes DIR
19397: # into the library and all subsequent libraries and executables linked
19398: # against it.
19399: hardcode_automatic=$hardcode_automatic_CXX
19400: 
19401: # Set to yes if linker adds runtime paths of dependent libraries
19402: # to runtime path list.
19403: inherit_rpath=$inherit_rpath_CXX
19404: 
19405: # Whether libtool must link a program against all its dependency libraries.
19406: link_all_deplibs=$link_all_deplibs_CXX
19407: 
19408: # Set to "yes" if exported symbols are required.
19409: always_export_symbols=$always_export_symbols_CXX
19410: 
19411: # The commands to list exported symbols.
19412: export_symbols_cmds=$lt_export_symbols_cmds_CXX
19413: 
19414: # Symbols that should not be listed in the preloaded symbols.
19415: exclude_expsyms=$lt_exclude_expsyms_CXX
19416: 
19417: # Symbols that must always be exported.
19418: include_expsyms=$lt_include_expsyms_CXX
19419: 
19420: # Commands necessary for linking programs (against libraries) with templates.
19421: prelink_cmds=$lt_prelink_cmds_CXX
19422: 
19423: # Commands necessary for finishing linking programs.
19424: postlink_cmds=$lt_postlink_cmds_CXX
19425: 
19426: # Specify filename containing input files.
19427: file_list_spec=$lt_file_list_spec_CXX
19428: 
19429: # How to hardcode a shared library path into an executable.
19430: hardcode_action=$hardcode_action_CXX
19431: 
19432: # The directories searched by this compiler when creating a shared library.
19433: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19434: 
19435: # Dependencies to place before and after the objects being linked to
19436: # create a shared library.
19437: predep_objects=$lt_predep_objects_CXX
19438: postdep_objects=$lt_postdep_objects_CXX
19439: predeps=$lt_predeps_CXX
19440: postdeps=$lt_postdeps_CXX
19441: 
19442: # The library search path used internally by the compiler when linking
19443: # a shared library.
19444: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19445: 
19446: # ### END LIBTOOL TAG CONFIG: CXX
19447: _LT_EOF
19448: 
19449:  ;;
19450:     "script-chmod":C) chmod a+x pcre-config ;;
19451:     "delete-old-chartables":C) rm -f pcre_chartables.c ;;
19452: 
19453:   esac
19454: done # for ac_tag
19455: 
19456: 
19457: as_fn_exit 0
19458: _ACEOF
19459: ac_clean_files=$ac_clean_files_save
19460: 
19461: test $ac_write_fail = 0 ||
19462:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19463: 
19464: 
19465: # configure is writing to config.log, and then calls config.status.
19466: # config.status does its own redirection, appending to config.log.
19467: # Unfortunately, on DOS this fails, as config.log is still kept open
19468: # by configure, so config.status won't be able to write to it; its
19469: # output is simply discarded.  So we exec the FD to /dev/null,
19470: # effectively closing config.log, so it can be properly (re)opened and
19471: # appended to by config.status.  When coming back to configure, we
19472: # need to make the FD available again.
19473: if test "$no_create" != yes; then
19474:   ac_cs_success=:
19475:   ac_config_status_args=
19476:   test "$silent" = yes &&
19477:     ac_config_status_args="$ac_config_status_args --quiet"
19478:   exec 5>/dev/null
19479:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19480:   exec 5>>config.log
19481:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19482:   # would make configure fail if this is the last instruction.
19483:   $ac_cs_success || as_fn_exit 1
19484: fi
19485: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19486:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19487: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19488: fi
19489: 
19490: 
19491: # Print out a nice little message after configure is run displaying your
19492: # chosen options.
19493: 
19494: cat <<EOF
19495: 
19496: $PACKAGE-$VERSION configuration summary:
19497: 
19498:     Install prefix .................. : ${prefix}
19499:     C preprocessor .................. : ${CPP}
19500:     C compiler ...................... : ${CC}
19501:     C++ preprocessor ................ : ${CXXCPP}
19502:     C++ compiler .................... : ${CXX}
19503:     Linker .......................... : ${LD}
19504:     C preprocessor flags ............ : ${CPPFLAGS}
19505:     C compiler flags ................ : ${CFLAGS}
19506:     C++ compiler flags .............. : ${CXXFLAGS}
19507:     Linker flags .................... : ${LDFLAGS}
19508:     Extra libraries ................. : ${LIBS}
19509: 
19510:     Build C++ library ............... : ${enable_cpp}
19511:     Enable JIT compiling support .... : ${enable_jit}
19512:     Enable UTF-8 support ............ : ${enable_utf8}
19513:     Unicode properties .............. : ${enable_unicode_properties}
19514:     Newline char/sequence ........... : ${enable_newline}
19515:     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
19516:     EBCDIC coding ................... : ${enable_ebcdic}
19517:     Rebuild char tables ............. : ${enable_rebuild_chartables}
19518:     Use stack recursion ............. : ${enable_stack_for_recursion}
19519:     POSIX mem threshold ............. : ${with_posix_malloc_threshold}
19520:     Internal link size .............. : ${with_link_size}
19521:     Match limit ..................... : ${with_match_limit}
19522:     Match limit recursion ........... : ${with_match_limit_recursion}
19523:     Build shared libs ............... : ${enable_shared}
19524:     Build static libs ............... : ${enable_static}
19525:     Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
19526:     Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
19527:     Link pcregrep with libz ......... : ${enable_pcregrep_libz}
19528:     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
19529:     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
19530: 
19531: EOF
19532: 

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