File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / pcre / configure
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:50:25 2012 UTC (12 years, 4 months ago) by misho
Branches: pcre, MAIN
CVS tags: v8_30, HEAD
pcre

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for PCRE 8.30.
    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.30'
  571: PACKAGE_STRING='PCRE 8.30'
  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: LIBBZ2
  617: LIBZ
  618: DISTCHECK_CONFIGURE_FLAGS
  619: EXTRA_LIBPCRECPP_LDFLAGS
  620: EXTRA_LIBPCREPOSIX_LDFLAGS
  621: EXTRA_LIBPCRE16_LDFLAGS
  622: EXTRA_LIBPCRE_LDFLAGS
  623: PCRE_STATIC_CFLAG
  624: LIBREADLINE
  625: WITH_UTF_FALSE
  626: WITH_UTF_TRUE
  627: WITH_JIT_FALSE
  628: WITH_JIT_TRUE
  629: WITH_REBUILD_CHARTABLES_FALSE
  630: WITH_REBUILD_CHARTABLES_TRUE
  631: WITH_PCRE_CPP_FALSE
  632: WITH_PCRE_CPP_TRUE
  633: WITH_PCRE16_FALSE
  634: WITH_PCRE16_TRUE
  635: WITH_PCRE8_FALSE
  636: WITH_PCRE8_TRUE
  637: pcre_have_bits_type_traits
  638: pcre_have_type_traits
  639: pcre_have_ulong_long
  640: pcre_have_long_long
  641: enable_cpp
  642: enable_pcre16
  643: enable_pcre8
  644: PCRE_DATE
  645: PCRE_PRERELEASE
  646: PCRE_MINOR
  647: PCRE_MAJOR
  648: CXXCPP
  649: OTOOL64
  650: OTOOL
  651: LIPO
  652: NMEDIT
  653: DSYMUTIL
  654: MANIFEST_TOOL
  655: RANLIB
  656: ac_ct_AR
  657: AR
  658: LN_S
  659: NM
  660: ac_ct_DUMPBIN
  661: DUMPBIN
  662: LD
  663: FGREP
  664: SED
  665: LIBTOOL
  666: OBJDUMP
  667: DLLTOOL
  668: AS
  669: host_os
  670: host_vendor
  671: host_cpu
  672: host
  673: build_os
  674: build_vendor
  675: build_cpu
  676: build
  677: EGREP
  678: GREP
  679: CPP
  680: am__fastdepCXX_FALSE
  681: am__fastdepCXX_TRUE
  682: CXXDEPMODE
  683: ac_ct_CXX
  684: CXXFLAGS
  685: CXX
  686: am__fastdepCC_FALSE
  687: am__fastdepCC_TRUE
  688: CCDEPMODE
  689: AMDEPBACKSLASH
  690: AMDEP_FALSE
  691: AMDEP_TRUE
  692: am__quote
  693: am__include
  694: DEPDIR
  695: OBJEXT
  696: EXEEXT
  697: ac_ct_CC
  698: CPPFLAGS
  699: LDFLAGS
  700: CFLAGS
  701: CC
  702: AM_BACKSLASH
  703: AM_DEFAULT_VERBOSITY
  704: am__untar
  705: am__tar
  706: AMTAR
  707: am__leading_dot
  708: SET_MAKE
  709: AWK
  710: mkdir_p
  711: MKDIR_P
  712: INSTALL_STRIP_PROGRAM
  713: STRIP
  714: install_sh
  715: MAKEINFO
  716: AUTOHEADER
  717: AUTOMAKE
  718: AUTOCONF
  719: ACLOCAL
  720: VERSION
  721: PACKAGE
  722: CYGPATH_W
  723: am__isrc
  724: INSTALL_DATA
  725: INSTALL_SCRIPT
  726: INSTALL_PROGRAM
  727: target_alias
  728: host_alias
  729: build_alias
  730: LIBS
  731: ECHO_T
  732: ECHO_N
  733: ECHO_C
  734: DEFS
  735: mandir
  736: localedir
  737: libdir
  738: psdir
  739: pdfdir
  740: dvidir
  741: htmldir
  742: infodir
  743: docdir
  744: oldincludedir
  745: includedir
  746: localstatedir
  747: sharedstatedir
  748: sysconfdir
  749: datadir
  750: datarootdir
  751: libexecdir
  752: sbindir
  753: bindir
  754: program_transform_name
  755: prefix
  756: exec_prefix
  757: PACKAGE_URL
  758: PACKAGE_BUGREPORT
  759: PACKAGE_STRING
  760: PACKAGE_VERSION
  761: PACKAGE_TARNAME
  762: PACKAGE_NAME
  763: PATH_SEPARATOR
  764: SHELL'
  765: ac_subst_files=''
  766: ac_user_opts='
  767: enable_option_checking
  768: enable_silent_rules
  769: enable_dependency_tracking
  770: enable_shared
  771: enable_static
  772: with_pic
  773: enable_fast_install
  774: with_gnu_ld
  775: with_sysroot
  776: enable_libtool_lock
  777: enable_pcre8
  778: enable_pcre16
  779: enable_cpp
  780: enable_jit
  781: enable_pcregrep_jit
  782: enable_rebuild_chartables
  783: enable_utf8
  784: enable_utf
  785: enable_unicode_properties
  786: enable_newline_is_cr
  787: enable_newline_is_lf
  788: enable_newline_is_crlf
  789: enable_newline_is_anycrlf
  790: enable_newline_is_any
  791: enable_bsr_anycrlf
  792: enable_ebcdic
  793: enable_stack_for_recursion
  794: enable_pcregrep_libz
  795: enable_pcregrep_libbz2
  796: with_pcregrep_bufsize
  797: enable_pcretest_libreadline
  798: with_posix_malloc_threshold
  799: with_link_size
  800: with_match_limit
  801: with_match_limit_recursion
  802: '
  803:       ac_precious_vars='build_alias
  804: host_alias
  805: target_alias
  806: CC
  807: CFLAGS
  808: LDFLAGS
  809: LIBS
  810: CPPFLAGS
  811: CXX
  812: CXXFLAGS
  813: CCC
  814: CPP
  815: CXXCPP'
  816: 
  817: 
  818: # Initialize some variables set by options.
  819: ac_init_help=
  820: ac_init_version=false
  821: ac_unrecognized_opts=
  822: ac_unrecognized_sep=
  823: # The variables have the same names as the options, with
  824: # dashes changed to underlines.
  825: cache_file=/dev/null
  826: exec_prefix=NONE
  827: no_create=
  828: no_recursion=
  829: prefix=NONE
  830: program_prefix=NONE
  831: program_suffix=NONE
  832: program_transform_name=s,x,x,
  833: silent=
  834: site=
  835: srcdir=
  836: verbose=
  837: x_includes=NONE
  838: x_libraries=NONE
  839: 
  840: # Installation directory options.
  841: # These are left unexpanded so users can "make install exec_prefix=/foo"
  842: # and all the variables that are supposed to be based on exec_prefix
  843: # by default will actually change.
  844: # Use braces instead of parens because sh, perl, etc. also accept them.
  845: # (The list follows the same order as the GNU Coding Standards.)
  846: bindir='${exec_prefix}/bin'
  847: sbindir='${exec_prefix}/sbin'
  848: libexecdir='${exec_prefix}/libexec'
  849: datarootdir='${prefix}/share'
  850: datadir='${datarootdir}'
  851: sysconfdir='${prefix}/etc'
  852: sharedstatedir='${prefix}/com'
  853: localstatedir='${prefix}/var'
  854: includedir='${prefix}/include'
  855: oldincludedir='/usr/include'
  856: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  857: infodir='${datarootdir}/info'
  858: htmldir='${docdir}'
  859: dvidir='${docdir}'
  860: pdfdir='${docdir}'
  861: psdir='${docdir}'
  862: libdir='${exec_prefix}/lib'
  863: localedir='${datarootdir}/locale'
  864: mandir='${datarootdir}/man'
  865: 
  866: ac_prev=
  867: ac_dashdash=
  868: for ac_option
  869: do
  870:   # If the previous option needs an argument, assign it.
  871:   if test -n "$ac_prev"; then
  872:     eval $ac_prev=\$ac_option
  873:     ac_prev=
  874:     continue
  875:   fi
  876: 
  877:   case $ac_option in
  878:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  879:   *=)   ac_optarg= ;;
  880:   *)    ac_optarg=yes ;;
  881:   esac
  882: 
  883:   # Accept the important Cygnus configure options, so we can diagnose typos.
  884: 
  885:   case $ac_dashdash$ac_option in
  886:   --)
  887:     ac_dashdash=yes ;;
  888: 
  889:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  890:     ac_prev=bindir ;;
  891:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  892:     bindir=$ac_optarg ;;
  893: 
  894:   -build | --build | --buil | --bui | --bu)
  895:     ac_prev=build_alias ;;
  896:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  897:     build_alias=$ac_optarg ;;
  898: 
  899:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  900:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  901:     ac_prev=cache_file ;;
  902:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  903:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  904:     cache_file=$ac_optarg ;;
  905: 
  906:   --config-cache | -C)
  907:     cache_file=config.cache ;;
  908: 
  909:   -datadir | --datadir | --datadi | --datad)
  910:     ac_prev=datadir ;;
  911:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  912:     datadir=$ac_optarg ;;
  913: 
  914:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  915:   | --dataroo | --dataro | --datar)
  916:     ac_prev=datarootdir ;;
  917:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  918:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  919:     datarootdir=$ac_optarg ;;
  920: 
  921:   -disable-* | --disable-*)
  922:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  923:     # Reject names that are not valid shell variable names.
  924:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  925:       as_fn_error $? "invalid feature name: $ac_useropt"
  926:     ac_useropt_orig=$ac_useropt
  927:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  928:     case $ac_user_opts in
  929:       *"
  930: "enable_$ac_useropt"
  931: "*) ;;
  932:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  933: 	 ac_unrecognized_sep=', ';;
  934:     esac
  935:     eval enable_$ac_useropt=no ;;
  936: 
  937:   -docdir | --docdir | --docdi | --doc | --do)
  938:     ac_prev=docdir ;;
  939:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  940:     docdir=$ac_optarg ;;
  941: 
  942:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  943:     ac_prev=dvidir ;;
  944:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  945:     dvidir=$ac_optarg ;;
  946: 
  947:   -enable-* | --enable-*)
  948:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  949:     # Reject names that are not valid shell variable names.
  950:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  951:       as_fn_error $? "invalid feature name: $ac_useropt"
  952:     ac_useropt_orig=$ac_useropt
  953:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  954:     case $ac_user_opts in
  955:       *"
  956: "enable_$ac_useropt"
  957: "*) ;;
  958:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  959: 	 ac_unrecognized_sep=', ';;
  960:     esac
  961:     eval enable_$ac_useropt=\$ac_optarg ;;
  962: 
  963:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  964:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  965:   | --exec | --exe | --ex)
  966:     ac_prev=exec_prefix ;;
  967:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  968:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  969:   | --exec=* | --exe=* | --ex=*)
  970:     exec_prefix=$ac_optarg ;;
  971: 
  972:   -gas | --gas | --ga | --g)
  973:     # Obsolete; use --with-gas.
  974:     with_gas=yes ;;
  975: 
  976:   -help | --help | --hel | --he | -h)
  977:     ac_init_help=long ;;
  978:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  979:     ac_init_help=recursive ;;
  980:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  981:     ac_init_help=short ;;
  982: 
  983:   -host | --host | --hos | --ho)
  984:     ac_prev=host_alias ;;
  985:   -host=* | --host=* | --hos=* | --ho=*)
  986:     host_alias=$ac_optarg ;;
  987: 
  988:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  989:     ac_prev=htmldir ;;
  990:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  991:   | --ht=*)
  992:     htmldir=$ac_optarg ;;
  993: 
  994:   -includedir | --includedir | --includedi | --included | --include \
  995:   | --includ | --inclu | --incl | --inc)
  996:     ac_prev=includedir ;;
  997:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  998:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  999:     includedir=$ac_optarg ;;
 1000: 
 1001:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1002:     ac_prev=infodir ;;
 1003:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1004:     infodir=$ac_optarg ;;
 1005: 
 1006:   -libdir | --libdir | --libdi | --libd)
 1007:     ac_prev=libdir ;;
 1008:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1009:     libdir=$ac_optarg ;;
 1010: 
 1011:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1012:   | --libexe | --libex | --libe)
 1013:     ac_prev=libexecdir ;;
 1014:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1015:   | --libexe=* | --libex=* | --libe=*)
 1016:     libexecdir=$ac_optarg ;;
 1017: 
 1018:   -localedir | --localedir | --localedi | --localed | --locale)
 1019:     ac_prev=localedir ;;
 1020:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1021:     localedir=$ac_optarg ;;
 1022: 
 1023:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1024:   | --localstate | --localstat | --localsta | --localst | --locals)
 1025:     ac_prev=localstatedir ;;
 1026:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1027:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1028:     localstatedir=$ac_optarg ;;
 1029: 
 1030:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1031:     ac_prev=mandir ;;
 1032:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1033:     mandir=$ac_optarg ;;
 1034: 
 1035:   -nfp | --nfp | --nf)
 1036:     # Obsolete; use --without-fp.
 1037:     with_fp=no ;;
 1038: 
 1039:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1040:   | --no-cr | --no-c | -n)
 1041:     no_create=yes ;;
 1042: 
 1043:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1044:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1045:     no_recursion=yes ;;
 1046: 
 1047:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1048:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1049:   | --oldin | --oldi | --old | --ol | --o)
 1050:     ac_prev=oldincludedir ;;
 1051:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1052:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1053:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1054:     oldincludedir=$ac_optarg ;;
 1055: 
 1056:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1057:     ac_prev=prefix ;;
 1058:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1059:     prefix=$ac_optarg ;;
 1060: 
 1061:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1062:   | --program-pre | --program-pr | --program-p)
 1063:     ac_prev=program_prefix ;;
 1064:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1065:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1066:     program_prefix=$ac_optarg ;;
 1067: 
 1068:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1069:   | --program-suf | --program-su | --program-s)
 1070:     ac_prev=program_suffix ;;
 1071:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1072:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1073:     program_suffix=$ac_optarg ;;
 1074: 
 1075:   -program-transform-name | --program-transform-name \
 1076:   | --program-transform-nam | --program-transform-na \
 1077:   | --program-transform-n | --program-transform- \
 1078:   | --program-transform | --program-transfor \
 1079:   | --program-transfo | --program-transf \
 1080:   | --program-trans | --program-tran \
 1081:   | --progr-tra | --program-tr | --program-t)
 1082:     ac_prev=program_transform_name ;;
 1083:   -program-transform-name=* | --program-transform-name=* \
 1084:   | --program-transform-nam=* | --program-transform-na=* \
 1085:   | --program-transform-n=* | --program-transform-=* \
 1086:   | --program-transform=* | --program-transfor=* \
 1087:   | --program-transfo=* | --program-transf=* \
 1088:   | --program-trans=* | --program-tran=* \
 1089:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1090:     program_transform_name=$ac_optarg ;;
 1091: 
 1092:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1093:     ac_prev=pdfdir ;;
 1094:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1095:     pdfdir=$ac_optarg ;;
 1096: 
 1097:   -psdir | --psdir | --psdi | --psd | --ps)
 1098:     ac_prev=psdir ;;
 1099:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1100:     psdir=$ac_optarg ;;
 1101: 
 1102:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1103:   | -silent | --silent | --silen | --sile | --sil)
 1104:     silent=yes ;;
 1105: 
 1106:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1107:     ac_prev=sbindir ;;
 1108:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1109:   | --sbi=* | --sb=*)
 1110:     sbindir=$ac_optarg ;;
 1111: 
 1112:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1113:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1114:   | --sharedst | --shareds | --shared | --share | --shar \
 1115:   | --sha | --sh)
 1116:     ac_prev=sharedstatedir ;;
 1117:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1118:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1119:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1120:   | --sha=* | --sh=*)
 1121:     sharedstatedir=$ac_optarg ;;
 1122: 
 1123:   -site | --site | --sit)
 1124:     ac_prev=site ;;
 1125:   -site=* | --site=* | --sit=*)
 1126:     site=$ac_optarg ;;
 1127: 
 1128:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1129:     ac_prev=srcdir ;;
 1130:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1131:     srcdir=$ac_optarg ;;
 1132: 
 1133:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1134:   | --syscon | --sysco | --sysc | --sys | --sy)
 1135:     ac_prev=sysconfdir ;;
 1136:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1137:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1138:     sysconfdir=$ac_optarg ;;
 1139: 
 1140:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1141:     ac_prev=target_alias ;;
 1142:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1143:     target_alias=$ac_optarg ;;
 1144: 
 1145:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1146:     verbose=yes ;;
 1147: 
 1148:   -version | --version | --versio | --versi | --vers | -V)
 1149:     ac_init_version=: ;;
 1150: 
 1151:   -with-* | --with-*)
 1152:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1153:     # Reject names that are not valid shell variable names.
 1154:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1155:       as_fn_error $? "invalid package name: $ac_useropt"
 1156:     ac_useropt_orig=$ac_useropt
 1157:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1158:     case $ac_user_opts in
 1159:       *"
 1160: "with_$ac_useropt"
 1161: "*) ;;
 1162:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1163: 	 ac_unrecognized_sep=', ';;
 1164:     esac
 1165:     eval with_$ac_useropt=\$ac_optarg ;;
 1166: 
 1167:   -without-* | --without-*)
 1168:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1169:     # Reject names that are not valid shell variable names.
 1170:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1171:       as_fn_error $? "invalid package name: $ac_useropt"
 1172:     ac_useropt_orig=$ac_useropt
 1173:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1174:     case $ac_user_opts in
 1175:       *"
 1176: "with_$ac_useropt"
 1177: "*) ;;
 1178:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1179: 	 ac_unrecognized_sep=', ';;
 1180:     esac
 1181:     eval with_$ac_useropt=no ;;
 1182: 
 1183:   --x)
 1184:     # Obsolete; use --with-x.
 1185:     with_x=yes ;;
 1186: 
 1187:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1188:   | --x-incl | --x-inc | --x-in | --x-i)
 1189:     ac_prev=x_includes ;;
 1190:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1191:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1192:     x_includes=$ac_optarg ;;
 1193: 
 1194:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1195:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1196:     ac_prev=x_libraries ;;
 1197:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1198:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1199:     x_libraries=$ac_optarg ;;
 1200: 
 1201:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1202: Try \`$0 --help' for more information"
 1203:     ;;
 1204: 
 1205:   *=*)
 1206:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1207:     # Reject names that are not valid shell variable names.
 1208:     case $ac_envvar in #(
 1209:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1210:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1211:     esac
 1212:     eval $ac_envvar=\$ac_optarg
 1213:     export $ac_envvar ;;
 1214: 
 1215:   *)
 1216:     # FIXME: should be removed in autoconf 3.0.
 1217:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1218:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1219:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1220:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1221:     ;;
 1222: 
 1223:   esac
 1224: done
 1225: 
 1226: if test -n "$ac_prev"; then
 1227:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1228:   as_fn_error $? "missing argument to $ac_option"
 1229: fi
 1230: 
 1231: if test -n "$ac_unrecognized_opts"; then
 1232:   case $enable_option_checking in
 1233:     no) ;;
 1234:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1235:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1236:   esac
 1237: fi
 1238: 
 1239: # Check all directory arguments for consistency.
 1240: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1241: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1242: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1243: 		libdir localedir mandir
 1244: do
 1245:   eval ac_val=\$$ac_var
 1246:   # Remove trailing slashes.
 1247:   case $ac_val in
 1248:     */ )
 1249:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1250:       eval $ac_var=\$ac_val;;
 1251:   esac
 1252:   # Be sure to have absolute directory names.
 1253:   case $ac_val in
 1254:     [\\/$]* | ?:[\\/]* )  continue;;
 1255:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1256:   esac
 1257:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1258: done
 1259: 
 1260: # There might be people who depend on the old broken behavior: `$host'
 1261: # used to hold the argument of --host etc.
 1262: # FIXME: To remove some day.
 1263: build=$build_alias
 1264: host=$host_alias
 1265: target=$target_alias
 1266: 
 1267: # FIXME: To remove some day.
 1268: if test "x$host_alias" != x; then
 1269:   if test "x$build_alias" = x; then
 1270:     cross_compiling=maybe
 1271:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1272:     If a cross compiler is detected then cross compile mode will be used" >&2
 1273:   elif test "x$build_alias" != "x$host_alias"; then
 1274:     cross_compiling=yes
 1275:   fi
 1276: fi
 1277: 
 1278: ac_tool_prefix=
 1279: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1280: 
 1281: test "$silent" = yes && exec 6>/dev/null
 1282: 
 1283: 
 1284: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1285: ac_ls_di=`ls -di .` &&
 1286: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1287:   as_fn_error $? "working directory cannot be determined"
 1288: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1289:   as_fn_error $? "pwd does not report name of working directory"
 1290: 
 1291: 
 1292: # Find the source files, if location was not specified.
 1293: if test -z "$srcdir"; then
 1294:   ac_srcdir_defaulted=yes
 1295:   # Try the directory containing this script, then the parent directory.
 1296:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1297: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1298: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1299: 	 X"$as_myself" : 'X\(//\)$' \| \
 1300: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1301: $as_echo X"$as_myself" |
 1302:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1303: 	    s//\1/
 1304: 	    q
 1305: 	  }
 1306: 	  /^X\(\/\/\)[^/].*/{
 1307: 	    s//\1/
 1308: 	    q
 1309: 	  }
 1310: 	  /^X\(\/\/\)$/{
 1311: 	    s//\1/
 1312: 	    q
 1313: 	  }
 1314: 	  /^X\(\/\).*/{
 1315: 	    s//\1/
 1316: 	    q
 1317: 	  }
 1318: 	  s/.*/./; q'`
 1319:   srcdir=$ac_confdir
 1320:   if test ! -r "$srcdir/$ac_unique_file"; then
 1321:     srcdir=..
 1322:   fi
 1323: else
 1324:   ac_srcdir_defaulted=no
 1325: fi
 1326: if test ! -r "$srcdir/$ac_unique_file"; then
 1327:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1328:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1329: fi
 1330: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1331: ac_abs_confdir=`(
 1332: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1333: 	pwd)`
 1334: # When building in place, set srcdir=.
 1335: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1336:   srcdir=.
 1337: fi
 1338: # Remove unnecessary trailing slashes from srcdir.
 1339: # Double slashes in file names in object file debugging info
 1340: # mess up M-x gdb in Emacs.
 1341: case $srcdir in
 1342: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1343: esac
 1344: for ac_var in $ac_precious_vars; do
 1345:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1346:   eval ac_env_${ac_var}_value=\$${ac_var}
 1347:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1348:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1349: done
 1350: 
 1351: #
 1352: # Report the --help message.
 1353: #
 1354: if test "$ac_init_help" = "long"; then
 1355:   # Omit some internal or obsolete options to make the list less imposing.
 1356:   # This message is too long to be a string in the A/UX 3.1 sh.
 1357:   cat <<_ACEOF
 1358: \`configure' configures PCRE 8.30 to adapt to many kinds of systems.
 1359: 
 1360: Usage: $0 [OPTION]... [VAR=VALUE]...
 1361: 
 1362: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1363: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1364: 
 1365: Defaults for the options are specified in brackets.
 1366: 
 1367: Configuration:
 1368:   -h, --help              display this help and exit
 1369:       --help=short        display options specific to this package
 1370:       --help=recursive    display the short help of all the included packages
 1371:   -V, --version           display version information and exit
 1372:   -q, --quiet, --silent   do not print \`checking ...' messages
 1373:       --cache-file=FILE   cache test results in FILE [disabled]
 1374:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1375:   -n, --no-create         do not create output files
 1376:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1377: 
 1378: Installation directories:
 1379:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1380:                           [$ac_default_prefix]
 1381:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1382:                           [PREFIX]
 1383: 
 1384: By default, \`make install' will install all the files in
 1385: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1386: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1387: for instance \`--prefix=\$HOME'.
 1388: 
 1389: For better control, use the options below.
 1390: 
 1391: Fine tuning of the installation directories:
 1392:   --bindir=DIR            user executables [EPREFIX/bin]
 1393:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1394:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1395:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1396:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1397:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1398:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1399:   --includedir=DIR        C header files [PREFIX/include]
 1400:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1401:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1402:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1403:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1404:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1405:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1406:   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
 1407:   --htmldir=DIR           html documentation [DOCDIR]
 1408:   --dvidir=DIR            dvi documentation [DOCDIR]
 1409:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1410:   --psdir=DIR             ps documentation [DOCDIR]
 1411: _ACEOF
 1412: 
 1413:   cat <<\_ACEOF
 1414: 
 1415: Program names:
 1416:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1417:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1418:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1419: 
 1420: System types:
 1421:   --build=BUILD     configure for building on BUILD [guessed]
 1422:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1423: _ACEOF
 1424: fi
 1425: 
 1426: if test -n "$ac_init_help"; then
 1427:   case $ac_init_help in
 1428:      short | recursive ) echo "Configuration of PCRE 8.30:";;
 1429:    esac
 1430:   cat <<\_ACEOF
 1431: 
 1432: Optional Features:
 1433:   --disable-option-checking  ignore unrecognized --enable/--with options
 1434:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1435:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1436:   --enable-silent-rules          less verbose build output (undo: `make V=1')
 1437:   --disable-silent-rules         verbose build output (undo: `make V=0')
 1438:   --disable-dependency-tracking  speeds up one-time build
 1439:   --enable-dependency-tracking   do not reject slow dependency extractors
 1440:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1441:   --enable-static[=PKGS]  build static libraries [default=yes]
 1442:   --enable-fast-install[=PKGS]
 1443:                           optimize for fast installation [default=yes]
 1444:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1445:   --disable-pcre8         disable 8 bit character support
 1446:   --enable-pcre16         enable 16 bit character support
 1447:   --disable-cpp           disable C++ support
 1448:   --enable-jit            enable Just-In-Time compiling support
 1449:   --disable-pcregrep-jit  disable JIT support in pcregrep
 1450:   --enable-rebuild-chartables
 1451:                           rebuild character tables in current locale
 1452:   --enable-utf8           another name for --enable-utf. Kept only for
 1453:                           compatibility reasons
 1454:   --enable-utf            enable UTF-8/16 support (incompatible with
 1455:                           --enable-ebcdic)
 1456:   --enable-unicode-properties
 1457:                           enable Unicode properties support (implies
 1458:                           --enable-utf)
 1459:   --enable-newline-is-cr  use CR as newline character
 1460:   --enable-newline-is-lf  use LF as newline character (default)
 1461:   --enable-newline-is-crlf
 1462:                           use CRLF as newline sequence
 1463:   --enable-newline-is-anycrlf
 1464:                           use CR, LF, or CRLF as newline sequence
 1465:   --enable-newline-is-any use any valid Unicode newline sequence
 1466:   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
 1467:   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
 1468:                           with --enable-utf; use only in (uncommon) EBCDIC
 1469:                           environments; it implies --enable-rebuild-chartables
 1470:   --disable-stack-for-recursion
 1471:                           don't use stack recursion when matching
 1472:   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
 1473:   --enable-pcregrep-libbz2
 1474:                           link pcregrep with libbz2 to handle .bz2 files
 1475:   --enable-pcretest-libreadline
 1476:                           link pcretest with libreadline
 1477: 
 1478: Optional Packages:
 1479:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1480:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1481:   --with-pic              try to use only PIC/non-PIC objects [default=use
 1482:                           both]
 1483:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1484:   --with-sysroot=DIR Search for dependent libraries within DIR
 1485:                         (or the compiler's sysroot if not specified).
 1486:   --with-pcregrep-bufsize=N
 1487:                           pcregrep buffer size (default=20480)
 1488:   --with-posix-malloc-threshold=NBYTES
 1489:                           threshold for POSIX malloc usage (default=10)
 1490:   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
 1491:   --with-match-limit=N    default limit on internal looping (default=10000000)
 1492:   --with-match-limit-recursion=N
 1493:                           default limit on internal recursion
 1494:                           (default=MATCH_LIMIT)
 1495: 
 1496: Some influential environment variables:
 1497:   CC          C compiler command
 1498:   CFLAGS      C compiler flags
 1499:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1500:               nonstandard directory <lib dir>
 1501:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1502:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1503:               you have headers in a nonstandard directory <include dir>
 1504:   CXX         C++ compiler command
 1505:   CXXFLAGS    C++ compiler flags
 1506:   CPP         C preprocessor
 1507:   CXXCPP      C++ preprocessor
 1508: 
 1509: Use these variables to override the choices made by `configure' or to help
 1510: it to find libraries and programs with nonstandard names/locations.
 1511: 
 1512: Report bugs to the package provider.
 1513: _ACEOF
 1514: ac_status=$?
 1515: fi
 1516: 
 1517: if test "$ac_init_help" = "recursive"; then
 1518:   # If there are subdirs, report their specific --help.
 1519:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1520:     test -d "$ac_dir" ||
 1521:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1522:       continue
 1523:     ac_builddir=.
 1524: 
 1525: case "$ac_dir" in
 1526: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1527: *)
 1528:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1529:   # A ".." for each directory in $ac_dir_suffix.
 1530:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1531:   case $ac_top_builddir_sub in
 1532:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1533:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1534:   esac ;;
 1535: esac
 1536: ac_abs_top_builddir=$ac_pwd
 1537: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1538: # for backward compatibility:
 1539: ac_top_builddir=$ac_top_build_prefix
 1540: 
 1541: case $srcdir in
 1542:   .)  # We are building in place.
 1543:     ac_srcdir=.
 1544:     ac_top_srcdir=$ac_top_builddir_sub
 1545:     ac_abs_top_srcdir=$ac_pwd ;;
 1546:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1547:     ac_srcdir=$srcdir$ac_dir_suffix;
 1548:     ac_top_srcdir=$srcdir
 1549:     ac_abs_top_srcdir=$srcdir ;;
 1550:   *) # Relative name.
 1551:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1552:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1553:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1554: esac
 1555: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1556: 
 1557:     cd "$ac_dir" || { ac_status=$?; continue; }
 1558:     # Check for guested configure.
 1559:     if test -f "$ac_srcdir/configure.gnu"; then
 1560:       echo &&
 1561:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1562:     elif test -f "$ac_srcdir/configure"; then
 1563:       echo &&
 1564:       $SHELL "$ac_srcdir/configure" --help=recursive
 1565:     else
 1566:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1567:     fi || ac_status=$?
 1568:     cd "$ac_pwd" || { ac_status=$?; break; }
 1569:   done
 1570: fi
 1571: 
 1572: test -n "$ac_init_help" && exit $ac_status
 1573: if $ac_init_version; then
 1574:   cat <<\_ACEOF
 1575: PCRE configure 8.30
 1576: generated by GNU Autoconf 2.68
 1577: 
 1578: Copyright (C) 2010 Free Software Foundation, Inc.
 1579: This configure script is free software; the Free Software Foundation
 1580: gives unlimited permission to copy, distribute and modify it.
 1581: _ACEOF
 1582:   exit
 1583: fi
 1584: 
 1585: ## ------------------------ ##
 1586: ## Autoconf initialization. ##
 1587: ## ------------------------ ##
 1588: 
 1589: # ac_fn_c_try_compile LINENO
 1590: # --------------------------
 1591: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1592: ac_fn_c_try_compile ()
 1593: {
 1594:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1595:   rm -f conftest.$ac_objext
 1596:   if { { ac_try="$ac_compile"
 1597: case "(($ac_try" in
 1598:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1599:   *) ac_try_echo=$ac_try;;
 1600: esac
 1601: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1602: $as_echo "$ac_try_echo"; } >&5
 1603:   (eval "$ac_compile") 2>conftest.err
 1604:   ac_status=$?
 1605:   if test -s conftest.err; then
 1606:     grep -v '^ *+' conftest.err >conftest.er1
 1607:     cat conftest.er1 >&5
 1608:     mv -f conftest.er1 conftest.err
 1609:   fi
 1610:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1611:   test $ac_status = 0; } && {
 1612: 	 test -z "$ac_c_werror_flag" ||
 1613: 	 test ! -s conftest.err
 1614:        } && test -s conftest.$ac_objext; then :
 1615:   ac_retval=0
 1616: else
 1617:   $as_echo "$as_me: failed program was:" >&5
 1618: sed 's/^/| /' conftest.$ac_ext >&5
 1619: 
 1620: 	ac_retval=1
 1621: fi
 1622:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1623:   as_fn_set_status $ac_retval
 1624: 
 1625: } # ac_fn_c_try_compile
 1626: 
 1627: # ac_fn_cxx_try_compile LINENO
 1628: # ----------------------------
 1629: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1630: ac_fn_cxx_try_compile ()
 1631: {
 1632:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1633:   rm -f conftest.$ac_objext
 1634:   if { { ac_try="$ac_compile"
 1635: case "(($ac_try" in
 1636:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1637:   *) ac_try_echo=$ac_try;;
 1638: esac
 1639: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1640: $as_echo "$ac_try_echo"; } >&5
 1641:   (eval "$ac_compile") 2>conftest.err
 1642:   ac_status=$?
 1643:   if test -s conftest.err; then
 1644:     grep -v '^ *+' conftest.err >conftest.er1
 1645:     cat conftest.er1 >&5
 1646:     mv -f conftest.er1 conftest.err
 1647:   fi
 1648:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1649:   test $ac_status = 0; } && {
 1650: 	 test -z "$ac_cxx_werror_flag" ||
 1651: 	 test ! -s conftest.err
 1652:        } && test -s conftest.$ac_objext; then :
 1653:   ac_retval=0
 1654: else
 1655:   $as_echo "$as_me: failed program was:" >&5
 1656: sed 's/^/| /' conftest.$ac_ext >&5
 1657: 
 1658: 	ac_retval=1
 1659: fi
 1660:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1661:   as_fn_set_status $ac_retval
 1662: 
 1663: } # ac_fn_cxx_try_compile
 1664: 
 1665: # ac_fn_c_try_cpp LINENO
 1666: # ----------------------
 1667: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1668: ac_fn_c_try_cpp ()
 1669: {
 1670:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1671:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1672: case "(($ac_try" in
 1673:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1674:   *) ac_try_echo=$ac_try;;
 1675: esac
 1676: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1677: $as_echo "$ac_try_echo"; } >&5
 1678:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1679:   ac_status=$?
 1680:   if test -s conftest.err; then
 1681:     grep -v '^ *+' conftest.err >conftest.er1
 1682:     cat conftest.er1 >&5
 1683:     mv -f conftest.er1 conftest.err
 1684:   fi
 1685:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1686:   test $ac_status = 0; } > conftest.i && {
 1687: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1688: 	 test ! -s conftest.err
 1689:        }; then :
 1690:   ac_retval=0
 1691: else
 1692:   $as_echo "$as_me: failed program was:" >&5
 1693: sed 's/^/| /' conftest.$ac_ext >&5
 1694: 
 1695:     ac_retval=1
 1696: fi
 1697:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1698:   as_fn_set_status $ac_retval
 1699: 
 1700: } # ac_fn_c_try_cpp
 1701: 
 1702: # ac_fn_c_try_run LINENO
 1703: # ----------------------
 1704: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1705: # that executables *can* be run.
 1706: ac_fn_c_try_run ()
 1707: {
 1708:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1709:   if { { ac_try="$ac_link"
 1710: case "(($ac_try" in
 1711:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1712:   *) ac_try_echo=$ac_try;;
 1713: esac
 1714: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1715: $as_echo "$ac_try_echo"; } >&5
 1716:   (eval "$ac_link") 2>&5
 1717:   ac_status=$?
 1718:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1719:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1720:   { { case "(($ac_try" in
 1721:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1722:   *) ac_try_echo=$ac_try;;
 1723: esac
 1724: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1725: $as_echo "$ac_try_echo"; } >&5
 1726:   (eval "$ac_try") 2>&5
 1727:   ac_status=$?
 1728:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1729:   test $ac_status = 0; }; }; then :
 1730:   ac_retval=0
 1731: else
 1732:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1733:        $as_echo "$as_me: failed program was:" >&5
 1734: sed 's/^/| /' conftest.$ac_ext >&5
 1735: 
 1736:        ac_retval=$ac_status
 1737: fi
 1738:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1739:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1740:   as_fn_set_status $ac_retval
 1741: 
 1742: } # ac_fn_c_try_run
 1743: 
 1744: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1745: # -------------------------------------------------------
 1746: # Tests whether HEADER exists and can be compiled using the include files in
 1747: # INCLUDES, setting the cache variable VAR accordingly.
 1748: ac_fn_c_check_header_compile ()
 1749: {
 1750:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1751:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1752: $as_echo_n "checking for $2... " >&6; }
 1753: if eval \${$3+:} false; then :
 1754:   $as_echo_n "(cached) " >&6
 1755: else
 1756:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1757: /* end confdefs.h.  */
 1758: $4
 1759: #include <$2>
 1760: _ACEOF
 1761: if ac_fn_c_try_compile "$LINENO"; then :
 1762:   eval "$3=yes"
 1763: else
 1764:   eval "$3=no"
 1765: fi
 1766: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1767: fi
 1768: eval ac_res=\$$3
 1769: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1770: $as_echo "$ac_res" >&6; }
 1771:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1772: 
 1773: } # ac_fn_c_check_header_compile
 1774: 
 1775: # ac_fn_c_find_intX_t LINENO BITS VAR
 1776: # -----------------------------------
 1777: # Finds a signed integer type with width BITS, setting cache variable VAR
 1778: # accordingly.
 1779: ac_fn_c_find_intX_t ()
 1780: {
 1781:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1782:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 1783: $as_echo_n "checking for int$2_t... " >&6; }
 1784: if eval \${$3+:} false; then :
 1785:   $as_echo_n "(cached) " >&6
 1786: else
 1787:   eval "$3=no"
 1788:      # Order is important - never check a type that is potentially smaller
 1789:      # than half of the expected target width.
 1790:      for ac_type in int$2_t 'int' 'long int' \
 1791: 	 'long long int' 'short int' 'signed char'; do
 1792:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1793: /* end confdefs.h.  */
 1794: $ac_includes_default
 1795: 	     enum { N = $2 / 2 - 1 };
 1796: int
 1797: main ()
 1798: {
 1799: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 1800: test_array [0] = 0
 1801: 
 1802:   ;
 1803:   return 0;
 1804: }
 1805: _ACEOF
 1806: if ac_fn_c_try_compile "$LINENO"; then :
 1807:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1808: /* end confdefs.h.  */
 1809: $ac_includes_default
 1810: 	        enum { N = $2 / 2 - 1 };
 1811: int
 1812: main ()
 1813: {
 1814: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 1815: 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 1816: test_array [0] = 0
 1817: 
 1818:   ;
 1819:   return 0;
 1820: }
 1821: _ACEOF
 1822: if ac_fn_c_try_compile "$LINENO"; then :
 1823: 
 1824: else
 1825:   case $ac_type in #(
 1826:   int$2_t) :
 1827:     eval "$3=yes" ;; #(
 1828:   *) :
 1829:     eval "$3=\$ac_type" ;;
 1830: esac
 1831: fi
 1832: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1833: fi
 1834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1835:        if eval test \"x\$"$3"\" = x"no"; then :
 1836: 
 1837: else
 1838:   break
 1839: fi
 1840:      done
 1841: fi
 1842: eval ac_res=\$$3
 1843: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1844: $as_echo "$ac_res" >&6; }
 1845:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1846: 
 1847: } # ac_fn_c_find_intX_t
 1848: 
 1849: # ac_fn_c_try_link LINENO
 1850: # -----------------------
 1851: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1852: ac_fn_c_try_link ()
 1853: {
 1854:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1855:   rm -f conftest.$ac_objext conftest$ac_exeext
 1856:   if { { ac_try="$ac_link"
 1857: case "(($ac_try" in
 1858:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1859:   *) ac_try_echo=$ac_try;;
 1860: esac
 1861: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1862: $as_echo "$ac_try_echo"; } >&5
 1863:   (eval "$ac_link") 2>conftest.err
 1864:   ac_status=$?
 1865:   if test -s conftest.err; then
 1866:     grep -v '^ *+' conftest.err >conftest.er1
 1867:     cat conftest.er1 >&5
 1868:     mv -f conftest.er1 conftest.err
 1869:   fi
 1870:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1871:   test $ac_status = 0; } && {
 1872: 	 test -z "$ac_c_werror_flag" ||
 1873: 	 test ! -s conftest.err
 1874:        } && test -s conftest$ac_exeext && {
 1875: 	 test "$cross_compiling" = yes ||
 1876: 	 $as_test_x conftest$ac_exeext
 1877:        }; then :
 1878:   ac_retval=0
 1879: else
 1880:   $as_echo "$as_me: failed program was:" >&5
 1881: sed 's/^/| /' conftest.$ac_ext >&5
 1882: 
 1883: 	ac_retval=1
 1884: fi
 1885:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1886:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1887:   # interfere with the next link command; also delete a directory that is
 1888:   # left behind by Apple's compiler.  We do this before executing the actions.
 1889:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1890:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1891:   as_fn_set_status $ac_retval
 1892: 
 1893: } # ac_fn_c_try_link
 1894: 
 1895: # ac_fn_c_check_func LINENO FUNC VAR
 1896: # ----------------------------------
 1897: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1898: ac_fn_c_check_func ()
 1899: {
 1900:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1901:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1902: $as_echo_n "checking for $2... " >&6; }
 1903: if eval \${$3+:} false; then :
 1904:   $as_echo_n "(cached) " >&6
 1905: else
 1906:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1907: /* end confdefs.h.  */
 1908: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1909:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1910: #define $2 innocuous_$2
 1911: 
 1912: /* System header to define __stub macros and hopefully few prototypes,
 1913:     which can conflict with char $2 (); below.
 1914:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1915:     <limits.h> exists even on freestanding compilers.  */
 1916: 
 1917: #ifdef __STDC__
 1918: # include <limits.h>
 1919: #else
 1920: # include <assert.h>
 1921: #endif
 1922: 
 1923: #undef $2
 1924: 
 1925: /* Override any GCC internal prototype to avoid an error.
 1926:    Use char because int might match the return type of a GCC
 1927:    builtin and then its argument prototype would still apply.  */
 1928: #ifdef __cplusplus
 1929: extern "C"
 1930: #endif
 1931: char $2 ();
 1932: /* The GNU C library defines this for functions which it implements
 1933:     to always fail with ENOSYS.  Some functions are actually named
 1934:     something starting with __ and the normal name is an alias.  */
 1935: #if defined __stub_$2 || defined __stub___$2
 1936: choke me
 1937: #endif
 1938: 
 1939: int
 1940: main ()
 1941: {
 1942: return $2 ();
 1943:   ;
 1944:   return 0;
 1945: }
 1946: _ACEOF
 1947: if ac_fn_c_try_link "$LINENO"; then :
 1948:   eval "$3=yes"
 1949: else
 1950:   eval "$3=no"
 1951: fi
 1952: rm -f core conftest.err conftest.$ac_objext \
 1953:     conftest$ac_exeext conftest.$ac_ext
 1954: fi
 1955: eval ac_res=\$$3
 1956: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1957: $as_echo "$ac_res" >&6; }
 1958:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1959: 
 1960: } # ac_fn_c_check_func
 1961: 
 1962: # ac_fn_cxx_try_cpp LINENO
 1963: # ------------------------
 1964: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1965: ac_fn_cxx_try_cpp ()
 1966: {
 1967:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1968:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1969: case "(($ac_try" in
 1970:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1971:   *) ac_try_echo=$ac_try;;
 1972: esac
 1973: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1974: $as_echo "$ac_try_echo"; } >&5
 1975:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1976:   ac_status=$?
 1977:   if test -s conftest.err; then
 1978:     grep -v '^ *+' conftest.err >conftest.er1
 1979:     cat conftest.er1 >&5
 1980:     mv -f conftest.er1 conftest.err
 1981:   fi
 1982:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1983:   test $ac_status = 0; } > conftest.i && {
 1984: 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 1985: 	 test ! -s conftest.err
 1986:        }; then :
 1987:   ac_retval=0
 1988: else
 1989:   $as_echo "$as_me: failed program was:" >&5
 1990: sed 's/^/| /' conftest.$ac_ext >&5
 1991: 
 1992:     ac_retval=1
 1993: fi
 1994:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1995:   as_fn_set_status $ac_retval
 1996: 
 1997: } # ac_fn_cxx_try_cpp
 1998: 
 1999: # ac_fn_cxx_try_link LINENO
 2000: # -------------------------
 2001: # Try to link conftest.$ac_ext, and return whether this succeeded.
 2002: ac_fn_cxx_try_link ()
 2003: {
 2004:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2005:   rm -f conftest.$ac_objext conftest$ac_exeext
 2006:   if { { ac_try="$ac_link"
 2007: case "(($ac_try" in
 2008:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2009:   *) ac_try_echo=$ac_try;;
 2010: esac
 2011: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2012: $as_echo "$ac_try_echo"; } >&5
 2013:   (eval "$ac_link") 2>conftest.err
 2014:   ac_status=$?
 2015:   if test -s conftest.err; then
 2016:     grep -v '^ *+' conftest.err >conftest.er1
 2017:     cat conftest.er1 >&5
 2018:     mv -f conftest.er1 conftest.err
 2019:   fi
 2020:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2021:   test $ac_status = 0; } && {
 2022: 	 test -z "$ac_cxx_werror_flag" ||
 2023: 	 test ! -s conftest.err
 2024:        } && test -s conftest$ac_exeext && {
 2025: 	 test "$cross_compiling" = yes ||
 2026: 	 $as_test_x conftest$ac_exeext
 2027:        }; then :
 2028:   ac_retval=0
 2029: else
 2030:   $as_echo "$as_me: failed program was:" >&5
 2031: sed 's/^/| /' conftest.$ac_ext >&5
 2032: 
 2033: 	ac_retval=1
 2034: fi
 2035:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 2036:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 2037:   # interfere with the next link command; also delete a directory that is
 2038:   # left behind by Apple's compiler.  We do this before executing the actions.
 2039:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 2040:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2041:   as_fn_set_status $ac_retval
 2042: 
 2043: } # ac_fn_cxx_try_link
 2044: 
 2045: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2046: # -------------------------------------------------------
 2047: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2048: # the include files in INCLUDES and setting the cache variable VAR
 2049: # accordingly.
 2050: ac_fn_c_check_header_mongrel ()
 2051: {
 2052:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2053:   if eval \${$3+:} false; then :
 2054:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2055: $as_echo_n "checking for $2... " >&6; }
 2056: if eval \${$3+:} false; then :
 2057:   $as_echo_n "(cached) " >&6
 2058: fi
 2059: eval ac_res=\$$3
 2060: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2061: $as_echo "$ac_res" >&6; }
 2062: else
 2063:   # Is the header compilable?
 2064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2065: $as_echo_n "checking $2 usability... " >&6; }
 2066: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2067: /* end confdefs.h.  */
 2068: $4
 2069: #include <$2>
 2070: _ACEOF
 2071: if ac_fn_c_try_compile "$LINENO"; then :
 2072:   ac_header_compiler=yes
 2073: else
 2074:   ac_header_compiler=no
 2075: fi
 2076: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2078: $as_echo "$ac_header_compiler" >&6; }
 2079: 
 2080: # Is the header present?
 2081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2082: $as_echo_n "checking $2 presence... " >&6; }
 2083: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2084: /* end confdefs.h.  */
 2085: #include <$2>
 2086: _ACEOF
 2087: if ac_fn_c_try_cpp "$LINENO"; then :
 2088:   ac_header_preproc=yes
 2089: else
 2090:   ac_header_preproc=no
 2091: fi
 2092: rm -f conftest.err conftest.i conftest.$ac_ext
 2093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2094: $as_echo "$ac_header_preproc" >&6; }
 2095: 
 2096: # So?  What about this header?
 2097: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2098:   yes:no: )
 2099:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2100: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2101:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2102: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2103:     ;;
 2104:   no:yes:* )
 2105:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2106: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2107:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2108: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2109:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2110: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2111:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2112: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2113:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2114: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2115:     ;;
 2116: esac
 2117:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2118: $as_echo_n "checking for $2... " >&6; }
 2119: if eval \${$3+:} false; then :
 2120:   $as_echo_n "(cached) " >&6
 2121: else
 2122:   eval "$3=\$ac_header_compiler"
 2123: fi
 2124: eval ac_res=\$$3
 2125: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2126: $as_echo "$ac_res" >&6; }
 2127: fi
 2128:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2129: 
 2130: } # ac_fn_c_check_header_mongrel
 2131: 
 2132: # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 2133: # ---------------------------------------------------------
 2134: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2135: # the include files in INCLUDES and setting the cache variable VAR
 2136: # accordingly.
 2137: ac_fn_cxx_check_header_mongrel ()
 2138: {
 2139:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2140:   if eval \${$3+:} false; then :
 2141:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2142: $as_echo_n "checking for $2... " >&6; }
 2143: if eval \${$3+:} false; then :
 2144:   $as_echo_n "(cached) " >&6
 2145: fi
 2146: eval ac_res=\$$3
 2147: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2148: $as_echo "$ac_res" >&6; }
 2149: else
 2150:   # Is the header compilable?
 2151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2152: $as_echo_n "checking $2 usability... " >&6; }
 2153: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2154: /* end confdefs.h.  */
 2155: $4
 2156: #include <$2>
 2157: _ACEOF
 2158: if ac_fn_cxx_try_compile "$LINENO"; then :
 2159:   ac_header_compiler=yes
 2160: else
 2161:   ac_header_compiler=no
 2162: fi
 2163: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2165: $as_echo "$ac_header_compiler" >&6; }
 2166: 
 2167: # Is the header present?
 2168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2169: $as_echo_n "checking $2 presence... " >&6; }
 2170: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2171: /* end confdefs.h.  */
 2172: #include <$2>
 2173: _ACEOF
 2174: if ac_fn_cxx_try_cpp "$LINENO"; then :
 2175:   ac_header_preproc=yes
 2176: else
 2177:   ac_header_preproc=no
 2178: fi
 2179: rm -f conftest.err conftest.i conftest.$ac_ext
 2180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2181: $as_echo "$ac_header_preproc" >&6; }
 2182: 
 2183: # So?  What about this header?
 2184: case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 2185:   yes:no: )
 2186:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2187: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2188:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2189: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2190:     ;;
 2191:   no:yes:* )
 2192:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2193: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2194:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2195: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2196:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2197: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2198:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2199: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2200:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2201: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2202:     ;;
 2203: esac
 2204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2205: $as_echo_n "checking for $2... " >&6; }
 2206: if eval \${$3+:} false; then :
 2207:   $as_echo_n "(cached) " >&6
 2208: else
 2209:   eval "$3=\$ac_header_compiler"
 2210: fi
 2211: eval ac_res=\$$3
 2212: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2213: $as_echo "$ac_res" >&6; }
 2214: fi
 2215:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2216: 
 2217: } # ac_fn_cxx_check_header_mongrel
 2218: 
 2219: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 2220: # ---------------------------------------------
 2221: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2222: # variable VAR accordingly.
 2223: ac_fn_cxx_check_type ()
 2224: {
 2225:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2226:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2227: $as_echo_n "checking for $2... " >&6; }
 2228: if eval \${$3+:} false; then :
 2229:   $as_echo_n "(cached) " >&6
 2230: else
 2231:   eval "$3=no"
 2232:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2233: /* end confdefs.h.  */
 2234: $4
 2235: int
 2236: main ()
 2237: {
 2238: if (sizeof ($2))
 2239: 	 return 0;
 2240:   ;
 2241:   return 0;
 2242: }
 2243: _ACEOF
 2244: if ac_fn_cxx_try_compile "$LINENO"; then :
 2245:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2246: /* end confdefs.h.  */
 2247: $4
 2248: int
 2249: main ()
 2250: {
 2251: if (sizeof (($2)))
 2252: 	    return 0;
 2253:   ;
 2254:   return 0;
 2255: }
 2256: _ACEOF
 2257: if ac_fn_cxx_try_compile "$LINENO"; then :
 2258: 
 2259: else
 2260:   eval "$3=yes"
 2261: fi
 2262: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2263: fi
 2264: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2265: fi
 2266: eval ac_res=\$$3
 2267: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2268: $as_echo "$ac_res" >&6; }
 2269:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2270: 
 2271: } # ac_fn_cxx_check_type
 2272: 
 2273: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2274: # -------------------------------------------
 2275: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2276: # variable VAR accordingly.
 2277: ac_fn_c_check_type ()
 2278: {
 2279:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2280:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2281: $as_echo_n "checking for $2... " >&6; }
 2282: if eval \${$3+:} false; then :
 2283:   $as_echo_n "(cached) " >&6
 2284: else
 2285:   eval "$3=no"
 2286:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2287: /* end confdefs.h.  */
 2288: $4
 2289: int
 2290: main ()
 2291: {
 2292: if (sizeof ($2))
 2293: 	 return 0;
 2294:   ;
 2295:   return 0;
 2296: }
 2297: _ACEOF
 2298: if ac_fn_c_try_compile "$LINENO"; then :
 2299:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2300: /* end confdefs.h.  */
 2301: $4
 2302: int
 2303: main ()
 2304: {
 2305: if (sizeof (($2)))
 2306: 	    return 0;
 2307:   ;
 2308:   return 0;
 2309: }
 2310: _ACEOF
 2311: if ac_fn_c_try_compile "$LINENO"; then :
 2312: 
 2313: else
 2314:   eval "$3=yes"
 2315: fi
 2316: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2317: fi
 2318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2319: fi
 2320: eval ac_res=\$$3
 2321: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2322: $as_echo "$ac_res" >&6; }
 2323:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2324: 
 2325: } # ac_fn_c_check_type
 2326: cat >config.log <<_ACEOF
 2327: This file contains any messages produced by compilers while
 2328: running configure, to aid debugging if configure makes a mistake.
 2329: 
 2330: It was created by PCRE $as_me 8.30, which was
 2331: generated by GNU Autoconf 2.68.  Invocation command line was
 2332: 
 2333:   $ $0 $@
 2334: 
 2335: _ACEOF
 2336: exec 5>>config.log
 2337: {
 2338: cat <<_ASUNAME
 2339: ## --------- ##
 2340: ## Platform. ##
 2341: ## --------- ##
 2342: 
 2343: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2344: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2345: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2346: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2347: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2348: 
 2349: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2350: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2351: 
 2352: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2353: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2354: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2355: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2356: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2357: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2358: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2359: 
 2360: _ASUNAME
 2361: 
 2362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2363: for as_dir in $PATH
 2364: do
 2365:   IFS=$as_save_IFS
 2366:   test -z "$as_dir" && as_dir=.
 2367:     $as_echo "PATH: $as_dir"
 2368:   done
 2369: IFS=$as_save_IFS
 2370: 
 2371: } >&5
 2372: 
 2373: cat >&5 <<_ACEOF
 2374: 
 2375: 
 2376: ## ----------- ##
 2377: ## Core tests. ##
 2378: ## ----------- ##
 2379: 
 2380: _ACEOF
 2381: 
 2382: 
 2383: # Keep a trace of the command line.
 2384: # Strip out --no-create and --no-recursion so they do not pile up.
 2385: # Strip out --silent because we don't want to record it for future runs.
 2386: # Also quote any args containing shell meta-characters.
 2387: # Make two passes to allow for proper duplicate-argument suppression.
 2388: ac_configure_args=
 2389: ac_configure_args0=
 2390: ac_configure_args1=
 2391: ac_must_keep_next=false
 2392: for ac_pass in 1 2
 2393: do
 2394:   for ac_arg
 2395:   do
 2396:     case $ac_arg in
 2397:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2398:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2399:     | -silent | --silent | --silen | --sile | --sil)
 2400:       continue ;;
 2401:     *\'*)
 2402:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2403:     esac
 2404:     case $ac_pass in
 2405:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2406:     2)
 2407:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2408:       if test $ac_must_keep_next = true; then
 2409: 	ac_must_keep_next=false # Got value, back to normal.
 2410:       else
 2411: 	case $ac_arg in
 2412: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2413: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2414: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2415: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2416: 	    case "$ac_configure_args0 " in
 2417: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2418: 	    esac
 2419: 	    ;;
 2420: 	  -* ) ac_must_keep_next=true ;;
 2421: 	esac
 2422:       fi
 2423:       as_fn_append ac_configure_args " '$ac_arg'"
 2424:       ;;
 2425:     esac
 2426:   done
 2427: done
 2428: { ac_configure_args0=; unset ac_configure_args0;}
 2429: { ac_configure_args1=; unset ac_configure_args1;}
 2430: 
 2431: # When interrupted or exit'd, cleanup temporary files, and complete
 2432: # config.log.  We remove comments because anyway the quotes in there
 2433: # would cause problems or look ugly.
 2434: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2435: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2436: trap 'exit_status=$?
 2437:   # Save into config.log some information that might help in debugging.
 2438:   {
 2439:     echo
 2440: 
 2441:     $as_echo "## ---------------- ##
 2442: ## Cache variables. ##
 2443: ## ---------------- ##"
 2444:     echo
 2445:     # The following way of writing the cache mishandles newlines in values,
 2446: (
 2447:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2448:     eval ac_val=\$$ac_var
 2449:     case $ac_val in #(
 2450:     *${as_nl}*)
 2451:       case $ac_var in #(
 2452:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2453: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2454:       esac
 2455:       case $ac_var in #(
 2456:       _ | IFS | as_nl) ;; #(
 2457:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2458:       *) { eval $ac_var=; unset $ac_var;} ;;
 2459:       esac ;;
 2460:     esac
 2461:   done
 2462:   (set) 2>&1 |
 2463:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2464:     *${as_nl}ac_space=\ *)
 2465:       sed -n \
 2466: 	"s/'\''/'\''\\\\'\'''\''/g;
 2467: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2468:       ;; #(
 2469:     *)
 2470:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2471:       ;;
 2472:     esac |
 2473:     sort
 2474: )
 2475:     echo
 2476: 
 2477:     $as_echo "## ----------------- ##
 2478: ## Output variables. ##
 2479: ## ----------------- ##"
 2480:     echo
 2481:     for ac_var in $ac_subst_vars
 2482:     do
 2483:       eval ac_val=\$$ac_var
 2484:       case $ac_val in
 2485:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2486:       esac
 2487:       $as_echo "$ac_var='\''$ac_val'\''"
 2488:     done | sort
 2489:     echo
 2490: 
 2491:     if test -n "$ac_subst_files"; then
 2492:       $as_echo "## ------------------- ##
 2493: ## File substitutions. ##
 2494: ## ------------------- ##"
 2495:       echo
 2496:       for ac_var in $ac_subst_files
 2497:       do
 2498: 	eval ac_val=\$$ac_var
 2499: 	case $ac_val in
 2500: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2501: 	esac
 2502: 	$as_echo "$ac_var='\''$ac_val'\''"
 2503:       done | sort
 2504:       echo
 2505:     fi
 2506: 
 2507:     if test -s confdefs.h; then
 2508:       $as_echo "## ----------- ##
 2509: ## confdefs.h. ##
 2510: ## ----------- ##"
 2511:       echo
 2512:       cat confdefs.h
 2513:       echo
 2514:     fi
 2515:     test "$ac_signal" != 0 &&
 2516:       $as_echo "$as_me: caught signal $ac_signal"
 2517:     $as_echo "$as_me: exit $exit_status"
 2518:   } >&5
 2519:   rm -f core *.core core.conftest.* &&
 2520:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2521:     exit $exit_status
 2522: ' 0
 2523: for ac_signal in 1 2 13 15; do
 2524:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2525: done
 2526: ac_signal=0
 2527: 
 2528: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2529: rm -f -r conftest* confdefs.h
 2530: 
 2531: $as_echo "/* confdefs.h */" > confdefs.h
 2532: 
 2533: # Predefined preprocessor variables.
 2534: 
 2535: cat >>confdefs.h <<_ACEOF
 2536: #define PACKAGE_NAME "$PACKAGE_NAME"
 2537: _ACEOF
 2538: 
 2539: cat >>confdefs.h <<_ACEOF
 2540: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2541: _ACEOF
 2542: 
 2543: cat >>confdefs.h <<_ACEOF
 2544: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2545: _ACEOF
 2546: 
 2547: cat >>confdefs.h <<_ACEOF
 2548: #define PACKAGE_STRING "$PACKAGE_STRING"
 2549: _ACEOF
 2550: 
 2551: cat >>confdefs.h <<_ACEOF
 2552: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2553: _ACEOF
 2554: 
 2555: cat >>confdefs.h <<_ACEOF
 2556: #define PACKAGE_URL "$PACKAGE_URL"
 2557: _ACEOF
 2558: 
 2559: 
 2560: # Let the site file select an alternate cache file if it wants to.
 2561: # Prefer an explicitly selected file to automatically selected ones.
 2562: ac_site_file1=NONE
 2563: ac_site_file2=NONE
 2564: if test -n "$CONFIG_SITE"; then
 2565:   # We do not want a PATH search for config.site.
 2566:   case $CONFIG_SITE in #((
 2567:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2568:     */*) ac_site_file1=$CONFIG_SITE;;
 2569:     *)   ac_site_file1=./$CONFIG_SITE;;
 2570:   esac
 2571: elif test "x$prefix" != xNONE; then
 2572:   ac_site_file1=$prefix/share/config.site
 2573:   ac_site_file2=$prefix/etc/config.site
 2574: else
 2575:   ac_site_file1=$ac_default_prefix/share/config.site
 2576:   ac_site_file2=$ac_default_prefix/etc/config.site
 2577: fi
 2578: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2579: do
 2580:   test "x$ac_site_file" = xNONE && continue
 2581:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2582:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2583: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2584:     sed 's/^/| /' "$ac_site_file" >&5
 2585:     . "$ac_site_file" \
 2586:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2587: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2588: as_fn_error $? "failed to load site script $ac_site_file
 2589: See \`config.log' for more details" "$LINENO" 5; }
 2590:   fi
 2591: done
 2592: 
 2593: if test -r "$cache_file"; then
 2594:   # Some versions of bash will fail to source /dev/null (special files
 2595:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2596:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2597:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2598: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2599:     case $cache_file in
 2600:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2601:       *)                      . "./$cache_file";;
 2602:     esac
 2603:   fi
 2604: else
 2605:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2606: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2607:   >$cache_file
 2608: fi
 2609: 
 2610: # Check that the precious variables saved in the cache have kept the same
 2611: # value.
 2612: ac_cache_corrupted=false
 2613: for ac_var in $ac_precious_vars; do
 2614:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2615:   eval ac_new_set=\$ac_env_${ac_var}_set
 2616:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2617:   eval ac_new_val=\$ac_env_${ac_var}_value
 2618:   case $ac_old_set,$ac_new_set in
 2619:     set,)
 2620:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2621: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2622:       ac_cache_corrupted=: ;;
 2623:     ,set)
 2624:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2625: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2626:       ac_cache_corrupted=: ;;
 2627:     ,);;
 2628:     *)
 2629:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2630: 	# differences in whitespace do not lead to failure.
 2631: 	ac_old_val_w=`echo x $ac_old_val`
 2632: 	ac_new_val_w=`echo x $ac_new_val`
 2633: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2634: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2635: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2636: 	  ac_cache_corrupted=:
 2637: 	else
 2638: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2639: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2640: 	  eval $ac_var=\$ac_old_val
 2641: 	fi
 2642: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2643: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2644: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2645: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2646:       fi;;
 2647:   esac
 2648:   # Pass precious variables to config.status.
 2649:   if test "$ac_new_set" = set; then
 2650:     case $ac_new_val in
 2651:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2652:     *) ac_arg=$ac_var=$ac_new_val ;;
 2653:     esac
 2654:     case " $ac_configure_args " in
 2655:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2656:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2657:     esac
 2658:   fi
 2659: done
 2660: if $ac_cache_corrupted; then
 2661:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2662: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2663:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2664: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2665:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2666: fi
 2667: ## -------------------- ##
 2668: ## Main body of script. ##
 2669: ## -------------------- ##
 2670: 
 2671: ac_ext=c
 2672: ac_cpp='$CPP $CPPFLAGS'
 2673: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2674: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2675: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2676: 
 2677: 
 2678: 
 2679: am__api_version='1.11'
 2680: 
 2681: ac_aux_dir=
 2682: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2683:   if test -f "$ac_dir/install-sh"; then
 2684:     ac_aux_dir=$ac_dir
 2685:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2686:     break
 2687:   elif test -f "$ac_dir/install.sh"; then
 2688:     ac_aux_dir=$ac_dir
 2689:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2690:     break
 2691:   elif test -f "$ac_dir/shtool"; then
 2692:     ac_aux_dir=$ac_dir
 2693:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2694:     break
 2695:   fi
 2696: done
 2697: if test -z "$ac_aux_dir"; then
 2698:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2699: fi
 2700: 
 2701: # These three variables are undocumented and unsupported,
 2702: # and are intended to be withdrawn in a future Autoconf release.
 2703: # They can cause serious problems if a builder's source tree is in a directory
 2704: # whose full name contains unusual characters.
 2705: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2706: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2707: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2708: 
 2709: 
 2710: # Find a good install program.  We prefer a C program (faster),
 2711: # so one script is as good as another.  But avoid the broken or
 2712: # incompatible versions:
 2713: # SysV /etc/install, /usr/sbin/install
 2714: # SunOS /usr/etc/install
 2715: # IRIX /sbin/install
 2716: # AIX /bin/install
 2717: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2718: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2719: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2720: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2721: # OS/2's system install, which has a completely different semantic
 2722: # ./install, which can be erroneously created by make from ./install.sh.
 2723: # Reject install programs that cannot install multiple files.
 2724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2725: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2726: if test -z "$INSTALL"; then
 2727: if ${ac_cv_path_install+:} false; then :
 2728:   $as_echo_n "(cached) " >&6
 2729: else
 2730:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2731: for as_dir in $PATH
 2732: do
 2733:   IFS=$as_save_IFS
 2734:   test -z "$as_dir" && as_dir=.
 2735:     # Account for people who put trailing slashes in PATH elements.
 2736: case $as_dir/ in #((
 2737:   ./ | .// | /[cC]/* | \
 2738:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2739:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2740:   /usr/ucb/* ) ;;
 2741:   *)
 2742:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2743:     # Don't use installbsd from OSF since it installs stuff as root
 2744:     # by default.
 2745:     for ac_prog in ginstall scoinst install; do
 2746:       for ac_exec_ext in '' $ac_executable_extensions; do
 2747: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2748: 	  if test $ac_prog = install &&
 2749: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2750: 	    # AIX install.  It has an incompatible calling convention.
 2751: 	    :
 2752: 	  elif test $ac_prog = install &&
 2753: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2754: 	    # program-specific install script used by HP pwplus--don't use.
 2755: 	    :
 2756: 	  else
 2757: 	    rm -rf conftest.one conftest.two conftest.dir
 2758: 	    echo one > conftest.one
 2759: 	    echo two > conftest.two
 2760: 	    mkdir conftest.dir
 2761: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2762: 	      test -s conftest.one && test -s conftest.two &&
 2763: 	      test -s conftest.dir/conftest.one &&
 2764: 	      test -s conftest.dir/conftest.two
 2765: 	    then
 2766: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2767: 	      break 3
 2768: 	    fi
 2769: 	  fi
 2770: 	fi
 2771:       done
 2772:     done
 2773:     ;;
 2774: esac
 2775: 
 2776:   done
 2777: IFS=$as_save_IFS
 2778: 
 2779: rm -rf conftest.one conftest.two conftest.dir
 2780: 
 2781: fi
 2782:   if test "${ac_cv_path_install+set}" = set; then
 2783:     INSTALL=$ac_cv_path_install
 2784:   else
 2785:     # As a last resort, use the slow shell script.  Don't cache a
 2786:     # value for INSTALL within a source directory, because that will
 2787:     # break other packages using the cache if that directory is
 2788:     # removed, or if the value is a relative name.
 2789:     INSTALL=$ac_install_sh
 2790:   fi
 2791: fi
 2792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2793: $as_echo "$INSTALL" >&6; }
 2794: 
 2795: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2796: # It thinks the first close brace ends the variable substitution.
 2797: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2798: 
 2799: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2800: 
 2801: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2802: 
 2803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2804: $as_echo_n "checking whether build environment is sane... " >&6; }
 2805: # Just in case
 2806: sleep 1
 2807: echo timestamp > conftest.file
 2808: # Reject unsafe characters in $srcdir or the absolute working directory
 2809: # name.  Accept space and tab only in the latter.
 2810: am_lf='
 2811: '
 2812: case `pwd` in
 2813:   *[\\\"\#\$\&\'\`$am_lf]*)
 2814:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2815: esac
 2816: case $srcdir in
 2817:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2818:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2819: esac
 2820: 
 2821: # Do `set' in a subshell so we don't clobber the current shell's
 2822: # arguments.  Must try -L first in case configure is actually a
 2823: # symlink; some systems play weird games with the mod time of symlinks
 2824: # (eg FreeBSD returns the mod time of the symlink's containing
 2825: # directory).
 2826: if (
 2827:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2828:    if test "$*" = "X"; then
 2829:       # -L didn't work.
 2830:       set X `ls -t "$srcdir/configure" conftest.file`
 2831:    fi
 2832:    rm -f conftest.file
 2833:    if test "$*" != "X $srcdir/configure conftest.file" \
 2834:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2835: 
 2836:       # If neither matched, then we have a broken ls.  This can happen
 2837:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2838:       # broken ls alias from the environment.  This has actually
 2839:       # happened.  Such a system could not be considered "sane".
 2840:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2841: alias in your environment" "$LINENO" 5
 2842:    fi
 2843: 
 2844:    test "$2" = conftest.file
 2845:    )
 2846: then
 2847:    # Ok.
 2848:    :
 2849: else
 2850:    as_fn_error $? "newly created file is older than distributed files!
 2851: Check your system clock" "$LINENO" 5
 2852: fi
 2853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2854: $as_echo "yes" >&6; }
 2855: test "$program_prefix" != NONE &&
 2856:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2857: # Use a double $ so make ignores it.
 2858: test "$program_suffix" != NONE &&
 2859:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2860: # Double any \ or $.
 2861: # By default was `s,x,x', remove it if useless.
 2862: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2863: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2864: 
 2865: # expand $ac_aux_dir to an absolute path
 2866: am_aux_dir=`cd $ac_aux_dir && pwd`
 2867: 
 2868: if test x"${MISSING+set}" != xset; then
 2869:   case $am_aux_dir in
 2870:   *\ * | *\	*)
 2871:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2872:   *)
 2873:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2874:   esac
 2875: fi
 2876: # Use eval to expand $SHELL
 2877: if eval "$MISSING --run true"; then
 2878:   am_missing_run="$MISSING --run "
 2879: else
 2880:   am_missing_run=
 2881:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2882: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2883: fi
 2884: 
 2885: if test x"${install_sh}" != xset; then
 2886:   case $am_aux_dir in
 2887:   *\ * | *\	*)
 2888:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2889:   *)
 2890:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2891:   esac
 2892: fi
 2893: 
 2894: # Installed binaries are usually stripped using `strip' when the user
 2895: # run `make install-strip'.  However `strip' might not be the right
 2896: # tool to use in cross-compilation environments, therefore Automake
 2897: # will honor the `STRIP' environment variable to overrule this program.
 2898: if test "$cross_compiling" != no; then
 2899:   if test -n "$ac_tool_prefix"; then
 2900:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2901: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2903: $as_echo_n "checking for $ac_word... " >&6; }
 2904: if ${ac_cv_prog_STRIP+:} false; then :
 2905:   $as_echo_n "(cached) " >&6
 2906: else
 2907:   if test -n "$STRIP"; then
 2908:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2909: else
 2910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2911: for as_dir in $PATH
 2912: do
 2913:   IFS=$as_save_IFS
 2914:   test -z "$as_dir" && as_dir=.
 2915:     for ac_exec_ext in '' $ac_executable_extensions; do
 2916:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2917:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2918:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2919:     break 2
 2920:   fi
 2921: done
 2922:   done
 2923: IFS=$as_save_IFS
 2924: 
 2925: fi
 2926: fi
 2927: STRIP=$ac_cv_prog_STRIP
 2928: if test -n "$STRIP"; then
 2929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2930: $as_echo "$STRIP" >&6; }
 2931: else
 2932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2933: $as_echo "no" >&6; }
 2934: fi
 2935: 
 2936: 
 2937: fi
 2938: if test -z "$ac_cv_prog_STRIP"; then
 2939:   ac_ct_STRIP=$STRIP
 2940:   # Extract the first word of "strip", so it can be a program name with args.
 2941: set dummy strip; ac_word=$2
 2942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2943: $as_echo_n "checking for $ac_word... " >&6; }
 2944: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2945:   $as_echo_n "(cached) " >&6
 2946: else
 2947:   if test -n "$ac_ct_STRIP"; then
 2948:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2949: else
 2950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2951: for as_dir in $PATH
 2952: do
 2953:   IFS=$as_save_IFS
 2954:   test -z "$as_dir" && as_dir=.
 2955:     for ac_exec_ext in '' $ac_executable_extensions; do
 2956:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2957:     ac_cv_prog_ac_ct_STRIP="strip"
 2958:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2959:     break 2
 2960:   fi
 2961: done
 2962:   done
 2963: IFS=$as_save_IFS
 2964: 
 2965: fi
 2966: fi
 2967: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2968: if test -n "$ac_ct_STRIP"; then
 2969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2970: $as_echo "$ac_ct_STRIP" >&6; }
 2971: else
 2972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2973: $as_echo "no" >&6; }
 2974: fi
 2975: 
 2976:   if test "x$ac_ct_STRIP" = x; then
 2977:     STRIP=":"
 2978:   else
 2979:     case $cross_compiling:$ac_tool_warned in
 2980: yes:)
 2981: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2982: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2983: ac_tool_warned=yes ;;
 2984: esac
 2985:     STRIP=$ac_ct_STRIP
 2986:   fi
 2987: else
 2988:   STRIP="$ac_cv_prog_STRIP"
 2989: fi
 2990: 
 2991: fi
 2992: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2993: 
 2994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2995: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2996: if test -z "$MKDIR_P"; then
 2997:   if ${ac_cv_path_mkdir+:} false; then :
 2998:   $as_echo_n "(cached) " >&6
 2999: else
 3000:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3001: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3002: do
 3003:   IFS=$as_save_IFS
 3004:   test -z "$as_dir" && as_dir=.
 3005:     for ac_prog in mkdir gmkdir; do
 3006: 	 for ac_exec_ext in '' $ac_executable_extensions; do
 3007: 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3008: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3009: 	     'mkdir (GNU coreutils) '* | \
 3010: 	     'mkdir (coreutils) '* | \
 3011: 	     'mkdir (fileutils) '4.1*)
 3012: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3013: 	       break 3;;
 3014: 	   esac
 3015: 	 done
 3016:        done
 3017:   done
 3018: IFS=$as_save_IFS
 3019: 
 3020: fi
 3021: 
 3022:   test -d ./--version && rmdir ./--version
 3023:   if test "${ac_cv_path_mkdir+set}" = set; then
 3024:     MKDIR_P="$ac_cv_path_mkdir -p"
 3025:   else
 3026:     # As a last resort, use the slow shell script.  Don't cache a
 3027:     # value for MKDIR_P within a source directory, because that will
 3028:     # break other packages using the cache if that directory is
 3029:     # removed, or if the value is a relative name.
 3030:     MKDIR_P="$ac_install_sh -d"
 3031:   fi
 3032: fi
 3033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3034: $as_echo "$MKDIR_P" >&6; }
 3035: 
 3036: mkdir_p="$MKDIR_P"
 3037: case $mkdir_p in
 3038:   [\\/$]* | ?:[\\/]*) ;;
 3039:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3040: esac
 3041: 
 3042: for ac_prog in gawk mawk nawk awk
 3043: do
 3044:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3045: set dummy $ac_prog; ac_word=$2
 3046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3047: $as_echo_n "checking for $ac_word... " >&6; }
 3048: if ${ac_cv_prog_AWK+:} false; then :
 3049:   $as_echo_n "(cached) " >&6
 3050: else
 3051:   if test -n "$AWK"; then
 3052:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3053: else
 3054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3055: for as_dir in $PATH
 3056: do
 3057:   IFS=$as_save_IFS
 3058:   test -z "$as_dir" && as_dir=.
 3059:     for ac_exec_ext in '' $ac_executable_extensions; do
 3060:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3061:     ac_cv_prog_AWK="$ac_prog"
 3062:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3063:     break 2
 3064:   fi
 3065: done
 3066:   done
 3067: IFS=$as_save_IFS
 3068: 
 3069: fi
 3070: fi
 3071: AWK=$ac_cv_prog_AWK
 3072: if test -n "$AWK"; then
 3073:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3074: $as_echo "$AWK" >&6; }
 3075: else
 3076:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3077: $as_echo "no" >&6; }
 3078: fi
 3079: 
 3080: 
 3081:   test -n "$AWK" && break
 3082: done
 3083: 
 3084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3085: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3086: set x ${MAKE-make}
 3087: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3088: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3089:   $as_echo_n "(cached) " >&6
 3090: else
 3091:   cat >conftest.make <<\_ACEOF
 3092: SHELL = /bin/sh
 3093: all:
 3094: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 3095: _ACEOF
 3096: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3097: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3098:   *@@@%%%=?*=@@@%%%*)
 3099:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3100:   *)
 3101:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3102: esac
 3103: rm -f conftest.make
 3104: fi
 3105: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3106:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3107: $as_echo "yes" >&6; }
 3108:   SET_MAKE=
 3109: else
 3110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3111: $as_echo "no" >&6; }
 3112:   SET_MAKE="MAKE=${MAKE-make}"
 3113: fi
 3114: 
 3115: rm -rf .tst 2>/dev/null
 3116: mkdir .tst 2>/dev/null
 3117: if test -d .tst; then
 3118:   am__leading_dot=.
 3119: else
 3120:   am__leading_dot=_
 3121: fi
 3122: rmdir .tst 2>/dev/null
 3123: 
 3124: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3125:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3126:   # is not polluted with repeated "-I."
 3127:   am__isrc=' -I$(srcdir)'
 3128:   # test to see if srcdir already configured
 3129:   if test -f $srcdir/config.status; then
 3130:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3131:   fi
 3132: fi
 3133: 
 3134: # test whether we have cygpath
 3135: if test -z "$CYGPATH_W"; then
 3136:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3137:     CYGPATH_W='cygpath -w'
 3138:   else
 3139:     CYGPATH_W=echo
 3140:   fi
 3141: fi
 3142: 
 3143: 
 3144: # Define the identity of the package.
 3145:  PACKAGE='pcre'
 3146:  VERSION='8.30'
 3147: 
 3148: 
 3149: cat >>confdefs.h <<_ACEOF
 3150: #define PACKAGE "$PACKAGE"
 3151: _ACEOF
 3152: 
 3153: 
 3154: cat >>confdefs.h <<_ACEOF
 3155: #define VERSION "$VERSION"
 3156: _ACEOF
 3157: 
 3158: # Some tools Automake needs.
 3159: 
 3160: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3161: 
 3162: 
 3163: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3164: 
 3165: 
 3166: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3167: 
 3168: 
 3169: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3170: 
 3171: 
 3172: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3173: 
 3174: # We need awk for the "check" target.  The system "awk" is bad on
 3175: # some platforms.
 3176: # Always define AMTAR for backward compatibility.
 3177: 
 3178: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3179: 
 3180: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3181: 
 3182: 
 3183: 
 3184: 
 3185: 
 3186: # Check whether --enable-silent-rules was given.
 3187: if test "${enable_silent_rules+set}" = set; then :
 3188:   enableval=$enable_silent_rules;
 3189: fi
 3190: 
 3191: case $enable_silent_rules in
 3192: yes) AM_DEFAULT_VERBOSITY=0;;
 3193: no)  AM_DEFAULT_VERBOSITY=1;;
 3194: *)   AM_DEFAULT_VERBOSITY=0;;
 3195: esac
 3196: AM_BACKSLASH='\'
 3197: 
 3198: ac_config_headers="$ac_config_headers config.h"
 3199: 
 3200: 
 3201: # This was added at the suggestion of libtoolize (03-Jan-10)
 3202: 
 3203: 
 3204: # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
 3205: # "-g" for any other compiler. There doesn't seem to be a standard way of
 3206: # getting rid of the -g (which I don't think is needed for a production
 3207: # library). This fudge seems to achieve the necessary. First, we remember the
 3208: # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
 3209: # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
 3210: # set, they will be set to Autoconf's defaults. Afterwards, if the original
 3211: # values were not set, remove the -g from the Autoconf defaults.
 3212: # (PH 02-May-07)
 3213: 
 3214: remember_set_CFLAGS="$CFLAGS"
 3215: remember_set_CXXFLAGS="$CXXFLAGS"
 3216: 
 3217: ac_ext=c
 3218: ac_cpp='$CPP $CPPFLAGS'
 3219: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3220: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3221: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3222: if test -n "$ac_tool_prefix"; then
 3223:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3224: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3226: $as_echo_n "checking for $ac_word... " >&6; }
 3227: if ${ac_cv_prog_CC+:} false; then :
 3228:   $as_echo_n "(cached) " >&6
 3229: else
 3230:   if test -n "$CC"; then
 3231:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3232: else
 3233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3234: for as_dir in $PATH
 3235: do
 3236:   IFS=$as_save_IFS
 3237:   test -z "$as_dir" && as_dir=.
 3238:     for ac_exec_ext in '' $ac_executable_extensions; do
 3239:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3240:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3241:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3242:     break 2
 3243:   fi
 3244: done
 3245:   done
 3246: IFS=$as_save_IFS
 3247: 
 3248: fi
 3249: fi
 3250: CC=$ac_cv_prog_CC
 3251: if test -n "$CC"; then
 3252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3253: $as_echo "$CC" >&6; }
 3254: else
 3255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3256: $as_echo "no" >&6; }
 3257: fi
 3258: 
 3259: 
 3260: fi
 3261: if test -z "$ac_cv_prog_CC"; then
 3262:   ac_ct_CC=$CC
 3263:   # Extract the first word of "gcc", so it can be a program name with args.
 3264: set dummy gcc; ac_word=$2
 3265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3266: $as_echo_n "checking for $ac_word... " >&6; }
 3267: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3268:   $as_echo_n "(cached) " >&6
 3269: else
 3270:   if test -n "$ac_ct_CC"; then
 3271:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3272: else
 3273: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3274: for as_dir in $PATH
 3275: do
 3276:   IFS=$as_save_IFS
 3277:   test -z "$as_dir" && as_dir=.
 3278:     for ac_exec_ext in '' $ac_executable_extensions; do
 3279:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3280:     ac_cv_prog_ac_ct_CC="gcc"
 3281:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3282:     break 2
 3283:   fi
 3284: done
 3285:   done
 3286: IFS=$as_save_IFS
 3287: 
 3288: fi
 3289: fi
 3290: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3291: if test -n "$ac_ct_CC"; then
 3292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3293: $as_echo "$ac_ct_CC" >&6; }
 3294: else
 3295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3296: $as_echo "no" >&6; }
 3297: fi
 3298: 
 3299:   if test "x$ac_ct_CC" = x; then
 3300:     CC=""
 3301:   else
 3302:     case $cross_compiling:$ac_tool_warned in
 3303: yes:)
 3304: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3305: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3306: ac_tool_warned=yes ;;
 3307: esac
 3308:     CC=$ac_ct_CC
 3309:   fi
 3310: else
 3311:   CC="$ac_cv_prog_CC"
 3312: fi
 3313: 
 3314: if test -z "$CC"; then
 3315:           if test -n "$ac_tool_prefix"; then
 3316:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3317: set dummy ${ac_tool_prefix}cc; ac_word=$2
 3318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3319: $as_echo_n "checking for $ac_word... " >&6; }
 3320: if ${ac_cv_prog_CC+:} false; then :
 3321:   $as_echo_n "(cached) " >&6
 3322: else
 3323:   if test -n "$CC"; then
 3324:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3325: else
 3326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3327: for as_dir in $PATH
 3328: do
 3329:   IFS=$as_save_IFS
 3330:   test -z "$as_dir" && as_dir=.
 3331:     for ac_exec_ext in '' $ac_executable_extensions; do
 3332:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3333:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3334:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3335:     break 2
 3336:   fi
 3337: done
 3338:   done
 3339: IFS=$as_save_IFS
 3340: 
 3341: fi
 3342: fi
 3343: CC=$ac_cv_prog_CC
 3344: if test -n "$CC"; then
 3345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3346: $as_echo "$CC" >&6; }
 3347: else
 3348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3349: $as_echo "no" >&6; }
 3350: fi
 3351: 
 3352: 
 3353:   fi
 3354: fi
 3355: if test -z "$CC"; then
 3356:   # Extract the first word of "cc", so it can be a program name with args.
 3357: set dummy cc; ac_word=$2
 3358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3359: $as_echo_n "checking for $ac_word... " >&6; }
 3360: if ${ac_cv_prog_CC+:} false; then :
 3361:   $as_echo_n "(cached) " >&6
 3362: else
 3363:   if test -n "$CC"; then
 3364:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3365: else
 3366:   ac_prog_rejected=no
 3367: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3368: for as_dir in $PATH
 3369: do
 3370:   IFS=$as_save_IFS
 3371:   test -z "$as_dir" && as_dir=.
 3372:     for ac_exec_ext in '' $ac_executable_extensions; do
 3373:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3374:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3375:        ac_prog_rejected=yes
 3376:        continue
 3377:      fi
 3378:     ac_cv_prog_CC="cc"
 3379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3380:     break 2
 3381:   fi
 3382: done
 3383:   done
 3384: IFS=$as_save_IFS
 3385: 
 3386: if test $ac_prog_rejected = yes; then
 3387:   # We found a bogon in the path, so make sure we never use it.
 3388:   set dummy $ac_cv_prog_CC
 3389:   shift
 3390:   if test $# != 0; then
 3391:     # We chose a different compiler from the bogus one.
 3392:     # However, it has the same basename, so the bogon will be chosen
 3393:     # first if we set CC to just the basename; use the full file name.
 3394:     shift
 3395:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3396:   fi
 3397: fi
 3398: fi
 3399: fi
 3400: CC=$ac_cv_prog_CC
 3401: if test -n "$CC"; then
 3402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3403: $as_echo "$CC" >&6; }
 3404: else
 3405:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3406: $as_echo "no" >&6; }
 3407: fi
 3408: 
 3409: 
 3410: fi
 3411: if test -z "$CC"; then
 3412:   if test -n "$ac_tool_prefix"; then
 3413:   for ac_prog in cl.exe
 3414:   do
 3415:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3416: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3418: $as_echo_n "checking for $ac_word... " >&6; }
 3419: if ${ac_cv_prog_CC+:} false; then :
 3420:   $as_echo_n "(cached) " >&6
 3421: else
 3422:   if test -n "$CC"; then
 3423:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3424: else
 3425: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3426: for as_dir in $PATH
 3427: do
 3428:   IFS=$as_save_IFS
 3429:   test -z "$as_dir" && as_dir=.
 3430:     for ac_exec_ext in '' $ac_executable_extensions; do
 3431:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3432:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3433:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3434:     break 2
 3435:   fi
 3436: done
 3437:   done
 3438: IFS=$as_save_IFS
 3439: 
 3440: fi
 3441: fi
 3442: CC=$ac_cv_prog_CC
 3443: if test -n "$CC"; then
 3444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3445: $as_echo "$CC" >&6; }
 3446: else
 3447:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3448: $as_echo "no" >&6; }
 3449: fi
 3450: 
 3451: 
 3452:     test -n "$CC" && break
 3453:   done
 3454: fi
 3455: if test -z "$CC"; then
 3456:   ac_ct_CC=$CC
 3457:   for ac_prog in cl.exe
 3458: do
 3459:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3460: set dummy $ac_prog; ac_word=$2
 3461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3462: $as_echo_n "checking for $ac_word... " >&6; }
 3463: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3464:   $as_echo_n "(cached) " >&6
 3465: else
 3466:   if test -n "$ac_ct_CC"; then
 3467:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3468: else
 3469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3470: for as_dir in $PATH
 3471: do
 3472:   IFS=$as_save_IFS
 3473:   test -z "$as_dir" && as_dir=.
 3474:     for ac_exec_ext in '' $ac_executable_extensions; do
 3475:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3476:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3477:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3478:     break 2
 3479:   fi
 3480: done
 3481:   done
 3482: IFS=$as_save_IFS
 3483: 
 3484: fi
 3485: fi
 3486: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3487: if test -n "$ac_ct_CC"; then
 3488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3489: $as_echo "$ac_ct_CC" >&6; }
 3490: else
 3491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3492: $as_echo "no" >&6; }
 3493: fi
 3494: 
 3495: 
 3496:   test -n "$ac_ct_CC" && break
 3497: done
 3498: 
 3499:   if test "x$ac_ct_CC" = x; then
 3500:     CC=""
 3501:   else
 3502:     case $cross_compiling:$ac_tool_warned in
 3503: yes:)
 3504: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3505: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3506: ac_tool_warned=yes ;;
 3507: esac
 3508:     CC=$ac_ct_CC
 3509:   fi
 3510: fi
 3511: 
 3512: fi
 3513: 
 3514: 
 3515: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3516: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3517: as_fn_error $? "no acceptable C compiler found in \$PATH
 3518: See \`config.log' for more details" "$LINENO" 5; }
 3519: 
 3520: # Provide some information about the compiler.
 3521: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3522: set X $ac_compile
 3523: ac_compiler=$2
 3524: for ac_option in --version -v -V -qversion; do
 3525:   { { ac_try="$ac_compiler $ac_option >&5"
 3526: case "(($ac_try" in
 3527:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3528:   *) ac_try_echo=$ac_try;;
 3529: esac
 3530: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3531: $as_echo "$ac_try_echo"; } >&5
 3532:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3533:   ac_status=$?
 3534:   if test -s conftest.err; then
 3535:     sed '10a\
 3536: ... rest of stderr output deleted ...
 3537:          10q' conftest.err >conftest.er1
 3538:     cat conftest.er1 >&5
 3539:   fi
 3540:   rm -f conftest.er1 conftest.err
 3541:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3542:   test $ac_status = 0; }
 3543: done
 3544: 
 3545: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3546: /* end confdefs.h.  */
 3547: 
 3548: int
 3549: main ()
 3550: {
 3551: 
 3552:   ;
 3553:   return 0;
 3554: }
 3555: _ACEOF
 3556: ac_clean_files_save=$ac_clean_files
 3557: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3558: # Try to create an executable without -o first, disregard a.out.
 3559: # It will help us diagnose broken compilers, and finding out an intuition
 3560: # of exeext.
 3561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3562: $as_echo_n "checking whether the C compiler works... " >&6; }
 3563: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3564: 
 3565: # The possible output files:
 3566: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3567: 
 3568: ac_rmfiles=
 3569: for ac_file in $ac_files
 3570: do
 3571:   case $ac_file in
 3572:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3573:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3574:   esac
 3575: done
 3576: rm -f $ac_rmfiles
 3577: 
 3578: if { { ac_try="$ac_link_default"
 3579: case "(($ac_try" in
 3580:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3581:   *) ac_try_echo=$ac_try;;
 3582: esac
 3583: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3584: $as_echo "$ac_try_echo"; } >&5
 3585:   (eval "$ac_link_default") 2>&5
 3586:   ac_status=$?
 3587:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3588:   test $ac_status = 0; }; then :
 3589:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3590: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3591: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3592: # so that the user can short-circuit this test for compilers unknown to
 3593: # Autoconf.
 3594: for ac_file in $ac_files ''
 3595: do
 3596:   test -f "$ac_file" || continue
 3597:   case $ac_file in
 3598:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3599: 	;;
 3600:     [ab].out )
 3601: 	# We found the default executable, but exeext='' is most
 3602: 	# certainly right.
 3603: 	break;;
 3604:     *.* )
 3605: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3606: 	then :; else
 3607: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3608: 	fi
 3609: 	# We set ac_cv_exeext here because the later test for it is not
 3610: 	# safe: cross compilers may not add the suffix if given an `-o'
 3611: 	# argument, so we may need to know it at that point already.
 3612: 	# Even if this section looks crufty: it has the advantage of
 3613: 	# actually working.
 3614: 	break;;
 3615:     * )
 3616: 	break;;
 3617:   esac
 3618: done
 3619: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3620: 
 3621: else
 3622:   ac_file=''
 3623: fi
 3624: if test -z "$ac_file"; then :
 3625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3626: $as_echo "no" >&6; }
 3627: $as_echo "$as_me: failed program was:" >&5
 3628: sed 's/^/| /' conftest.$ac_ext >&5
 3629: 
 3630: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3631: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3632: as_fn_error 77 "C compiler cannot create executables
 3633: See \`config.log' for more details" "$LINENO" 5; }
 3634: else
 3635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3636: $as_echo "yes" >&6; }
 3637: fi
 3638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3639: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3641: $as_echo "$ac_file" >&6; }
 3642: ac_exeext=$ac_cv_exeext
 3643: 
 3644: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3645: ac_clean_files=$ac_clean_files_save
 3646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3647: $as_echo_n "checking for suffix of executables... " >&6; }
 3648: if { { ac_try="$ac_link"
 3649: case "(($ac_try" in
 3650:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3651:   *) ac_try_echo=$ac_try;;
 3652: esac
 3653: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3654: $as_echo "$ac_try_echo"; } >&5
 3655:   (eval "$ac_link") 2>&5
 3656:   ac_status=$?
 3657:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3658:   test $ac_status = 0; }; then :
 3659:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3660: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3661: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3662: # `rm'.
 3663: for ac_file in conftest.exe conftest conftest.*; do
 3664:   test -f "$ac_file" || continue
 3665:   case $ac_file in
 3666:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3667:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3668: 	  break;;
 3669:     * ) break;;
 3670:   esac
 3671: done
 3672: else
 3673:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3674: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3675: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3676: See \`config.log' for more details" "$LINENO" 5; }
 3677: fi
 3678: rm -f conftest conftest$ac_cv_exeext
 3679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3680: $as_echo "$ac_cv_exeext" >&6; }
 3681: 
 3682: rm -f conftest.$ac_ext
 3683: EXEEXT=$ac_cv_exeext
 3684: ac_exeext=$EXEEXT
 3685: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3686: /* end confdefs.h.  */
 3687: #include <stdio.h>
 3688: int
 3689: main ()
 3690: {
 3691: FILE *f = fopen ("conftest.out", "w");
 3692:  return ferror (f) || fclose (f) != 0;
 3693: 
 3694:   ;
 3695:   return 0;
 3696: }
 3697: _ACEOF
 3698: ac_clean_files="$ac_clean_files conftest.out"
 3699: # Check that the compiler produces executables we can run.  If not, either
 3700: # the compiler is broken, or we cross compile.
 3701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3702: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3703: if test "$cross_compiling" != yes; then
 3704:   { { ac_try="$ac_link"
 3705: case "(($ac_try" in
 3706:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3707:   *) ac_try_echo=$ac_try;;
 3708: esac
 3709: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3710: $as_echo "$ac_try_echo"; } >&5
 3711:   (eval "$ac_link") 2>&5
 3712:   ac_status=$?
 3713:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3714:   test $ac_status = 0; }
 3715:   if { ac_try='./conftest$ac_cv_exeext'
 3716:   { { case "(($ac_try" in
 3717:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3718:   *) ac_try_echo=$ac_try;;
 3719: esac
 3720: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3721: $as_echo "$ac_try_echo"; } >&5
 3722:   (eval "$ac_try") 2>&5
 3723:   ac_status=$?
 3724:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3725:   test $ac_status = 0; }; }; then
 3726:     cross_compiling=no
 3727:   else
 3728:     if test "$cross_compiling" = maybe; then
 3729: 	cross_compiling=yes
 3730:     else
 3731: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3732: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3733: as_fn_error $? "cannot run C compiled programs.
 3734: If you meant to cross compile, use \`--host'.
 3735: See \`config.log' for more details" "$LINENO" 5; }
 3736:     fi
 3737:   fi
 3738: fi
 3739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3740: $as_echo "$cross_compiling" >&6; }
 3741: 
 3742: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3743: ac_clean_files=$ac_clean_files_save
 3744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3745: $as_echo_n "checking for suffix of object files... " >&6; }
 3746: if ${ac_cv_objext+:} false; then :
 3747:   $as_echo_n "(cached) " >&6
 3748: else
 3749:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3750: /* end confdefs.h.  */
 3751: 
 3752: int
 3753: main ()
 3754: {
 3755: 
 3756:   ;
 3757:   return 0;
 3758: }
 3759: _ACEOF
 3760: rm -f conftest.o conftest.obj
 3761: if { { ac_try="$ac_compile"
 3762: case "(($ac_try" in
 3763:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3764:   *) ac_try_echo=$ac_try;;
 3765: esac
 3766: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3767: $as_echo "$ac_try_echo"; } >&5
 3768:   (eval "$ac_compile") 2>&5
 3769:   ac_status=$?
 3770:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3771:   test $ac_status = 0; }; then :
 3772:   for ac_file in conftest.o conftest.obj conftest.*; do
 3773:   test -f "$ac_file" || continue;
 3774:   case $ac_file in
 3775:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3776:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3777:        break;;
 3778:   esac
 3779: done
 3780: else
 3781:   $as_echo "$as_me: failed program was:" >&5
 3782: sed 's/^/| /' conftest.$ac_ext >&5
 3783: 
 3784: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3785: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3786: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3787: See \`config.log' for more details" "$LINENO" 5; }
 3788: fi
 3789: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3790: fi
 3791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3792: $as_echo "$ac_cv_objext" >&6; }
 3793: OBJEXT=$ac_cv_objext
 3794: ac_objext=$OBJEXT
 3795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3796: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3797: if ${ac_cv_c_compiler_gnu+:} false; then :
 3798:   $as_echo_n "(cached) " >&6
 3799: else
 3800:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3801: /* end confdefs.h.  */
 3802: 
 3803: int
 3804: main ()
 3805: {
 3806: #ifndef __GNUC__
 3807:        choke me
 3808: #endif
 3809: 
 3810:   ;
 3811:   return 0;
 3812: }
 3813: _ACEOF
 3814: if ac_fn_c_try_compile "$LINENO"; then :
 3815:   ac_compiler_gnu=yes
 3816: else
 3817:   ac_compiler_gnu=no
 3818: fi
 3819: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3820: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3821: 
 3822: fi
 3823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3824: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3825: if test $ac_compiler_gnu = yes; then
 3826:   GCC=yes
 3827: else
 3828:   GCC=
 3829: fi
 3830: ac_test_CFLAGS=${CFLAGS+set}
 3831: ac_save_CFLAGS=$CFLAGS
 3832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3833: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3834: if ${ac_cv_prog_cc_g+:} false; then :
 3835:   $as_echo_n "(cached) " >&6
 3836: else
 3837:   ac_save_c_werror_flag=$ac_c_werror_flag
 3838:    ac_c_werror_flag=yes
 3839:    ac_cv_prog_cc_g=no
 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: else
 3855:   CFLAGS=""
 3856:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3857: /* end confdefs.h.  */
 3858: 
 3859: int
 3860: main ()
 3861: {
 3862: 
 3863:   ;
 3864:   return 0;
 3865: }
 3866: _ACEOF
 3867: if ac_fn_c_try_compile "$LINENO"; then :
 3868: 
 3869: else
 3870:   ac_c_werror_flag=$ac_save_c_werror_flag
 3871: 	 CFLAGS="-g"
 3872: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3873: /* end confdefs.h.  */
 3874: 
 3875: int
 3876: main ()
 3877: {
 3878: 
 3879:   ;
 3880:   return 0;
 3881: }
 3882: _ACEOF
 3883: if ac_fn_c_try_compile "$LINENO"; then :
 3884:   ac_cv_prog_cc_g=yes
 3885: fi
 3886: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3887: fi
 3888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3889: fi
 3890: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3891:    ac_c_werror_flag=$ac_save_c_werror_flag
 3892: fi
 3893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3894: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3895: if test "$ac_test_CFLAGS" = set; then
 3896:   CFLAGS=$ac_save_CFLAGS
 3897: elif test $ac_cv_prog_cc_g = yes; then
 3898:   if test "$GCC" = yes; then
 3899:     CFLAGS="-g -O2"
 3900:   else
 3901:     CFLAGS="-g"
 3902:   fi
 3903: else
 3904:   if test "$GCC" = yes; then
 3905:     CFLAGS="-O2"
 3906:   else
 3907:     CFLAGS=
 3908:   fi
 3909: fi
 3910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3911: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3912: if ${ac_cv_prog_cc_c89+:} false; then :
 3913:   $as_echo_n "(cached) " >&6
 3914: else
 3915:   ac_cv_prog_cc_c89=no
 3916: ac_save_CC=$CC
 3917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3918: /* end confdefs.h.  */
 3919: #include <stdarg.h>
 3920: #include <stdio.h>
 3921: #include <sys/types.h>
 3922: #include <sys/stat.h>
 3923: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3924: struct buf { int x; };
 3925: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3926: static char *e (p, i)
 3927:      char **p;
 3928:      int i;
 3929: {
 3930:   return p[i];
 3931: }
 3932: static char *f (char * (*g) (char **, int), char **p, ...)
 3933: {
 3934:   char *s;
 3935:   va_list v;
 3936:   va_start (v,p);
 3937:   s = g (p, va_arg (v,int));
 3938:   va_end (v);
 3939:   return s;
 3940: }
 3941: 
 3942: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3943:    function prototypes and stuff, but not '\xHH' hex character constants.
 3944:    These don't provoke an error unfortunately, instead are silently treated
 3945:    as 'x'.  The following induces an error, until -std is added to get
 3946:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3947:    array size at least.  It's necessary to write '\x00'==0 to get something
 3948:    that's true only with -std.  */
 3949: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3950: 
 3951: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3952:    inside strings and character constants.  */
 3953: #define FOO(x) 'x'
 3954: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3955: 
 3956: int test (int i, double x);
 3957: struct s1 {int (*f) (int a);};
 3958: struct s2 {int (*f) (double a);};
 3959: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3960: int argc;
 3961: char **argv;
 3962: int
 3963: main ()
 3964: {
 3965: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3966:   ;
 3967:   return 0;
 3968: }
 3969: _ACEOF
 3970: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3971: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3972: do
 3973:   CC="$ac_save_CC $ac_arg"
 3974:   if ac_fn_c_try_compile "$LINENO"; then :
 3975:   ac_cv_prog_cc_c89=$ac_arg
 3976: fi
 3977: rm -f core conftest.err conftest.$ac_objext
 3978:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3979: done
 3980: rm -f conftest.$ac_ext
 3981: CC=$ac_save_CC
 3982: 
 3983: fi
 3984: # AC_CACHE_VAL
 3985: case "x$ac_cv_prog_cc_c89" in
 3986:   x)
 3987:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3988: $as_echo "none needed" >&6; } ;;
 3989:   xno)
 3990:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3991: $as_echo "unsupported" >&6; } ;;
 3992:   *)
 3993:     CC="$CC $ac_cv_prog_cc_c89"
 3994:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3995: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3996: esac
 3997: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3998: 
 3999: fi
 4000: 
 4001: ac_ext=c
 4002: ac_cpp='$CPP $CPPFLAGS'
 4003: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4004: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4005: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4006: DEPDIR="${am__leading_dot}deps"
 4007: 
 4008: ac_config_commands="$ac_config_commands depfiles"
 4009: 
 4010: 
 4011: am_make=${MAKE-make}
 4012: cat > confinc << 'END'
 4013: am__doit:
 4014: 	@echo this is the am__doit target
 4015: .PHONY: am__doit
 4016: END
 4017: # If we don't find an include directive, just comment out the code.
 4018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 4019: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 4020: am__include="#"
 4021: am__quote=
 4022: _am_result=none
 4023: # First try GNU make style include.
 4024: echo "include confinc" > confmf
 4025: # Ignore all kinds of additional output from `make'.
 4026: case `$am_make -s -f confmf 2> /dev/null` in #(
 4027: *the\ am__doit\ target*)
 4028:   am__include=include
 4029:   am__quote=
 4030:   _am_result=GNU
 4031:   ;;
 4032: esac
 4033: # Now try BSD make style include.
 4034: if test "$am__include" = "#"; then
 4035:    echo '.include "confinc"' > confmf
 4036:    case `$am_make -s -f confmf 2> /dev/null` in #(
 4037:    *the\ am__doit\ target*)
 4038:      am__include=.include
 4039:      am__quote="\""
 4040:      _am_result=BSD
 4041:      ;;
 4042:    esac
 4043: fi
 4044: 
 4045: 
 4046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 4047: $as_echo "$_am_result" >&6; }
 4048: rm -f confinc confmf
 4049: 
 4050: # Check whether --enable-dependency-tracking was given.
 4051: if test "${enable_dependency_tracking+set}" = set; then :
 4052:   enableval=$enable_dependency_tracking;
 4053: fi
 4054: 
 4055: if test "x$enable_dependency_tracking" != xno; then
 4056:   am_depcomp="$ac_aux_dir/depcomp"
 4057:   AMDEPBACKSLASH='\'
 4058: fi
 4059:  if test "x$enable_dependency_tracking" != xno; then
 4060:   AMDEP_TRUE=
 4061:   AMDEP_FALSE='#'
 4062: else
 4063:   AMDEP_TRUE='#'
 4064:   AMDEP_FALSE=
 4065: fi
 4066: 
 4067: 
 4068: 
 4069: depcc="$CC"   am_compiler_list=
 4070: 
 4071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4072: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4073: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 4074:   $as_echo_n "(cached) " >&6
 4075: else
 4076:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4077:   # We make a subdir and do the tests there.  Otherwise we can end up
 4078:   # making bogus files that we don't know about and never remove.  For
 4079:   # instance it was reported that on HP-UX the gcc test will end up
 4080:   # making a dummy file named `D' -- because `-MD' means `put the output
 4081:   # in D'.
 4082:   mkdir conftest.dir
 4083:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4084:   # using a relative directory.
 4085:   cp "$am_depcomp" conftest.dir
 4086:   cd conftest.dir
 4087:   # We will build objects and dependencies in a subdirectory because
 4088:   # it helps to detect inapplicable dependency modes.  For instance
 4089:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4090:   # side effect of compilation, but ICC will put the dependencies in
 4091:   # the current directory while Tru64 will put them in the object
 4092:   # directory.
 4093:   mkdir sub
 4094: 
 4095:   am_cv_CC_dependencies_compiler_type=none
 4096:   if test "$am_compiler_list" = ""; then
 4097:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4098:   fi
 4099:   am__universal=false
 4100:   case " $depcc " in #(
 4101:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4102:      esac
 4103: 
 4104:   for depmode in $am_compiler_list; do
 4105:     # Setup a source with many dependencies, because some compilers
 4106:     # like to wrap large dependency lists on column 80 (with \), and
 4107:     # we should not choose a depcomp mode which is confused by this.
 4108:     #
 4109:     # We need to recreate these files for each test, as the compiler may
 4110:     # overwrite some of them when testing with obscure command lines.
 4111:     # This happens at least with the AIX C compiler.
 4112:     : > sub/conftest.c
 4113:     for i in 1 2 3 4 5 6; do
 4114:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4115:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4116:       # Solaris 8's {/usr,}/bin/sh.
 4117:       touch sub/conftst$i.h
 4118:     done
 4119:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4120: 
 4121:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4122:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4123:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4124:     # versions had trouble with output in subdirs
 4125:     am__obj=sub/conftest.${OBJEXT-o}
 4126:     am__minus_obj="-o $am__obj"
 4127:     case $depmode in
 4128:     gcc)
 4129:       # This depmode causes a compiler race in universal mode.
 4130:       test "$am__universal" = false || continue
 4131:       ;;
 4132:     nosideeffect)
 4133:       # after this tag, mechanisms are not by side-effect, so they'll
 4134:       # only be used when explicitly requested
 4135:       if test "x$enable_dependency_tracking" = xyes; then
 4136: 	continue
 4137:       else
 4138: 	break
 4139:       fi
 4140:       ;;
 4141:     msvisualcpp | msvcmsys)
 4142:       # This compiler won't grok `-c -o', but also, the minuso test has
 4143:       # not run yet.  These depmodes are late enough in the game, and
 4144:       # so weak that their functioning should not be impacted.
 4145:       am__obj=conftest.${OBJEXT-o}
 4146:       am__minus_obj=
 4147:       ;;
 4148:     none) break ;;
 4149:     esac
 4150:     if depmode=$depmode \
 4151:        source=sub/conftest.c object=$am__obj \
 4152:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4153:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4154:          >/dev/null 2>conftest.err &&
 4155:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4156:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4157:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4158:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4159:       # icc doesn't choke on unknown options, it will just issue warnings
 4160:       # or remarks (even with -Werror).  So we grep stderr for any message
 4161:       # that says an option was ignored or not supported.
 4162:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4163:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4164:       # The diagnosis changed in icc 8.0:
 4165:       #   icc: Command line remark: option '-MP' not supported
 4166:       if (grep 'ignoring option' conftest.err ||
 4167:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4168:         am_cv_CC_dependencies_compiler_type=$depmode
 4169:         break
 4170:       fi
 4171:     fi
 4172:   done
 4173: 
 4174:   cd ..
 4175:   rm -rf conftest.dir
 4176: else
 4177:   am_cv_CC_dependencies_compiler_type=none
 4178: fi
 4179: 
 4180: fi
 4181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4182: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4183: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4184: 
 4185:  if
 4186:   test "x$enable_dependency_tracking" != xno \
 4187:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4188:   am__fastdepCC_TRUE=
 4189:   am__fastdepCC_FALSE='#'
 4190: else
 4191:   am__fastdepCC_TRUE='#'
 4192:   am__fastdepCC_FALSE=
 4193: fi
 4194: 
 4195: 
 4196: ac_ext=cpp
 4197: ac_cpp='$CXXCPP $CPPFLAGS'
 4198: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4199: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4200: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4201: if test -z "$CXX"; then
 4202:   if test -n "$CCC"; then
 4203:     CXX=$CCC
 4204:   else
 4205:     if test -n "$ac_tool_prefix"; then
 4206:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 4207:   do
 4208:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4209: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4211: $as_echo_n "checking for $ac_word... " >&6; }
 4212: if ${ac_cv_prog_CXX+:} false; then :
 4213:   $as_echo_n "(cached) " >&6
 4214: else
 4215:   if test -n "$CXX"; then
 4216:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4217: else
 4218: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4219: for as_dir in $PATH
 4220: do
 4221:   IFS=$as_save_IFS
 4222:   test -z "$as_dir" && as_dir=.
 4223:     for ac_exec_ext in '' $ac_executable_extensions; do
 4224:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4225:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4226:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4227:     break 2
 4228:   fi
 4229: done
 4230:   done
 4231: IFS=$as_save_IFS
 4232: 
 4233: fi
 4234: fi
 4235: CXX=$ac_cv_prog_CXX
 4236: if test -n "$CXX"; then
 4237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4238: $as_echo "$CXX" >&6; }
 4239: else
 4240:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4241: $as_echo "no" >&6; }
 4242: fi
 4243: 
 4244: 
 4245:     test -n "$CXX" && break
 4246:   done
 4247: fi
 4248: if test -z "$CXX"; then
 4249:   ac_ct_CXX=$CXX
 4250:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 4251: do
 4252:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4253: set dummy $ac_prog; ac_word=$2
 4254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4255: $as_echo_n "checking for $ac_word... " >&6; }
 4256: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4257:   $as_echo_n "(cached) " >&6
 4258: else
 4259:   if test -n "$ac_ct_CXX"; then
 4260:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4261: else
 4262: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4263: for as_dir in $PATH
 4264: do
 4265:   IFS=$as_save_IFS
 4266:   test -z "$as_dir" && as_dir=.
 4267:     for ac_exec_ext in '' $ac_executable_extensions; do
 4268:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4269:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4270:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4271:     break 2
 4272:   fi
 4273: done
 4274:   done
 4275: IFS=$as_save_IFS
 4276: 
 4277: fi
 4278: fi
 4279: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4280: if test -n "$ac_ct_CXX"; then
 4281:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4282: $as_echo "$ac_ct_CXX" >&6; }
 4283: else
 4284:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4285: $as_echo "no" >&6; }
 4286: fi
 4287: 
 4288: 
 4289:   test -n "$ac_ct_CXX" && break
 4290: done
 4291: 
 4292:   if test "x$ac_ct_CXX" = x; then
 4293:     CXX="g++"
 4294:   else
 4295:     case $cross_compiling:$ac_tool_warned in
 4296: yes:)
 4297: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4298: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4299: ac_tool_warned=yes ;;
 4300: esac
 4301:     CXX=$ac_ct_CXX
 4302:   fi
 4303: fi
 4304: 
 4305:   fi
 4306: fi
 4307: # Provide some information about the compiler.
 4308: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4309: set X $ac_compile
 4310: ac_compiler=$2
 4311: for ac_option in --version -v -V -qversion; do
 4312:   { { ac_try="$ac_compiler $ac_option >&5"
 4313: case "(($ac_try" in
 4314:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4315:   *) ac_try_echo=$ac_try;;
 4316: esac
 4317: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4318: $as_echo "$ac_try_echo"; } >&5
 4319:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4320:   ac_status=$?
 4321:   if test -s conftest.err; then
 4322:     sed '10a\
 4323: ... rest of stderr output deleted ...
 4324:          10q' conftest.err >conftest.er1
 4325:     cat conftest.er1 >&5
 4326:   fi
 4327:   rm -f conftest.er1 conftest.err
 4328:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4329:   test $ac_status = 0; }
 4330: done
 4331: 
 4332: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4333: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4334: if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4335:   $as_echo_n "(cached) " >&6
 4336: else
 4337:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4338: /* end confdefs.h.  */
 4339: 
 4340: int
 4341: main ()
 4342: {
 4343: #ifndef __GNUC__
 4344:        choke me
 4345: #endif
 4346: 
 4347:   ;
 4348:   return 0;
 4349: }
 4350: _ACEOF
 4351: if ac_fn_cxx_try_compile "$LINENO"; then :
 4352:   ac_compiler_gnu=yes
 4353: else
 4354:   ac_compiler_gnu=no
 4355: fi
 4356: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4357: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4358: 
 4359: fi
 4360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4361: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4362: if test $ac_compiler_gnu = yes; then
 4363:   GXX=yes
 4364: else
 4365:   GXX=
 4366: fi
 4367: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4368: ac_save_CXXFLAGS=$CXXFLAGS
 4369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4370: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4371: if ${ac_cv_prog_cxx_g+:} false; then :
 4372:   $as_echo_n "(cached) " >&6
 4373: else
 4374:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4375:    ac_cxx_werror_flag=yes
 4376:    ac_cv_prog_cxx_g=no
 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: else
 4392:   CXXFLAGS=""
 4393:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4394: /* end confdefs.h.  */
 4395: 
 4396: int
 4397: main ()
 4398: {
 4399: 
 4400:   ;
 4401:   return 0;
 4402: }
 4403: _ACEOF
 4404: if ac_fn_cxx_try_compile "$LINENO"; then :
 4405: 
 4406: else
 4407:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4408: 	 CXXFLAGS="-g"
 4409: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4410: /* end confdefs.h.  */
 4411: 
 4412: int
 4413: main ()
 4414: {
 4415: 
 4416:   ;
 4417:   return 0;
 4418: }
 4419: _ACEOF
 4420: if ac_fn_cxx_try_compile "$LINENO"; then :
 4421:   ac_cv_prog_cxx_g=yes
 4422: fi
 4423: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4424: fi
 4425: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4426: fi
 4427: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4428:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4429: fi
 4430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4431: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4432: if test "$ac_test_CXXFLAGS" = set; then
 4433:   CXXFLAGS=$ac_save_CXXFLAGS
 4434: elif test $ac_cv_prog_cxx_g = yes; then
 4435:   if test "$GXX" = yes; then
 4436:     CXXFLAGS="-g -O2"
 4437:   else
 4438:     CXXFLAGS="-g"
 4439:   fi
 4440: else
 4441:   if test "$GXX" = yes; then
 4442:     CXXFLAGS="-O2"
 4443:   else
 4444:     CXXFLAGS=
 4445:   fi
 4446: fi
 4447: ac_ext=c
 4448: ac_cpp='$CPP $CPPFLAGS'
 4449: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4450: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4451: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4452: 
 4453: depcc="$CXX"  am_compiler_list=
 4454: 
 4455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4456: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4457: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4458:   $as_echo_n "(cached) " >&6
 4459: else
 4460:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4461:   # We make a subdir and do the tests there.  Otherwise we can end up
 4462:   # making bogus files that we don't know about and never remove.  For
 4463:   # instance it was reported that on HP-UX the gcc test will end up
 4464:   # making a dummy file named `D' -- because `-MD' means `put the output
 4465:   # in D'.
 4466:   mkdir conftest.dir
 4467:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4468:   # using a relative directory.
 4469:   cp "$am_depcomp" conftest.dir
 4470:   cd conftest.dir
 4471:   # We will build objects and dependencies in a subdirectory because
 4472:   # it helps to detect inapplicable dependency modes.  For instance
 4473:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4474:   # side effect of compilation, but ICC will put the dependencies in
 4475:   # the current directory while Tru64 will put them in the object
 4476:   # directory.
 4477:   mkdir sub
 4478: 
 4479:   am_cv_CXX_dependencies_compiler_type=none
 4480:   if test "$am_compiler_list" = ""; then
 4481:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4482:   fi
 4483:   am__universal=false
 4484:   case " $depcc " in #(
 4485:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4486:      esac
 4487: 
 4488:   for depmode in $am_compiler_list; do
 4489:     # Setup a source with many dependencies, because some compilers
 4490:     # like to wrap large dependency lists on column 80 (with \), and
 4491:     # we should not choose a depcomp mode which is confused by this.
 4492:     #
 4493:     # We need to recreate these files for each test, as the compiler may
 4494:     # overwrite some of them when testing with obscure command lines.
 4495:     # This happens at least with the AIX C compiler.
 4496:     : > sub/conftest.c
 4497:     for i in 1 2 3 4 5 6; do
 4498:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4499:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4500:       # Solaris 8's {/usr,}/bin/sh.
 4501:       touch sub/conftst$i.h
 4502:     done
 4503:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4504: 
 4505:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4506:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4507:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4508:     # versions had trouble with output in subdirs
 4509:     am__obj=sub/conftest.${OBJEXT-o}
 4510:     am__minus_obj="-o $am__obj"
 4511:     case $depmode in
 4512:     gcc)
 4513:       # This depmode causes a compiler race in universal mode.
 4514:       test "$am__universal" = false || continue
 4515:       ;;
 4516:     nosideeffect)
 4517:       # after this tag, mechanisms are not by side-effect, so they'll
 4518:       # only be used when explicitly requested
 4519:       if test "x$enable_dependency_tracking" = xyes; then
 4520: 	continue
 4521:       else
 4522: 	break
 4523:       fi
 4524:       ;;
 4525:     msvisualcpp | msvcmsys)
 4526:       # This compiler won't grok `-c -o', but also, the minuso test has
 4527:       # not run yet.  These depmodes are late enough in the game, and
 4528:       # so weak that their functioning should not be impacted.
 4529:       am__obj=conftest.${OBJEXT-o}
 4530:       am__minus_obj=
 4531:       ;;
 4532:     none) break ;;
 4533:     esac
 4534:     if depmode=$depmode \
 4535:        source=sub/conftest.c object=$am__obj \
 4536:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4537:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4538:          >/dev/null 2>conftest.err &&
 4539:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4540:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4541:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4542:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4543:       # icc doesn't choke on unknown options, it will just issue warnings
 4544:       # or remarks (even with -Werror).  So we grep stderr for any message
 4545:       # that says an option was ignored or not supported.
 4546:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4547:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4548:       # The diagnosis changed in icc 8.0:
 4549:       #   icc: Command line remark: option '-MP' not supported
 4550:       if (grep 'ignoring option' conftest.err ||
 4551:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4552:         am_cv_CXX_dependencies_compiler_type=$depmode
 4553:         break
 4554:       fi
 4555:     fi
 4556:   done
 4557: 
 4558:   cd ..
 4559:   rm -rf conftest.dir
 4560: else
 4561:   am_cv_CXX_dependencies_compiler_type=none
 4562: fi
 4563: 
 4564: fi
 4565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4566: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4567: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4568: 
 4569:  if
 4570:   test "x$enable_dependency_tracking" != xno \
 4571:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4572:   am__fastdepCXX_TRUE=
 4573:   am__fastdepCXX_FALSE='#'
 4574: else
 4575:   am__fastdepCXX_TRUE='#'
 4576:   am__fastdepCXX_FALSE=
 4577: fi
 4578: 
 4579: 
 4580: 
 4581: if test "x$remember_set_CFLAGS" = "x"
 4582: then
 4583:   if test "$CFLAGS" = "-g -O2"
 4584:   then
 4585:     CFLAGS="-O2"
 4586:   elif test "$CFLAGS" = "-g"
 4587:   then
 4588:     CFLAGS=""
 4589:   fi
 4590: fi
 4591: 
 4592: if test "x$remember_set_CXXFLAGS" = "x"
 4593: then
 4594:   if test "$CXXFLAGS" = "-g -O2"
 4595:   then
 4596:     CXXFLAGS="-O2"
 4597:   elif test "$CXXFLAGS" = "-g"
 4598:   then
 4599:     CXXFLAGS=""
 4600:   fi
 4601: fi
 4602: 
 4603: # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
 4604: # Check for that case, and just disable c++ code if g++ doesn't run.
 4605: ac_ext=cpp
 4606: ac_cpp='$CXXCPP $CPPFLAGS'
 4607: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4608: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4609: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4610: 
 4611: 
 4612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4613: /* end confdefs.h.  */
 4614: 
 4615: int
 4616: main ()
 4617: {
 4618: 
 4619:   ;
 4620:   return 0;
 4621: }
 4622: _ACEOF
 4623: if ac_fn_cxx_try_compile "$LINENO"; then :
 4624: 
 4625: else
 4626:   CXX=""; CXXCP=""; CXXFLAGS=""
 4627: fi
 4628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4629: ac_ext=c
 4630: ac_cpp='$CPP $CPPFLAGS'
 4631: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4632: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4633: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4634: 
 4635: 
 4636: # Check for a 64-bit integer type
 4637: 
 4638: ac_ext=c
 4639: ac_cpp='$CPP $CPPFLAGS'
 4640: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4641: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4642: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4644: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4645: # On Suns, sometimes $CPP names a directory.
 4646: if test -n "$CPP" && test -d "$CPP"; then
 4647:   CPP=
 4648: fi
 4649: if test -z "$CPP"; then
 4650:   if ${ac_cv_prog_CPP+:} false; then :
 4651:   $as_echo_n "(cached) " >&6
 4652: else
 4653:       # Double quotes because CPP needs to be expanded
 4654:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4655:     do
 4656:       ac_preproc_ok=false
 4657: for ac_c_preproc_warn_flag in '' yes
 4658: do
 4659:   # Use a header file that comes with gcc, so configuring glibc
 4660:   # with a fresh cross-compiler works.
 4661:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4662:   # <limits.h> exists even on freestanding compilers.
 4663:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4664:   # not just through cpp. "Syntax error" is here to catch this case.
 4665:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4666: /* end confdefs.h.  */
 4667: #ifdef __STDC__
 4668: # include <limits.h>
 4669: #else
 4670: # include <assert.h>
 4671: #endif
 4672: 		     Syntax error
 4673: _ACEOF
 4674: if ac_fn_c_try_cpp "$LINENO"; then :
 4675: 
 4676: else
 4677:   # Broken: fails on valid input.
 4678: continue
 4679: fi
 4680: rm -f conftest.err conftest.i conftest.$ac_ext
 4681: 
 4682:   # OK, works on sane cases.  Now check whether nonexistent headers
 4683:   # can be detected and how.
 4684:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4685: /* end confdefs.h.  */
 4686: #include <ac_nonexistent.h>
 4687: _ACEOF
 4688: if ac_fn_c_try_cpp "$LINENO"; then :
 4689:   # Broken: success on invalid input.
 4690: continue
 4691: else
 4692:   # Passes both tests.
 4693: ac_preproc_ok=:
 4694: break
 4695: fi
 4696: rm -f conftest.err conftest.i conftest.$ac_ext
 4697: 
 4698: done
 4699: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4700: rm -f conftest.i conftest.err conftest.$ac_ext
 4701: if $ac_preproc_ok; then :
 4702:   break
 4703: fi
 4704: 
 4705:     done
 4706:     ac_cv_prog_CPP=$CPP
 4707: 
 4708: fi
 4709:   CPP=$ac_cv_prog_CPP
 4710: else
 4711:   ac_cv_prog_CPP=$CPP
 4712: fi
 4713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4714: $as_echo "$CPP" >&6; }
 4715: ac_preproc_ok=false
 4716: for ac_c_preproc_warn_flag in '' yes
 4717: do
 4718:   # Use a header file that comes with gcc, so configuring glibc
 4719:   # with a fresh cross-compiler works.
 4720:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4721:   # <limits.h> exists even on freestanding compilers.
 4722:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4723:   # not just through cpp. "Syntax error" is here to catch this case.
 4724:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4725: /* end confdefs.h.  */
 4726: #ifdef __STDC__
 4727: # include <limits.h>
 4728: #else
 4729: # include <assert.h>
 4730: #endif
 4731: 		     Syntax error
 4732: _ACEOF
 4733: if ac_fn_c_try_cpp "$LINENO"; then :
 4734: 
 4735: else
 4736:   # Broken: fails on valid input.
 4737: continue
 4738: fi
 4739: rm -f conftest.err conftest.i conftest.$ac_ext
 4740: 
 4741:   # OK, works on sane cases.  Now check whether nonexistent headers
 4742:   # can be detected and how.
 4743:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4744: /* end confdefs.h.  */
 4745: #include <ac_nonexistent.h>
 4746: _ACEOF
 4747: if ac_fn_c_try_cpp "$LINENO"; then :
 4748:   # Broken: success on invalid input.
 4749: continue
 4750: else
 4751:   # Passes both tests.
 4752: ac_preproc_ok=:
 4753: break
 4754: fi
 4755: rm -f conftest.err conftest.i conftest.$ac_ext
 4756: 
 4757: done
 4758: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4759: rm -f conftest.i conftest.err conftest.$ac_ext
 4760: if $ac_preproc_ok; then :
 4761: 
 4762: else
 4763:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4764: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4765: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 4766: See \`config.log' for more details" "$LINENO" 5; }
 4767: fi
 4768: 
 4769: ac_ext=c
 4770: ac_cpp='$CPP $CPPFLAGS'
 4771: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4772: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4773: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4774: 
 4775: 
 4776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4777: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4778: if ${ac_cv_path_GREP+:} false; then :
 4779:   $as_echo_n "(cached) " >&6
 4780: else
 4781:   if test -z "$GREP"; then
 4782:   ac_path_GREP_found=false
 4783:   # Loop through the user's path and test for each of PROGNAME-LIST
 4784:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4785: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4786: do
 4787:   IFS=$as_save_IFS
 4788:   test -z "$as_dir" && as_dir=.
 4789:     for ac_prog in grep ggrep; do
 4790:     for ac_exec_ext in '' $ac_executable_extensions; do
 4791:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4792:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4793: # Check for GNU ac_path_GREP and select it if it is found.
 4794:   # Check for GNU $ac_path_GREP
 4795: case `"$ac_path_GREP" --version 2>&1` in
 4796: *GNU*)
 4797:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4798: *)
 4799:   ac_count=0
 4800:   $as_echo_n 0123456789 >"conftest.in"
 4801:   while :
 4802:   do
 4803:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4804:     mv "conftest.tmp" "conftest.in"
 4805:     cp "conftest.in" "conftest.nl"
 4806:     $as_echo 'GREP' >> "conftest.nl"
 4807:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4808:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4809:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4810:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4811:       # Best one so far, save it but keep looking for a better one
 4812:       ac_cv_path_GREP="$ac_path_GREP"
 4813:       ac_path_GREP_max=$ac_count
 4814:     fi
 4815:     # 10*(2^10) chars as input seems more than enough
 4816:     test $ac_count -gt 10 && break
 4817:   done
 4818:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4819: esac
 4820: 
 4821:       $ac_path_GREP_found && break 3
 4822:     done
 4823:   done
 4824:   done
 4825: IFS=$as_save_IFS
 4826:   if test -z "$ac_cv_path_GREP"; then
 4827:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4828:   fi
 4829: else
 4830:   ac_cv_path_GREP=$GREP
 4831: fi
 4832: 
 4833: fi
 4834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4835: $as_echo "$ac_cv_path_GREP" >&6; }
 4836:  GREP="$ac_cv_path_GREP"
 4837: 
 4838: 
 4839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4840: $as_echo_n "checking for egrep... " >&6; }
 4841: if ${ac_cv_path_EGREP+:} false; then :
 4842:   $as_echo_n "(cached) " >&6
 4843: else
 4844:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4845:    then ac_cv_path_EGREP="$GREP -E"
 4846:    else
 4847:      if test -z "$EGREP"; then
 4848:   ac_path_EGREP_found=false
 4849:   # Loop through the user's path and test for each of PROGNAME-LIST
 4850:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4851: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4852: do
 4853:   IFS=$as_save_IFS
 4854:   test -z "$as_dir" && as_dir=.
 4855:     for ac_prog in egrep; do
 4856:     for ac_exec_ext in '' $ac_executable_extensions; do
 4857:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4858:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4859: # Check for GNU ac_path_EGREP and select it if it is found.
 4860:   # Check for GNU $ac_path_EGREP
 4861: case `"$ac_path_EGREP" --version 2>&1` in
 4862: *GNU*)
 4863:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4864: *)
 4865:   ac_count=0
 4866:   $as_echo_n 0123456789 >"conftest.in"
 4867:   while :
 4868:   do
 4869:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4870:     mv "conftest.tmp" "conftest.in"
 4871:     cp "conftest.in" "conftest.nl"
 4872:     $as_echo 'EGREP' >> "conftest.nl"
 4873:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4874:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4875:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4876:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4877:       # Best one so far, save it but keep looking for a better one
 4878:       ac_cv_path_EGREP="$ac_path_EGREP"
 4879:       ac_path_EGREP_max=$ac_count
 4880:     fi
 4881:     # 10*(2^10) chars as input seems more than enough
 4882:     test $ac_count -gt 10 && break
 4883:   done
 4884:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4885: esac
 4886: 
 4887:       $ac_path_EGREP_found && break 3
 4888:     done
 4889:   done
 4890:   done
 4891: IFS=$as_save_IFS
 4892:   if test -z "$ac_cv_path_EGREP"; then
 4893:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4894:   fi
 4895: else
 4896:   ac_cv_path_EGREP=$EGREP
 4897: fi
 4898: 
 4899:    fi
 4900: fi
 4901: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4902: $as_echo "$ac_cv_path_EGREP" >&6; }
 4903:  EGREP="$ac_cv_path_EGREP"
 4904: 
 4905: 
 4906: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 4907: $as_echo_n "checking for ANSI C header files... " >&6; }
 4908: if ${ac_cv_header_stdc+:} false; then :
 4909:   $as_echo_n "(cached) " >&6
 4910: else
 4911:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4912: /* end confdefs.h.  */
 4913: #include <stdlib.h>
 4914: #include <stdarg.h>
 4915: #include <string.h>
 4916: #include <float.h>
 4917: 
 4918: int
 4919: main ()
 4920: {
 4921: 
 4922:   ;
 4923:   return 0;
 4924: }
 4925: _ACEOF
 4926: if ac_fn_c_try_compile "$LINENO"; then :
 4927:   ac_cv_header_stdc=yes
 4928: else
 4929:   ac_cv_header_stdc=no
 4930: fi
 4931: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4932: 
 4933: if test $ac_cv_header_stdc = yes; then
 4934:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4935:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4936: /* end confdefs.h.  */
 4937: #include <string.h>
 4938: 
 4939: _ACEOF
 4940: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4941:   $EGREP "memchr" >/dev/null 2>&1; then :
 4942: 
 4943: else
 4944:   ac_cv_header_stdc=no
 4945: fi
 4946: rm -f conftest*
 4947: 
 4948: fi
 4949: 
 4950: if test $ac_cv_header_stdc = yes; then
 4951:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4952:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4953: /* end confdefs.h.  */
 4954: #include <stdlib.h>
 4955: 
 4956: _ACEOF
 4957: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4958:   $EGREP "free" >/dev/null 2>&1; then :
 4959: 
 4960: else
 4961:   ac_cv_header_stdc=no
 4962: fi
 4963: rm -f conftest*
 4964: 
 4965: fi
 4966: 
 4967: if test $ac_cv_header_stdc = yes; then
 4968:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4969:   if test "$cross_compiling" = yes; then :
 4970:   :
 4971: else
 4972:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4973: /* end confdefs.h.  */
 4974: #include <ctype.h>
 4975: #include <stdlib.h>
 4976: #if ((' ' & 0x0FF) == 0x020)
 4977: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4978: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4979: #else
 4980: # define ISLOWER(c) \
 4981: 		   (('a' <= (c) && (c) <= 'i') \
 4982: 		     || ('j' <= (c) && (c) <= 'r') \
 4983: 		     || ('s' <= (c) && (c) <= 'z'))
 4984: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4985: #endif
 4986: 
 4987: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4988: int
 4989: main ()
 4990: {
 4991:   int i;
 4992:   for (i = 0; i < 256; i++)
 4993:     if (XOR (islower (i), ISLOWER (i))
 4994: 	|| toupper (i) != TOUPPER (i))
 4995:       return 2;
 4996:   return 0;
 4997: }
 4998: _ACEOF
 4999: if ac_fn_c_try_run "$LINENO"; then :
 5000: 
 5001: else
 5002:   ac_cv_header_stdc=no
 5003: fi
 5004: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 5005:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 5006: fi
 5007: 
 5008: fi
 5009: fi
 5010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 5011: $as_echo "$ac_cv_header_stdc" >&6; }
 5012: if test $ac_cv_header_stdc = yes; then
 5013: 
 5014: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 5015: 
 5016: fi
 5017: 
 5018: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5019: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5020: 		  inttypes.h stdint.h unistd.h
 5021: do :
 5022:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5023: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 5024: "
 5025: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5026:   cat >>confdefs.h <<_ACEOF
 5027: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5028: _ACEOF
 5029: 
 5030: fi
 5031: 
 5032: done
 5033: 
 5034: 
 5035: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
 5036: case $ac_cv_c_int64_t in #(
 5037:   no|yes) ;; #(
 5038:   *)
 5039: 
 5040: cat >>confdefs.h <<_ACEOF
 5041: #define int64_t $ac_cv_c_int64_t
 5042: _ACEOF
 5043: ;;
 5044: esac
 5045: 
 5046: 
 5047: 
 5048: # Make sure we can run config.sub.
 5049: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 5050:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 5051: 
 5052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 5053: $as_echo_n "checking build system type... " >&6; }
 5054: if ${ac_cv_build+:} false; then :
 5055:   $as_echo_n "(cached) " >&6
 5056: else
 5057:   ac_build_alias=$build_alias
 5058: test "x$ac_build_alias" = x &&
 5059:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 5060: test "x$ac_build_alias" = x &&
 5061:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 5062: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 5063:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 5064: 
 5065: fi
 5066: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 5067: $as_echo "$ac_cv_build" >&6; }
 5068: case $ac_cv_build in
 5069: *-*-*) ;;
 5070: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 5071: esac
 5072: build=$ac_cv_build
 5073: ac_save_IFS=$IFS; IFS='-'
 5074: set x $ac_cv_build
 5075: shift
 5076: build_cpu=$1
 5077: build_vendor=$2
 5078: shift; shift
 5079: # Remember, the first character of IFS is used to create $*,
 5080: # except with old shells:
 5081: build_os=$*
 5082: IFS=$ac_save_IFS
 5083: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 5084: 
 5085: 
 5086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 5087: $as_echo_n "checking host system type... " >&6; }
 5088: if ${ac_cv_host+:} false; then :
 5089:   $as_echo_n "(cached) " >&6
 5090: else
 5091:   if test "x$host_alias" = x; then
 5092:   ac_cv_host=$ac_cv_build
 5093: else
 5094:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 5095:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 5096: fi
 5097: 
 5098: fi
 5099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 5100: $as_echo "$ac_cv_host" >&6; }
 5101: case $ac_cv_host in
 5102: *-*-*) ;;
 5103: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 5104: esac
 5105: host=$ac_cv_host
 5106: ac_save_IFS=$IFS; IFS='-'
 5107: set x $ac_cv_host
 5108: shift
 5109: host_cpu=$1
 5110: host_vendor=$2
 5111: shift; shift
 5112: # Remember, the first character of IFS is used to create $*,
 5113: # except with old shells:
 5114: host_os=$*
 5115: IFS=$ac_save_IFS
 5116: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 5117: 
 5118: 
 5119: enable_win32_dll=yes
 5120: 
 5121: case $host in
 5122: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 5123:   if test -n "$ac_tool_prefix"; then
 5124:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 5125: set dummy ${ac_tool_prefix}as; ac_word=$2
 5126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5127: $as_echo_n "checking for $ac_word... " >&6; }
 5128: if ${ac_cv_prog_AS+:} false; then :
 5129:   $as_echo_n "(cached) " >&6
 5130: else
 5131:   if test -n "$AS"; then
 5132:   ac_cv_prog_AS="$AS" # Let the user override the test.
 5133: else
 5134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5135: for as_dir in $PATH
 5136: do
 5137:   IFS=$as_save_IFS
 5138:   test -z "$as_dir" && as_dir=.
 5139:     for ac_exec_ext in '' $ac_executable_extensions; do
 5140:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5141:     ac_cv_prog_AS="${ac_tool_prefix}as"
 5142:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5143:     break 2
 5144:   fi
 5145: done
 5146:   done
 5147: IFS=$as_save_IFS
 5148: 
 5149: fi
 5150: fi
 5151: AS=$ac_cv_prog_AS
 5152: if test -n "$AS"; then
 5153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 5154: $as_echo "$AS" >&6; }
 5155: else
 5156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5157: $as_echo "no" >&6; }
 5158: fi
 5159: 
 5160: 
 5161: fi
 5162: if test -z "$ac_cv_prog_AS"; then
 5163:   ac_ct_AS=$AS
 5164:   # Extract the first word of "as", so it can be a program name with args.
 5165: set dummy as; ac_word=$2
 5166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5167: $as_echo_n "checking for $ac_word... " >&6; }
 5168: if ${ac_cv_prog_ac_ct_AS+:} false; then :
 5169:   $as_echo_n "(cached) " >&6
 5170: else
 5171:   if test -n "$ac_ct_AS"; then
 5172:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 5173: else
 5174: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5175: for as_dir in $PATH
 5176: do
 5177:   IFS=$as_save_IFS
 5178:   test -z "$as_dir" && as_dir=.
 5179:     for ac_exec_ext in '' $ac_executable_extensions; do
 5180:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5181:     ac_cv_prog_ac_ct_AS="as"
 5182:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5183:     break 2
 5184:   fi
 5185: done
 5186:   done
 5187: IFS=$as_save_IFS
 5188: 
 5189: fi
 5190: fi
 5191: ac_ct_AS=$ac_cv_prog_ac_ct_AS
 5192: if test -n "$ac_ct_AS"; then
 5193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 5194: $as_echo "$ac_ct_AS" >&6; }
 5195: else
 5196:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5197: $as_echo "no" >&6; }
 5198: fi
 5199: 
 5200:   if test "x$ac_ct_AS" = x; then
 5201:     AS="false"
 5202:   else
 5203:     case $cross_compiling:$ac_tool_warned in
 5204: yes:)
 5205: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5206: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5207: ac_tool_warned=yes ;;
 5208: esac
 5209:     AS=$ac_ct_AS
 5210:   fi
 5211: else
 5212:   AS="$ac_cv_prog_AS"
 5213: fi
 5214: 
 5215:   if test -n "$ac_tool_prefix"; then
 5216:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 5217: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 5218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5219: $as_echo_n "checking for $ac_word... " >&6; }
 5220: if ${ac_cv_prog_DLLTOOL+:} false; then :
 5221:   $as_echo_n "(cached) " >&6
 5222: else
 5223:   if test -n "$DLLTOOL"; then
 5224:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 5225: else
 5226: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5227: for as_dir in $PATH
 5228: do
 5229:   IFS=$as_save_IFS
 5230:   test -z "$as_dir" && as_dir=.
 5231:     for ac_exec_ext in '' $ac_executable_extensions; do
 5232:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5233:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 5234:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5235:     break 2
 5236:   fi
 5237: done
 5238:   done
 5239: IFS=$as_save_IFS
 5240: 
 5241: fi
 5242: fi
 5243: DLLTOOL=$ac_cv_prog_DLLTOOL
 5244: if test -n "$DLLTOOL"; then
 5245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 5246: $as_echo "$DLLTOOL" >&6; }
 5247: else
 5248:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5249: $as_echo "no" >&6; }
 5250: fi
 5251: 
 5252: 
 5253: fi
 5254: if test -z "$ac_cv_prog_DLLTOOL"; then
 5255:   ac_ct_DLLTOOL=$DLLTOOL
 5256:   # Extract the first word of "dlltool", so it can be a program name with args.
 5257: set dummy dlltool; ac_word=$2
 5258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5259: $as_echo_n "checking for $ac_word... " >&6; }
 5260: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 5261:   $as_echo_n "(cached) " >&6
 5262: else
 5263:   if test -n "$ac_ct_DLLTOOL"; then
 5264:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 5265: else
 5266: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5267: for as_dir in $PATH
 5268: do
 5269:   IFS=$as_save_IFS
 5270:   test -z "$as_dir" && as_dir=.
 5271:     for ac_exec_ext in '' $ac_executable_extensions; do
 5272:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5273:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 5274:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5275:     break 2
 5276:   fi
 5277: done
 5278:   done
 5279: IFS=$as_save_IFS
 5280: 
 5281: fi
 5282: fi
 5283: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 5284: if test -n "$ac_ct_DLLTOOL"; then
 5285:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 5286: $as_echo "$ac_ct_DLLTOOL" >&6; }
 5287: else
 5288:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5289: $as_echo "no" >&6; }
 5290: fi
 5291: 
 5292:   if test "x$ac_ct_DLLTOOL" = x; then
 5293:     DLLTOOL="false"
 5294:   else
 5295:     case $cross_compiling:$ac_tool_warned in
 5296: yes:)
 5297: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5298: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5299: ac_tool_warned=yes ;;
 5300: esac
 5301:     DLLTOOL=$ac_ct_DLLTOOL
 5302:   fi
 5303: else
 5304:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 5305: fi
 5306: 
 5307:   if test -n "$ac_tool_prefix"; then
 5308:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5309: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5310: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5311: $as_echo_n "checking for $ac_word... " >&6; }
 5312: if ${ac_cv_prog_OBJDUMP+:} false; then :
 5313:   $as_echo_n "(cached) " >&6
 5314: else
 5315:   if test -n "$OBJDUMP"; then
 5316:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5317: else
 5318: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5319: for as_dir in $PATH
 5320: do
 5321:   IFS=$as_save_IFS
 5322:   test -z "$as_dir" && as_dir=.
 5323:     for ac_exec_ext in '' $ac_executable_extensions; do
 5324:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5325:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5326:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5327:     break 2
 5328:   fi
 5329: done
 5330:   done
 5331: IFS=$as_save_IFS
 5332: 
 5333: fi
 5334: fi
 5335: OBJDUMP=$ac_cv_prog_OBJDUMP
 5336: if test -n "$OBJDUMP"; then
 5337:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5338: $as_echo "$OBJDUMP" >&6; }
 5339: else
 5340:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5341: $as_echo "no" >&6; }
 5342: fi
 5343: 
 5344: 
 5345: fi
 5346: if test -z "$ac_cv_prog_OBJDUMP"; then
 5347:   ac_ct_OBJDUMP=$OBJDUMP
 5348:   # Extract the first word of "objdump", so it can be a program name with args.
 5349: set dummy objdump; ac_word=$2
 5350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5351: $as_echo_n "checking for $ac_word... " >&6; }
 5352: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 5353:   $as_echo_n "(cached) " >&6
 5354: else
 5355:   if test -n "$ac_ct_OBJDUMP"; then
 5356:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5357: else
 5358: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5359: for as_dir in $PATH
 5360: do
 5361:   IFS=$as_save_IFS
 5362:   test -z "$as_dir" && as_dir=.
 5363:     for ac_exec_ext in '' $ac_executable_extensions; do
 5364:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5365:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5366:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5367:     break 2
 5368:   fi
 5369: done
 5370:   done
 5371: IFS=$as_save_IFS
 5372: 
 5373: fi
 5374: fi
 5375: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5376: if test -n "$ac_ct_OBJDUMP"; then
 5377:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5378: $as_echo "$ac_ct_OBJDUMP" >&6; }
 5379: else
 5380:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5381: $as_echo "no" >&6; }
 5382: fi
 5383: 
 5384:   if test "x$ac_ct_OBJDUMP" = x; then
 5385:     OBJDUMP="false"
 5386:   else
 5387:     case $cross_compiling:$ac_tool_warned in
 5388: yes:)
 5389: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5390: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5391: ac_tool_warned=yes ;;
 5392: esac
 5393:     OBJDUMP=$ac_ct_OBJDUMP
 5394:   fi
 5395: else
 5396:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 5397: fi
 5398: 
 5399:   ;;
 5400: esac
 5401: 
 5402: test -z "$AS" && AS=as
 5403: 
 5404: 
 5405: 
 5406: 
 5407: 
 5408: test -z "$DLLTOOL" && DLLTOOL=dlltool
 5409: 
 5410: 
 5411: 
 5412: 
 5413: 
 5414: test -z "$OBJDUMP" && OBJDUMP=objdump
 5415: 
 5416: 
 5417: 
 5418: 
 5419: 
 5420: 
 5421: 
 5422: case `pwd` in
 5423:   *\ * | *\	*)
 5424:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 5425: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 5426: esac
 5427: 
 5428: 
 5429: 
 5430: macro_version='2.4'
 5431: macro_revision='1.3293'
 5432: 
 5433: 
 5434: 
 5435: 
 5436: 
 5437: 
 5438: 
 5439: 
 5440: 
 5441: 
 5442: 
 5443: 
 5444: 
 5445: ltmain="$ac_aux_dir/ltmain.sh"
 5446: 
 5447: # Backslashify metacharacters that are still active within
 5448: # double-quoted strings.
 5449: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 5450: 
 5451: # Same as above, but do not quote variable references.
 5452: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 5453: 
 5454: # Sed substitution to delay expansion of an escaped shell variable in a
 5455: # double_quote_subst'ed string.
 5456: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 5457: 
 5458: # Sed substitution to delay expansion of an escaped single quote.
 5459: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 5460: 
 5461: # Sed substitution to avoid accidental globbing in evaled expressions
 5462: no_glob_subst='s/\*/\\\*/g'
 5463: 
 5464: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 5465: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 5466: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 5467: 
 5468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 5469: $as_echo_n "checking how to print strings... " >&6; }
 5470: # Test print first, because it will be a builtin if present.
 5471: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 5472:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 5473:   ECHO='print -r --'
 5474: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 5475:   ECHO='printf %s\n'
 5476: else
 5477:   # Use this function as a fallback that always works.
 5478:   func_fallback_echo ()
 5479:   {
 5480:     eval 'cat <<_LTECHO_EOF
 5481: $1
 5482: _LTECHO_EOF'
 5483:   }
 5484:   ECHO='func_fallback_echo'
 5485: fi
 5486: 
 5487: # func_echo_all arg...
 5488: # Invoke $ECHO with all args, space-separated.
 5489: func_echo_all ()
 5490: {
 5491:     $ECHO ""
 5492: }
 5493: 
 5494: case "$ECHO" in
 5495:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 5496: $as_echo "printf" >&6; } ;;
 5497:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 5498: $as_echo "print -r" >&6; } ;;
 5499:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 5500: $as_echo "cat" >&6; } ;;
 5501: esac
 5502: 
 5503: 
 5504: 
 5505: 
 5506: 
 5507: 
 5508: 
 5509: 
 5510: 
 5511: 
 5512: 
 5513: 
 5514: 
 5515: 
 5516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 5517: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 5518: if ${ac_cv_path_SED+:} false; then :
 5519:   $as_echo_n "(cached) " >&6
 5520: else
 5521:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 5522:      for ac_i in 1 2 3 4 5 6 7; do
 5523:        ac_script="$ac_script$as_nl$ac_script"
 5524:      done
 5525:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 5526:      { ac_script=; unset ac_script;}
 5527:      if test -z "$SED"; then
 5528:   ac_path_SED_found=false
 5529:   # Loop through the user's path and test for each of PROGNAME-LIST
 5530:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5531: for as_dir in $PATH
 5532: do
 5533:   IFS=$as_save_IFS
 5534:   test -z "$as_dir" && as_dir=.
 5535:     for ac_prog in sed gsed; do
 5536:     for ac_exec_ext in '' $ac_executable_extensions; do
 5537:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 5538:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 5539: # Check for GNU ac_path_SED and select it if it is found.
 5540:   # Check for GNU $ac_path_SED
 5541: case `"$ac_path_SED" --version 2>&1` in
 5542: *GNU*)
 5543:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 5544: *)
 5545:   ac_count=0
 5546:   $as_echo_n 0123456789 >"conftest.in"
 5547:   while :
 5548:   do
 5549:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5550:     mv "conftest.tmp" "conftest.in"
 5551:     cp "conftest.in" "conftest.nl"
 5552:     $as_echo '' >> "conftest.nl"
 5553:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5554:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5555:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5556:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 5557:       # Best one so far, save it but keep looking for a better one
 5558:       ac_cv_path_SED="$ac_path_SED"
 5559:       ac_path_SED_max=$ac_count
 5560:     fi
 5561:     # 10*(2^10) chars as input seems more than enough
 5562:     test $ac_count -gt 10 && break
 5563:   done
 5564:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5565: esac
 5566: 
 5567:       $ac_path_SED_found && break 3
 5568:     done
 5569:   done
 5570:   done
 5571: IFS=$as_save_IFS
 5572:   if test -z "$ac_cv_path_SED"; then
 5573:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 5574:   fi
 5575: else
 5576:   ac_cv_path_SED=$SED
 5577: fi
 5578: 
 5579: fi
 5580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 5581: $as_echo "$ac_cv_path_SED" >&6; }
 5582:  SED="$ac_cv_path_SED"
 5583:   rm -f conftest.sed
 5584: 
 5585: test -z "$SED" && SED=sed
 5586: Xsed="$SED -e 1s/^X//"
 5587: 
 5588: 
 5589: 
 5590: 
 5591: 
 5592: 
 5593: 
 5594: 
 5595: 
 5596: 
 5597: 
 5598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 5599: $as_echo_n "checking for fgrep... " >&6; }
 5600: if ${ac_cv_path_FGREP+:} false; then :
 5601:   $as_echo_n "(cached) " >&6
 5602: else
 5603:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 5604:    then ac_cv_path_FGREP="$GREP -F"
 5605:    else
 5606:      if test -z "$FGREP"; then
 5607:   ac_path_FGREP_found=false
 5608:   # Loop through the user's path and test for each of PROGNAME-LIST
 5609:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5610: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5611: do
 5612:   IFS=$as_save_IFS
 5613:   test -z "$as_dir" && as_dir=.
 5614:     for ac_prog in fgrep; do
 5615:     for ac_exec_ext in '' $ac_executable_extensions; do
 5616:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 5617:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 5618: # Check for GNU ac_path_FGREP and select it if it is found.
 5619:   # Check for GNU $ac_path_FGREP
 5620: case `"$ac_path_FGREP" --version 2>&1` in
 5621: *GNU*)
 5622:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 5623: *)
 5624:   ac_count=0
 5625:   $as_echo_n 0123456789 >"conftest.in"
 5626:   while :
 5627:   do
 5628:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5629:     mv "conftest.tmp" "conftest.in"
 5630:     cp "conftest.in" "conftest.nl"
 5631:     $as_echo 'FGREP' >> "conftest.nl"
 5632:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5633:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5634:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5635:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 5636:       # Best one so far, save it but keep looking for a better one
 5637:       ac_cv_path_FGREP="$ac_path_FGREP"
 5638:       ac_path_FGREP_max=$ac_count
 5639:     fi
 5640:     # 10*(2^10) chars as input seems more than enough
 5641:     test $ac_count -gt 10 && break
 5642:   done
 5643:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5644: esac
 5645: 
 5646:       $ac_path_FGREP_found && break 3
 5647:     done
 5648:   done
 5649:   done
 5650: IFS=$as_save_IFS
 5651:   if test -z "$ac_cv_path_FGREP"; then
 5652:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5653:   fi
 5654: else
 5655:   ac_cv_path_FGREP=$FGREP
 5656: fi
 5657: 
 5658:    fi
 5659: fi
 5660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 5661: $as_echo "$ac_cv_path_FGREP" >&6; }
 5662:  FGREP="$ac_cv_path_FGREP"
 5663: 
 5664: 
 5665: test -z "$GREP" && GREP=grep
 5666: 
 5667: 
 5668: 
 5669: 
 5670: 
 5671: 
 5672: 
 5673: 
 5674: 
 5675: 
 5676: 
 5677: 
 5678: 
 5679: 
 5680: 
 5681: 
 5682: 
 5683: 
 5684: 
 5685: # Check whether --with-gnu-ld was given.
 5686: if test "${with_gnu_ld+set}" = set; then :
 5687:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 5688: else
 5689:   with_gnu_ld=no
 5690: fi
 5691: 
 5692: ac_prog=ld
 5693: if test "$GCC" = yes; then
 5694:   # Check if gcc -print-prog-name=ld gives a path.
 5695:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 5696: $as_echo_n "checking for ld used by $CC... " >&6; }
 5697:   case $host in
 5698:   *-*-mingw*)
 5699:     # gcc leaves a trailing carriage return which upsets mingw
 5700:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 5701:   *)
 5702:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 5703:   esac
 5704:   case $ac_prog in
 5705:     # Accept absolute paths.
 5706:     [\\/]* | ?:[\\/]*)
 5707:       re_direlt='/[^/][^/]*/\.\./'
 5708:       # Canonicalize the pathname of ld
 5709:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 5710:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 5711: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 5712:       done
 5713:       test -z "$LD" && LD="$ac_prog"
 5714:       ;;
 5715:   "")
 5716:     # If it fails, then pretend we aren't using GCC.
 5717:     ac_prog=ld
 5718:     ;;
 5719:   *)
 5720:     # If it is relative, then search for the first ld in PATH.
 5721:     with_gnu_ld=unknown
 5722:     ;;
 5723:   esac
 5724: elif test "$with_gnu_ld" = yes; then
 5725:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 5726: $as_echo_n "checking for GNU ld... " >&6; }
 5727: else
 5728:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 5729: $as_echo_n "checking for non-GNU ld... " >&6; }
 5730: fi
 5731: if ${lt_cv_path_LD+:} false; then :
 5732:   $as_echo_n "(cached) " >&6
 5733: else
 5734:   if test -z "$LD"; then
 5735:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 5736:   for ac_dir in $PATH; do
 5737:     IFS="$lt_save_ifs"
 5738:     test -z "$ac_dir" && ac_dir=.
 5739:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 5740:       lt_cv_path_LD="$ac_dir/$ac_prog"
 5741:       # Check to see if the program is GNU ld.  I'd rather use --version,
 5742:       # but apparently some variants of GNU ld only accept -v.
 5743:       # Break only if it was the GNU/non-GNU ld that we prefer.
 5744:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 5745:       *GNU* | *'with BFD'*)
 5746: 	test "$with_gnu_ld" != no && break
 5747: 	;;
 5748:       *)
 5749: 	test "$with_gnu_ld" != yes && break
 5750: 	;;
 5751:       esac
 5752:     fi
 5753:   done
 5754:   IFS="$lt_save_ifs"
 5755: else
 5756:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 5757: fi
 5758: fi
 5759: 
 5760: LD="$lt_cv_path_LD"
 5761: if test -n "$LD"; then
 5762:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 5763: $as_echo "$LD" >&6; }
 5764: else
 5765:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5766: $as_echo "no" >&6; }
 5767: fi
 5768: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 5769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 5770: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 5771: if ${lt_cv_prog_gnu_ld+:} false; then :
 5772:   $as_echo_n "(cached) " >&6
 5773: else
 5774:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 5775: case `$LD -v 2>&1 </dev/null` in
 5776: *GNU* | *'with BFD'*)
 5777:   lt_cv_prog_gnu_ld=yes
 5778:   ;;
 5779: *)
 5780:   lt_cv_prog_gnu_ld=no
 5781:   ;;
 5782: esac
 5783: fi
 5784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 5785: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 5786: with_gnu_ld=$lt_cv_prog_gnu_ld
 5787: 
 5788: 
 5789: 
 5790: 
 5791: 
 5792: 
 5793: 
 5794: 
 5795: 
 5796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 5797: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 5798: if ${lt_cv_path_NM+:} false; then :
 5799:   $as_echo_n "(cached) " >&6
 5800: else
 5801:   if test -n "$NM"; then
 5802:   # Let the user override the test.
 5803:   lt_cv_path_NM="$NM"
 5804: else
 5805:   lt_nm_to_check="${ac_tool_prefix}nm"
 5806:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 5807:     lt_nm_to_check="$lt_nm_to_check nm"
 5808:   fi
 5809:   for lt_tmp_nm in $lt_nm_to_check; do
 5810:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 5811:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 5812:       IFS="$lt_save_ifs"
 5813:       test -z "$ac_dir" && ac_dir=.
 5814:       tmp_nm="$ac_dir/$lt_tmp_nm"
 5815:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 5816: 	# Check to see if the nm accepts a BSD-compat flag.
 5817: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 5818: 	#   nm: unknown option "B" ignored
 5819: 	# Tru64's nm complains that /dev/null is an invalid object file
 5820: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 5821: 	*/dev/null* | *'Invalid file or object type'*)
 5822: 	  lt_cv_path_NM="$tmp_nm -B"
 5823: 	  break
 5824: 	  ;;
 5825: 	*)
 5826: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 5827: 	  */dev/null*)
 5828: 	    lt_cv_path_NM="$tmp_nm -p"
 5829: 	    break
 5830: 	    ;;
 5831: 	  *)
 5832: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 5833: 	    continue # so that we can try to find one that supports BSD flags
 5834: 	    ;;
 5835: 	  esac
 5836: 	  ;;
 5837: 	esac
 5838:       fi
 5839:     done
 5840:     IFS="$lt_save_ifs"
 5841:   done
 5842:   : ${lt_cv_path_NM=no}
 5843: fi
 5844: fi
 5845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 5846: $as_echo "$lt_cv_path_NM" >&6; }
 5847: if test "$lt_cv_path_NM" != "no"; then
 5848:   NM="$lt_cv_path_NM"
 5849: else
 5850:   # Didn't find any BSD compatible name lister, look for dumpbin.
 5851:   if test -n "$DUMPBIN"; then :
 5852:     # Let the user override the test.
 5853:   else
 5854:     if test -n "$ac_tool_prefix"; then
 5855:   for ac_prog in dumpbin "link -dump"
 5856:   do
 5857:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5858: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5860: $as_echo_n "checking for $ac_word... " >&6; }
 5861: if ${ac_cv_prog_DUMPBIN+:} false; then :
 5862:   $as_echo_n "(cached) " >&6
 5863: else
 5864:   if test -n "$DUMPBIN"; then
 5865:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 5866: else
 5867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5868: for as_dir in $PATH
 5869: do
 5870:   IFS=$as_save_IFS
 5871:   test -z "$as_dir" && as_dir=.
 5872:     for ac_exec_ext in '' $ac_executable_extensions; do
 5873:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5874:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 5875:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5876:     break 2
 5877:   fi
 5878: done
 5879:   done
 5880: IFS=$as_save_IFS
 5881: 
 5882: fi
 5883: fi
 5884: DUMPBIN=$ac_cv_prog_DUMPBIN
 5885: if test -n "$DUMPBIN"; then
 5886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5887: $as_echo "$DUMPBIN" >&6; }
 5888: else
 5889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5890: $as_echo "no" >&6; }
 5891: fi
 5892: 
 5893: 
 5894:     test -n "$DUMPBIN" && break
 5895:   done
 5896: fi
 5897: if test -z "$DUMPBIN"; then
 5898:   ac_ct_DUMPBIN=$DUMPBIN
 5899:   for ac_prog in dumpbin "link -dump"
 5900: do
 5901:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5902: set dummy $ac_prog; ac_word=$2
 5903: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5904: $as_echo_n "checking for $ac_word... " >&6; }
 5905: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5906:   $as_echo_n "(cached) " >&6
 5907: else
 5908:   if test -n "$ac_ct_DUMPBIN"; then
 5909:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5910: else
 5911: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5912: for as_dir in $PATH
 5913: do
 5914:   IFS=$as_save_IFS
 5915:   test -z "$as_dir" && as_dir=.
 5916:     for ac_exec_ext in '' $ac_executable_extensions; do
 5917:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5918:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5919:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5920:     break 2
 5921:   fi
 5922: done
 5923:   done
 5924: IFS=$as_save_IFS
 5925: 
 5926: fi
 5927: fi
 5928: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5929: if test -n "$ac_ct_DUMPBIN"; then
 5930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5931: $as_echo "$ac_ct_DUMPBIN" >&6; }
 5932: else
 5933:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5934: $as_echo "no" >&6; }
 5935: fi
 5936: 
 5937: 
 5938:   test -n "$ac_ct_DUMPBIN" && break
 5939: done
 5940: 
 5941:   if test "x$ac_ct_DUMPBIN" = x; then
 5942:     DUMPBIN=":"
 5943:   else
 5944:     case $cross_compiling:$ac_tool_warned in
 5945: yes:)
 5946: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5947: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5948: ac_tool_warned=yes ;;
 5949: esac
 5950:     DUMPBIN=$ac_ct_DUMPBIN
 5951:   fi
 5952: fi
 5953: 
 5954:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 5955:     *COFF*)
 5956:       DUMPBIN="$DUMPBIN -symbols"
 5957:       ;;
 5958:     *)
 5959:       DUMPBIN=:
 5960:       ;;
 5961:     esac
 5962:   fi
 5963: 
 5964:   if test "$DUMPBIN" != ":"; then
 5965:     NM="$DUMPBIN"
 5966:   fi
 5967: fi
 5968: test -z "$NM" && NM=nm
 5969: 
 5970: 
 5971: 
 5972: 
 5973: 
 5974: 
 5975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5976: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5977: if ${lt_cv_nm_interface+:} false; then :
 5978:   $as_echo_n "(cached) " >&6
 5979: else
 5980:   lt_cv_nm_interface="BSD nm"
 5981:   echo "int some_variable = 0;" > conftest.$ac_ext
 5982:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 5983:   (eval "$ac_compile" 2>conftest.err)
 5984:   cat conftest.err >&5
 5985:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5986:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5987:   cat conftest.err >&5
 5988:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 5989:   cat conftest.out >&5
 5990:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5991:     lt_cv_nm_interface="MS dumpbin"
 5992:   fi
 5993:   rm -f conftest*
 5994: fi
 5995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5996: $as_echo "$lt_cv_nm_interface" >&6; }
 5997: 
 5998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 5999: $as_echo_n "checking whether ln -s works... " >&6; }
 6000: LN_S=$as_ln_s
 6001: if test "$LN_S" = "ln -s"; then
 6002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6003: $as_echo "yes" >&6; }
 6004: else
 6005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6006: $as_echo "no, using $LN_S" >&6; }
 6007: fi
 6008: 
 6009: # find the maximum length of command line arguments
 6010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 6011: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 6012: if ${lt_cv_sys_max_cmd_len+:} false; then :
 6013:   $as_echo_n "(cached) " >&6
 6014: else
 6015:     i=0
 6016:   teststring="ABCD"
 6017: 
 6018:   case $build_os in
 6019:   msdosdjgpp*)
 6020:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 6021:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 6022:     # during glob expansion).  Even if it were fixed, the result of this
 6023:     # check would be larger than it should be.
 6024:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 6025:     ;;
 6026: 
 6027:   gnu*)
 6028:     # Under GNU Hurd, this test is not required because there is
 6029:     # no limit to the length of command line arguments.
 6030:     # Libtool will interpret -1 as no limit whatsoever
 6031:     lt_cv_sys_max_cmd_len=-1;
 6032:     ;;
 6033: 
 6034:   cygwin* | mingw* | cegcc*)
 6035:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 6036:     # about 5 minutes as the teststring grows exponentially.
 6037:     # Worse, since 9x/ME are not pre-emptively multitasking,
 6038:     # you end up with a "frozen" computer, even though with patience
 6039:     # the test eventually succeeds (with a max line length of 256k).
 6040:     # Instead, let's just punt: use the minimum linelength reported by
 6041:     # all of the supported platforms: 8192 (on NT/2K/XP).
 6042:     lt_cv_sys_max_cmd_len=8192;
 6043:     ;;
 6044: 
 6045:   mint*)
 6046:     # On MiNT this can take a long time and run out of memory.
 6047:     lt_cv_sys_max_cmd_len=8192;
 6048:     ;;
 6049: 
 6050:   amigaos*)
 6051:     # On AmigaOS with pdksh, this test takes hours, literally.
 6052:     # So we just punt and use a minimum line length of 8192.
 6053:     lt_cv_sys_max_cmd_len=8192;
 6054:     ;;
 6055: 
 6056:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 6057:     # This has been around since 386BSD, at least.  Likely further.
 6058:     if test -x /sbin/sysctl; then
 6059:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 6060:     elif test -x /usr/sbin/sysctl; then
 6061:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 6062:     else
 6063:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 6064:     fi
 6065:     # And add a safety zone
 6066:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6067:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6068:     ;;
 6069: 
 6070:   interix*)
 6071:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 6072:     lt_cv_sys_max_cmd_len=196608
 6073:     ;;
 6074: 
 6075:   osf*)
 6076:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 6077:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 6078:     # nice to cause kernel panics so lets avoid the loop below.
 6079:     # First set a reasonable default.
 6080:     lt_cv_sys_max_cmd_len=16384
 6081:     #
 6082:     if test -x /sbin/sysconfig; then
 6083:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 6084:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 6085:       esac
 6086:     fi
 6087:     ;;
 6088:   sco3.2v5*)
 6089:     lt_cv_sys_max_cmd_len=102400
 6090:     ;;
 6091:   sysv5* | sco5v6* | sysv4.2uw2*)
 6092:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 6093:     if test -n "$kargmax"; then
 6094:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 6095:     else
 6096:       lt_cv_sys_max_cmd_len=32768
 6097:     fi
 6098:     ;;
 6099:   *)
 6100:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 6101:     if test -n "$lt_cv_sys_max_cmd_len"; then
 6102:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 6103:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 6104:     else
 6105:       # Make teststring a little bigger before we do anything with it.
 6106:       # a 1K string should be a reasonable start.
 6107:       for i in 1 2 3 4 5 6 7 8 ; do
 6108:         teststring=$teststring$teststring
 6109:       done
 6110:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 6111:       # If test is not a shell built-in, we'll probably end up computing a
 6112:       # maximum length that is only half of the actual maximum length, but
 6113:       # we can't tell.
 6114:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 6115: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 6116: 	      test $i != 17 # 1/2 MB should be enough
 6117:       do
 6118:         i=`expr $i + 1`
 6119:         teststring=$teststring$teststring
 6120:       done
 6121:       # Only check the string length outside the loop.
 6122:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 6123:       teststring=
 6124:       # Add a significant safety factor because C++ compilers can tack on
 6125:       # massive amounts of additional arguments before passing them to the
 6126:       # linker.  It appears as though 1/2 is a usable value.
 6127:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 6128:     fi
 6129:     ;;
 6130:   esac
 6131: 
 6132: fi
 6133: 
 6134: if test -n $lt_cv_sys_max_cmd_len ; then
 6135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 6136: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 6137: else
 6138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 6139: $as_echo "none" >&6; }
 6140: fi
 6141: max_cmd_len=$lt_cv_sys_max_cmd_len
 6142: 
 6143: 
 6144: 
 6145: 
 6146: 
 6147: 
 6148: : ${CP="cp -f"}
 6149: : ${MV="mv -f"}
 6150: : ${RM="rm -f"}
 6151: 
 6152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 6153: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 6154: # Try some XSI features
 6155: xsi_shell=no
 6156: ( _lt_dummy="a/b/c"
 6157:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 6158:       = c,a/b,b/c, \
 6159:     && eval 'test $(( 1 + 1 )) -eq 2 \
 6160:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 6161:   && xsi_shell=yes
 6162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 6163: $as_echo "$xsi_shell" >&6; }
 6164: 
 6165: 
 6166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 6167: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 6168: lt_shell_append=no
 6169: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 6170:     >/dev/null 2>&1 \
 6171:   && lt_shell_append=yes
 6172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 6173: $as_echo "$lt_shell_append" >&6; }
 6174: 
 6175: 
 6176: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 6177:   lt_unset=unset
 6178: else
 6179:   lt_unset=false
 6180: fi
 6181: 
 6182: 
 6183: 
 6184: 
 6185: 
 6186: # test EBCDIC or ASCII
 6187: case `echo X|tr X '\101'` in
 6188:  A) # ASCII based system
 6189:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 6190:   lt_SP2NL='tr \040 \012'
 6191:   lt_NL2SP='tr \015\012 \040\040'
 6192:   ;;
 6193:  *) # EBCDIC based system
 6194:   lt_SP2NL='tr \100 \n'
 6195:   lt_NL2SP='tr \r\n \100\100'
 6196:   ;;
 6197: esac
 6198: 
 6199: 
 6200: 
 6201: 
 6202: 
 6203: 
 6204: 
 6205: 
 6206: 
 6207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 6208: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 6209: if ${lt_cv_to_host_file_cmd+:} false; then :
 6210:   $as_echo_n "(cached) " >&6
 6211: else
 6212:   case $host in
 6213:   *-*-mingw* )
 6214:     case $build in
 6215:       *-*-mingw* ) # actually msys
 6216:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 6217:         ;;
 6218:       *-*-cygwin* )
 6219:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 6220:         ;;
 6221:       * ) # otherwise, assume *nix
 6222:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 6223:         ;;
 6224:     esac
 6225:     ;;
 6226:   *-*-cygwin* )
 6227:     case $build in
 6228:       *-*-mingw* ) # actually msys
 6229:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 6230:         ;;
 6231:       *-*-cygwin* )
 6232:         lt_cv_to_host_file_cmd=func_convert_file_noop
 6233:         ;;
 6234:       * ) # otherwise, assume *nix
 6235:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 6236:         ;;
 6237:     esac
 6238:     ;;
 6239:   * ) # unhandled hosts (and "normal" native builds)
 6240:     lt_cv_to_host_file_cmd=func_convert_file_noop
 6241:     ;;
 6242: esac
 6243: 
 6244: fi
 6245: 
 6246: to_host_file_cmd=$lt_cv_to_host_file_cmd
 6247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 6248: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
 6249: 
 6250: 
 6251: 
 6252: 
 6253: 
 6254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 6255: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 6256: if ${lt_cv_to_tool_file_cmd+:} false; then :
 6257:   $as_echo_n "(cached) " >&6
 6258: else
 6259:   #assume ordinary cross tools, or native build.
 6260: lt_cv_to_tool_file_cmd=func_convert_file_noop
 6261: case $host in
 6262:   *-*-mingw* )
 6263:     case $build in
 6264:       *-*-mingw* ) # actually msys
 6265:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 6266:         ;;
 6267:     esac
 6268:     ;;
 6269: esac
 6270: 
 6271: fi
 6272: 
 6273: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 6274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 6275: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 6276: 
 6277: 
 6278: 
 6279: 
 6280: 
 6281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 6282: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 6283: if ${lt_cv_ld_reload_flag+:} false; then :
 6284:   $as_echo_n "(cached) " >&6
 6285: else
 6286:   lt_cv_ld_reload_flag='-r'
 6287: fi
 6288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 6289: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 6290: reload_flag=$lt_cv_ld_reload_flag
 6291: case $reload_flag in
 6292: "" | " "*) ;;
 6293: *) reload_flag=" $reload_flag" ;;
 6294: esac
 6295: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6296: case $host_os in
 6297:   cygwin* | mingw* | pw32* | cegcc*)
 6298:     if test "$GCC" != yes; then
 6299:       reload_cmds=false
 6300:     fi
 6301:     ;;
 6302:   darwin*)
 6303:     if test "$GCC" = yes; then
 6304:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 6305:     else
 6306:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 6307:     fi
 6308:     ;;
 6309: esac
 6310: 
 6311: 
 6312: 
 6313: 
 6314: 
 6315: 
 6316: 
 6317: 
 6318: 
 6319: if test -n "$ac_tool_prefix"; then
 6320:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 6321: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 6322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6323: $as_echo_n "checking for $ac_word... " >&6; }
 6324: if ${ac_cv_prog_OBJDUMP+:} false; then :
 6325:   $as_echo_n "(cached) " >&6
 6326: else
 6327:   if test -n "$OBJDUMP"; then
 6328:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 6329: else
 6330: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6331: for as_dir in $PATH
 6332: do
 6333:   IFS=$as_save_IFS
 6334:   test -z "$as_dir" && as_dir=.
 6335:     for ac_exec_ext in '' $ac_executable_extensions; do
 6336:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6337:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 6338:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6339:     break 2
 6340:   fi
 6341: done
 6342:   done
 6343: IFS=$as_save_IFS
 6344: 
 6345: fi
 6346: fi
 6347: OBJDUMP=$ac_cv_prog_OBJDUMP
 6348: if test -n "$OBJDUMP"; then
 6349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 6350: $as_echo "$OBJDUMP" >&6; }
 6351: else
 6352:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6353: $as_echo "no" >&6; }
 6354: fi
 6355: 
 6356: 
 6357: fi
 6358: if test -z "$ac_cv_prog_OBJDUMP"; then
 6359:   ac_ct_OBJDUMP=$OBJDUMP
 6360:   # Extract the first word of "objdump", so it can be a program name with args.
 6361: set dummy objdump; ac_word=$2
 6362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6363: $as_echo_n "checking for $ac_word... " >&6; }
 6364: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 6365:   $as_echo_n "(cached) " >&6
 6366: else
 6367:   if test -n "$ac_ct_OBJDUMP"; then
 6368:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 6369: else
 6370: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6371: for as_dir in $PATH
 6372: do
 6373:   IFS=$as_save_IFS
 6374:   test -z "$as_dir" && as_dir=.
 6375:     for ac_exec_ext in '' $ac_executable_extensions; do
 6376:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6377:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 6378:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6379:     break 2
 6380:   fi
 6381: done
 6382:   done
 6383: IFS=$as_save_IFS
 6384: 
 6385: fi
 6386: fi
 6387: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 6388: if test -n "$ac_ct_OBJDUMP"; then
 6389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 6390: $as_echo "$ac_ct_OBJDUMP" >&6; }
 6391: else
 6392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6393: $as_echo "no" >&6; }
 6394: fi
 6395: 
 6396:   if test "x$ac_ct_OBJDUMP" = x; then
 6397:     OBJDUMP="false"
 6398:   else
 6399:     case $cross_compiling:$ac_tool_warned in
 6400: yes:)
 6401: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6402: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6403: ac_tool_warned=yes ;;
 6404: esac
 6405:     OBJDUMP=$ac_ct_OBJDUMP
 6406:   fi
 6407: else
 6408:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 6409: fi
 6410: 
 6411: test -z "$OBJDUMP" && OBJDUMP=objdump
 6412: 
 6413: 
 6414: 
 6415: 
 6416: 
 6417: 
 6418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 6419: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 6420: if ${lt_cv_deplibs_check_method+:} false; then :
 6421:   $as_echo_n "(cached) " >&6
 6422: else
 6423:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 6424: lt_cv_file_magic_test_file=
 6425: lt_cv_deplibs_check_method='unknown'
 6426: # Need to set the preceding variable on all platforms that support
 6427: # interlibrary dependencies.
 6428: # 'none' -- dependencies not supported.
 6429: # `unknown' -- same as none, but documents that we really don't know.
 6430: # 'pass_all' -- all dependencies passed with no checks.
 6431: # 'test_compile' -- check by making test program.
 6432: # 'file_magic [[regex]]' -- check by looking for files in library path
 6433: # which responds to the $file_magic_cmd with a given extended regex.
 6434: # If you have `file' or equivalent on your system and you're not sure
 6435: # whether `pass_all' will *always* work, you probably want this one.
 6436: 
 6437: case $host_os in
 6438: aix[4-9]*)
 6439:   lt_cv_deplibs_check_method=pass_all
 6440:   ;;
 6441: 
 6442: beos*)
 6443:   lt_cv_deplibs_check_method=pass_all
 6444:   ;;
 6445: 
 6446: bsdi[45]*)
 6447:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 6448:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 6449:   lt_cv_file_magic_test_file=/shlib/libc.so
 6450:   ;;
 6451: 
 6452: cygwin*)
 6453:   # func_win32_libid is a shell function defined in ltmain.sh
 6454:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6455:   lt_cv_file_magic_cmd='func_win32_libid'
 6456:   ;;
 6457: 
 6458: mingw* | pw32*)
 6459:   # Base MSYS/MinGW do not provide the 'file' command needed by
 6460:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 6461:   # unless we find 'file', for example because we are cross-compiling.
 6462:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 6463:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 6464:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 6465:     lt_cv_file_magic_cmd='func_win32_libid'
 6466:   else
 6467:     # Keep this pattern in sync with the one in func_win32_libid.
 6468:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 6469:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 6470:   fi
 6471:   ;;
 6472: 
 6473: cegcc*)
 6474:   # use the weaker test based on 'objdump'. See mingw*.
 6475:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 6476:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 6477:   ;;
 6478: 
 6479: darwin* | rhapsody*)
 6480:   lt_cv_deplibs_check_method=pass_all
 6481:   ;;
 6482: 
 6483: freebsd* | dragonfly*)
 6484:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6485:     case $host_cpu in
 6486:     i*86 )
 6487:       # Not sure whether the presence of OpenBSD here was a mistake.
 6488:       # Let's accept both of them until this is cleared up.
 6489:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 6490:       lt_cv_file_magic_cmd=/usr/bin/file
 6491:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 6492:       ;;
 6493:     esac
 6494:   else
 6495:     lt_cv_deplibs_check_method=pass_all
 6496:   fi
 6497:   ;;
 6498: 
 6499: gnu*)
 6500:   lt_cv_deplibs_check_method=pass_all
 6501:   ;;
 6502: 
 6503: haiku*)
 6504:   lt_cv_deplibs_check_method=pass_all
 6505:   ;;
 6506: 
 6507: hpux10.20* | hpux11*)
 6508:   lt_cv_file_magic_cmd=/usr/bin/file
 6509:   case $host_cpu in
 6510:   ia64*)
 6511:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 6512:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 6513:     ;;
 6514:   hppa*64*)
 6515:     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]'
 6516:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 6517:     ;;
 6518:   *)
 6519:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 6520:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 6521:     ;;
 6522:   esac
 6523:   ;;
 6524: 
 6525: interix[3-9]*)
 6526:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 6527:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 6528:   ;;
 6529: 
 6530: irix5* | irix6* | nonstopux*)
 6531:   case $LD in
 6532:   *-32|*"-32 ") libmagic=32-bit;;
 6533:   *-n32|*"-n32 ") libmagic=N32;;
 6534:   *-64|*"-64 ") libmagic=64-bit;;
 6535:   *) libmagic=never-match;;
 6536:   esac
 6537:   lt_cv_deplibs_check_method=pass_all
 6538:   ;;
 6539: 
 6540: # This must be Linux ELF.
 6541: linux* | k*bsd*-gnu | kopensolaris*-gnu)
 6542:   lt_cv_deplibs_check_method=pass_all
 6543:   ;;
 6544: 
 6545: netbsd*)
 6546:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 6547:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6548:   else
 6549:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 6550:   fi
 6551:   ;;
 6552: 
 6553: newos6*)
 6554:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 6555:   lt_cv_file_magic_cmd=/usr/bin/file
 6556:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 6557:   ;;
 6558: 
 6559: *nto* | *qnx*)
 6560:   lt_cv_deplibs_check_method=pass_all
 6561:   ;;
 6562: 
 6563: openbsd*)
 6564:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 6565:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 6566:   else
 6567:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 6568:   fi
 6569:   ;;
 6570: 
 6571: osf3* | osf4* | osf5*)
 6572:   lt_cv_deplibs_check_method=pass_all
 6573:   ;;
 6574: 
 6575: rdos*)
 6576:   lt_cv_deplibs_check_method=pass_all
 6577:   ;;
 6578: 
 6579: solaris*)
 6580:   lt_cv_deplibs_check_method=pass_all
 6581:   ;;
 6582: 
 6583: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 6584:   lt_cv_deplibs_check_method=pass_all
 6585:   ;;
 6586: 
 6587: sysv4 | sysv4.3*)
 6588:   case $host_vendor in
 6589:   motorola)
 6590:     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]'
 6591:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 6592:     ;;
 6593:   ncr)
 6594:     lt_cv_deplibs_check_method=pass_all
 6595:     ;;
 6596:   sequent)
 6597:     lt_cv_file_magic_cmd='/bin/file'
 6598:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 6599:     ;;
 6600:   sni)
 6601:     lt_cv_file_magic_cmd='/bin/file'
 6602:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 6603:     lt_cv_file_magic_test_file=/lib/libc.so
 6604:     ;;
 6605:   siemens)
 6606:     lt_cv_deplibs_check_method=pass_all
 6607:     ;;
 6608:   pc)
 6609:     lt_cv_deplibs_check_method=pass_all
 6610:     ;;
 6611:   esac
 6612:   ;;
 6613: 
 6614: tpf*)
 6615:   lt_cv_deplibs_check_method=pass_all
 6616:   ;;
 6617: esac
 6618: 
 6619: fi
 6620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 6621: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 6622: 
 6623: file_magic_glob=
 6624: want_nocaseglob=no
 6625: if test "$build" = "$host"; then
 6626:   case $host_os in
 6627:   mingw* | pw32*)
 6628:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 6629:       want_nocaseglob=yes
 6630:     else
 6631:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 6632:     fi
 6633:     ;;
 6634:   esac
 6635: fi
 6636: 
 6637: file_magic_cmd=$lt_cv_file_magic_cmd
 6638: deplibs_check_method=$lt_cv_deplibs_check_method
 6639: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 6640: 
 6641: 
 6642: 
 6643: 
 6644: 
 6645: 
 6646: 
 6647: 
 6648: 
 6649: 
 6650: 
 6651: 
 6652: 
 6653: 
 6654: 
 6655: 
 6656: 
 6657: 
 6658: 
 6659: 
 6660: 
 6661: 
 6662: if test -n "$ac_tool_prefix"; then
 6663:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 6664: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 6665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6666: $as_echo_n "checking for $ac_word... " >&6; }
 6667: if ${ac_cv_prog_DLLTOOL+:} false; then :
 6668:   $as_echo_n "(cached) " >&6
 6669: else
 6670:   if test -n "$DLLTOOL"; then
 6671:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 6672: else
 6673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6674: for as_dir in $PATH
 6675: do
 6676:   IFS=$as_save_IFS
 6677:   test -z "$as_dir" && as_dir=.
 6678:     for ac_exec_ext in '' $ac_executable_extensions; do
 6679:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6680:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 6681:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6682:     break 2
 6683:   fi
 6684: done
 6685:   done
 6686: IFS=$as_save_IFS
 6687: 
 6688: fi
 6689: fi
 6690: DLLTOOL=$ac_cv_prog_DLLTOOL
 6691: if test -n "$DLLTOOL"; then
 6692:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 6693: $as_echo "$DLLTOOL" >&6; }
 6694: else
 6695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6696: $as_echo "no" >&6; }
 6697: fi
 6698: 
 6699: 
 6700: fi
 6701: if test -z "$ac_cv_prog_DLLTOOL"; then
 6702:   ac_ct_DLLTOOL=$DLLTOOL
 6703:   # Extract the first word of "dlltool", so it can be a program name with args.
 6704: set dummy dlltool; ac_word=$2
 6705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6706: $as_echo_n "checking for $ac_word... " >&6; }
 6707: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 6708:   $as_echo_n "(cached) " >&6
 6709: else
 6710:   if test -n "$ac_ct_DLLTOOL"; then
 6711:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 6712: else
 6713: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6714: for as_dir in $PATH
 6715: do
 6716:   IFS=$as_save_IFS
 6717:   test -z "$as_dir" && as_dir=.
 6718:     for ac_exec_ext in '' $ac_executable_extensions; do
 6719:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6720:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 6721:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6722:     break 2
 6723:   fi
 6724: done
 6725:   done
 6726: IFS=$as_save_IFS
 6727: 
 6728: fi
 6729: fi
 6730: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 6731: if test -n "$ac_ct_DLLTOOL"; then
 6732:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 6733: $as_echo "$ac_ct_DLLTOOL" >&6; }
 6734: else
 6735:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6736: $as_echo "no" >&6; }
 6737: fi
 6738: 
 6739:   if test "x$ac_ct_DLLTOOL" = x; then
 6740:     DLLTOOL="false"
 6741:   else
 6742:     case $cross_compiling:$ac_tool_warned in
 6743: yes:)
 6744: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6745: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6746: ac_tool_warned=yes ;;
 6747: esac
 6748:     DLLTOOL=$ac_ct_DLLTOOL
 6749:   fi
 6750: else
 6751:   DLLTOOL="$ac_cv_prog_DLLTOOL"
 6752: fi
 6753: 
 6754: test -z "$DLLTOOL" && DLLTOOL=dlltool
 6755: 
 6756: 
 6757: 
 6758: 
 6759: 
 6760: 
 6761: 
 6762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 6763: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 6764: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 6765:   $as_echo_n "(cached) " >&6
 6766: else
 6767:   lt_cv_sharedlib_from_linklib_cmd='unknown'
 6768: 
 6769: case $host_os in
 6770: cygwin* | mingw* | pw32* | cegcc*)
 6771:   # two different shell functions defined in ltmain.sh
 6772:   # decide which to use based on capabilities of $DLLTOOL
 6773:   case `$DLLTOOL --help 2>&1` in
 6774:   *--identify-strict*)
 6775:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 6776:     ;;
 6777:   *)
 6778:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 6779:     ;;
 6780:   esac
 6781:   ;;
 6782: *)
 6783:   # fallback: assume linklib IS sharedlib
 6784:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 6785:   ;;
 6786: esac
 6787: 
 6788: fi
 6789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 6790: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 6791: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 6792: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 6793: 
 6794: 
 6795: 
 6796: 
 6797: 
 6798: 
 6799: 
 6800: if test -n "$ac_tool_prefix"; then
 6801:   for ac_prog in ar
 6802:   do
 6803:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 6804: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 6805: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6806: $as_echo_n "checking for $ac_word... " >&6; }
 6807: if ${ac_cv_prog_AR+:} false; then :
 6808:   $as_echo_n "(cached) " >&6
 6809: else
 6810:   if test -n "$AR"; then
 6811:   ac_cv_prog_AR="$AR" # Let the user override the test.
 6812: else
 6813: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6814: for as_dir in $PATH
 6815: do
 6816:   IFS=$as_save_IFS
 6817:   test -z "$as_dir" && as_dir=.
 6818:     for ac_exec_ext in '' $ac_executable_extensions; do
 6819:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6820:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 6821:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6822:     break 2
 6823:   fi
 6824: done
 6825:   done
 6826: IFS=$as_save_IFS
 6827: 
 6828: fi
 6829: fi
 6830: AR=$ac_cv_prog_AR
 6831: if test -n "$AR"; then
 6832:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 6833: $as_echo "$AR" >&6; }
 6834: else
 6835:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6836: $as_echo "no" >&6; }
 6837: fi
 6838: 
 6839: 
 6840:     test -n "$AR" && break
 6841:   done
 6842: fi
 6843: if test -z "$AR"; then
 6844:   ac_ct_AR=$AR
 6845:   for ac_prog in ar
 6846: do
 6847:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 6848: set dummy $ac_prog; ac_word=$2
 6849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6850: $as_echo_n "checking for $ac_word... " >&6; }
 6851: if ${ac_cv_prog_ac_ct_AR+:} false; then :
 6852:   $as_echo_n "(cached) " >&6
 6853: else
 6854:   if test -n "$ac_ct_AR"; then
 6855:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 6856: else
 6857: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6858: for as_dir in $PATH
 6859: do
 6860:   IFS=$as_save_IFS
 6861:   test -z "$as_dir" && as_dir=.
 6862:     for ac_exec_ext in '' $ac_executable_extensions; do
 6863:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6864:     ac_cv_prog_ac_ct_AR="$ac_prog"
 6865:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6866:     break 2
 6867:   fi
 6868: done
 6869:   done
 6870: IFS=$as_save_IFS
 6871: 
 6872: fi
 6873: fi
 6874: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 6875: if test -n "$ac_ct_AR"; then
 6876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 6877: $as_echo "$ac_ct_AR" >&6; }
 6878: else
 6879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6880: $as_echo "no" >&6; }
 6881: fi
 6882: 
 6883: 
 6884:   test -n "$ac_ct_AR" && break
 6885: done
 6886: 
 6887:   if test "x$ac_ct_AR" = x; then
 6888:     AR="false"
 6889:   else
 6890:     case $cross_compiling:$ac_tool_warned in
 6891: yes:)
 6892: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6893: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6894: ac_tool_warned=yes ;;
 6895: esac
 6896:     AR=$ac_ct_AR
 6897:   fi
 6898: fi
 6899: 
 6900: : ${AR=ar}
 6901: : ${AR_FLAGS=cru}
 6902: 
 6903: 
 6904: 
 6905: 
 6906: 
 6907: 
 6908: 
 6909: 
 6910: 
 6911: 
 6912: 
 6913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 6914: $as_echo_n "checking for archiver @FILE support... " >&6; }
 6915: if ${lt_cv_ar_at_file+:} false; then :
 6916:   $as_echo_n "(cached) " >&6
 6917: else
 6918:   lt_cv_ar_at_file=no
 6919:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6920: /* end confdefs.h.  */
 6921: 
 6922: int
 6923: main ()
 6924: {
 6925: 
 6926:   ;
 6927:   return 0;
 6928: }
 6929: _ACEOF
 6930: if ac_fn_c_try_compile "$LINENO"; then :
 6931:   echo conftest.$ac_objext > conftest.lst
 6932:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 6933:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6934:   (eval $lt_ar_try) 2>&5
 6935:   ac_status=$?
 6936:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6937:   test $ac_status = 0; }
 6938:       if test "$ac_status" -eq 0; then
 6939: 	# Ensure the archiver fails upon bogus file names.
 6940: 	rm -f conftest.$ac_objext libconftest.a
 6941: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6942:   (eval $lt_ar_try) 2>&5
 6943:   ac_status=$?
 6944:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6945:   test $ac_status = 0; }
 6946: 	if test "$ac_status" -ne 0; then
 6947:           lt_cv_ar_at_file=@
 6948:         fi
 6949:       fi
 6950:       rm -f conftest.* libconftest.a
 6951: 
 6952: fi
 6953: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6954: 
 6955: fi
 6956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 6957: $as_echo "$lt_cv_ar_at_file" >&6; }
 6958: 
 6959: if test "x$lt_cv_ar_at_file" = xno; then
 6960:   archiver_list_spec=
 6961: else
 6962:   archiver_list_spec=$lt_cv_ar_at_file
 6963: fi
 6964: 
 6965: 
 6966: 
 6967: 
 6968: 
 6969: 
 6970: 
 6971: if test -n "$ac_tool_prefix"; then
 6972:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 6973: set dummy ${ac_tool_prefix}strip; ac_word=$2
 6974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6975: $as_echo_n "checking for $ac_word... " >&6; }
 6976: if ${ac_cv_prog_STRIP+:} false; then :
 6977:   $as_echo_n "(cached) " >&6
 6978: else
 6979:   if test -n "$STRIP"; then
 6980:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 6981: else
 6982: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6983: for as_dir in $PATH
 6984: do
 6985:   IFS=$as_save_IFS
 6986:   test -z "$as_dir" && as_dir=.
 6987:     for ac_exec_ext in '' $ac_executable_extensions; do
 6988:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6989:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6990:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6991:     break 2
 6992:   fi
 6993: done
 6994:   done
 6995: IFS=$as_save_IFS
 6996: 
 6997: fi
 6998: fi
 6999: STRIP=$ac_cv_prog_STRIP
 7000: if test -n "$STRIP"; then
 7001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 7002: $as_echo "$STRIP" >&6; }
 7003: else
 7004:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7005: $as_echo "no" >&6; }
 7006: fi
 7007: 
 7008: 
 7009: fi
 7010: if test -z "$ac_cv_prog_STRIP"; then
 7011:   ac_ct_STRIP=$STRIP
 7012:   # Extract the first word of "strip", so it can be a program name with args.
 7013: set dummy strip; ac_word=$2
 7014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7015: $as_echo_n "checking for $ac_word... " >&6; }
 7016: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 7017:   $as_echo_n "(cached) " >&6
 7018: else
 7019:   if test -n "$ac_ct_STRIP"; then
 7020:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 7021: else
 7022: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7023: for as_dir in $PATH
 7024: do
 7025:   IFS=$as_save_IFS
 7026:   test -z "$as_dir" && as_dir=.
 7027:     for ac_exec_ext in '' $ac_executable_extensions; do
 7028:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7029:     ac_cv_prog_ac_ct_STRIP="strip"
 7030:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7031:     break 2
 7032:   fi
 7033: done
 7034:   done
 7035: IFS=$as_save_IFS
 7036: 
 7037: fi
 7038: fi
 7039: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 7040: if test -n "$ac_ct_STRIP"; then
 7041:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 7042: $as_echo "$ac_ct_STRIP" >&6; }
 7043: else
 7044:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7045: $as_echo "no" >&6; }
 7046: fi
 7047: 
 7048:   if test "x$ac_ct_STRIP" = x; then
 7049:     STRIP=":"
 7050:   else
 7051:     case $cross_compiling:$ac_tool_warned in
 7052: yes:)
 7053: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7054: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7055: ac_tool_warned=yes ;;
 7056: esac
 7057:     STRIP=$ac_ct_STRIP
 7058:   fi
 7059: else
 7060:   STRIP="$ac_cv_prog_STRIP"
 7061: fi
 7062: 
 7063: test -z "$STRIP" && STRIP=:
 7064: 
 7065: 
 7066: 
 7067: 
 7068: 
 7069: 
 7070: if test -n "$ac_tool_prefix"; then
 7071:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 7072: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 7073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7074: $as_echo_n "checking for $ac_word... " >&6; }
 7075: if ${ac_cv_prog_RANLIB+:} false; then :
 7076:   $as_echo_n "(cached) " >&6
 7077: else
 7078:   if test -n "$RANLIB"; then
 7079:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 7080: else
 7081: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7082: for as_dir in $PATH
 7083: do
 7084:   IFS=$as_save_IFS
 7085:   test -z "$as_dir" && as_dir=.
 7086:     for ac_exec_ext in '' $ac_executable_extensions; do
 7087:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7088:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 7089:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7090:     break 2
 7091:   fi
 7092: done
 7093:   done
 7094: IFS=$as_save_IFS
 7095: 
 7096: fi
 7097: fi
 7098: RANLIB=$ac_cv_prog_RANLIB
 7099: if test -n "$RANLIB"; then
 7100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 7101: $as_echo "$RANLIB" >&6; }
 7102: else
 7103:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7104: $as_echo "no" >&6; }
 7105: fi
 7106: 
 7107: 
 7108: fi
 7109: if test -z "$ac_cv_prog_RANLIB"; then
 7110:   ac_ct_RANLIB=$RANLIB
 7111:   # Extract the first word of "ranlib", so it can be a program name with args.
 7112: set dummy ranlib; ac_word=$2
 7113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7114: $as_echo_n "checking for $ac_word... " >&6; }
 7115: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 7116:   $as_echo_n "(cached) " >&6
 7117: else
 7118:   if test -n "$ac_ct_RANLIB"; then
 7119:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 7120: else
 7121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7122: for as_dir in $PATH
 7123: do
 7124:   IFS=$as_save_IFS
 7125:   test -z "$as_dir" && as_dir=.
 7126:     for ac_exec_ext in '' $ac_executable_extensions; do
 7127:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7128:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 7129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7130:     break 2
 7131:   fi
 7132: done
 7133:   done
 7134: IFS=$as_save_IFS
 7135: 
 7136: fi
 7137: fi
 7138: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 7139: if test -n "$ac_ct_RANLIB"; then
 7140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 7141: $as_echo "$ac_ct_RANLIB" >&6; }
 7142: else
 7143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7144: $as_echo "no" >&6; }
 7145: fi
 7146: 
 7147:   if test "x$ac_ct_RANLIB" = x; then
 7148:     RANLIB=":"
 7149:   else
 7150:     case $cross_compiling:$ac_tool_warned in
 7151: yes:)
 7152: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7153: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7154: ac_tool_warned=yes ;;
 7155: esac
 7156:     RANLIB=$ac_ct_RANLIB
 7157:   fi
 7158: else
 7159:   RANLIB="$ac_cv_prog_RANLIB"
 7160: fi
 7161: 
 7162: test -z "$RANLIB" && RANLIB=:
 7163: 
 7164: 
 7165: 
 7166: 
 7167: 
 7168: 
 7169: # Determine commands to create old-style static archives.
 7170: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 7171: old_postinstall_cmds='chmod 644 $oldlib'
 7172: old_postuninstall_cmds=
 7173: 
 7174: if test -n "$RANLIB"; then
 7175:   case $host_os in
 7176:   openbsd*)
 7177:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 7178:     ;;
 7179:   *)
 7180:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 7181:     ;;
 7182:   esac
 7183:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 7184: fi
 7185: 
 7186: case $host_os in
 7187:   darwin*)
 7188:     lock_old_archive_extraction=yes ;;
 7189:   *)
 7190:     lock_old_archive_extraction=no ;;
 7191: esac
 7192: 
 7193: 
 7194: 
 7195: 
 7196: 
 7197: 
 7198: 
 7199: 
 7200: 
 7201: 
 7202: 
 7203: 
 7204: 
 7205: 
 7206: 
 7207: 
 7208: 
 7209: 
 7210: 
 7211: 
 7212: 
 7213: 
 7214: 
 7215: 
 7216: 
 7217: 
 7218: 
 7219: 
 7220: 
 7221: 
 7222: 
 7223: 
 7224: 
 7225: 
 7226: 
 7227: 
 7228: 
 7229: 
 7230: 
 7231: # If no C compiler was specified, use CC.
 7232: LTCC=${LTCC-"$CC"}
 7233: 
 7234: # If no C compiler flags were specified, use CFLAGS.
 7235: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7236: 
 7237: # Allow CC to be a program name with arguments.
 7238: compiler=$CC
 7239: 
 7240: 
 7241: # Check for command to grab the raw symbol name followed by C symbol from nm.
 7242: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 7243: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 7244: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 7245:   $as_echo_n "(cached) " >&6
 7246: else
 7247: 
 7248: # These are sane defaults that work on at least a few old systems.
 7249: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 7250: 
 7251: # Character class describing NM global symbol codes.
 7252: symcode='[BCDEGRST]'
 7253: 
 7254: # Regexp to match symbols that can be accessed directly from C.
 7255: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 7256: 
 7257: # Define system-specific variables.
 7258: case $host_os in
 7259: aix*)
 7260:   symcode='[BCDT]'
 7261:   ;;
 7262: cygwin* | mingw* | pw32* | cegcc*)
 7263:   symcode='[ABCDGISTW]'
 7264:   ;;
 7265: hpux*)
 7266:   if test "$host_cpu" = ia64; then
 7267:     symcode='[ABCDEGRST]'
 7268:   fi
 7269:   ;;
 7270: irix* | nonstopux*)
 7271:   symcode='[BCDEGRST]'
 7272:   ;;
 7273: osf*)
 7274:   symcode='[BCDEGQRST]'
 7275:   ;;
 7276: solaris*)
 7277:   symcode='[BDRT]'
 7278:   ;;
 7279: sco3.2v5*)
 7280:   symcode='[DT]'
 7281:   ;;
 7282: sysv4.2uw2*)
 7283:   symcode='[DT]'
 7284:   ;;
 7285: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 7286:   symcode='[ABDT]'
 7287:   ;;
 7288: sysv4)
 7289:   symcode='[DFNSTU]'
 7290:   ;;
 7291: esac
 7292: 
 7293: # If we're using GNU nm, then use its standard symbol codes.
 7294: case `$NM -V 2>&1` in
 7295: *GNU* | *'with BFD'*)
 7296:   symcode='[ABCDGIRSTW]' ;;
 7297: esac
 7298: 
 7299: # Transform an extracted symbol line into a proper C declaration.
 7300: # Some systems (esp. on ia64) link data and code symbols differently,
 7301: # so use this general approach.
 7302: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 7303: 
 7304: # Transform an extracted symbol line into symbol name and symbol address
 7305: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 7306: 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'"
 7307: 
 7308: # Handle CRLF in mingw tool chain
 7309: opt_cr=
 7310: case $build_os in
 7311: mingw*)
 7312:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 7313:   ;;
 7314: esac
 7315: 
 7316: # Try without a prefix underscore, then with it.
 7317: for ac_symprfx in "" "_"; do
 7318: 
 7319:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 7320:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 7321: 
 7322:   # Write the raw and C identifiers.
 7323:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7324:     # Fake it for dumpbin and say T for any non-static function
 7325:     # and D for any global variable.
 7326:     # Also find C++ and __fastcall symbols from MSVC++,
 7327:     # which start with @ or ?.
 7328:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 7329: "     {last_section=section; section=\$ 3};"\
 7330: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 7331: "     \$ 0!~/External *\|/{next};"\
 7332: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 7333: "     {if(hide[section]) next};"\
 7334: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 7335: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 7336: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 7337: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 7338: "     ' prfx=^$ac_symprfx"
 7339:   else
 7340:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 7341:   fi
 7342:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 7343: 
 7344:   # Check to see that the pipe works correctly.
 7345:   pipe_works=no
 7346: 
 7347:   rm -f conftest*
 7348:   cat > conftest.$ac_ext <<_LT_EOF
 7349: #ifdef __cplusplus
 7350: extern "C" {
 7351: #endif
 7352: char nm_test_var;
 7353: void nm_test_func(void);
 7354: void nm_test_func(void){}
 7355: #ifdef __cplusplus
 7356: }
 7357: #endif
 7358: int main(){nm_test_var='a';nm_test_func();return(0);}
 7359: _LT_EOF
 7360: 
 7361:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7362:   (eval $ac_compile) 2>&5
 7363:   ac_status=$?
 7364:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7365:   test $ac_status = 0; }; then
 7366:     # Now try to grab the symbols.
 7367:     nlist=conftest.nm
 7368:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 7369:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 7370:   ac_status=$?
 7371:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7372:   test $ac_status = 0; } && test -s "$nlist"; then
 7373:       # Try sorting and uniquifying the output.
 7374:       if sort "$nlist" | uniq > "$nlist"T; then
 7375: 	mv -f "$nlist"T "$nlist"
 7376:       else
 7377: 	rm -f "$nlist"T
 7378:       fi
 7379: 
 7380:       # Make sure that we snagged all the symbols we need.
 7381:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 7382: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 7383: 	  cat <<_LT_EOF > conftest.$ac_ext
 7384: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 7385: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 7386: /* DATA imports from DLLs on WIN32 con't be const, because runtime
 7387:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
 7388: # define LT_DLSYM_CONST
 7389: #elif defined(__osf__)
 7390: /* This system does not cope well with relocations in const data.  */
 7391: # define LT_DLSYM_CONST
 7392: #else
 7393: # define LT_DLSYM_CONST const
 7394: #endif
 7395: 
 7396: #ifdef __cplusplus
 7397: extern "C" {
 7398: #endif
 7399: 
 7400: _LT_EOF
 7401: 	  # Now generate the symbol file.
 7402: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 7403: 
 7404: 	  cat <<_LT_EOF >> conftest.$ac_ext
 7405: 
 7406: /* The mapping between symbol names and symbols.  */
 7407: LT_DLSYM_CONST struct {
 7408:   const char *name;
 7409:   void       *address;
 7410: }
 7411: lt__PROGRAM__LTX_preloaded_symbols[] =
 7412: {
 7413:   { "@PROGRAM@", (void *) 0 },
 7414: _LT_EOF
 7415: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 7416: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 7417:   {0, (void *) 0}
 7418: };
 7419: 
 7420: /* This works around a problem in FreeBSD linker */
 7421: #ifdef FREEBSD_WORKAROUND
 7422: static const void *lt_preloaded_setup() {
 7423:   return lt__PROGRAM__LTX_preloaded_symbols;
 7424: }
 7425: #endif
 7426: 
 7427: #ifdef __cplusplus
 7428: }
 7429: #endif
 7430: _LT_EOF
 7431: 	  # Now try linking the two files.
 7432: 	  mv conftest.$ac_objext conftstm.$ac_objext
 7433: 	  lt_globsym_save_LIBS=$LIBS
 7434: 	  lt_globsym_save_CFLAGS=$CFLAGS
 7435: 	  LIBS="conftstm.$ac_objext"
 7436: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 7437: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 7438:   (eval $ac_link) 2>&5
 7439:   ac_status=$?
 7440:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7441:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 7442: 	    pipe_works=yes
 7443: 	  fi
 7444: 	  LIBS=$lt_globsym_save_LIBS
 7445: 	  CFLAGS=$lt_globsym_save_CFLAGS
 7446: 	else
 7447: 	  echo "cannot find nm_test_func in $nlist" >&5
 7448: 	fi
 7449:       else
 7450: 	echo "cannot find nm_test_var in $nlist" >&5
 7451:       fi
 7452:     else
 7453:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 7454:     fi
 7455:   else
 7456:     echo "$progname: failed program was:" >&5
 7457:     cat conftest.$ac_ext >&5
 7458:   fi
 7459:   rm -rf conftest* conftst*
 7460: 
 7461:   # Do not use the global_symbol_pipe unless it works.
 7462:   if test "$pipe_works" = yes; then
 7463:     break
 7464:   else
 7465:     lt_cv_sys_global_symbol_pipe=
 7466:   fi
 7467: done
 7468: 
 7469: fi
 7470: 
 7471: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 7472:   lt_cv_sys_global_symbol_to_cdecl=
 7473: fi
 7474: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 7475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 7476: $as_echo "failed" >&6; }
 7477: else
 7478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 7479: $as_echo "ok" >&6; }
 7480: fi
 7481: 
 7482: # Response file support.
 7483: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 7484:   nm_file_list_spec='@'
 7485: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 7486:   nm_file_list_spec='@'
 7487: fi
 7488: 
 7489: 
 7490: 
 7491: 
 7492: 
 7493: 
 7494: 
 7495: 
 7496: 
 7497: 
 7498: 
 7499: 
 7500: 
 7501: 
 7502: 
 7503: 
 7504: 
 7505: 
 7506: 
 7507: 
 7508: 
 7509: 
 7510: 
 7511: 
 7512: 
 7513: 
 7514: 
 7515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 7516: $as_echo_n "checking for sysroot... " >&6; }
 7517: 
 7518: # Check whether --with-sysroot was given.
 7519: if test "${with_sysroot+set}" = set; then :
 7520:   withval=$with_sysroot;
 7521: else
 7522:   with_sysroot=no
 7523: fi
 7524: 
 7525: 
 7526: lt_sysroot=
 7527: case ${with_sysroot} in #(
 7528:  yes)
 7529:    if test "$GCC" = yes; then
 7530:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 7531:    fi
 7532:    ;; #(
 7533:  /*)
 7534:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 7535:    ;; #(
 7536:  no|'')
 7537:    ;; #(
 7538:  *)
 7539:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 7540: $as_echo "${with_sysroot}" >&6; }
 7541:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 7542:    ;;
 7543: esac
 7544: 
 7545:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 7546: $as_echo "${lt_sysroot:-no}" >&6; }
 7547: 
 7548: 
 7549: 
 7550: 
 7551: 
 7552: # Check whether --enable-libtool-lock was given.
 7553: if test "${enable_libtool_lock+set}" = set; then :
 7554:   enableval=$enable_libtool_lock;
 7555: fi
 7556: 
 7557: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 7558: 
 7559: # Some flags need to be propagated to the compiler or linker for good
 7560: # libtool support.
 7561: case $host in
 7562: ia64-*-hpux*)
 7563:   # Find out which ABI we are using.
 7564:   echo 'int i;' > conftest.$ac_ext
 7565:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7566:   (eval $ac_compile) 2>&5
 7567:   ac_status=$?
 7568:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7569:   test $ac_status = 0; }; then
 7570:     case `/usr/bin/file conftest.$ac_objext` in
 7571:       *ELF-32*)
 7572: 	HPUX_IA64_MODE="32"
 7573: 	;;
 7574:       *ELF-64*)
 7575: 	HPUX_IA64_MODE="64"
 7576: 	;;
 7577:     esac
 7578:   fi
 7579:   rm -rf conftest*
 7580:   ;;
 7581: *-*-irix6*)
 7582:   # Find out which ABI we are using.
 7583:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 7584:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7585:   (eval $ac_compile) 2>&5
 7586:   ac_status=$?
 7587:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7588:   test $ac_status = 0; }; then
 7589:     if test "$lt_cv_prog_gnu_ld" = yes; then
 7590:       case `/usr/bin/file conftest.$ac_objext` in
 7591: 	*32-bit*)
 7592: 	  LD="${LD-ld} -melf32bsmip"
 7593: 	  ;;
 7594: 	*N32*)
 7595: 	  LD="${LD-ld} -melf32bmipn32"
 7596: 	  ;;
 7597: 	*64-bit*)
 7598: 	  LD="${LD-ld} -melf64bmip"
 7599: 	;;
 7600:       esac
 7601:     else
 7602:       case `/usr/bin/file conftest.$ac_objext` in
 7603: 	*32-bit*)
 7604: 	  LD="${LD-ld} -32"
 7605: 	  ;;
 7606: 	*N32*)
 7607: 	  LD="${LD-ld} -n32"
 7608: 	  ;;
 7609: 	*64-bit*)
 7610: 	  LD="${LD-ld} -64"
 7611: 	  ;;
 7612:       esac
 7613:     fi
 7614:   fi
 7615:   rm -rf conftest*
 7616:   ;;
 7617: 
 7618: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 7619: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 7620:   # Find out which ABI we are using.
 7621:   echo 'int i;' > conftest.$ac_ext
 7622:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7623:   (eval $ac_compile) 2>&5
 7624:   ac_status=$?
 7625:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7626:   test $ac_status = 0; }; then
 7627:     case `/usr/bin/file conftest.o` in
 7628:       *32-bit*)
 7629: 	case $host in
 7630: 	  x86_64-*kfreebsd*-gnu)
 7631: 	    LD="${LD-ld} -m elf_i386_fbsd"
 7632: 	    ;;
 7633: 	  x86_64-*linux*)
 7634: 	    LD="${LD-ld} -m elf_i386"
 7635: 	    ;;
 7636: 	  ppc64-*linux*|powerpc64-*linux*)
 7637: 	    LD="${LD-ld} -m elf32ppclinux"
 7638: 	    ;;
 7639: 	  s390x-*linux*)
 7640: 	    LD="${LD-ld} -m elf_s390"
 7641: 	    ;;
 7642: 	  sparc64-*linux*)
 7643: 	    LD="${LD-ld} -m elf32_sparc"
 7644: 	    ;;
 7645: 	esac
 7646: 	;;
 7647:       *64-bit*)
 7648: 	case $host in
 7649: 	  x86_64-*kfreebsd*-gnu)
 7650: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 7651: 	    ;;
 7652: 	  x86_64-*linux*)
 7653: 	    LD="${LD-ld} -m elf_x86_64"
 7654: 	    ;;
 7655: 	  ppc*-*linux*|powerpc*-*linux*)
 7656: 	    LD="${LD-ld} -m elf64ppc"
 7657: 	    ;;
 7658: 	  s390*-*linux*|s390*-*tpf*)
 7659: 	    LD="${LD-ld} -m elf64_s390"
 7660: 	    ;;
 7661: 	  sparc*-*linux*)
 7662: 	    LD="${LD-ld} -m elf64_sparc"
 7663: 	    ;;
 7664: 	esac
 7665: 	;;
 7666:     esac
 7667:   fi
 7668:   rm -rf conftest*
 7669:   ;;
 7670: 
 7671: *-*-sco3.2v5*)
 7672:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 7673:   SAVE_CFLAGS="$CFLAGS"
 7674:   CFLAGS="$CFLAGS -belf"
 7675:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 7676: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 7677: if ${lt_cv_cc_needs_belf+:} false; then :
 7678:   $as_echo_n "(cached) " >&6
 7679: else
 7680:   ac_ext=c
 7681: ac_cpp='$CPP $CPPFLAGS'
 7682: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7683: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7684: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7685: 
 7686:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7687: /* end confdefs.h.  */
 7688: 
 7689: int
 7690: main ()
 7691: {
 7692: 
 7693:   ;
 7694:   return 0;
 7695: }
 7696: _ACEOF
 7697: if ac_fn_c_try_link "$LINENO"; then :
 7698:   lt_cv_cc_needs_belf=yes
 7699: else
 7700:   lt_cv_cc_needs_belf=no
 7701: fi
 7702: rm -f core conftest.err conftest.$ac_objext \
 7703:     conftest$ac_exeext conftest.$ac_ext
 7704:      ac_ext=c
 7705: ac_cpp='$CPP $CPPFLAGS'
 7706: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7707: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7708: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7709: 
 7710: fi
 7711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 7712: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 7713:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 7714:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 7715:     CFLAGS="$SAVE_CFLAGS"
 7716:   fi
 7717:   ;;
 7718: sparc*-*solaris*)
 7719:   # Find out which ABI we are using.
 7720:   echo 'int i;' > conftest.$ac_ext
 7721:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 7722:   (eval $ac_compile) 2>&5
 7723:   ac_status=$?
 7724:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 7725:   test $ac_status = 0; }; then
 7726:     case `/usr/bin/file conftest.o` in
 7727:     *64-bit*)
 7728:       case $lt_cv_prog_gnu_ld in
 7729:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 7730:       *)
 7731: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 7732: 	  LD="${LD-ld} -64"
 7733: 	fi
 7734: 	;;
 7735:       esac
 7736:       ;;
 7737:     esac
 7738:   fi
 7739:   rm -rf conftest*
 7740:   ;;
 7741: esac
 7742: 
 7743: need_locks="$enable_libtool_lock"
 7744: 
 7745: if test -n "$ac_tool_prefix"; then
 7746:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 7747: set dummy ${ac_tool_prefix}mt; ac_word=$2
 7748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7749: $as_echo_n "checking for $ac_word... " >&6; }
 7750: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 7751:   $as_echo_n "(cached) " >&6
 7752: else
 7753:   if test -n "$MANIFEST_TOOL"; then
 7754:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 7755: else
 7756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7757: for as_dir in $PATH
 7758: do
 7759:   IFS=$as_save_IFS
 7760:   test -z "$as_dir" && as_dir=.
 7761:     for ac_exec_ext in '' $ac_executable_extensions; do
 7762:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7763:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 7764:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7765:     break 2
 7766:   fi
 7767: done
 7768:   done
 7769: IFS=$as_save_IFS
 7770: 
 7771: fi
 7772: fi
 7773: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 7774: if test -n "$MANIFEST_TOOL"; then
 7775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 7776: $as_echo "$MANIFEST_TOOL" >&6; }
 7777: else
 7778:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7779: $as_echo "no" >&6; }
 7780: fi
 7781: 
 7782: 
 7783: fi
 7784: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 7785:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 7786:   # Extract the first word of "mt", so it can be a program name with args.
 7787: set dummy mt; ac_word=$2
 7788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7789: $as_echo_n "checking for $ac_word... " >&6; }
 7790: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 7791:   $as_echo_n "(cached) " >&6
 7792: else
 7793:   if test -n "$ac_ct_MANIFEST_TOOL"; then
 7794:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 7795: else
 7796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7797: for as_dir in $PATH
 7798: do
 7799:   IFS=$as_save_IFS
 7800:   test -z "$as_dir" && as_dir=.
 7801:     for ac_exec_ext in '' $ac_executable_extensions; do
 7802:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7803:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 7804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7805:     break 2
 7806:   fi
 7807: done
 7808:   done
 7809: IFS=$as_save_IFS
 7810: 
 7811: fi
 7812: fi
 7813: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 7814: if test -n "$ac_ct_MANIFEST_TOOL"; then
 7815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 7816: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 7817: else
 7818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7819: $as_echo "no" >&6; }
 7820: fi
 7821: 
 7822:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
 7823:     MANIFEST_TOOL=":"
 7824:   else
 7825:     case $cross_compiling:$ac_tool_warned in
 7826: yes:)
 7827: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7828: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7829: ac_tool_warned=yes ;;
 7830: esac
 7831:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 7832:   fi
 7833: else
 7834:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 7835: fi
 7836: 
 7837: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 7838: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 7839: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 7840: if ${lt_cv_path_mainfest_tool+:} false; then :
 7841:   $as_echo_n "(cached) " >&6
 7842: else
 7843:   lt_cv_path_mainfest_tool=no
 7844:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 7845:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 7846:   cat conftest.err >&5
 7847:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 7848:     lt_cv_path_mainfest_tool=yes
 7849:   fi
 7850:   rm -f conftest*
 7851: fi
 7852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 7853: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
 7854: if test "x$lt_cv_path_mainfest_tool" != xyes; then
 7855:   MANIFEST_TOOL=:
 7856: fi
 7857: 
 7858: 
 7859: 
 7860: 
 7861: 
 7862: 
 7863:   case $host_os in
 7864:     rhapsody* | darwin*)
 7865:     if test -n "$ac_tool_prefix"; then
 7866:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 7867: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 7868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7869: $as_echo_n "checking for $ac_word... " >&6; }
 7870: if ${ac_cv_prog_DSYMUTIL+:} false; then :
 7871:   $as_echo_n "(cached) " >&6
 7872: else
 7873:   if test -n "$DSYMUTIL"; then
 7874:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 7875: else
 7876: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7877: for as_dir in $PATH
 7878: do
 7879:   IFS=$as_save_IFS
 7880:   test -z "$as_dir" && as_dir=.
 7881:     for ac_exec_ext in '' $ac_executable_extensions; do
 7882:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7883:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 7884:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7885:     break 2
 7886:   fi
 7887: done
 7888:   done
 7889: IFS=$as_save_IFS
 7890: 
 7891: fi
 7892: fi
 7893: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 7894: if test -n "$DSYMUTIL"; then
 7895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 7896: $as_echo "$DSYMUTIL" >&6; }
 7897: else
 7898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7899: $as_echo "no" >&6; }
 7900: fi
 7901: 
 7902: 
 7903: fi
 7904: if test -z "$ac_cv_prog_DSYMUTIL"; then
 7905:   ac_ct_DSYMUTIL=$DSYMUTIL
 7906:   # Extract the first word of "dsymutil", so it can be a program name with args.
 7907: set dummy dsymutil; ac_word=$2
 7908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7909: $as_echo_n "checking for $ac_word... " >&6; }
 7910: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 7911:   $as_echo_n "(cached) " >&6
 7912: else
 7913:   if test -n "$ac_ct_DSYMUTIL"; then
 7914:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 7915: else
 7916: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7917: for as_dir in $PATH
 7918: do
 7919:   IFS=$as_save_IFS
 7920:   test -z "$as_dir" && as_dir=.
 7921:     for ac_exec_ext in '' $ac_executable_extensions; do
 7922:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7923:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 7924:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7925:     break 2
 7926:   fi
 7927: done
 7928:   done
 7929: IFS=$as_save_IFS
 7930: 
 7931: fi
 7932: fi
 7933: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 7934: if test -n "$ac_ct_DSYMUTIL"; then
 7935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 7936: $as_echo "$ac_ct_DSYMUTIL" >&6; }
 7937: else
 7938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7939: $as_echo "no" >&6; }
 7940: fi
 7941: 
 7942:   if test "x$ac_ct_DSYMUTIL" = x; then
 7943:     DSYMUTIL=":"
 7944:   else
 7945:     case $cross_compiling:$ac_tool_warned in
 7946: yes:)
 7947: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7948: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7949: ac_tool_warned=yes ;;
 7950: esac
 7951:     DSYMUTIL=$ac_ct_DSYMUTIL
 7952:   fi
 7953: else
 7954:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 7955: fi
 7956: 
 7957:     if test -n "$ac_tool_prefix"; then
 7958:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 7959: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 7960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7961: $as_echo_n "checking for $ac_word... " >&6; }
 7962: if ${ac_cv_prog_NMEDIT+:} false; then :
 7963:   $as_echo_n "(cached) " >&6
 7964: else
 7965:   if test -n "$NMEDIT"; then
 7966:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 7967: else
 7968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7969: for as_dir in $PATH
 7970: do
 7971:   IFS=$as_save_IFS
 7972:   test -z "$as_dir" && as_dir=.
 7973:     for ac_exec_ext in '' $ac_executable_extensions; do
 7974:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7975:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 7976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7977:     break 2
 7978:   fi
 7979: done
 7980:   done
 7981: IFS=$as_save_IFS
 7982: 
 7983: fi
 7984: fi
 7985: NMEDIT=$ac_cv_prog_NMEDIT
 7986: if test -n "$NMEDIT"; then
 7987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 7988: $as_echo "$NMEDIT" >&6; }
 7989: else
 7990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7991: $as_echo "no" >&6; }
 7992: fi
 7993: 
 7994: 
 7995: fi
 7996: if test -z "$ac_cv_prog_NMEDIT"; then
 7997:   ac_ct_NMEDIT=$NMEDIT
 7998:   # Extract the first word of "nmedit", so it can be a program name with args.
 7999: set dummy nmedit; ac_word=$2
 8000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8001: $as_echo_n "checking for $ac_word... " >&6; }
 8002: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 8003:   $as_echo_n "(cached) " >&6
 8004: else
 8005:   if test -n "$ac_ct_NMEDIT"; then
 8006:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 8007: else
 8008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8009: for as_dir in $PATH
 8010: do
 8011:   IFS=$as_save_IFS
 8012:   test -z "$as_dir" && as_dir=.
 8013:     for ac_exec_ext in '' $ac_executable_extensions; do
 8014:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8015:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 8016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8017:     break 2
 8018:   fi
 8019: done
 8020:   done
 8021: IFS=$as_save_IFS
 8022: 
 8023: fi
 8024: fi
 8025: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 8026: if test -n "$ac_ct_NMEDIT"; then
 8027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 8028: $as_echo "$ac_ct_NMEDIT" >&6; }
 8029: else
 8030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8031: $as_echo "no" >&6; }
 8032: fi
 8033: 
 8034:   if test "x$ac_ct_NMEDIT" = x; then
 8035:     NMEDIT=":"
 8036:   else
 8037:     case $cross_compiling:$ac_tool_warned in
 8038: yes:)
 8039: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8040: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8041: ac_tool_warned=yes ;;
 8042: esac
 8043:     NMEDIT=$ac_ct_NMEDIT
 8044:   fi
 8045: else
 8046:   NMEDIT="$ac_cv_prog_NMEDIT"
 8047: fi
 8048: 
 8049:     if test -n "$ac_tool_prefix"; then
 8050:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 8051: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 8052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8053: $as_echo_n "checking for $ac_word... " >&6; }
 8054: if ${ac_cv_prog_LIPO+:} false; then :
 8055:   $as_echo_n "(cached) " >&6
 8056: else
 8057:   if test -n "$LIPO"; then
 8058:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 8059: else
 8060: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8061: for as_dir in $PATH
 8062: do
 8063:   IFS=$as_save_IFS
 8064:   test -z "$as_dir" && as_dir=.
 8065:     for ac_exec_ext in '' $ac_executable_extensions; do
 8066:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8067:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 8068:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8069:     break 2
 8070:   fi
 8071: done
 8072:   done
 8073: IFS=$as_save_IFS
 8074: 
 8075: fi
 8076: fi
 8077: LIPO=$ac_cv_prog_LIPO
 8078: if test -n "$LIPO"; then
 8079:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 8080: $as_echo "$LIPO" >&6; }
 8081: else
 8082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8083: $as_echo "no" >&6; }
 8084: fi
 8085: 
 8086: 
 8087: fi
 8088: if test -z "$ac_cv_prog_LIPO"; then
 8089:   ac_ct_LIPO=$LIPO
 8090:   # Extract the first word of "lipo", so it can be a program name with args.
 8091: set dummy lipo; ac_word=$2
 8092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8093: $as_echo_n "checking for $ac_word... " >&6; }
 8094: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 8095:   $as_echo_n "(cached) " >&6
 8096: else
 8097:   if test -n "$ac_ct_LIPO"; then
 8098:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 8099: else
 8100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8101: for as_dir in $PATH
 8102: do
 8103:   IFS=$as_save_IFS
 8104:   test -z "$as_dir" && as_dir=.
 8105:     for ac_exec_ext in '' $ac_executable_extensions; do
 8106:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8107:     ac_cv_prog_ac_ct_LIPO="lipo"
 8108:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8109:     break 2
 8110:   fi
 8111: done
 8112:   done
 8113: IFS=$as_save_IFS
 8114: 
 8115: fi
 8116: fi
 8117: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 8118: if test -n "$ac_ct_LIPO"; then
 8119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 8120: $as_echo "$ac_ct_LIPO" >&6; }
 8121: else
 8122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8123: $as_echo "no" >&6; }
 8124: fi
 8125: 
 8126:   if test "x$ac_ct_LIPO" = x; then
 8127:     LIPO=":"
 8128:   else
 8129:     case $cross_compiling:$ac_tool_warned in
 8130: yes:)
 8131: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8132: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8133: ac_tool_warned=yes ;;
 8134: esac
 8135:     LIPO=$ac_ct_LIPO
 8136:   fi
 8137: else
 8138:   LIPO="$ac_cv_prog_LIPO"
 8139: fi
 8140: 
 8141:     if test -n "$ac_tool_prefix"; then
 8142:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 8143: set dummy ${ac_tool_prefix}otool; ac_word=$2
 8144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8145: $as_echo_n "checking for $ac_word... " >&6; }
 8146: if ${ac_cv_prog_OTOOL+:} false; then :
 8147:   $as_echo_n "(cached) " >&6
 8148: else
 8149:   if test -n "$OTOOL"; then
 8150:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 8151: else
 8152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8153: for as_dir in $PATH
 8154: do
 8155:   IFS=$as_save_IFS
 8156:   test -z "$as_dir" && as_dir=.
 8157:     for ac_exec_ext in '' $ac_executable_extensions; do
 8158:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8159:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 8160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8161:     break 2
 8162:   fi
 8163: done
 8164:   done
 8165: IFS=$as_save_IFS
 8166: 
 8167: fi
 8168: fi
 8169: OTOOL=$ac_cv_prog_OTOOL
 8170: if test -n "$OTOOL"; then
 8171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 8172: $as_echo "$OTOOL" >&6; }
 8173: else
 8174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8175: $as_echo "no" >&6; }
 8176: fi
 8177: 
 8178: 
 8179: fi
 8180: if test -z "$ac_cv_prog_OTOOL"; then
 8181:   ac_ct_OTOOL=$OTOOL
 8182:   # Extract the first word of "otool", so it can be a program name with args.
 8183: set dummy otool; ac_word=$2
 8184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8185: $as_echo_n "checking for $ac_word... " >&6; }
 8186: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 8187:   $as_echo_n "(cached) " >&6
 8188: else
 8189:   if test -n "$ac_ct_OTOOL"; then
 8190:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 8191: else
 8192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8193: for as_dir in $PATH
 8194: do
 8195:   IFS=$as_save_IFS
 8196:   test -z "$as_dir" && as_dir=.
 8197:     for ac_exec_ext in '' $ac_executable_extensions; do
 8198:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8199:     ac_cv_prog_ac_ct_OTOOL="otool"
 8200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8201:     break 2
 8202:   fi
 8203: done
 8204:   done
 8205: IFS=$as_save_IFS
 8206: 
 8207: fi
 8208: fi
 8209: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 8210: if test -n "$ac_ct_OTOOL"; then
 8211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 8212: $as_echo "$ac_ct_OTOOL" >&6; }
 8213: else
 8214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8215: $as_echo "no" >&6; }
 8216: fi
 8217: 
 8218:   if test "x$ac_ct_OTOOL" = x; then
 8219:     OTOOL=":"
 8220:   else
 8221:     case $cross_compiling:$ac_tool_warned in
 8222: yes:)
 8223: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8224: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8225: ac_tool_warned=yes ;;
 8226: esac
 8227:     OTOOL=$ac_ct_OTOOL
 8228:   fi
 8229: else
 8230:   OTOOL="$ac_cv_prog_OTOOL"
 8231: fi
 8232: 
 8233:     if test -n "$ac_tool_prefix"; then
 8234:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 8235: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 8236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8237: $as_echo_n "checking for $ac_word... " >&6; }
 8238: if ${ac_cv_prog_OTOOL64+:} false; then :
 8239:   $as_echo_n "(cached) " >&6
 8240: else
 8241:   if test -n "$OTOOL64"; then
 8242:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 8243: else
 8244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8245: for as_dir in $PATH
 8246: do
 8247:   IFS=$as_save_IFS
 8248:   test -z "$as_dir" && as_dir=.
 8249:     for ac_exec_ext in '' $ac_executable_extensions; do
 8250:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8251:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 8252:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8253:     break 2
 8254:   fi
 8255: done
 8256:   done
 8257: IFS=$as_save_IFS
 8258: 
 8259: fi
 8260: fi
 8261: OTOOL64=$ac_cv_prog_OTOOL64
 8262: if test -n "$OTOOL64"; then
 8263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 8264: $as_echo "$OTOOL64" >&6; }
 8265: else
 8266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8267: $as_echo "no" >&6; }
 8268: fi
 8269: 
 8270: 
 8271: fi
 8272: if test -z "$ac_cv_prog_OTOOL64"; then
 8273:   ac_ct_OTOOL64=$OTOOL64
 8274:   # Extract the first word of "otool64", so it can be a program name with args.
 8275: set dummy otool64; ac_word=$2
 8276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8277: $as_echo_n "checking for $ac_word... " >&6; }
 8278: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 8279:   $as_echo_n "(cached) " >&6
 8280: else
 8281:   if test -n "$ac_ct_OTOOL64"; then
 8282:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 8283: else
 8284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8285: for as_dir in $PATH
 8286: do
 8287:   IFS=$as_save_IFS
 8288:   test -z "$as_dir" && as_dir=.
 8289:     for ac_exec_ext in '' $ac_executable_extensions; do
 8290:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 8291:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 8292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8293:     break 2
 8294:   fi
 8295: done
 8296:   done
 8297: IFS=$as_save_IFS
 8298: 
 8299: fi
 8300: fi
 8301: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 8302: if test -n "$ac_ct_OTOOL64"; then
 8303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 8304: $as_echo "$ac_ct_OTOOL64" >&6; }
 8305: else
 8306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8307: $as_echo "no" >&6; }
 8308: fi
 8309: 
 8310:   if test "x$ac_ct_OTOOL64" = x; then
 8311:     OTOOL64=":"
 8312:   else
 8313:     case $cross_compiling:$ac_tool_warned in
 8314: yes:)
 8315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8316: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8317: ac_tool_warned=yes ;;
 8318: esac
 8319:     OTOOL64=$ac_ct_OTOOL64
 8320:   fi
 8321: else
 8322:   OTOOL64="$ac_cv_prog_OTOOL64"
 8323: fi
 8324: 
 8325: 
 8326: 
 8327: 
 8328: 
 8329: 
 8330: 
 8331: 
 8332: 
 8333: 
 8334: 
 8335: 
 8336: 
 8337: 
 8338: 
 8339: 
 8340: 
 8341: 
 8342: 
 8343: 
 8344: 
 8345: 
 8346: 
 8347: 
 8348: 
 8349: 
 8350: 
 8351:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 8352: $as_echo_n "checking for -single_module linker flag... " >&6; }
 8353: if ${lt_cv_apple_cc_single_mod+:} false; then :
 8354:   $as_echo_n "(cached) " >&6
 8355: else
 8356:   lt_cv_apple_cc_single_mod=no
 8357:       if test -z "${LT_MULTI_MODULE}"; then
 8358: 	# By default we will add the -single_module flag. You can override
 8359: 	# by either setting the environment variable LT_MULTI_MODULE
 8360: 	# non-empty at configure time, or by adding -multi_module to the
 8361: 	# link flags.
 8362: 	rm -rf libconftest.dylib*
 8363: 	echo "int foo(void){return 1;}" > conftest.c
 8364: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8365: -dynamiclib -Wl,-single_module conftest.c" >&5
 8366: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 8367: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 8368:         _lt_result=$?
 8369: 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 8370: 	  lt_cv_apple_cc_single_mod=yes
 8371: 	else
 8372: 	  cat conftest.err >&5
 8373: 	fi
 8374: 	rm -rf libconftest.dylib*
 8375: 	rm -f conftest.*
 8376:       fi
 8377: fi
 8378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 8379: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 8380:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 8381: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 8382: if ${lt_cv_ld_exported_symbols_list+:} false; then :
 8383:   $as_echo_n "(cached) " >&6
 8384: else
 8385:   lt_cv_ld_exported_symbols_list=no
 8386:       save_LDFLAGS=$LDFLAGS
 8387:       echo "_main" > conftest.sym
 8388:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 8389:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8390: /* end confdefs.h.  */
 8391: 
 8392: int
 8393: main ()
 8394: {
 8395: 
 8396:   ;
 8397:   return 0;
 8398: }
 8399: _ACEOF
 8400: if ac_fn_c_try_link "$LINENO"; then :
 8401:   lt_cv_ld_exported_symbols_list=yes
 8402: else
 8403:   lt_cv_ld_exported_symbols_list=no
 8404: fi
 8405: rm -f core conftest.err conftest.$ac_objext \
 8406:     conftest$ac_exeext conftest.$ac_ext
 8407: 	LDFLAGS="$save_LDFLAGS"
 8408: 
 8409: fi
 8410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 8411: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 8412:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 8413: $as_echo_n "checking for -force_load linker flag... " >&6; }
 8414: if ${lt_cv_ld_force_load+:} false; then :
 8415:   $as_echo_n "(cached) " >&6
 8416: else
 8417:   lt_cv_ld_force_load=no
 8418:       cat > conftest.c << _LT_EOF
 8419: int forced_loaded() { return 2;}
 8420: _LT_EOF
 8421:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 8422:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 8423:       echo "$AR cru libconftest.a conftest.o" >&5
 8424:       $AR cru libconftest.a conftest.o 2>&5
 8425:       echo "$RANLIB libconftest.a" >&5
 8426:       $RANLIB libconftest.a 2>&5
 8427:       cat > conftest.c << _LT_EOF
 8428: int main() { return 0;}
 8429: _LT_EOF
 8430:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 8431:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 8432:       _lt_result=$?
 8433:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 8434: 	lt_cv_ld_force_load=yes
 8435:       else
 8436: 	cat conftest.err >&5
 8437:       fi
 8438:         rm -f conftest.err libconftest.a conftest conftest.c
 8439:         rm -rf conftest.dSYM
 8440: 
 8441: fi
 8442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 8443: $as_echo "$lt_cv_ld_force_load" >&6; }
 8444:     case $host_os in
 8445:     rhapsody* | darwin1.[012])
 8446:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 8447:     darwin1.*)
 8448:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 8449:     darwin*) # darwin 5.x on
 8450:       # if running on 10.5 or later, the deployment target defaults
 8451:       # to the OS version, if on x86, and 10.4, the deployment
 8452:       # target defaults to 10.4. Don't you love it?
 8453:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 8454: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 8455: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 8456: 	10.[012]*)
 8457: 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 8458: 	10.*)
 8459: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 8460:       esac
 8461:     ;;
 8462:   esac
 8463:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 8464:       _lt_dar_single_mod='$single_module'
 8465:     fi
 8466:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 8467:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 8468:     else
 8469:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 8470:     fi
 8471:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 8472:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 8473:     else
 8474:       _lt_dsymutil=
 8475:     fi
 8476:     ;;
 8477:   esac
 8478: 
 8479: for ac_header in dlfcn.h
 8480: do :
 8481:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 8482: "
 8483: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 8484:   cat >>confdefs.h <<_ACEOF
 8485: #define HAVE_DLFCN_H 1
 8486: _ACEOF
 8487: 
 8488: fi
 8489: 
 8490: done
 8491: 
 8492: 
 8493: 
 8494: func_stripname_cnf ()
 8495: {
 8496:   case ${2} in
 8497:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 8498:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 8499:   esac
 8500: } # func_stripname_cnf
 8501: 
 8502: 
 8503: 
 8504: 
 8505: 
 8506: # Set options
 8507: 
 8508: 
 8509: 
 8510:         enable_dlopen=no
 8511: 
 8512: 
 8513: 
 8514:             # Check whether --enable-shared was given.
 8515: if test "${enable_shared+set}" = set; then :
 8516:   enableval=$enable_shared; p=${PACKAGE-default}
 8517:     case $enableval in
 8518:     yes) enable_shared=yes ;;
 8519:     no) enable_shared=no ;;
 8520:     *)
 8521:       enable_shared=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_shared=yes
 8528: 	fi
 8529:       done
 8530:       IFS="$lt_save_ifs"
 8531:       ;;
 8532:     esac
 8533: else
 8534:   enable_shared=yes
 8535: fi
 8536: 
 8537: 
 8538: 
 8539: 
 8540: 
 8541: 
 8542: 
 8543: 
 8544: 
 8545:   # Check whether --enable-static was given.
 8546: if test "${enable_static+set}" = set; then :
 8547:   enableval=$enable_static; p=${PACKAGE-default}
 8548:     case $enableval in
 8549:     yes) enable_static=yes ;;
 8550:     no) enable_static=no ;;
 8551:     *)
 8552:      enable_static=no
 8553:       # Look at the argument we got.  We use all the common list separators.
 8554:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8555:       for pkg in $enableval; do
 8556: 	IFS="$lt_save_ifs"
 8557: 	if test "X$pkg" = "X$p"; then
 8558: 	  enable_static=yes
 8559: 	fi
 8560:       done
 8561:       IFS="$lt_save_ifs"
 8562:       ;;
 8563:     esac
 8564: else
 8565:   enable_static=yes
 8566: fi
 8567: 
 8568: 
 8569: 
 8570: 
 8571: 
 8572: 
 8573: 
 8574: 
 8575: 
 8576: 
 8577: # Check whether --with-pic was given.
 8578: if test "${with_pic+set}" = set; then :
 8579:   withval=$with_pic; pic_mode="$withval"
 8580: else
 8581:   pic_mode=default
 8582: fi
 8583: 
 8584: 
 8585: test -z "$pic_mode" && pic_mode=default
 8586: 
 8587: 
 8588: 
 8589: 
 8590: 
 8591: 
 8592: 
 8593:   # Check whether --enable-fast-install was given.
 8594: if test "${enable_fast_install+set}" = set; then :
 8595:   enableval=$enable_fast_install; p=${PACKAGE-default}
 8596:     case $enableval in
 8597:     yes) enable_fast_install=yes ;;
 8598:     no) enable_fast_install=no ;;
 8599:     *)
 8600:       enable_fast_install=no
 8601:       # Look at the argument we got.  We use all the common list separators.
 8602:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8603:       for pkg in $enableval; do
 8604: 	IFS="$lt_save_ifs"
 8605: 	if test "X$pkg" = "X$p"; then
 8606: 	  enable_fast_install=yes
 8607: 	fi
 8608:       done
 8609:       IFS="$lt_save_ifs"
 8610:       ;;
 8611:     esac
 8612: else
 8613:   enable_fast_install=yes
 8614: fi
 8615: 
 8616: 
 8617: 
 8618: 
 8619: 
 8620: 
 8621: 
 8622: 
 8623: 
 8624: 
 8625: 
 8626: # This can be used to rebuild libtool when needed
 8627: LIBTOOL_DEPS="$ltmain"
 8628: 
 8629: # Always use our own libtool.
 8630: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 8631: 
 8632: 
 8633: 
 8634: 
 8635: 
 8636: 
 8637: 
 8638: 
 8639: 
 8640: 
 8641: 
 8642: 
 8643: 
 8644: 
 8645: 
 8646: 
 8647: 
 8648: 
 8649: 
 8650: 
 8651: 
 8652: 
 8653: 
 8654: 
 8655: 
 8656: 
 8657: test -z "$LN_S" && LN_S="ln -s"
 8658: 
 8659: 
 8660: 
 8661: 
 8662: 
 8663: 
 8664: 
 8665: 
 8666: 
 8667: 
 8668: 
 8669: 
 8670: 
 8671: 
 8672: if test -n "${ZSH_VERSION+set}" ; then
 8673:    setopt NO_GLOB_SUBST
 8674: fi
 8675: 
 8676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 8677: $as_echo_n "checking for objdir... " >&6; }
 8678: if ${lt_cv_objdir+:} false; then :
 8679:   $as_echo_n "(cached) " >&6
 8680: else
 8681:   rm -f .libs 2>/dev/null
 8682: mkdir .libs 2>/dev/null
 8683: if test -d .libs; then
 8684:   lt_cv_objdir=.libs
 8685: else
 8686:   # MS-DOS does not allow filenames that begin with a dot.
 8687:   lt_cv_objdir=_libs
 8688: fi
 8689: rmdir .libs 2>/dev/null
 8690: fi
 8691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 8692: $as_echo "$lt_cv_objdir" >&6; }
 8693: objdir=$lt_cv_objdir
 8694: 
 8695: 
 8696: 
 8697: 
 8698: 
 8699: cat >>confdefs.h <<_ACEOF
 8700: #define LT_OBJDIR "$lt_cv_objdir/"
 8701: _ACEOF
 8702: 
 8703: 
 8704: 
 8705: 
 8706: case $host_os in
 8707: aix3*)
 8708:   # AIX sometimes has problems with the GCC collect2 program.  For some
 8709:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 8710:   # vanish in a puff of smoke.
 8711:   if test "X${COLLECT_NAMES+set}" != Xset; then
 8712:     COLLECT_NAMES=
 8713:     export COLLECT_NAMES
 8714:   fi
 8715:   ;;
 8716: esac
 8717: 
 8718: # Global variables:
 8719: ofile=libtool
 8720: can_build_shared=yes
 8721: 
 8722: # All known linkers require a `.a' archive for static linking (except MSVC,
 8723: # which needs '.lib').
 8724: libext=a
 8725: 
 8726: with_gnu_ld="$lt_cv_prog_gnu_ld"
 8727: 
 8728: old_CC="$CC"
 8729: old_CFLAGS="$CFLAGS"
 8730: 
 8731: # Set sane defaults for various variables
 8732: test -z "$CC" && CC=cc
 8733: test -z "$LTCC" && LTCC=$CC
 8734: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 8735: test -z "$LD" && LD=ld
 8736: test -z "$ac_objext" && ac_objext=o
 8737: 
 8738: for cc_temp in $compiler""; do
 8739:   case $cc_temp in
 8740:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 8741:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 8742:     \-*) ;;
 8743:     *) break;;
 8744:   esac
 8745: done
 8746: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 8747: 
 8748: 
 8749: # Only perform the check for file, if the check method requires it
 8750: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 8751: case $deplibs_check_method in
 8752: file_magic*)
 8753:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 8754:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 8755: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 8756: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8757:   $as_echo_n "(cached) " >&6
 8758: else
 8759:   case $MAGIC_CMD in
 8760: [\\/*] |  ?:[\\/]*)
 8761:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 8762:   ;;
 8763: *)
 8764:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 8765:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8766:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8767:   for ac_dir in $ac_dummy; do
 8768:     IFS="$lt_save_ifs"
 8769:     test -z "$ac_dir" && ac_dir=.
 8770:     if test -f $ac_dir/${ac_tool_prefix}file; then
 8771:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 8772:       if test -n "$file_magic_test_file"; then
 8773: 	case $deplibs_check_method in
 8774: 	"file_magic "*)
 8775: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8776: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8777: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8778: 	    $EGREP "$file_magic_regex" > /dev/null; then
 8779: 	    :
 8780: 	  else
 8781: 	    cat <<_LT_EOF 1>&2
 8782: 
 8783: *** Warning: the command libtool uses to detect shared libraries,
 8784: *** $file_magic_cmd, produces output that libtool cannot recognize.
 8785: *** The result is that libtool may fail to recognize shared libraries
 8786: *** as such.  This will affect the creation of libtool libraries that
 8787: *** depend on shared libraries, but programs linked with such libtool
 8788: *** libraries will work regardless of this problem.  Nevertheless, you
 8789: *** may want to report the problem to your system manager and/or to
 8790: *** bug-libtool@gnu.org
 8791: 
 8792: _LT_EOF
 8793: 	  fi ;;
 8794: 	esac
 8795:       fi
 8796:       break
 8797:     fi
 8798:   done
 8799:   IFS="$lt_save_ifs"
 8800:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 8801:   ;;
 8802: esac
 8803: fi
 8804: 
 8805: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8806: if test -n "$MAGIC_CMD"; then
 8807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8808: $as_echo "$MAGIC_CMD" >&6; }
 8809: else
 8810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8811: $as_echo "no" >&6; }
 8812: fi
 8813: 
 8814: 
 8815: 
 8816: 
 8817: 
 8818: if test -z "$lt_cv_path_MAGIC_CMD"; then
 8819:   if test -n "$ac_tool_prefix"; then
 8820:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 8821: $as_echo_n "checking for file... " >&6; }
 8822: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8823:   $as_echo_n "(cached) " >&6
 8824: else
 8825:   case $MAGIC_CMD in
 8826: [\\/*] |  ?:[\\/]*)
 8827:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 8828:   ;;
 8829: *)
 8830:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 8831:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8832:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8833:   for ac_dir in $ac_dummy; do
 8834:     IFS="$lt_save_ifs"
 8835:     test -z "$ac_dir" && ac_dir=.
 8836:     if test -f $ac_dir/file; then
 8837:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 8838:       if test -n "$file_magic_test_file"; then
 8839: 	case $deplibs_check_method in
 8840: 	"file_magic "*)
 8841: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8842: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8843: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8844: 	    $EGREP "$file_magic_regex" > /dev/null; then
 8845: 	    :
 8846: 	  else
 8847: 	    cat <<_LT_EOF 1>&2
 8848: 
 8849: *** Warning: the command libtool uses to detect shared libraries,
 8850: *** $file_magic_cmd, produces output that libtool cannot recognize.
 8851: *** The result is that libtool may fail to recognize shared libraries
 8852: *** as such.  This will affect the creation of libtool libraries that
 8853: *** depend on shared libraries, but programs linked with such libtool
 8854: *** libraries will work regardless of this problem.  Nevertheless, you
 8855: *** may want to report the problem to your system manager and/or to
 8856: *** bug-libtool@gnu.org
 8857: 
 8858: _LT_EOF
 8859: 	  fi ;;
 8860: 	esac
 8861:       fi
 8862:       break
 8863:     fi
 8864:   done
 8865:   IFS="$lt_save_ifs"
 8866:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 8867:   ;;
 8868: esac
 8869: fi
 8870: 
 8871: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 8872: if test -n "$MAGIC_CMD"; then
 8873:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8874: $as_echo "$MAGIC_CMD" >&6; }
 8875: else
 8876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8877: $as_echo "no" >&6; }
 8878: fi
 8879: 
 8880: 
 8881:   else
 8882:     MAGIC_CMD=:
 8883:   fi
 8884: fi
 8885: 
 8886:   fi
 8887:   ;;
 8888: esac
 8889: 
 8890: # Use C for the default configuration in the libtool script
 8891: 
 8892: lt_save_CC="$CC"
 8893: ac_ext=c
 8894: ac_cpp='$CPP $CPPFLAGS'
 8895: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8896: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8897: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8898: 
 8899: 
 8900: # Source file extension for C test sources.
 8901: ac_ext=c
 8902: 
 8903: # Object file extension for compiled C test sources.
 8904: objext=o
 8905: objext=$objext
 8906: 
 8907: # Code to be used in simple compile tests
 8908: lt_simple_compile_test_code="int some_variable = 0;"
 8909: 
 8910: # Code to be used in simple link tests
 8911: lt_simple_link_test_code='int main(){return(0);}'
 8912: 
 8913: 
 8914: 
 8915: 
 8916: 
 8917: 
 8918: 
 8919: # If no C compiler was specified, use CC.
 8920: LTCC=${LTCC-"$CC"}
 8921: 
 8922: # If no C compiler flags were specified, use CFLAGS.
 8923: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 8924: 
 8925: # Allow CC to be a program name with arguments.
 8926: compiler=$CC
 8927: 
 8928: # Save the default compiler, since it gets overwritten when the other
 8929: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 8930: compiler_DEFAULT=$CC
 8931: 
 8932: # save warnings/boilerplate of simple test code
 8933: ac_outfile=conftest.$ac_objext
 8934: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 8935: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8936: _lt_compiler_boilerplate=`cat conftest.err`
 8937: $RM conftest*
 8938: 
 8939: ac_outfile=conftest.$ac_objext
 8940: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 8941: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8942: _lt_linker_boilerplate=`cat conftest.err`
 8943: $RM -r conftest*
 8944: 
 8945: 
 8946: if test -n "$compiler"; then
 8947: 
 8948: lt_prog_compiler_no_builtin_flag=
 8949: 
 8950: if test "$GCC" = yes; then
 8951:   case $cc_basename in
 8952:   nvcc*)
 8953:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 8954:   *)
 8955:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 8956:   esac
 8957: 
 8958:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 8959: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 8960: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 8961:   $as_echo_n "(cached) " >&6
 8962: else
 8963:   lt_cv_prog_compiler_rtti_exceptions=no
 8964:    ac_outfile=conftest.$ac_objext
 8965:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8966:    lt_compiler_flag="-fno-rtti -fno-exceptions"
 8967:    # Insert the option either (1) after the last *FLAGS variable, or
 8968:    # (2) before a word containing "conftest.", or (3) at the end.
 8969:    # Note that $ac_compile itself does not contain backslashes and begins
 8970:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 8971:    # The option is referenced via a variable to avoid confusing sed.
 8972:    lt_compile=`echo "$ac_compile" | $SED \
 8973:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8974:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8975:    -e 's:$: $lt_compiler_flag:'`
 8976:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8977:    (eval "$lt_compile" 2>conftest.err)
 8978:    ac_status=$?
 8979:    cat conftest.err >&5
 8980:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8981:    if (exit $ac_status) && test -s "$ac_outfile"; then
 8982:      # The compiler can only warn and ignore the option if not recognized
 8983:      # So say no if there are warnings other than the usual output.
 8984:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 8985:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8986:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 8987:        lt_cv_prog_compiler_rtti_exceptions=yes
 8988:      fi
 8989:    fi
 8990:    $RM conftest*
 8991: 
 8992: fi
 8993: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 8994: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 8995: 
 8996: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 8997:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 8998: else
 8999:     :
 9000: fi
 9001: 
 9002: fi
 9003: 
 9004: 
 9005: 
 9006: 
 9007: 
 9008: 
 9009:   lt_prog_compiler_wl=
 9010: lt_prog_compiler_pic=
 9011: lt_prog_compiler_static=
 9012: 
 9013: 
 9014:   if test "$GCC" = yes; then
 9015:     lt_prog_compiler_wl='-Wl,'
 9016:     lt_prog_compiler_static='-static'
 9017: 
 9018:     case $host_os in
 9019:       aix*)
 9020:       # All AIX code is PIC.
 9021:       if test "$host_cpu" = ia64; then
 9022: 	# AIX 5 now supports IA64 processor
 9023: 	lt_prog_compiler_static='-Bstatic'
 9024:       fi
 9025:       ;;
 9026: 
 9027:     amigaos*)
 9028:       case $host_cpu in
 9029:       powerpc)
 9030:             # see comment about AmigaOS4 .so support
 9031:             lt_prog_compiler_pic='-fPIC'
 9032:         ;;
 9033:       m68k)
 9034:             # FIXME: we need at least 68020 code to build shared libraries, but
 9035:             # adding the `-m68020' flag to GCC prevents building anything better,
 9036:             # like `-m68040'.
 9037:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 9038:         ;;
 9039:       esac
 9040:       ;;
 9041: 
 9042:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 9043:       # PIC is the default for these OSes.
 9044:       ;;
 9045: 
 9046:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9047:       # This hack is so that the source file can tell whether it is being
 9048:       # built for inclusion in a dll (and should export symbols for example).
 9049:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 9050:       # (--disable-auto-import) libraries
 9051:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9052:       ;;
 9053: 
 9054:     darwin* | rhapsody*)
 9055:       # PIC is the default on this platform
 9056:       # Common symbols not allowed in MH_DYLIB files
 9057:       lt_prog_compiler_pic='-fno-common'
 9058:       ;;
 9059: 
 9060:     haiku*)
 9061:       # PIC is the default for Haiku.
 9062:       # The "-static" flag exists, but is broken.
 9063:       lt_prog_compiler_static=
 9064:       ;;
 9065: 
 9066:     hpux*)
 9067:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 9068:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 9069:       # sets the default TLS model and affects inlining.
 9070:       case $host_cpu in
 9071:       hppa*64*)
 9072: 	# +Z the default
 9073: 	;;
 9074:       *)
 9075: 	lt_prog_compiler_pic='-fPIC'
 9076: 	;;
 9077:       esac
 9078:       ;;
 9079: 
 9080:     interix[3-9]*)
 9081:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 9082:       # Instead, we relocate shared libraries at runtime.
 9083:       ;;
 9084: 
 9085:     msdosdjgpp*)
 9086:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 9087:       # on systems that don't support them.
 9088:       lt_prog_compiler_can_build_shared=no
 9089:       enable_shared=no
 9090:       ;;
 9091: 
 9092:     *nto* | *qnx*)
 9093:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9094:       # it will coredump.
 9095:       lt_prog_compiler_pic='-fPIC -shared'
 9096:       ;;
 9097: 
 9098:     sysv4*MP*)
 9099:       if test -d /usr/nec; then
 9100: 	lt_prog_compiler_pic=-Kconform_pic
 9101:       fi
 9102:       ;;
 9103: 
 9104:     *)
 9105:       lt_prog_compiler_pic='-fPIC'
 9106:       ;;
 9107:     esac
 9108: 
 9109:     case $cc_basename in
 9110:     nvcc*) # Cuda Compiler Driver 2.2
 9111:       lt_prog_compiler_wl='-Xlinker '
 9112:       lt_prog_compiler_pic='-Xcompiler -fPIC'
 9113:       ;;
 9114:     esac
 9115:   else
 9116:     # PORTME Check for flag to pass linker flags through the system compiler.
 9117:     case $host_os in
 9118:     aix*)
 9119:       lt_prog_compiler_wl='-Wl,'
 9120:       if test "$host_cpu" = ia64; then
 9121: 	# AIX 5 now supports IA64 processor
 9122: 	lt_prog_compiler_static='-Bstatic'
 9123:       else
 9124: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 9125:       fi
 9126:       ;;
 9127: 
 9128:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 9129:       # This hack is so that the source file can tell whether it is being
 9130:       # built for inclusion in a dll (and should export symbols for example).
 9131:       lt_prog_compiler_pic='-DDLL_EXPORT'
 9132:       ;;
 9133: 
 9134:     hpux9* | hpux10* | hpux11*)
 9135:       lt_prog_compiler_wl='-Wl,'
 9136:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 9137:       # not for PA HP-UX.
 9138:       case $host_cpu in
 9139:       hppa*64*|ia64*)
 9140: 	# +Z the default
 9141: 	;;
 9142:       *)
 9143: 	lt_prog_compiler_pic='+Z'
 9144: 	;;
 9145:       esac
 9146:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 9147:       lt_prog_compiler_static='${wl}-a ${wl}archive'
 9148:       ;;
 9149: 
 9150:     irix5* | irix6* | nonstopux*)
 9151:       lt_prog_compiler_wl='-Wl,'
 9152:       # PIC (with -KPIC) is the default.
 9153:       lt_prog_compiler_static='-non_shared'
 9154:       ;;
 9155: 
 9156:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
 9157:       case $cc_basename in
 9158:       # old Intel for x86_64 which still supported -KPIC.
 9159:       ecc*)
 9160: 	lt_prog_compiler_wl='-Wl,'
 9161: 	lt_prog_compiler_pic='-KPIC'
 9162: 	lt_prog_compiler_static='-static'
 9163:         ;;
 9164:       # icc used to be incompatible with GCC.
 9165:       # ICC 10 doesn't accept -KPIC any more.
 9166:       icc* | ifort*)
 9167: 	lt_prog_compiler_wl='-Wl,'
 9168: 	lt_prog_compiler_pic='-fPIC'
 9169: 	lt_prog_compiler_static='-static'
 9170:         ;;
 9171:       # Lahey Fortran 8.1.
 9172:       lf95*)
 9173: 	lt_prog_compiler_wl='-Wl,'
 9174: 	lt_prog_compiler_pic='--shared'
 9175: 	lt_prog_compiler_static='--static'
 9176: 	;;
 9177:       nagfor*)
 9178: 	# NAG Fortran compiler
 9179: 	lt_prog_compiler_wl='-Wl,-Wl,,'
 9180: 	lt_prog_compiler_pic='-PIC'
 9181: 	lt_prog_compiler_static='-Bstatic'
 9182: 	;;
 9183:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 9184:         # Portland Group compilers (*not* the Pentium gcc compiler,
 9185: 	# which looks to be a dead project)
 9186: 	lt_prog_compiler_wl='-Wl,'
 9187: 	lt_prog_compiler_pic='-fpic'
 9188: 	lt_prog_compiler_static='-Bstatic'
 9189:         ;;
 9190:       ccc*)
 9191:         lt_prog_compiler_wl='-Wl,'
 9192:         # All Alpha code is PIC.
 9193:         lt_prog_compiler_static='-non_shared'
 9194:         ;;
 9195:       xl* | bgxl* | bgf* | mpixl*)
 9196: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 9197: 	lt_prog_compiler_wl='-Wl,'
 9198: 	lt_prog_compiler_pic='-qpic'
 9199: 	lt_prog_compiler_static='-qstaticlink'
 9200: 	;;
 9201:       *)
 9202: 	case `$CC -V 2>&1 | sed 5q` in
 9203: 	*Sun\ F* | *Sun*Fortran*)
 9204: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 9205: 	  lt_prog_compiler_pic='-KPIC'
 9206: 	  lt_prog_compiler_static='-Bstatic'
 9207: 	  lt_prog_compiler_wl=''
 9208: 	  ;;
 9209: 	*Sun\ C*)
 9210: 	  # Sun C 5.9
 9211: 	  lt_prog_compiler_pic='-KPIC'
 9212: 	  lt_prog_compiler_static='-Bstatic'
 9213: 	  lt_prog_compiler_wl='-Wl,'
 9214: 	  ;;
 9215: 	esac
 9216: 	;;
 9217:       esac
 9218:       ;;
 9219: 
 9220:     newsos6)
 9221:       lt_prog_compiler_pic='-KPIC'
 9222:       lt_prog_compiler_static='-Bstatic'
 9223:       ;;
 9224: 
 9225:     *nto* | *qnx*)
 9226:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 9227:       # it will coredump.
 9228:       lt_prog_compiler_pic='-fPIC -shared'
 9229:       ;;
 9230: 
 9231:     osf3* | osf4* | osf5*)
 9232:       lt_prog_compiler_wl='-Wl,'
 9233:       # All OSF/1 code is PIC.
 9234:       lt_prog_compiler_static='-non_shared'
 9235:       ;;
 9236: 
 9237:     rdos*)
 9238:       lt_prog_compiler_static='-non_shared'
 9239:       ;;
 9240: 
 9241:     solaris*)
 9242:       lt_prog_compiler_pic='-KPIC'
 9243:       lt_prog_compiler_static='-Bstatic'
 9244:       case $cc_basename in
 9245:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 9246: 	lt_prog_compiler_wl='-Qoption ld ';;
 9247:       *)
 9248: 	lt_prog_compiler_wl='-Wl,';;
 9249:       esac
 9250:       ;;
 9251: 
 9252:     sunos4*)
 9253:       lt_prog_compiler_wl='-Qoption ld '
 9254:       lt_prog_compiler_pic='-PIC'
 9255:       lt_prog_compiler_static='-Bstatic'
 9256:       ;;
 9257: 
 9258:     sysv4 | sysv4.2uw2* | sysv4.3*)
 9259:       lt_prog_compiler_wl='-Wl,'
 9260:       lt_prog_compiler_pic='-KPIC'
 9261:       lt_prog_compiler_static='-Bstatic'
 9262:       ;;
 9263: 
 9264:     sysv4*MP*)
 9265:       if test -d /usr/nec ;then
 9266: 	lt_prog_compiler_pic='-Kconform_pic'
 9267: 	lt_prog_compiler_static='-Bstatic'
 9268:       fi
 9269:       ;;
 9270: 
 9271:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 9272:       lt_prog_compiler_wl='-Wl,'
 9273:       lt_prog_compiler_pic='-KPIC'
 9274:       lt_prog_compiler_static='-Bstatic'
 9275:       ;;
 9276: 
 9277:     unicos*)
 9278:       lt_prog_compiler_wl='-Wl,'
 9279:       lt_prog_compiler_can_build_shared=no
 9280:       ;;
 9281: 
 9282:     uts4*)
 9283:       lt_prog_compiler_pic='-pic'
 9284:       lt_prog_compiler_static='-Bstatic'
 9285:       ;;
 9286: 
 9287:     *)
 9288:       lt_prog_compiler_can_build_shared=no
 9289:       ;;
 9290:     esac
 9291:   fi
 9292: 
 9293: case $host_os in
 9294:   # For platforms which do not support PIC, -DPIC is meaningless:
 9295:   *djgpp*)
 9296:     lt_prog_compiler_pic=
 9297:     ;;
 9298:   *)
 9299:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 9300:     ;;
 9301: esac
 9302: 
 9303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 9304: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 9305: if ${lt_cv_prog_compiler_pic+:} false; then :
 9306:   $as_echo_n "(cached) " >&6
 9307: else
 9308:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 9309: fi
 9310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 9311: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 9312: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 9313: 
 9314: #
 9315: # Check to make sure the PIC flag actually works.
 9316: #
 9317: if test -n "$lt_prog_compiler_pic"; then
 9318:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 9319: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 9320: if ${lt_cv_prog_compiler_pic_works+:} false; then :
 9321:   $as_echo_n "(cached) " >&6
 9322: else
 9323:   lt_cv_prog_compiler_pic_works=no
 9324:    ac_outfile=conftest.$ac_objext
 9325:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9326:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 9327:    # Insert the option either (1) after the last *FLAGS variable, or
 9328:    # (2) before a word containing "conftest.", or (3) at the end.
 9329:    # Note that $ac_compile itself does not contain backslashes and begins
 9330:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9331:    # The option is referenced via a variable to avoid confusing sed.
 9332:    lt_compile=`echo "$ac_compile" | $SED \
 9333:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9334:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9335:    -e 's:$: $lt_compiler_flag:'`
 9336:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9337:    (eval "$lt_compile" 2>conftest.err)
 9338:    ac_status=$?
 9339:    cat conftest.err >&5
 9340:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9341:    if (exit $ac_status) && test -s "$ac_outfile"; then
 9342:      # The compiler can only warn and ignore the option if not recognized
 9343:      # So say no if there are warnings other than the usual output.
 9344:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 9345:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9346:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9347:        lt_cv_prog_compiler_pic_works=yes
 9348:      fi
 9349:    fi
 9350:    $RM conftest*
 9351: 
 9352: fi
 9353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 9354: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 9355: 
 9356: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 9357:     case $lt_prog_compiler_pic in
 9358:      "" | " "*) ;;
 9359:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 9360:      esac
 9361: else
 9362:     lt_prog_compiler_pic=
 9363:      lt_prog_compiler_can_build_shared=no
 9364: fi
 9365: 
 9366: fi
 9367: 
 9368: 
 9369: 
 9370: 
 9371: 
 9372: 
 9373: 
 9374: 
 9375: 
 9376: 
 9377: 
 9378: #
 9379: # Check to make sure the static flag actually works.
 9380: #
 9381: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 9382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 9383: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 9384: if ${lt_cv_prog_compiler_static_works+:} false; then :
 9385:   $as_echo_n "(cached) " >&6
 9386: else
 9387:   lt_cv_prog_compiler_static_works=no
 9388:    save_LDFLAGS="$LDFLAGS"
 9389:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 9390:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 9391:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 9392:      # The linker can only warn and ignore the option if not recognized
 9393:      # So say no if there are warnings
 9394:      if test -s conftest.err; then
 9395:        # Append any errors to the config.log.
 9396:        cat conftest.err 1>&5
 9397:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 9398:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9399:        if diff conftest.exp conftest.er2 >/dev/null; then
 9400:          lt_cv_prog_compiler_static_works=yes
 9401:        fi
 9402:      else
 9403:        lt_cv_prog_compiler_static_works=yes
 9404:      fi
 9405:    fi
 9406:    $RM -r conftest*
 9407:    LDFLAGS="$save_LDFLAGS"
 9408: 
 9409: fi
 9410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 9411: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 9412: 
 9413: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 9414:     :
 9415: else
 9416:     lt_prog_compiler_static=
 9417: fi
 9418: 
 9419: 
 9420: 
 9421: 
 9422: 
 9423: 
 9424: 
 9425:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9426: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9427: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9428:   $as_echo_n "(cached) " >&6
 9429: else
 9430:   lt_cv_prog_compiler_c_o=no
 9431:    $RM -r conftest 2>/dev/null
 9432:    mkdir conftest
 9433:    cd conftest
 9434:    mkdir out
 9435:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9436: 
 9437:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9438:    # Insert the option either (1) after the last *FLAGS variable, or
 9439:    # (2) before a word containing "conftest.", or (3) at the end.
 9440:    # Note that $ac_compile itself does not contain backslashes and begins
 9441:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9442:    lt_compile=`echo "$ac_compile" | $SED \
 9443:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9444:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9445:    -e 's:$: $lt_compiler_flag:'`
 9446:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9447:    (eval "$lt_compile" 2>out/conftest.err)
 9448:    ac_status=$?
 9449:    cat out/conftest.err >&5
 9450:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9451:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9452:    then
 9453:      # The compiler can only warn and ignore the option if not recognized
 9454:      # So say no if there are warnings
 9455:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9456:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9457:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9458:        lt_cv_prog_compiler_c_o=yes
 9459:      fi
 9460:    fi
 9461:    chmod u+w . 2>&5
 9462:    $RM conftest*
 9463:    # SGI C++ compiler will create directory out/ii_files/ for
 9464:    # template instantiation
 9465:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9466:    $RM out/* && rmdir out
 9467:    cd ..
 9468:    $RM -r conftest
 9469:    $RM conftest*
 9470: 
 9471: fi
 9472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9473: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9474: 
 9475: 
 9476: 
 9477: 
 9478: 
 9479: 
 9480:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9481: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9482: if ${lt_cv_prog_compiler_c_o+:} false; then :
 9483:   $as_echo_n "(cached) " >&6
 9484: else
 9485:   lt_cv_prog_compiler_c_o=no
 9486:    $RM -r conftest 2>/dev/null
 9487:    mkdir conftest
 9488:    cd conftest
 9489:    mkdir out
 9490:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9491: 
 9492:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 9493:    # Insert the option either (1) after the last *FLAGS variable, or
 9494:    # (2) before a word containing "conftest.", or (3) at the end.
 9495:    # Note that $ac_compile itself does not contain backslashes and begins
 9496:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9497:    lt_compile=`echo "$ac_compile" | $SED \
 9498:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9499:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9500:    -e 's:$: $lt_compiler_flag:'`
 9501:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9502:    (eval "$lt_compile" 2>out/conftest.err)
 9503:    ac_status=$?
 9504:    cat out/conftest.err >&5
 9505:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9506:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9507:    then
 9508:      # The compiler can only warn and ignore the option if not recognized
 9509:      # So say no if there are warnings
 9510:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9511:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9512:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9513:        lt_cv_prog_compiler_c_o=yes
 9514:      fi
 9515:    fi
 9516:    chmod u+w . 2>&5
 9517:    $RM conftest*
 9518:    # SGI C++ compiler will create directory out/ii_files/ for
 9519:    # template instantiation
 9520:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9521:    $RM out/* && rmdir out
 9522:    cd ..
 9523:    $RM -r conftest
 9524:    $RM conftest*
 9525: 
 9526: fi
 9527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9528: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9529: 
 9530: 
 9531: 
 9532: 
 9533: hard_links="nottested"
 9534: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 9535:   # do not overwrite the value of need_locks provided by the user
 9536:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 9537: $as_echo_n "checking if we can lock with hard links... " >&6; }
 9538:   hard_links=yes
 9539:   $RM conftest*
 9540:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9541:   touch conftest.a
 9542:   ln conftest.a conftest.b 2>&5 || hard_links=no
 9543:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 9545: $as_echo "$hard_links" >&6; }
 9546:   if test "$hard_links" = no; then
 9547:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 9548: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 9549:     need_locks=warn
 9550:   fi
 9551: else
 9552:   need_locks=no
 9553: fi
 9554: 
 9555: 
 9556: 
 9557: 
 9558: 
 9559: 
 9560:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 9561: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 9562: 
 9563:   runpath_var=
 9564:   allow_undefined_flag=
 9565:   always_export_symbols=no
 9566:   archive_cmds=
 9567:   archive_expsym_cmds=
 9568:   compiler_needs_object=no
 9569:   enable_shared_with_static_runtimes=no
 9570:   export_dynamic_flag_spec=
 9571:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 9572:   hardcode_automatic=no
 9573:   hardcode_direct=no
 9574:   hardcode_direct_absolute=no
 9575:   hardcode_libdir_flag_spec=
 9576:   hardcode_libdir_flag_spec_ld=
 9577:   hardcode_libdir_separator=
 9578:   hardcode_minus_L=no
 9579:   hardcode_shlibpath_var=unsupported
 9580:   inherit_rpath=no
 9581:   link_all_deplibs=unknown
 9582:   module_cmds=
 9583:   module_expsym_cmds=
 9584:   old_archive_from_new_cmds=
 9585:   old_archive_from_expsyms_cmds=
 9586:   thread_safe_flag_spec=
 9587:   whole_archive_flag_spec=
 9588:   # include_expsyms should be a list of space-separated symbols to be *always*
 9589:   # included in the symbol list
 9590:   include_expsyms=
 9591:   # exclude_expsyms can be an extended regexp of symbols to exclude
 9592:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 9593:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 9594:   # as well as any symbol that contains `d'.
 9595:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 9596:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 9597:   # platforms (ab)use it in PIC code, but their linkers get confused if
 9598:   # the symbol is explicitly referenced.  Since portable code cannot
 9599:   # rely on this symbol name, it's probably fine to never include it in
 9600:   # preloaded symbol tables.
 9601:   # Exclude shared library initialization/finalization symbols.
 9602:   extract_expsyms_cmds=
 9603: 
 9604:   case $host_os in
 9605:   cygwin* | mingw* | pw32* | cegcc*)
 9606:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 9607:     # When not using gcc, we currently assume that we are using
 9608:     # Microsoft Visual C++.
 9609:     if test "$GCC" != yes; then
 9610:       with_gnu_ld=no
 9611:     fi
 9612:     ;;
 9613:   interix*)
 9614:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 9615:     with_gnu_ld=yes
 9616:     ;;
 9617:   openbsd*)
 9618:     with_gnu_ld=no
 9619:     ;;
 9620:   esac
 9621: 
 9622:   ld_shlibs=yes
 9623: 
 9624:   # On some targets, GNU ld is compatible enough with the native linker
 9625:   # that we're better off using the native interface for both.
 9626:   lt_use_gnu_ld_interface=no
 9627:   if test "$with_gnu_ld" = yes; then
 9628:     case $host_os in
 9629:       aix*)
 9630: 	# The AIX port of GNU ld has always aspired to compatibility
 9631: 	# with the native linker.  However, as the warning in the GNU ld
 9632: 	# block says, versions before 2.19.5* couldn't really create working
 9633: 	# shared libraries, regardless of the interface used.
 9634: 	case `$LD -v 2>&1` in
 9635: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 9636: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 9637: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 9638: 	  *)
 9639: 	    lt_use_gnu_ld_interface=yes
 9640: 	    ;;
 9641: 	esac
 9642: 	;;
 9643:       *)
 9644: 	lt_use_gnu_ld_interface=yes
 9645: 	;;
 9646:     esac
 9647:   fi
 9648: 
 9649:   if test "$lt_use_gnu_ld_interface" = yes; then
 9650:     # If archive_cmds runs LD, not CC, wlarc should be empty
 9651:     wlarc='${wl}'
 9652: 
 9653:     # Set some defaults for GNU ld with shared library support. These
 9654:     # are reset later if shared libraries are not supported. Putting them
 9655:     # here allows them to be overridden if necessary.
 9656:     runpath_var=LD_RUN_PATH
 9657:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9658:     export_dynamic_flag_spec='${wl}--export-dynamic'
 9659:     # ancient GNU ld didn't support --whole-archive et. al.
 9660:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 9661:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 9662:     else
 9663:       whole_archive_flag_spec=
 9664:     fi
 9665:     supports_anon_versioning=no
 9666:     case `$LD -v 2>&1` in
 9667:       *GNU\ gold*) supports_anon_versioning=yes ;;
 9668:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 9669:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 9670:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 9671:       *\ 2.11.*) ;; # other 2.11 versions
 9672:       *) supports_anon_versioning=yes ;;
 9673:     esac
 9674: 
 9675:     # See if GNU ld supports shared libraries.
 9676:     case $host_os in
 9677:     aix[3-9]*)
 9678:       # On AIX/PPC, the GNU linker is very broken
 9679:       if test "$host_cpu" != ia64; then
 9680: 	ld_shlibs=no
 9681: 	cat <<_LT_EOF 1>&2
 9682: 
 9683: *** Warning: the GNU linker, at least up to release 2.19, is reported
 9684: *** to be unable to reliably create shared libraries on AIX.
 9685: *** Therefore, libtool is disabling shared libraries support.  If you
 9686: *** really care for shared libraries, you may want to install binutils
 9687: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 9688: *** You will then need to restart the configuration process.
 9689: 
 9690: _LT_EOF
 9691:       fi
 9692:       ;;
 9693: 
 9694:     amigaos*)
 9695:       case $host_cpu in
 9696:       powerpc)
 9697:             # see comment about AmigaOS4 .so support
 9698:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9699:             archive_expsym_cmds=''
 9700:         ;;
 9701:       m68k)
 9702:             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)'
 9703:             hardcode_libdir_flag_spec='-L$libdir'
 9704:             hardcode_minus_L=yes
 9705:         ;;
 9706:       esac
 9707:       ;;
 9708: 
 9709:     beos*)
 9710:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9711: 	allow_undefined_flag=unsupported
 9712: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 9713: 	# support --undefined.  This deserves some investigation.  FIXME
 9714: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9715:       else
 9716: 	ld_shlibs=no
 9717:       fi
 9718:       ;;
 9719: 
 9720:     cygwin* | mingw* | pw32* | cegcc*)
 9721:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 9722:       # as there is no search path for DLLs.
 9723:       hardcode_libdir_flag_spec='-L$libdir'
 9724:       export_dynamic_flag_spec='${wl}--export-all-symbols'
 9725:       allow_undefined_flag=unsupported
 9726:       always_export_symbols=no
 9727:       enable_shared_with_static_runtimes=yes
 9728:       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'
 9729:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 9730: 
 9731:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 9732:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9733: 	# If the export-symbols file already is a .def file (1st line
 9734: 	# is EXPORTS), use it as is; otherwise, prepend...
 9735: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 9736: 	  cp $export_symbols $output_objdir/$soname.def;
 9737: 	else
 9738: 	  echo EXPORTS > $output_objdir/$soname.def;
 9739: 	  cat $export_symbols >> $output_objdir/$soname.def;
 9740: 	fi~
 9741: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9742:       else
 9743: 	ld_shlibs=no
 9744:       fi
 9745:       ;;
 9746: 
 9747:     haiku*)
 9748:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9749:       link_all_deplibs=yes
 9750:       ;;
 9751: 
 9752:     interix[3-9]*)
 9753:       hardcode_direct=no
 9754:       hardcode_shlibpath_var=no
 9755:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 9756:       export_dynamic_flag_spec='${wl}-E'
 9757:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 9758:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 9759:       # default) and relocated if they conflict, which is a slow very memory
 9760:       # consuming and fragmenting process.  To avoid this, we pick a random,
 9761:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 9762:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 9763:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 9764:       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'
 9765:       ;;
 9766: 
 9767:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 9768:       tmp_diet=no
 9769:       if test "$host_os" = linux-dietlibc; then
 9770: 	case $cc_basename in
 9771: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 9772: 	esac
 9773:       fi
 9774:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 9775: 	 && test "$tmp_diet" = no
 9776:       then
 9777: 	tmp_addflag=' $pic_flag'
 9778: 	tmp_sharedflag='-shared'
 9779: 	case $cc_basename,$host_cpu in
 9780:         pgcc*)				# Portland Group C compiler
 9781: 	  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'
 9782: 	  tmp_addflag=' $pic_flag'
 9783: 	  ;;
 9784: 	pgf77* | pgf90* | pgf95* | pgfortran*)
 9785: 					# Portland Group f77 and f90 compilers
 9786: 	  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'
 9787: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 9788: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 9789: 	  tmp_addflag=' -i_dynamic' ;;
 9790: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 9791: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 9792: 	ifc* | ifort*)			# Intel Fortran compiler
 9793: 	  tmp_addflag=' -nofor_main' ;;
 9794: 	lf95*)				# Lahey Fortran 8.1
 9795: 	  whole_archive_flag_spec=
 9796: 	  tmp_sharedflag='--shared' ;;
 9797: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 9798: 	  tmp_sharedflag='-qmkshrobj'
 9799: 	  tmp_addflag= ;;
 9800: 	nvcc*)	# Cuda Compiler Driver 2.2
 9801: 	  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'
 9802: 	  compiler_needs_object=yes
 9803: 	  ;;
 9804: 	esac
 9805: 	case `$CC -V 2>&1 | sed 5q` in
 9806: 	*Sun\ C*)			# Sun C 5.9
 9807: 	  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'
 9808: 	  compiler_needs_object=yes
 9809: 	  tmp_sharedflag='-G' ;;
 9810: 	*Sun\ F*)			# Sun Fortran 8.3
 9811: 	  tmp_sharedflag='-G' ;;
 9812: 	esac
 9813: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9814: 
 9815:         if test "x$supports_anon_versioning" = xyes; then
 9816:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9817: 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9818: 	    echo "local: *; };" >> $output_objdir/$libname.ver~
 9819: 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 9820:         fi
 9821: 
 9822: 	case $cc_basename in
 9823: 	xlf* | bgf* | bgxlf* | mpixlf*)
 9824: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 9825: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 9826: 	  hardcode_libdir_flag_spec=
 9827: 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
 9828: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 9829: 	  if test "x$supports_anon_versioning" = xyes; then
 9830: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9831: 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9832: 	      echo "local: *; };" >> $output_objdir/$libname.ver~
 9833: 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 9834: 	  fi
 9835: 	  ;;
 9836: 	esac
 9837:       else
 9838:         ld_shlibs=no
 9839:       fi
 9840:       ;;
 9841: 
 9842:     netbsd*)
 9843:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9844: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 9845: 	wlarc=
 9846:       else
 9847: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9848: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9849:       fi
 9850:       ;;
 9851: 
 9852:     solaris*)
 9853:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 9854: 	ld_shlibs=no
 9855: 	cat <<_LT_EOF 1>&2
 9856: 
 9857: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 9858: *** create shared libraries on Solaris systems.  Therefore, libtool
 9859: *** is disabling shared libraries support.  We urge you to upgrade GNU
 9860: *** binutils to release 2.9.1 or newer.  Another option is to modify
 9861: *** your PATH or compiler configuration so that the native linker is
 9862: *** used, and then restart.
 9863: 
 9864: _LT_EOF
 9865:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9866: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9867: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9868:       else
 9869: 	ld_shlibs=no
 9870:       fi
 9871:       ;;
 9872: 
 9873:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 9874:       case `$LD -v 2>&1` in
 9875:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 9876: 	ld_shlibs=no
 9877: 	cat <<_LT_EOF 1>&2
 9878: 
 9879: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 9880: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 9881: *** is disabling shared libraries support.  We urge you to upgrade GNU
 9882: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 9883: *** your PATH or compiler configuration so that the native linker is
 9884: *** used, and then restart.
 9885: 
 9886: _LT_EOF
 9887: 	;;
 9888: 	*)
 9889: 	  # For security reasons, it is highly recommended that you always
 9890: 	  # use absolute paths for naming shared libraries, and exclude the
 9891: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 9892: 	  # requires that you compile everything twice, which is a pain.
 9893: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9894: 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 9895: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9896: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9897: 	  else
 9898: 	    ld_shlibs=no
 9899: 	  fi
 9900: 	;;
 9901:       esac
 9902:       ;;
 9903: 
 9904:     sunos4*)
 9905:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 9906:       wlarc=
 9907:       hardcode_direct=yes
 9908:       hardcode_shlibpath_var=no
 9909:       ;;
 9910: 
 9911:     *)
 9912:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9913: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 9914: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 9915:       else
 9916: 	ld_shlibs=no
 9917:       fi
 9918:       ;;
 9919:     esac
 9920: 
 9921:     if test "$ld_shlibs" = no; then
 9922:       runpath_var=
 9923:       hardcode_libdir_flag_spec=
 9924:       export_dynamic_flag_spec=
 9925:       whole_archive_flag_spec=
 9926:     fi
 9927:   else
 9928:     # PORTME fill in a description of your system's linker (not GNU ld)
 9929:     case $host_os in
 9930:     aix3*)
 9931:       allow_undefined_flag=unsupported
 9932:       always_export_symbols=yes
 9933:       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'
 9934:       # Note: this linker hardcodes the directories in LIBPATH if there
 9935:       # are no directories specified by -L.
 9936:       hardcode_minus_L=yes
 9937:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 9938: 	# Neither direct hardcoding nor static linking is supported with a
 9939: 	# broken collect2.
 9940: 	hardcode_direct=unsupported
 9941:       fi
 9942:       ;;
 9943: 
 9944:     aix[4-9]*)
 9945:       if test "$host_cpu" = ia64; then
 9946: 	# On IA64, the linker does run time linking by default, so we don't
 9947: 	# have to do anything special.
 9948: 	aix_use_runtimelinking=no
 9949: 	exp_sym_flag='-Bexport'
 9950: 	no_entry_flag=""
 9951:       else
 9952: 	# If we're using GNU nm, then we don't want the "-C" option.
 9953: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 9954: 	# Also, AIX nm treats weak defined symbols like other global
 9955: 	# defined symbols, whereas GNU nm marks them as "W".
 9956: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 9957: 	  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'
 9958: 	else
 9959: 	  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'
 9960: 	fi
 9961: 	aix_use_runtimelinking=no
 9962: 
 9963: 	# Test if we are trying to use run time linking or normal
 9964: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 9965: 	# need to do runtime linking.
 9966: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 9967: 	  for ld_flag in $LDFLAGS; do
 9968: 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 9969: 	    aix_use_runtimelinking=yes
 9970: 	    break
 9971: 	  fi
 9972: 	  done
 9973: 	  ;;
 9974: 	esac
 9975: 
 9976: 	exp_sym_flag='-bexport'
 9977: 	no_entry_flag='-bnoentry'
 9978:       fi
 9979: 
 9980:       # When large executables or shared objects are built, AIX ld can
 9981:       # have problems creating the table of contents.  If linking a library
 9982:       # or program results in "error TOC overflow" add -mminimal-toc to
 9983:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 9984:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 9985: 
 9986:       archive_cmds=''
 9987:       hardcode_direct=yes
 9988:       hardcode_direct_absolute=yes
 9989:       hardcode_libdir_separator=':'
 9990:       link_all_deplibs=yes
 9991:       file_list_spec='${wl}-f,'
 9992: 
 9993:       if test "$GCC" = yes; then
 9994: 	case $host_os in aix4.[012]|aix4.[012].*)
 9995: 	# We only want to do this on AIX 4.2 and lower, the check
 9996: 	# below for broken collect2 doesn't work under 4.3+
 9997: 	  collect2name=`${CC} -print-prog-name=collect2`
 9998: 	  if test -f "$collect2name" &&
 9999: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10000: 	  then
10001: 	  # We have reworked collect2
10002: 	  :
10003: 	  else
10004: 	  # We have old collect2
10005: 	  hardcode_direct=unsupported
10006: 	  # It fails to find uninstalled libraries when the uninstalled
10007: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
10008: 	  # to unsupported forces relinking
10009: 	  hardcode_minus_L=yes
10010: 	  hardcode_libdir_flag_spec='-L$libdir'
10011: 	  hardcode_libdir_separator=
10012: 	  fi
10013: 	  ;;
10014: 	esac
10015: 	shared_flag='-shared'
10016: 	if test "$aix_use_runtimelinking" = yes; then
10017: 	  shared_flag="$shared_flag "'${wl}-G'
10018: 	fi
10019:       else
10020: 	# not using gcc
10021: 	if test "$host_cpu" = ia64; then
10022: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10023: 	# chokes on -Wl,-G. The following line is correct:
10024: 	  shared_flag='-G'
10025: 	else
10026: 	  if test "$aix_use_runtimelinking" = yes; then
10027: 	    shared_flag='${wl}-G'
10028: 	  else
10029: 	    shared_flag='${wl}-bM:SRE'
10030: 	  fi
10031: 	fi
10032:       fi
10033: 
10034:       export_dynamic_flag_spec='${wl}-bexpall'
10035:       # It seems that -bexpall does not export symbols beginning with
10036:       # underscore (_), so it is better to generate a list of symbols to export.
10037:       always_export_symbols=yes
10038:       if test "$aix_use_runtimelinking" = yes; then
10039: 	# Warning - without using the other runtime loading flags (-brtl),
10040: 	# -berok will link without error, but may produce a broken library.
10041: 	allow_undefined_flag='-berok'
10042:         # Determine the default libpath from the value encoded in an
10043:         # empty executable.
10044:         if test "${lt_cv_aix_libpath+set}" = set; then
10045:   aix_libpath=$lt_cv_aix_libpath
10046: else
10047:   if ${lt_cv_aix_libpath_+:} false; then :
10048:   $as_echo_n "(cached) " >&6
10049: else
10050:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051: /* end confdefs.h.  */
10052: 
10053: int
10054: main ()
10055: {
10056: 
10057:   ;
10058:   return 0;
10059: }
10060: _ACEOF
10061: if ac_fn_c_try_link "$LINENO"; then :
10062: 
10063:   lt_aix_libpath_sed='
10064:       /Import File Strings/,/^$/ {
10065: 	  /^0/ {
10066: 	      s/^0  *\([^ ]*\) *$/\1/
10067: 	      p
10068: 	  }
10069:       }'
10070:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10071:   # Check for a 64-bit object if we didn't find anything.
10072:   if test -z "$lt_cv_aix_libpath_"; then
10073:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10074:   fi
10075: fi
10076: rm -f core conftest.err conftest.$ac_objext \
10077:     conftest$ac_exeext conftest.$ac_ext
10078:   if test -z "$lt_cv_aix_libpath_"; then
10079:     lt_cv_aix_libpath_="/usr/lib:/lib"
10080:   fi
10081: 
10082: fi
10083: 
10084:   aix_libpath=$lt_cv_aix_libpath_
10085: fi
10086: 
10087:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10088:         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"
10089:       else
10090: 	if test "$host_cpu" = ia64; then
10091: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10092: 	  allow_undefined_flag="-z nodefs"
10093: 	  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"
10094: 	else
10095: 	 # Determine the default libpath from the value encoded in an
10096: 	 # empty executable.
10097: 	 if test "${lt_cv_aix_libpath+set}" = set; then
10098:   aix_libpath=$lt_cv_aix_libpath
10099: else
10100:   if ${lt_cv_aix_libpath_+:} false; then :
10101:   $as_echo_n "(cached) " >&6
10102: else
10103:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104: /* end confdefs.h.  */
10105: 
10106: int
10107: main ()
10108: {
10109: 
10110:   ;
10111:   return 0;
10112: }
10113: _ACEOF
10114: if ac_fn_c_try_link "$LINENO"; then :
10115: 
10116:   lt_aix_libpath_sed='
10117:       /Import File Strings/,/^$/ {
10118: 	  /^0/ {
10119: 	      s/^0  *\([^ ]*\) *$/\1/
10120: 	      p
10121: 	  }
10122:       }'
10123:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10124:   # Check for a 64-bit object if we didn't find anything.
10125:   if test -z "$lt_cv_aix_libpath_"; then
10126:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10127:   fi
10128: fi
10129: rm -f core conftest.err conftest.$ac_objext \
10130:     conftest$ac_exeext conftest.$ac_ext
10131:   if test -z "$lt_cv_aix_libpath_"; then
10132:     lt_cv_aix_libpath_="/usr/lib:/lib"
10133:   fi
10134: 
10135: fi
10136: 
10137:   aix_libpath=$lt_cv_aix_libpath_
10138: fi
10139: 
10140: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10141: 	  # Warning - without using the other run time loading flags,
10142: 	  # -berok will link without error, but may produce a broken library.
10143: 	  no_undefined_flag=' ${wl}-bernotok'
10144: 	  allow_undefined_flag=' ${wl}-berok'
10145: 	  if test "$with_gnu_ld" = yes; then
10146: 	    # We only use this code for GNU lds that support --whole-archive.
10147: 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10148: 	  else
10149: 	    # Exported symbols can be pulled into shared objects from archives
10150: 	    whole_archive_flag_spec='$convenience'
10151: 	  fi
10152: 	  archive_cmds_need_lc=yes
10153: 	  # This is similar to how AIX traditionally builds its shared libraries.
10154: 	  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'
10155: 	fi
10156:       fi
10157:       ;;
10158: 
10159:     amigaos*)
10160:       case $host_cpu in
10161:       powerpc)
10162:             # see comment about AmigaOS4 .so support
10163:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10164:             archive_expsym_cmds=''
10165:         ;;
10166:       m68k)
10167:             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)'
10168:             hardcode_libdir_flag_spec='-L$libdir'
10169:             hardcode_minus_L=yes
10170:         ;;
10171:       esac
10172:       ;;
10173: 
10174:     bsdi[45]*)
10175:       export_dynamic_flag_spec=-rdynamic
10176:       ;;
10177: 
10178:     cygwin* | mingw* | pw32* | cegcc*)
10179:       # When not using gcc, we currently assume that we are using
10180:       # Microsoft Visual C++.
10181:       # hardcode_libdir_flag_spec is actually meaningless, as there is
10182:       # no search path for DLLs.
10183:       case $cc_basename in
10184:       cl*)
10185: 	# Native MSVC
10186: 	hardcode_libdir_flag_spec=' '
10187: 	allow_undefined_flag=unsupported
10188: 	always_export_symbols=yes
10189: 	file_list_spec='@'
10190: 	# Tell ltmain to make .lib files, not .a files.
10191: 	libext=lib
10192: 	# Tell ltmain to make .dll files, not .so files.
10193: 	shrext_cmds=".dll"
10194: 	# FIXME: Setting linknames here is a bad hack.
10195: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10196: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10197: 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10198: 	  else
10199: 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10200: 	  fi~
10201: 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10202: 	  linknames='
10203: 	# The linker will not automatically build a static lib if we build a DLL.
10204: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10205: 	enable_shared_with_static_runtimes=yes
10206: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10207: 	# Don't use ranlib
10208: 	old_postinstall_cmds='chmod 644 $oldlib'
10209: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
10210: 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10211: 	  case $lt_outputfile in
10212: 	    *.exe|*.EXE) ;;
10213: 	    *)
10214: 	      lt_outputfile="$lt_outputfile.exe"
10215: 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10216: 	      ;;
10217: 	  esac~
10218: 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10219: 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10220: 	    $RM "$lt_outputfile.manifest";
10221: 	  fi'
10222: 	;;
10223:       *)
10224: 	# Assume MSVC wrapper
10225: 	hardcode_libdir_flag_spec=' '
10226: 	allow_undefined_flag=unsupported
10227: 	# Tell ltmain to make .lib files, not .a files.
10228: 	libext=lib
10229: 	# Tell ltmain to make .dll files, not .so files.
10230: 	shrext_cmds=".dll"
10231: 	# FIXME: Setting linknames here is a bad hack.
10232: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10233: 	# The linker will automatically build a .lib file if we build a DLL.
10234: 	old_archive_from_new_cmds='true'
10235: 	# FIXME: Should let the user specify the lib program.
10236: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10237: 	enable_shared_with_static_runtimes=yes
10238: 	;;
10239:       esac
10240:       ;;
10241: 
10242:     darwin* | rhapsody*)
10243: 
10244: 
10245:   archive_cmds_need_lc=no
10246:   hardcode_direct=no
10247:   hardcode_automatic=yes
10248:   hardcode_shlibpath_var=unsupported
10249:   if test "$lt_cv_ld_force_load" = "yes"; then
10250:     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\"`'
10251:   else
10252:     whole_archive_flag_spec=''
10253:   fi
10254:   link_all_deplibs=yes
10255:   allow_undefined_flag="$_lt_dar_allow_undefined"
10256:   case $cc_basename in
10257:      ifort*) _lt_dar_can_shared=yes ;;
10258:      *) _lt_dar_can_shared=$GCC ;;
10259:   esac
10260:   if test "$_lt_dar_can_shared" = "yes"; then
10261:     output_verbose_link_cmd=func_echo_all
10262:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10263:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10264:     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}"
10265:     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}"
10266: 
10267:   else
10268:   ld_shlibs=no
10269:   fi
10270: 
10271:       ;;
10272: 
10273:     dgux*)
10274:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10275:       hardcode_libdir_flag_spec='-L$libdir'
10276:       hardcode_shlibpath_var=no
10277:       ;;
10278: 
10279:     freebsd1*)
10280:       ld_shlibs=no
10281:       ;;
10282: 
10283:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10284:     # support.  Future versions do this automatically, but an explicit c++rt0.o
10285:     # does not break anything, and helps significantly (at the cost of a little
10286:     # extra space).
10287:     freebsd2.2*)
10288:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10289:       hardcode_libdir_flag_spec='-R$libdir'
10290:       hardcode_direct=yes
10291:       hardcode_shlibpath_var=no
10292:       ;;
10293: 
10294:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10295:     freebsd2*)
10296:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10297:       hardcode_direct=yes
10298:       hardcode_minus_L=yes
10299:       hardcode_shlibpath_var=no
10300:       ;;
10301: 
10302:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10303:     freebsd* | dragonfly*)
10304:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10305:       hardcode_libdir_flag_spec='-R$libdir'
10306:       hardcode_direct=yes
10307:       hardcode_shlibpath_var=no
10308:       ;;
10309: 
10310:     hpux9*)
10311:       if test "$GCC" = yes; then
10312: 	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'
10313:       else
10314: 	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'
10315:       fi
10316:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10317:       hardcode_libdir_separator=:
10318:       hardcode_direct=yes
10319: 
10320:       # hardcode_minus_L: Not really in the search PATH,
10321:       # but as the default location of the library.
10322:       hardcode_minus_L=yes
10323:       export_dynamic_flag_spec='${wl}-E'
10324:       ;;
10325: 
10326:     hpux10*)
10327:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10328: 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10329:       else
10330: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10331:       fi
10332:       if test "$with_gnu_ld" = no; then
10333: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10334: 	hardcode_libdir_flag_spec_ld='+b $libdir'
10335: 	hardcode_libdir_separator=:
10336: 	hardcode_direct=yes
10337: 	hardcode_direct_absolute=yes
10338: 	export_dynamic_flag_spec='${wl}-E'
10339: 	# hardcode_minus_L: Not really in the search PATH,
10340: 	# but as the default location of the library.
10341: 	hardcode_minus_L=yes
10342:       fi
10343:       ;;
10344: 
10345:     hpux11*)
10346:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10347: 	case $host_cpu in
10348: 	hppa*64*)
10349: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10350: 	  ;;
10351: 	ia64*)
10352: 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10353: 	  ;;
10354: 	*)
10355: 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10356: 	  ;;
10357: 	esac
10358:       else
10359: 	case $host_cpu in
10360: 	hppa*64*)
10361: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10362: 	  ;;
10363: 	ia64*)
10364: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10365: 	  ;;
10366: 	*)
10367: 
10368: 	  # Older versions of the 11.00 compiler do not understand -b yet
10369: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10370: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10371: $as_echo_n "checking if $CC understands -b... " >&6; }
10372: if ${lt_cv_prog_compiler__b+:} false; then :
10373:   $as_echo_n "(cached) " >&6
10374: else
10375:   lt_cv_prog_compiler__b=no
10376:    save_LDFLAGS="$LDFLAGS"
10377:    LDFLAGS="$LDFLAGS -b"
10378:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10379:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10380:      # The linker can only warn and ignore the option if not recognized
10381:      # So say no if there are warnings
10382:      if test -s conftest.err; then
10383:        # Append any errors to the config.log.
10384:        cat conftest.err 1>&5
10385:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10386:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10387:        if diff conftest.exp conftest.er2 >/dev/null; then
10388:          lt_cv_prog_compiler__b=yes
10389:        fi
10390:      else
10391:        lt_cv_prog_compiler__b=yes
10392:      fi
10393:    fi
10394:    $RM -r conftest*
10395:    LDFLAGS="$save_LDFLAGS"
10396: 
10397: fi
10398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10399: $as_echo "$lt_cv_prog_compiler__b" >&6; }
10400: 
10401: if test x"$lt_cv_prog_compiler__b" = xyes; then
10402:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10403: else
10404:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10405: fi
10406: 
10407: 	  ;;
10408: 	esac
10409:       fi
10410:       if test "$with_gnu_ld" = no; then
10411: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412: 	hardcode_libdir_separator=:
10413: 
10414: 	case $host_cpu in
10415: 	hppa*64*|ia64*)
10416: 	  hardcode_direct=no
10417: 	  hardcode_shlibpath_var=no
10418: 	  ;;
10419: 	*)
10420: 	  hardcode_direct=yes
10421: 	  hardcode_direct_absolute=yes
10422: 	  export_dynamic_flag_spec='${wl}-E'
10423: 
10424: 	  # hardcode_minus_L: Not really in the search PATH,
10425: 	  # but as the default location of the library.
10426: 	  hardcode_minus_L=yes
10427: 	  ;;
10428: 	esac
10429:       fi
10430:       ;;
10431: 
10432:     irix5* | irix6* | nonstopux*)
10433:       if test "$GCC" = yes; then
10434: 	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'
10435: 	# Try to use the -exported_symbol ld option, if it does not
10436: 	# work, assume that -exports_file does not work either and
10437: 	# implicitly export all symbols.
10438: 	# This should be the same for all languages, so no per-tag cache variable.
10439: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10440: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10441: if ${lt_cv_irix_exported_symbol+:} false; then :
10442:   $as_echo_n "(cached) " >&6
10443: else
10444:   save_LDFLAGS="$LDFLAGS"
10445: 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10446: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447: /* end confdefs.h.  */
10448: int foo (void) { return 0; }
10449: _ACEOF
10450: if ac_fn_c_try_link "$LINENO"; then :
10451:   lt_cv_irix_exported_symbol=yes
10452: else
10453:   lt_cv_irix_exported_symbol=no
10454: fi
10455: rm -f core conftest.err conftest.$ac_objext \
10456:     conftest$ac_exeext conftest.$ac_ext
10457:            LDFLAGS="$save_LDFLAGS"
10458: fi
10459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10460: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10461: 	if test "$lt_cv_irix_exported_symbol" = yes; then
10462:           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'
10463: 	fi
10464:       else
10465: 	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'
10466: 	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'
10467:       fi
10468:       archive_cmds_need_lc='no'
10469:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10470:       hardcode_libdir_separator=:
10471:       inherit_rpath=yes
10472:       link_all_deplibs=yes
10473:       ;;
10474: 
10475:     netbsd*)
10476:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10477: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10478:       else
10479: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10480:       fi
10481:       hardcode_libdir_flag_spec='-R$libdir'
10482:       hardcode_direct=yes
10483:       hardcode_shlibpath_var=no
10484:       ;;
10485: 
10486:     newsos6)
10487:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10488:       hardcode_direct=yes
10489:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10490:       hardcode_libdir_separator=:
10491:       hardcode_shlibpath_var=no
10492:       ;;
10493: 
10494:     *nto* | *qnx*)
10495:       ;;
10496: 
10497:     openbsd*)
10498:       if test -f /usr/libexec/ld.so; then
10499: 	hardcode_direct=yes
10500: 	hardcode_shlibpath_var=no
10501: 	hardcode_direct_absolute=yes
10502: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10503: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10504: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10505: 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10506: 	  export_dynamic_flag_spec='${wl}-E'
10507: 	else
10508: 	  case $host_os in
10509: 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10510: 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10511: 	     hardcode_libdir_flag_spec='-R$libdir'
10512: 	     ;;
10513: 	   *)
10514: 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10515: 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10516: 	     ;;
10517: 	  esac
10518: 	fi
10519:       else
10520: 	ld_shlibs=no
10521:       fi
10522:       ;;
10523: 
10524:     os2*)
10525:       hardcode_libdir_flag_spec='-L$libdir'
10526:       hardcode_minus_L=yes
10527:       allow_undefined_flag=unsupported
10528:       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'
10529:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10530:       ;;
10531: 
10532:     osf3*)
10533:       if test "$GCC" = yes; then
10534: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10535: 	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'
10536:       else
10537: 	allow_undefined_flag=' -expect_unresolved \*'
10538: 	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'
10539:       fi
10540:       archive_cmds_need_lc='no'
10541:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10542:       hardcode_libdir_separator=:
10543:       ;;
10544: 
10545:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
10546:       if test "$GCC" = yes; then
10547: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10548: 	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'
10549: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10550:       else
10551: 	allow_undefined_flag=' -expect_unresolved \*'
10552: 	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'
10553: 	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~
10554: 	$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'
10555: 
10556: 	# Both c and cxx compiler support -rpath directly
10557: 	hardcode_libdir_flag_spec='-rpath $libdir'
10558:       fi
10559:       archive_cmds_need_lc='no'
10560:       hardcode_libdir_separator=:
10561:       ;;
10562: 
10563:     solaris*)
10564:       no_undefined_flag=' -z defs'
10565:       if test "$GCC" = yes; then
10566: 	wlarc='${wl}'
10567: 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10568: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10569: 	  $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'
10570:       else
10571: 	case `$CC -V 2>&1` in
10572: 	*"Compilers 5.0"*)
10573: 	  wlarc=''
10574: 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10575: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10576: 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10577: 	  ;;
10578: 	*)
10579: 	  wlarc='${wl}'
10580: 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10581: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10582: 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10583: 	  ;;
10584: 	esac
10585:       fi
10586:       hardcode_libdir_flag_spec='-R$libdir'
10587:       hardcode_shlibpath_var=no
10588:       case $host_os in
10589:       solaris2.[0-5] | solaris2.[0-5].*) ;;
10590:       *)
10591: 	# The compiler driver will combine and reorder linker options,
10592: 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10593: 	# but is careful enough not to reorder.
10594: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
10595: 	if test "$GCC" = yes; then
10596: 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10597: 	else
10598: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10599: 	fi
10600: 	;;
10601:       esac
10602:       link_all_deplibs=yes
10603:       ;;
10604: 
10605:     sunos4*)
10606:       if test "x$host_vendor" = xsequent; then
10607: 	# Use $CC to link under sequent, because it throws in some extra .o
10608: 	# files that make .init and .fini sections work.
10609: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10610:       else
10611: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10612:       fi
10613:       hardcode_libdir_flag_spec='-L$libdir'
10614:       hardcode_direct=yes
10615:       hardcode_minus_L=yes
10616:       hardcode_shlibpath_var=no
10617:       ;;
10618: 
10619:     sysv4)
10620:       case $host_vendor in
10621: 	sni)
10622: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10623: 	  hardcode_direct=yes # is this really true???
10624: 	;;
10625: 	siemens)
10626: 	  ## LD is ld it makes a PLAMLIB
10627: 	  ## CC just makes a GrossModule.
10628: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10629: 	  reload_cmds='$CC -r -o $output$reload_objs'
10630: 	  hardcode_direct=no
10631:         ;;
10632: 	motorola)
10633: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10634: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10635: 	;;
10636:       esac
10637:       runpath_var='LD_RUN_PATH'
10638:       hardcode_shlibpath_var=no
10639:       ;;
10640: 
10641:     sysv4.3*)
10642:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643:       hardcode_shlibpath_var=no
10644:       export_dynamic_flag_spec='-Bexport'
10645:       ;;
10646: 
10647:     sysv4*MP*)
10648:       if test -d /usr/nec; then
10649: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10650: 	hardcode_shlibpath_var=no
10651: 	runpath_var=LD_RUN_PATH
10652: 	hardcode_runpath_var=yes
10653: 	ld_shlibs=yes
10654:       fi
10655:       ;;
10656: 
10657:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10658:       no_undefined_flag='${wl}-z,text'
10659:       archive_cmds_need_lc=no
10660:       hardcode_shlibpath_var=no
10661:       runpath_var='LD_RUN_PATH'
10662: 
10663:       if test "$GCC" = yes; then
10664: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666:       else
10667: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10668: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669:       fi
10670:       ;;
10671: 
10672:     sysv5* | sco3.2v5* | sco5v6*)
10673:       # Note: We can NOT use -z defs as we might desire, because we do not
10674:       # link with -lc, and that would cause any symbols used from libc to
10675:       # always be unresolved, which means just about no library would
10676:       # ever link correctly.  If we're not using GNU ld we use -z text
10677:       # though, which does catch some bad symbols but isn't as heavy-handed
10678:       # as -z defs.
10679:       no_undefined_flag='${wl}-z,text'
10680:       allow_undefined_flag='${wl}-z,nodefs'
10681:       archive_cmds_need_lc=no
10682:       hardcode_shlibpath_var=no
10683:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10684:       hardcode_libdir_separator=':'
10685:       link_all_deplibs=yes
10686:       export_dynamic_flag_spec='${wl}-Bexport'
10687:       runpath_var='LD_RUN_PATH'
10688: 
10689:       if test "$GCC" = yes; then
10690: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10691: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692:       else
10693: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10694: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10695:       fi
10696:       ;;
10697: 
10698:     uts4*)
10699:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10700:       hardcode_libdir_flag_spec='-L$libdir'
10701:       hardcode_shlibpath_var=no
10702:       ;;
10703: 
10704:     *)
10705:       ld_shlibs=no
10706:       ;;
10707:     esac
10708: 
10709:     if test x$host_vendor = xsni; then
10710:       case $host in
10711:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10712: 	export_dynamic_flag_spec='${wl}-Blargedynsym'
10713: 	;;
10714:       esac
10715:     fi
10716:   fi
10717: 
10718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10719: $as_echo "$ld_shlibs" >&6; }
10720: test "$ld_shlibs" = no && can_build_shared=no
10721: 
10722: with_gnu_ld=$with_gnu_ld
10723: 
10724: 
10725: 
10726: 
10727: 
10728: 
10729: 
10730: 
10731: 
10732: 
10733: 
10734: 
10735: 
10736: 
10737: 
10738: #
10739: # Do we need to explicitly link libc?
10740: #
10741: case "x$archive_cmds_need_lc" in
10742: x|xyes)
10743:   # Assume -lc should be added
10744:   archive_cmds_need_lc=yes
10745: 
10746:   if test "$enable_shared" = yes && test "$GCC" = yes; then
10747:     case $archive_cmds in
10748:     *'~'*)
10749:       # FIXME: we may have to deal with multi-command sequences.
10750:       ;;
10751:     '$CC '*)
10752:       # Test whether the compiler implicitly links with -lc since on some
10753:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10754:       # to ld, don't add -lc before -lgcc.
10755:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10756: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10757: if ${lt_cv_archive_cmds_need_lc+:} false; then :
10758:   $as_echo_n "(cached) " >&6
10759: else
10760:   $RM conftest*
10761: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10762: 
10763: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10764:   (eval $ac_compile) 2>&5
10765:   ac_status=$?
10766:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10767:   test $ac_status = 0; } 2>conftest.err; then
10768: 	  soname=conftest
10769: 	  lib=conftest
10770: 	  libobjs=conftest.$ac_objext
10771: 	  deplibs=
10772: 	  wl=$lt_prog_compiler_wl
10773: 	  pic_flag=$lt_prog_compiler_pic
10774: 	  compiler_flags=-v
10775: 	  linker_flags=-v
10776: 	  verstring=
10777: 	  output_objdir=.
10778: 	  libname=conftest
10779: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
10780: 	  allow_undefined_flag=
10781: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10782:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10783:   ac_status=$?
10784:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10785:   test $ac_status = 0; }
10786: 	  then
10787: 	    lt_cv_archive_cmds_need_lc=no
10788: 	  else
10789: 	    lt_cv_archive_cmds_need_lc=yes
10790: 	  fi
10791: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
10792: 	else
10793: 	  cat conftest.err 1>&5
10794: 	fi
10795: 	$RM conftest*
10796: 
10797: fi
10798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10799: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10800:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10801:       ;;
10802:     esac
10803:   fi
10804:   ;;
10805: esac
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: 
10933: 
10934: 
10935: 
10936: 
10937: 
10938: 
10939: 
10940: 
10941: 
10942: 
10943: 
10944: 
10945: 
10946: 
10947: 
10948: 
10949: 
10950: 
10951: 
10952: 
10953: 
10954: 
10955: 
10956: 
10957: 
10958: 
10959: 
10960: 
10961: 
10962: 
10963:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10964: $as_echo_n "checking dynamic linker characteristics... " >&6; }
10965: 
10966: if test "$GCC" = yes; then
10967:   case $host_os in
10968:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10969:     *) lt_awk_arg="/^libraries:/" ;;
10970:   esac
10971:   case $host_os in
10972:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10973:     *) lt_sed_strip_eq="s,=/,/,g" ;;
10974:   esac
10975:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10976:   case $lt_search_path_spec in
10977:   *\;*)
10978:     # if the path contains ";" then we assume it to be the separator
10979:     # otherwise default to the standard path separator (i.e. ":") - it is
10980:     # assumed that no part of a normal pathname contains ";" but that should
10981:     # okay in the real world where ";" in dirpaths is itself problematic.
10982:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10983:     ;;
10984:   *)
10985:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10986:     ;;
10987:   esac
10988:   # Ok, now we have the path, separated by spaces, we can step through it
10989:   # and add multilib dir if necessary.
10990:   lt_tmp_lt_search_path_spec=
10991:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10992:   for lt_sys_path in $lt_search_path_spec; do
10993:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10994:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10995:     else
10996:       test -d "$lt_sys_path" && \
10997: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10998:     fi
10999:   done
11000:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11001: BEGIN {RS=" "; FS="/|\n";} {
11002:   lt_foo="";
11003:   lt_count=0;
11004:   for (lt_i = NF; lt_i > 0; lt_i--) {
11005:     if ($lt_i != "" && $lt_i != ".") {
11006:       if ($lt_i == "..") {
11007:         lt_count++;
11008:       } else {
11009:         if (lt_count == 0) {
11010:           lt_foo="/" $lt_i lt_foo;
11011:         } else {
11012:           lt_count--;
11013:         }
11014:       }
11015:     }
11016:   }
11017:   if (lt_foo != "") { lt_freq[lt_foo]++; }
11018:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11019: }'`
11020:   # AWK program above erroneously prepends '/' to C:/dos/paths
11021:   # for these hosts.
11022:   case $host_os in
11023:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11024:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11025:   esac
11026:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11027: else
11028:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11029: fi
11030: library_names_spec=
11031: libname_spec='lib$name'
11032: soname_spec=
11033: shrext_cmds=".so"
11034: postinstall_cmds=
11035: postuninstall_cmds=
11036: finish_cmds=
11037: finish_eval=
11038: shlibpath_var=
11039: shlibpath_overrides_runpath=unknown
11040: version_type=none
11041: dynamic_linker="$host_os ld.so"
11042: sys_lib_dlsearch_path_spec="/lib /usr/lib"
11043: need_lib_prefix=unknown
11044: hardcode_into_libs=no
11045: 
11046: # when you set need_version to no, make sure it does not cause -set_version
11047: # flags to be left without arguments
11048: need_version=unknown
11049: 
11050: case $host_os in
11051: aix3*)
11052:   version_type=linux
11053:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11054:   shlibpath_var=LIBPATH
11055: 
11056:   # AIX 3 has no versioning support, so we append a major version to the name.
11057:   soname_spec='${libname}${release}${shared_ext}$major'
11058:   ;;
11059: 
11060: aix[4-9]*)
11061:   version_type=linux
11062:   need_lib_prefix=no
11063:   need_version=no
11064:   hardcode_into_libs=yes
11065:   if test "$host_cpu" = ia64; then
11066:     # AIX 5 supports IA64
11067:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11068:     shlibpath_var=LD_LIBRARY_PATH
11069:   else
11070:     # With GCC up to 2.95.x, collect2 would create an import file
11071:     # for dependence libraries.  The import file would start with
11072:     # the line `#! .'.  This would cause the generated library to
11073:     # depend on `.', always an invalid library.  This was fixed in
11074:     # development snapshots of GCC prior to 3.0.
11075:     case $host_os in
11076:       aix4 | aix4.[01] | aix4.[01].*)
11077:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11078: 	   echo ' yes '
11079: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11080: 	:
11081:       else
11082: 	can_build_shared=no
11083:       fi
11084:       ;;
11085:     esac
11086:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11087:     # soname into executable. Probably we can add versioning support to
11088:     # collect2, so additional links can be useful in future.
11089:     if test "$aix_use_runtimelinking" = yes; then
11090:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11091:       # instead of lib<name>.a to let people know that these are not
11092:       # typical AIX shared libraries.
11093:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094:     else
11095:       # We preserve .a as extension for shared libraries through AIX4.2
11096:       # and later when we are not doing run time linking.
11097:       library_names_spec='${libname}${release}.a $libname.a'
11098:       soname_spec='${libname}${release}${shared_ext}$major'
11099:     fi
11100:     shlibpath_var=LIBPATH
11101:   fi
11102:   ;;
11103: 
11104: amigaos*)
11105:   case $host_cpu in
11106:   powerpc)
11107:     # Since July 2007 AmigaOS4 officially supports .so libraries.
11108:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11109:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110:     ;;
11111:   m68k)
11112:     library_names_spec='$libname.ixlibrary $libname.a'
11113:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11114:     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'
11115:     ;;
11116:   esac
11117:   ;;
11118: 
11119: beos*)
11120:   library_names_spec='${libname}${shared_ext}'
11121:   dynamic_linker="$host_os ld.so"
11122:   shlibpath_var=LIBRARY_PATH
11123:   ;;
11124: 
11125: bsdi[45]*)
11126:   version_type=linux
11127:   need_version=no
11128:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129:   soname_spec='${libname}${release}${shared_ext}$major'
11130:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11131:   shlibpath_var=LD_LIBRARY_PATH
11132:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11133:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11134:   # the default ld.so.conf also contains /usr/contrib/lib and
11135:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11136:   # libtool to hard-code these into programs
11137:   ;;
11138: 
11139: cygwin* | mingw* | pw32* | cegcc*)
11140:   version_type=windows
11141:   shrext_cmds=".dll"
11142:   need_version=no
11143:   need_lib_prefix=no
11144: 
11145:   case $GCC,$cc_basename in
11146:   yes,*)
11147:     # gcc
11148:     library_names_spec='$libname.dll.a'
11149:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11150:     postinstall_cmds='base_file=`basename \${file}`~
11151:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11152:       dldir=$destdir/`dirname \$dlpath`~
11153:       test -d \$dldir || mkdir -p \$dldir~
11154:       $install_prog $dir/$dlname \$dldir/$dlname~
11155:       chmod a+x \$dldir/$dlname~
11156:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11157:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11158:       fi'
11159:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11160:       dlpath=$dir/\$dldll~
11161:        $RM \$dlpath'
11162:     shlibpath_overrides_runpath=yes
11163: 
11164:     case $host_os in
11165:     cygwin*)
11166:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11167:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11168: 
11169:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11170:       ;;
11171:     mingw* | cegcc*)
11172:       # MinGW DLLs use traditional 'lib' prefix
11173:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11174:       ;;
11175:     pw32*)
11176:       # pw32 DLLs use 'pw' prefix rather than 'lib'
11177:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11178:       ;;
11179:     esac
11180:     dynamic_linker='Win32 ld.exe'
11181:     ;;
11182: 
11183:   *,cl*)
11184:     # Native MSVC
11185:     libname_spec='$name'
11186:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11187:     library_names_spec='${libname}.dll.lib'
11188: 
11189:     case $build_os in
11190:     mingw*)
11191:       sys_lib_search_path_spec=
11192:       lt_save_ifs=$IFS
11193:       IFS=';'
11194:       for lt_path in $LIB
11195:       do
11196:         IFS=$lt_save_ifs
11197:         # Let DOS variable expansion print the short 8.3 style file name.
11198:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11199:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11200:       done
11201:       IFS=$lt_save_ifs
11202:       # Convert to MSYS style.
11203:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11204:       ;;
11205:     cygwin*)
11206:       # Convert to unix form, then to dos form, then back to unix form
11207:       # but this time dos style (no spaces!) so that the unix form looks
11208:       # like /cygdrive/c/PROGRA~1:/cygdr...
11209:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11210:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11211:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11212:       ;;
11213:     *)
11214:       sys_lib_search_path_spec="$LIB"
11215:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11216:         # It is most probably a Windows format PATH.
11217:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11218:       else
11219:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11220:       fi
11221:       # FIXME: find the short name or the path components, as spaces are
11222:       # common. (e.g. "Program Files" -> "PROGRA~1")
11223:       ;;
11224:     esac
11225: 
11226:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11227:     postinstall_cmds='base_file=`basename \${file}`~
11228:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11229:       dldir=$destdir/`dirname \$dlpath`~
11230:       test -d \$dldir || mkdir -p \$dldir~
11231:       $install_prog $dir/$dlname \$dldir/$dlname'
11232:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11233:       dlpath=$dir/\$dldll~
11234:        $RM \$dlpath'
11235:     shlibpath_overrides_runpath=yes
11236:     dynamic_linker='Win32 link.exe'
11237:     ;;
11238: 
11239:   *)
11240:     # Assume MSVC wrapper
11241:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11242:     dynamic_linker='Win32 ld.exe'
11243:     ;;
11244:   esac
11245:   # FIXME: first we should search . and the directory the executable is in
11246:   shlibpath_var=PATH
11247:   ;;
11248: 
11249: darwin* | rhapsody*)
11250:   dynamic_linker="$host_os dyld"
11251:   version_type=darwin
11252:   need_lib_prefix=no
11253:   need_version=no
11254:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11255:   soname_spec='${libname}${release}${major}$shared_ext'
11256:   shlibpath_overrides_runpath=yes
11257:   shlibpath_var=DYLD_LIBRARY_PATH
11258:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11259: 
11260:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11261:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11262:   ;;
11263: 
11264: dgux*)
11265:   version_type=linux
11266:   need_lib_prefix=no
11267:   need_version=no
11268:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11269:   soname_spec='${libname}${release}${shared_ext}$major'
11270:   shlibpath_var=LD_LIBRARY_PATH
11271:   ;;
11272: 
11273: freebsd1*)
11274:   dynamic_linker=no
11275:   ;;
11276: 
11277: freebsd* | dragonfly*)
11278:   # DragonFly does not have aout.  When/if they implement a new
11279:   # versioning mechanism, adjust this.
11280:   if test -x /usr/bin/objformat; then
11281:     objformat=`/usr/bin/objformat`
11282:   else
11283:     case $host_os in
11284:     freebsd[123]*) objformat=aout ;;
11285:     *) objformat=elf ;;
11286:     esac
11287:   fi
11288:   # Handle Gentoo/FreeBSD as it was Linux
11289:   case $host_vendor in
11290:     gentoo)
11291:       version_type=linux ;;
11292:     *)
11293:       version_type=freebsd-$objformat ;;
11294:   esac
11295: 
11296:   case $version_type in
11297:     freebsd-elf*)
11298:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11299:       need_version=no
11300:       need_lib_prefix=no
11301:       ;;
11302:     freebsd-*)
11303:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11304:       need_version=yes
11305:       ;;
11306:     linux)
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:       need_lib_prefix=no
11310:       need_version=no
11311:       ;;
11312:   esac
11313:   shlibpath_var=LD_LIBRARY_PATH
11314:   case $host_os in
11315:   freebsd2*)
11316:     shlibpath_overrides_runpath=yes
11317:     ;;
11318:   freebsd3.[01]* | freebsdelf3.[01]*)
11319:     shlibpath_overrides_runpath=yes
11320:     hardcode_into_libs=yes
11321:     ;;
11322:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11323:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11324:     shlibpath_overrides_runpath=no
11325:     hardcode_into_libs=yes
11326:     ;;
11327:   *) # from 4.6 on, and DragonFly
11328:     shlibpath_overrides_runpath=yes
11329:     hardcode_into_libs=yes
11330:     ;;
11331:   esac
11332:   ;;
11333: 
11334: gnu*)
11335:   version_type=linux
11336:   need_lib_prefix=no
11337:   need_version=no
11338:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11339:   soname_spec='${libname}${release}${shared_ext}$major'
11340:   shlibpath_var=LD_LIBRARY_PATH
11341:   hardcode_into_libs=yes
11342:   ;;
11343: 
11344: haiku*)
11345:   version_type=linux
11346:   need_lib_prefix=no
11347:   need_version=no
11348:   dynamic_linker="$host_os runtime_loader"
11349:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11350:   soname_spec='${libname}${release}${shared_ext}$major'
11351:   shlibpath_var=LIBRARY_PATH
11352:   shlibpath_overrides_runpath=yes
11353:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11354:   hardcode_into_libs=yes
11355:   ;;
11356: 
11357: hpux9* | hpux10* | hpux11*)
11358:   # Give a soname corresponding to the major version so that dld.sl refuses to
11359:   # link against other versions.
11360:   version_type=sunos
11361:   need_lib_prefix=no
11362:   need_version=no
11363:   case $host_cpu in
11364:   ia64*)
11365:     shrext_cmds='.so'
11366:     hardcode_into_libs=yes
11367:     dynamic_linker="$host_os dld.so"
11368:     shlibpath_var=LD_LIBRARY_PATH
11369:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11370:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371:     soname_spec='${libname}${release}${shared_ext}$major'
11372:     if test "X$HPUX_IA64_MODE" = X32; then
11373:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11374:     else
11375:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11376:     fi
11377:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378:     ;;
11379:   hppa*64*)
11380:     shrext_cmds='.sl'
11381:     hardcode_into_libs=yes
11382:     dynamic_linker="$host_os dld.sl"
11383:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11384:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11385:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11386:     soname_spec='${libname}${release}${shared_ext}$major'
11387:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11388:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11389:     ;;
11390:   *)
11391:     shrext_cmds='.sl'
11392:     dynamic_linker="$host_os dld.sl"
11393:     shlibpath_var=SHLIB_PATH
11394:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11395:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396:     soname_spec='${libname}${release}${shared_ext}$major'
11397:     ;;
11398:   esac
11399:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11400:   postinstall_cmds='chmod 555 $lib'
11401:   # or fails outright, so override atomically:
11402:   install_override_mode=555
11403:   ;;
11404: 
11405: interix[3-9]*)
11406:   version_type=linux
11407:   need_lib_prefix=no
11408:   need_version=no
11409:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11410:   soname_spec='${libname}${release}${shared_ext}$major'
11411:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11412:   shlibpath_var=LD_LIBRARY_PATH
11413:   shlibpath_overrides_runpath=no
11414:   hardcode_into_libs=yes
11415:   ;;
11416: 
11417: irix5* | irix6* | nonstopux*)
11418:   case $host_os in
11419:     nonstopux*) version_type=nonstopux ;;
11420:     *)
11421: 	if test "$lt_cv_prog_gnu_ld" = yes; then
11422: 		version_type=linux
11423: 	else
11424: 		version_type=irix
11425: 	fi ;;
11426:   esac
11427:   need_lib_prefix=no
11428:   need_version=no
11429:   soname_spec='${libname}${release}${shared_ext}$major'
11430:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11431:   case $host_os in
11432:   irix5* | nonstopux*)
11433:     libsuff= shlibsuff=
11434:     ;;
11435:   *)
11436:     case $LD in # libtool.m4 will add one of these switches to LD
11437:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11438:       libsuff= shlibsuff= libmagic=32-bit;;
11439:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11440:       libsuff=32 shlibsuff=N32 libmagic=N32;;
11441:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11442:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11443:     *) libsuff= shlibsuff= libmagic=never-match;;
11444:     esac
11445:     ;;
11446:   esac
11447:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11448:   shlibpath_overrides_runpath=no
11449:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11450:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11451:   hardcode_into_libs=yes
11452:   ;;
11453: 
11454: # No shared lib support for Linux oldld, aout, or coff.
11455: linux*oldld* | linux*aout* | linux*coff*)
11456:   dynamic_linker=no
11457:   ;;
11458: 
11459: # This must be Linux ELF.
11460: linux* | k*bsd*-gnu | kopensolaris*-gnu)
11461:   version_type=linux
11462:   need_lib_prefix=no
11463:   need_version=no
11464:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465:   soname_spec='${libname}${release}${shared_ext}$major'
11466:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11467:   shlibpath_var=LD_LIBRARY_PATH
11468:   shlibpath_overrides_runpath=no
11469: 
11470:   # Some binutils ld are patched to set DT_RUNPATH
11471:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11472:   $as_echo_n "(cached) " >&6
11473: else
11474:   lt_cv_shlibpath_overrides_runpath=no
11475:     save_LDFLAGS=$LDFLAGS
11476:     save_libdir=$libdir
11477:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11478: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11479:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480: /* end confdefs.h.  */
11481: 
11482: int
11483: main ()
11484: {
11485: 
11486:   ;
11487:   return 0;
11488: }
11489: _ACEOF
11490: if ac_fn_c_try_link "$LINENO"; then :
11491:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11492:   lt_cv_shlibpath_overrides_runpath=yes
11493: fi
11494: fi
11495: rm -f core conftest.err conftest.$ac_objext \
11496:     conftest$ac_exeext conftest.$ac_ext
11497:     LDFLAGS=$save_LDFLAGS
11498:     libdir=$save_libdir
11499: 
11500: fi
11501: 
11502:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11503: 
11504:   # This implies no fast_install, which is unacceptable.
11505:   # Some rework will be needed to allow for fast_install
11506:   # before this can be enabled.
11507:   hardcode_into_libs=yes
11508: 
11509:   # Append ld.so.conf contents to the search path
11510:   if test -f /etc/ld.so.conf; then
11511:     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' ' '`
11512:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11513:   fi
11514: 
11515:   # We used to test for /lib/ld.so.1 and disable shared libraries on
11516:   # powerpc, because MkLinux only supported shared libraries with the
11517:   # GNU dynamic linker.  Since this was broken with cross compilers,
11518:   # most powerpc-linux boxes support dynamic linking these days and
11519:   # people can always --disable-shared, the test was removed, and we
11520:   # assume the GNU/Linux dynamic linker is in use.
11521:   dynamic_linker='GNU/Linux ld.so'
11522:   ;;
11523: 
11524: netbsd*)
11525:   version_type=sunos
11526:   need_lib_prefix=no
11527:   need_version=no
11528:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11529:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11530:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11531:     dynamic_linker='NetBSD (a.out) ld.so'
11532:   else
11533:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11534:     soname_spec='${libname}${release}${shared_ext}$major'
11535:     dynamic_linker='NetBSD ld.elf_so'
11536:   fi
11537:   shlibpath_var=LD_LIBRARY_PATH
11538:   shlibpath_overrides_runpath=yes
11539:   hardcode_into_libs=yes
11540:   ;;
11541: 
11542: newsos6)
11543:   version_type=linux
11544:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11545:   shlibpath_var=LD_LIBRARY_PATH
11546:   shlibpath_overrides_runpath=yes
11547:   ;;
11548: 
11549: *nto* | *qnx*)
11550:   version_type=qnx
11551:   need_lib_prefix=no
11552:   need_version=no
11553:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554:   soname_spec='${libname}${release}${shared_ext}$major'
11555:   shlibpath_var=LD_LIBRARY_PATH
11556:   shlibpath_overrides_runpath=no
11557:   hardcode_into_libs=yes
11558:   dynamic_linker='ldqnx.so'
11559:   ;;
11560: 
11561: openbsd*)
11562:   version_type=sunos
11563:   sys_lib_dlsearch_path_spec="/usr/lib"
11564:   need_lib_prefix=no
11565:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11566:   case $host_os in
11567:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11568:     *)				need_version=no  ;;
11569:   esac
11570:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11571:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11572:   shlibpath_var=LD_LIBRARY_PATH
11573:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11574:     case $host_os in
11575:       openbsd2.[89] | openbsd2.[89].*)
11576: 	shlibpath_overrides_runpath=no
11577: 	;;
11578:       *)
11579: 	shlibpath_overrides_runpath=yes
11580: 	;;
11581:       esac
11582:   else
11583:     shlibpath_overrides_runpath=yes
11584:   fi
11585:   ;;
11586: 
11587: os2*)
11588:   libname_spec='$name'
11589:   shrext_cmds=".dll"
11590:   need_lib_prefix=no
11591:   library_names_spec='$libname${shared_ext} $libname.a'
11592:   dynamic_linker='OS/2 ld.exe'
11593:   shlibpath_var=LIBPATH
11594:   ;;
11595: 
11596: osf3* | osf4* | osf5*)
11597:   version_type=osf
11598:   need_lib_prefix=no
11599:   need_version=no
11600:   soname_spec='${libname}${release}${shared_ext}$major'
11601:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602:   shlibpath_var=LD_LIBRARY_PATH
11603:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11604:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11605:   ;;
11606: 
11607: rdos*)
11608:   dynamic_linker=no
11609:   ;;
11610: 
11611: solaris*)
11612:   version_type=linux
11613:   need_lib_prefix=no
11614:   need_version=no
11615:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11616:   soname_spec='${libname}${release}${shared_ext}$major'
11617:   shlibpath_var=LD_LIBRARY_PATH
11618:   shlibpath_overrides_runpath=yes
11619:   hardcode_into_libs=yes
11620:   # ldd complains unless libraries are executable
11621:   postinstall_cmds='chmod +x $lib'
11622:   ;;
11623: 
11624: sunos4*)
11625:   version_type=sunos
11626:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11627:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11628:   shlibpath_var=LD_LIBRARY_PATH
11629:   shlibpath_overrides_runpath=yes
11630:   if test "$with_gnu_ld" = yes; then
11631:     need_lib_prefix=no
11632:   fi
11633:   need_version=yes
11634:   ;;
11635: 
11636: sysv4 | sysv4.3*)
11637:   version_type=linux
11638:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639:   soname_spec='${libname}${release}${shared_ext}$major'
11640:   shlibpath_var=LD_LIBRARY_PATH
11641:   case $host_vendor in
11642:     sni)
11643:       shlibpath_overrides_runpath=no
11644:       need_lib_prefix=no
11645:       runpath_var=LD_RUN_PATH
11646:       ;;
11647:     siemens)
11648:       need_lib_prefix=no
11649:       ;;
11650:     motorola)
11651:       need_lib_prefix=no
11652:       need_version=no
11653:       shlibpath_overrides_runpath=no
11654:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11655:       ;;
11656:   esac
11657:   ;;
11658: 
11659: sysv4*MP*)
11660:   if test -d /usr/nec ;then
11661:     version_type=linux
11662:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11663:     soname_spec='$libname${shared_ext}.$major'
11664:     shlibpath_var=LD_LIBRARY_PATH
11665:   fi
11666:   ;;
11667: 
11668: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11669:   version_type=freebsd-elf
11670:   need_lib_prefix=no
11671:   need_version=no
11672:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11673:   soname_spec='${libname}${release}${shared_ext}$major'
11674:   shlibpath_var=LD_LIBRARY_PATH
11675:   shlibpath_overrides_runpath=yes
11676:   hardcode_into_libs=yes
11677:   if test "$with_gnu_ld" = yes; then
11678:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11679:   else
11680:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11681:     case $host_os in
11682:       sco3.2v5*)
11683:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11684: 	;;
11685:     esac
11686:   fi
11687:   sys_lib_dlsearch_path_spec='/usr/lib'
11688:   ;;
11689: 
11690: tpf*)
11691:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11692:   version_type=linux
11693:   need_lib_prefix=no
11694:   need_version=no
11695:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696:   shlibpath_var=LD_LIBRARY_PATH
11697:   shlibpath_overrides_runpath=no
11698:   hardcode_into_libs=yes
11699:   ;;
11700: 
11701: uts4*)
11702:   version_type=linux
11703:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11704:   soname_spec='${libname}${release}${shared_ext}$major'
11705:   shlibpath_var=LD_LIBRARY_PATH
11706:   ;;
11707: 
11708: *)
11709:   dynamic_linker=no
11710:   ;;
11711: esac
11712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11713: $as_echo "$dynamic_linker" >&6; }
11714: test "$dynamic_linker" = no && can_build_shared=no
11715: 
11716: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11717: if test "$GCC" = yes; then
11718:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11719: fi
11720: 
11721: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11722:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11723: fi
11724: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11725:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11726: fi
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: 
11789: 
11790: 
11791: 
11792: 
11793: 
11794: 
11795: 
11796: 
11797: 
11798: 
11799: 
11800: 
11801: 
11802: 
11803: 
11804: 
11805: 
11806: 
11807: 
11808: 
11809: 
11810: 
11811: 
11812: 
11813: 
11814: 
11815: 
11816: 
11817: 
11818: 
11819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11820: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11821: hardcode_action=
11822: if test -n "$hardcode_libdir_flag_spec" ||
11823:    test -n "$runpath_var" ||
11824:    test "X$hardcode_automatic" = "Xyes" ; then
11825: 
11826:   # We can hardcode non-existent directories.
11827:   if test "$hardcode_direct" != no &&
11828:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11829:      # have to relink, otherwise we might link with an installed library
11830:      # when we should be linking with a yet-to-be-installed one
11831:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11832:      test "$hardcode_minus_L" != no; then
11833:     # Linking always hardcodes the temporary library directory.
11834:     hardcode_action=relink
11835:   else
11836:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11837:     hardcode_action=immediate
11838:   fi
11839: else
11840:   # We cannot hardcode anything, or else we can only hardcode existing
11841:   # directories.
11842:   hardcode_action=unsupported
11843: fi
11844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11845: $as_echo "$hardcode_action" >&6; }
11846: 
11847: if test "$hardcode_action" = relink ||
11848:    test "$inherit_rpath" = yes; then
11849:   # Fast installation is not supported
11850:   enable_fast_install=no
11851: elif test "$shlibpath_overrides_runpath" = yes ||
11852:      test "$enable_shared" = no; then
11853:   # Fast installation is not necessary
11854:   enable_fast_install=needless
11855: fi
11856: 
11857: 
11858: 
11859: 
11860: 
11861: 
11862:   if test "x$enable_dlopen" != xyes; then
11863:   enable_dlopen=unknown
11864:   enable_dlopen_self=unknown
11865:   enable_dlopen_self_static=unknown
11866: else
11867:   lt_cv_dlopen=no
11868:   lt_cv_dlopen_libs=
11869: 
11870:   case $host_os in
11871:   beos*)
11872:     lt_cv_dlopen="load_add_on"
11873:     lt_cv_dlopen_libs=
11874:     lt_cv_dlopen_self=yes
11875:     ;;
11876: 
11877:   mingw* | pw32* | cegcc*)
11878:     lt_cv_dlopen="LoadLibrary"
11879:     lt_cv_dlopen_libs=
11880:     ;;
11881: 
11882:   cygwin*)
11883:     lt_cv_dlopen="dlopen"
11884:     lt_cv_dlopen_libs=
11885:     ;;
11886: 
11887:   darwin*)
11888:   # if libdl is installed we need to link against it
11889:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11890: $as_echo_n "checking for dlopen in -ldl... " >&6; }
11891: if ${ac_cv_lib_dl_dlopen+:} false; then :
11892:   $as_echo_n "(cached) " >&6
11893: else
11894:   ac_check_lib_save_LIBS=$LIBS
11895: LIBS="-ldl  $LIBS"
11896: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897: /* end confdefs.h.  */
11898: 
11899: /* Override any GCC internal prototype to avoid an error.
11900:    Use char because int might match the return type of a GCC
11901:    builtin and then its argument prototype would still apply.  */
11902: #ifdef __cplusplus
11903: extern "C"
11904: #endif
11905: char dlopen ();
11906: int
11907: main ()
11908: {
11909: return dlopen ();
11910:   ;
11911:   return 0;
11912: }
11913: _ACEOF
11914: if ac_fn_c_try_link "$LINENO"; then :
11915:   ac_cv_lib_dl_dlopen=yes
11916: else
11917:   ac_cv_lib_dl_dlopen=no
11918: fi
11919: rm -f core conftest.err conftest.$ac_objext \
11920:     conftest$ac_exeext conftest.$ac_ext
11921: LIBS=$ac_check_lib_save_LIBS
11922: fi
11923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11924: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11925: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11926:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11927: else
11928: 
11929:     lt_cv_dlopen="dyld"
11930:     lt_cv_dlopen_libs=
11931:     lt_cv_dlopen_self=yes
11932: 
11933: fi
11934: 
11935:     ;;
11936: 
11937:   *)
11938:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11939: if test "x$ac_cv_func_shl_load" = xyes; then :
11940:   lt_cv_dlopen="shl_load"
11941: else
11942:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11943: $as_echo_n "checking for shl_load in -ldld... " >&6; }
11944: if ${ac_cv_lib_dld_shl_load+:} false; then :
11945:   $as_echo_n "(cached) " >&6
11946: else
11947:   ac_check_lib_save_LIBS=$LIBS
11948: LIBS="-ldld  $LIBS"
11949: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950: /* end confdefs.h.  */
11951: 
11952: /* Override any GCC internal prototype to avoid an error.
11953:    Use char because int might match the return type of a GCC
11954:    builtin and then its argument prototype would still apply.  */
11955: #ifdef __cplusplus
11956: extern "C"
11957: #endif
11958: char shl_load ();
11959: int
11960: main ()
11961: {
11962: return shl_load ();
11963:   ;
11964:   return 0;
11965: }
11966: _ACEOF
11967: if ac_fn_c_try_link "$LINENO"; then :
11968:   ac_cv_lib_dld_shl_load=yes
11969: else
11970:   ac_cv_lib_dld_shl_load=no
11971: fi
11972: rm -f core conftest.err conftest.$ac_objext \
11973:     conftest$ac_exeext conftest.$ac_ext
11974: LIBS=$ac_check_lib_save_LIBS
11975: fi
11976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11977: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11978: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11979:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11980: else
11981:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11982: if test "x$ac_cv_func_dlopen" = xyes; then :
11983:   lt_cv_dlopen="dlopen"
11984: else
11985:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11986: $as_echo_n "checking for dlopen in -ldl... " >&6; }
11987: if ${ac_cv_lib_dl_dlopen+:} false; then :
11988:   $as_echo_n "(cached) " >&6
11989: else
11990:   ac_check_lib_save_LIBS=$LIBS
11991: LIBS="-ldl  $LIBS"
11992: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993: /* end confdefs.h.  */
11994: 
11995: /* Override any GCC internal prototype to avoid an error.
11996:    Use char because int might match the return type of a GCC
11997:    builtin and then its argument prototype would still apply.  */
11998: #ifdef __cplusplus
11999: extern "C"
12000: #endif
12001: char dlopen ();
12002: int
12003: main ()
12004: {
12005: return dlopen ();
12006:   ;
12007:   return 0;
12008: }
12009: _ACEOF
12010: if ac_fn_c_try_link "$LINENO"; then :
12011:   ac_cv_lib_dl_dlopen=yes
12012: else
12013:   ac_cv_lib_dl_dlopen=no
12014: fi
12015: rm -f core conftest.err conftest.$ac_objext \
12016:     conftest$ac_exeext conftest.$ac_ext
12017: LIBS=$ac_check_lib_save_LIBS
12018: fi
12019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12020: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12021: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12022:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12023: else
12024:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12025: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12026: if ${ac_cv_lib_svld_dlopen+:} false; then :
12027:   $as_echo_n "(cached) " >&6
12028: else
12029:   ac_check_lib_save_LIBS=$LIBS
12030: LIBS="-lsvld  $LIBS"
12031: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032: /* end confdefs.h.  */
12033: 
12034: /* Override any GCC internal prototype to avoid an error.
12035:    Use char because int might match the return type of a GCC
12036:    builtin and then its argument prototype would still apply.  */
12037: #ifdef __cplusplus
12038: extern "C"
12039: #endif
12040: char dlopen ();
12041: int
12042: main ()
12043: {
12044: return dlopen ();
12045:   ;
12046:   return 0;
12047: }
12048: _ACEOF
12049: if ac_fn_c_try_link "$LINENO"; then :
12050:   ac_cv_lib_svld_dlopen=yes
12051: else
12052:   ac_cv_lib_svld_dlopen=no
12053: fi
12054: rm -f core conftest.err conftest.$ac_objext \
12055:     conftest$ac_exeext conftest.$ac_ext
12056: LIBS=$ac_check_lib_save_LIBS
12057: fi
12058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12059: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12060: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12061:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12062: else
12063:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12064: $as_echo_n "checking for dld_link in -ldld... " >&6; }
12065: if ${ac_cv_lib_dld_dld_link+:} false; then :
12066:   $as_echo_n "(cached) " >&6
12067: else
12068:   ac_check_lib_save_LIBS=$LIBS
12069: LIBS="-ldld  $LIBS"
12070: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071: /* end confdefs.h.  */
12072: 
12073: /* Override any GCC internal prototype to avoid an error.
12074:    Use char because int might match the return type of a GCC
12075:    builtin and then its argument prototype would still apply.  */
12076: #ifdef __cplusplus
12077: extern "C"
12078: #endif
12079: char dld_link ();
12080: int
12081: main ()
12082: {
12083: return dld_link ();
12084:   ;
12085:   return 0;
12086: }
12087: _ACEOF
12088: if ac_fn_c_try_link "$LINENO"; then :
12089:   ac_cv_lib_dld_dld_link=yes
12090: else
12091:   ac_cv_lib_dld_dld_link=no
12092: fi
12093: rm -f core conftest.err conftest.$ac_objext \
12094:     conftest$ac_exeext conftest.$ac_ext
12095: LIBS=$ac_check_lib_save_LIBS
12096: fi
12097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12098: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12099: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12100:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12101: fi
12102: 
12103: 
12104: fi
12105: 
12106: 
12107: fi
12108: 
12109: 
12110: fi
12111: 
12112: 
12113: fi
12114: 
12115: 
12116: fi
12117: 
12118:     ;;
12119:   esac
12120: 
12121:   if test "x$lt_cv_dlopen" != xno; then
12122:     enable_dlopen=yes
12123:   else
12124:     enable_dlopen=no
12125:   fi
12126: 
12127:   case $lt_cv_dlopen in
12128:   dlopen)
12129:     save_CPPFLAGS="$CPPFLAGS"
12130:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12131: 
12132:     save_LDFLAGS="$LDFLAGS"
12133:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12134: 
12135:     save_LIBS="$LIBS"
12136:     LIBS="$lt_cv_dlopen_libs $LIBS"
12137: 
12138:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12139: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12140: if ${lt_cv_dlopen_self+:} false; then :
12141:   $as_echo_n "(cached) " >&6
12142: else
12143:   	  if test "$cross_compiling" = yes; then :
12144:   lt_cv_dlopen_self=cross
12145: else
12146:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12147:   lt_status=$lt_dlunknown
12148:   cat > conftest.$ac_ext <<_LT_EOF
12149: #line $LINENO "configure"
12150: #include "confdefs.h"
12151: 
12152: #if HAVE_DLFCN_H
12153: #include <dlfcn.h>
12154: #endif
12155: 
12156: #include <stdio.h>
12157: 
12158: #ifdef RTLD_GLOBAL
12159: #  define LT_DLGLOBAL		RTLD_GLOBAL
12160: #else
12161: #  ifdef DL_GLOBAL
12162: #    define LT_DLGLOBAL		DL_GLOBAL
12163: #  else
12164: #    define LT_DLGLOBAL		0
12165: #  endif
12166: #endif
12167: 
12168: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12169:    find out it does not work in some platform. */
12170: #ifndef LT_DLLAZY_OR_NOW
12171: #  ifdef RTLD_LAZY
12172: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12173: #  else
12174: #    ifdef DL_LAZY
12175: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12176: #    else
12177: #      ifdef RTLD_NOW
12178: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12179: #      else
12180: #        ifdef DL_NOW
12181: #          define LT_DLLAZY_OR_NOW	DL_NOW
12182: #        else
12183: #          define LT_DLLAZY_OR_NOW	0
12184: #        endif
12185: #      endif
12186: #    endif
12187: #  endif
12188: #endif
12189: 
12190: /* When -fvisbility=hidden is used, assume the code has been annotated
12191:    correspondingly for the symbols needed.  */
12192: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12193: int fnord () __attribute__((visibility("default")));
12194: #endif
12195: 
12196: int fnord () { return 42; }
12197: int main ()
12198: {
12199:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12200:   int status = $lt_dlunknown;
12201: 
12202:   if (self)
12203:     {
12204:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12205:       else
12206:         {
12207: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12208:           else puts (dlerror ());
12209: 	}
12210:       /* dlclose (self); */
12211:     }
12212:   else
12213:     puts (dlerror ());
12214: 
12215:   return status;
12216: }
12217: _LT_EOF
12218:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12219:   (eval $ac_link) 2>&5
12220:   ac_status=$?
12221:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12222:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12223:     (./conftest; exit; ) >&5 2>/dev/null
12224:     lt_status=$?
12225:     case x$lt_status in
12226:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12227:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12228:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12229:     esac
12230:   else :
12231:     # compilation failed
12232:     lt_cv_dlopen_self=no
12233:   fi
12234: fi
12235: rm -fr conftest*
12236: 
12237: 
12238: fi
12239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12240: $as_echo "$lt_cv_dlopen_self" >&6; }
12241: 
12242:     if test "x$lt_cv_dlopen_self" = xyes; then
12243:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12244:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12245: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12246: if ${lt_cv_dlopen_self_static+:} false; then :
12247:   $as_echo_n "(cached) " >&6
12248: else
12249:   	  if test "$cross_compiling" = yes; then :
12250:   lt_cv_dlopen_self_static=cross
12251: else
12252:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12253:   lt_status=$lt_dlunknown
12254:   cat > conftest.$ac_ext <<_LT_EOF
12255: #line $LINENO "configure"
12256: #include "confdefs.h"
12257: 
12258: #if HAVE_DLFCN_H
12259: #include <dlfcn.h>
12260: #endif
12261: 
12262: #include <stdio.h>
12263: 
12264: #ifdef RTLD_GLOBAL
12265: #  define LT_DLGLOBAL		RTLD_GLOBAL
12266: #else
12267: #  ifdef DL_GLOBAL
12268: #    define LT_DLGLOBAL		DL_GLOBAL
12269: #  else
12270: #    define LT_DLGLOBAL		0
12271: #  endif
12272: #endif
12273: 
12274: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12275:    find out it does not work in some platform. */
12276: #ifndef LT_DLLAZY_OR_NOW
12277: #  ifdef RTLD_LAZY
12278: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12279: #  else
12280: #    ifdef DL_LAZY
12281: #      define LT_DLLAZY_OR_NOW		DL_LAZY
12282: #    else
12283: #      ifdef RTLD_NOW
12284: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12285: #      else
12286: #        ifdef DL_NOW
12287: #          define LT_DLLAZY_OR_NOW	DL_NOW
12288: #        else
12289: #          define LT_DLLAZY_OR_NOW	0
12290: #        endif
12291: #      endif
12292: #    endif
12293: #  endif
12294: #endif
12295: 
12296: /* When -fvisbility=hidden is used, assume the code has been annotated
12297:    correspondingly for the symbols needed.  */
12298: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12299: int fnord () __attribute__((visibility("default")));
12300: #endif
12301: 
12302: int fnord () { return 42; }
12303: int main ()
12304: {
12305:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12306:   int status = $lt_dlunknown;
12307: 
12308:   if (self)
12309:     {
12310:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12311:       else
12312:         {
12313: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12314:           else puts (dlerror ());
12315: 	}
12316:       /* dlclose (self); */
12317:     }
12318:   else
12319:     puts (dlerror ());
12320: 
12321:   return status;
12322: }
12323: _LT_EOF
12324:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12325:   (eval $ac_link) 2>&5
12326:   ac_status=$?
12327:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12328:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12329:     (./conftest; exit; ) >&5 2>/dev/null
12330:     lt_status=$?
12331:     case x$lt_status in
12332:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12333:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12334:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12335:     esac
12336:   else :
12337:     # compilation failed
12338:     lt_cv_dlopen_self_static=no
12339:   fi
12340: fi
12341: rm -fr conftest*
12342: 
12343: 
12344: fi
12345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12346: $as_echo "$lt_cv_dlopen_self_static" >&6; }
12347:     fi
12348: 
12349:     CPPFLAGS="$save_CPPFLAGS"
12350:     LDFLAGS="$save_LDFLAGS"
12351:     LIBS="$save_LIBS"
12352:     ;;
12353:   esac
12354: 
12355:   case $lt_cv_dlopen_self in
12356:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12357:   *) enable_dlopen_self=unknown ;;
12358:   esac
12359: 
12360:   case $lt_cv_dlopen_self_static in
12361:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12362:   *) enable_dlopen_self_static=unknown ;;
12363:   esac
12364: fi
12365: 
12366: 
12367: 
12368: 
12369: 
12370: 
12371: 
12372: 
12373: 
12374: 
12375: 
12376: 
12377: 
12378: 
12379: 
12380: 
12381: 
12382: striplib=
12383: old_striplib=
12384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12385: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12386: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12387:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12388:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390: $as_echo "yes" >&6; }
12391: else
12392: # FIXME - insert some real tests, host_os isn't really good enough
12393:   case $host_os in
12394:   darwin*)
12395:     if test -n "$STRIP" ; then
12396:       striplib="$STRIP -x"
12397:       old_striplib="$STRIP -S"
12398:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12399: $as_echo "yes" >&6; }
12400:     else
12401:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12402: $as_echo "no" >&6; }
12403:     fi
12404:     ;;
12405:   *)
12406:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407: $as_echo "no" >&6; }
12408:     ;;
12409:   esac
12410: fi
12411: 
12412: 
12413: 
12414: 
12415: 
12416: 
12417: 
12418: 
12419: 
12420: 
12421: 
12422: 
12423:   # Report which library types will actually be built
12424:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12425: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12427: $as_echo "$can_build_shared" >&6; }
12428: 
12429:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12430: $as_echo_n "checking whether to build shared libraries... " >&6; }
12431:   test "$can_build_shared" = "no" && enable_shared=no
12432: 
12433:   # On AIX, shared libraries and static libraries use the same namespace, and
12434:   # are all built from PIC.
12435:   case $host_os in
12436:   aix3*)
12437:     test "$enable_shared" = yes && enable_static=no
12438:     if test -n "$RANLIB"; then
12439:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12440:       postinstall_cmds='$RANLIB $lib'
12441:     fi
12442:     ;;
12443: 
12444:   aix[4-9]*)
12445:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12446:       test "$enable_shared" = yes && enable_static=no
12447:     fi
12448:     ;;
12449:   esac
12450:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12451: $as_echo "$enable_shared" >&6; }
12452: 
12453:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12454: $as_echo_n "checking whether to build static libraries... " >&6; }
12455:   # Make sure either enable_shared or enable_static is yes.
12456:   test "$enable_shared" = yes || enable_static=yes
12457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12458: $as_echo "$enable_static" >&6; }
12459: 
12460: 
12461: 
12462: 
12463: fi
12464: ac_ext=c
12465: ac_cpp='$CPP $CPPFLAGS'
12466: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12467: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12468: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12469: 
12470: CC="$lt_save_CC"
12471: 
12472:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12473:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12474:     (test "X$CXX" != "Xg++"))) ; then
12475:   ac_ext=cpp
12476: ac_cpp='$CXXCPP $CPPFLAGS'
12477: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12481: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12482: if test -z "$CXXCPP"; then
12483:   if ${ac_cv_prog_CXXCPP+:} false; then :
12484:   $as_echo_n "(cached) " >&6
12485: else
12486:       # Double quotes because CXXCPP needs to be expanded
12487:     for CXXCPP in "$CXX -E" "/lib/cpp"
12488:     do
12489:       ac_preproc_ok=false
12490: for ac_cxx_preproc_warn_flag in '' yes
12491: do
12492:   # Use a header file that comes with gcc, so configuring glibc
12493:   # with a fresh cross-compiler works.
12494:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12495:   # <limits.h> exists even on freestanding compilers.
12496:   # On the NeXT, cc -E runs the code through the compiler's parser,
12497:   # not just through cpp. "Syntax error" is here to catch this case.
12498:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499: /* end confdefs.h.  */
12500: #ifdef __STDC__
12501: # include <limits.h>
12502: #else
12503: # include <assert.h>
12504: #endif
12505: 		     Syntax error
12506: _ACEOF
12507: if ac_fn_cxx_try_cpp "$LINENO"; then :
12508: 
12509: else
12510:   # Broken: fails on valid input.
12511: continue
12512: fi
12513: rm -f conftest.err conftest.i conftest.$ac_ext
12514: 
12515:   # OK, works on sane cases.  Now check whether nonexistent headers
12516:   # can be detected and how.
12517:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518: /* end confdefs.h.  */
12519: #include <ac_nonexistent.h>
12520: _ACEOF
12521: if ac_fn_cxx_try_cpp "$LINENO"; then :
12522:   # Broken: success on invalid input.
12523: continue
12524: else
12525:   # Passes both tests.
12526: ac_preproc_ok=:
12527: break
12528: fi
12529: rm -f conftest.err conftest.i conftest.$ac_ext
12530: 
12531: done
12532: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12533: rm -f conftest.i conftest.err conftest.$ac_ext
12534: if $ac_preproc_ok; then :
12535:   break
12536: fi
12537: 
12538:     done
12539:     ac_cv_prog_CXXCPP=$CXXCPP
12540: 
12541: fi
12542:   CXXCPP=$ac_cv_prog_CXXCPP
12543: else
12544:   ac_cv_prog_CXXCPP=$CXXCPP
12545: fi
12546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12547: $as_echo "$CXXCPP" >&6; }
12548: ac_preproc_ok=false
12549: for ac_cxx_preproc_warn_flag in '' yes
12550: do
12551:   # Use a header file that comes with gcc, so configuring glibc
12552:   # with a fresh cross-compiler works.
12553:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12554:   # <limits.h> exists even on freestanding compilers.
12555:   # On the NeXT, cc -E runs the code through the compiler's parser,
12556:   # not just through cpp. "Syntax error" is here to catch this case.
12557:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558: /* end confdefs.h.  */
12559: #ifdef __STDC__
12560: # include <limits.h>
12561: #else
12562: # include <assert.h>
12563: #endif
12564: 		     Syntax error
12565: _ACEOF
12566: if ac_fn_cxx_try_cpp "$LINENO"; then :
12567: 
12568: else
12569:   # Broken: fails on valid input.
12570: continue
12571: fi
12572: rm -f conftest.err conftest.i conftest.$ac_ext
12573: 
12574:   # OK, works on sane cases.  Now check whether nonexistent headers
12575:   # can be detected and how.
12576:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577: /* end confdefs.h.  */
12578: #include <ac_nonexistent.h>
12579: _ACEOF
12580: if ac_fn_cxx_try_cpp "$LINENO"; then :
12581:   # Broken: success on invalid input.
12582: continue
12583: else
12584:   # Passes both tests.
12585: ac_preproc_ok=:
12586: break
12587: fi
12588: rm -f conftest.err conftest.i conftest.$ac_ext
12589: 
12590: done
12591: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12592: rm -f conftest.i conftest.err conftest.$ac_ext
12593: if $ac_preproc_ok; then :
12594: 
12595: else
12596:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12597: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12598: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12599: See \`config.log' for more details" "$LINENO" 5; }
12600: fi
12601: 
12602: ac_ext=c
12603: ac_cpp='$CPP $CPPFLAGS'
12604: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12607: 
12608: else
12609:   _lt_caught_CXX_error=yes
12610: fi
12611: 
12612: ac_ext=cpp
12613: ac_cpp='$CXXCPP $CPPFLAGS'
12614: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12617: 
12618: archive_cmds_need_lc_CXX=no
12619: allow_undefined_flag_CXX=
12620: always_export_symbols_CXX=no
12621: archive_expsym_cmds_CXX=
12622: compiler_needs_object_CXX=no
12623: export_dynamic_flag_spec_CXX=
12624: hardcode_direct_CXX=no
12625: hardcode_direct_absolute_CXX=no
12626: hardcode_libdir_flag_spec_CXX=
12627: hardcode_libdir_flag_spec_ld_CXX=
12628: hardcode_libdir_separator_CXX=
12629: hardcode_minus_L_CXX=no
12630: hardcode_shlibpath_var_CXX=unsupported
12631: hardcode_automatic_CXX=no
12632: inherit_rpath_CXX=no
12633: module_cmds_CXX=
12634: module_expsym_cmds_CXX=
12635: link_all_deplibs_CXX=unknown
12636: old_archive_cmds_CXX=$old_archive_cmds
12637: reload_flag_CXX=$reload_flag
12638: reload_cmds_CXX=$reload_cmds
12639: no_undefined_flag_CXX=
12640: whole_archive_flag_spec_CXX=
12641: enable_shared_with_static_runtimes_CXX=no
12642: 
12643: # Source file extension for C++ test sources.
12644: ac_ext=cpp
12645: 
12646: # Object file extension for compiled C++ test sources.
12647: objext=o
12648: objext_CXX=$objext
12649: 
12650: # No sense in running all these tests if we already determined that
12651: # the CXX compiler isn't working.  Some variables (like enable_shared)
12652: # are currently assumed to apply to all compilers on this platform,
12653: # and will be corrupted by setting them based on a non-working compiler.
12654: if test "$_lt_caught_CXX_error" != yes; then
12655:   # Code to be used in simple compile tests
12656:   lt_simple_compile_test_code="int some_variable = 0;"
12657: 
12658:   # Code to be used in simple link tests
12659:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12660: 
12661:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12662: 
12663: 
12664: 
12665: 
12666: 
12667: 
12668: # If no C compiler was specified, use CC.
12669: LTCC=${LTCC-"$CC"}
12670: 
12671: # If no C compiler flags were specified, use CFLAGS.
12672: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12673: 
12674: # Allow CC to be a program name with arguments.
12675: compiler=$CC
12676: 
12677: 
12678:   # save warnings/boilerplate of simple test code
12679:   ac_outfile=conftest.$ac_objext
12680: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12681: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12682: _lt_compiler_boilerplate=`cat conftest.err`
12683: $RM conftest*
12684: 
12685:   ac_outfile=conftest.$ac_objext
12686: echo "$lt_simple_link_test_code" >conftest.$ac_ext
12687: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12688: _lt_linker_boilerplate=`cat conftest.err`
12689: $RM -r conftest*
12690: 
12691: 
12692:   # Allow CC to be a program name with arguments.
12693:   lt_save_CC=$CC
12694:   lt_save_CFLAGS=$CFLAGS
12695:   lt_save_LD=$LD
12696:   lt_save_GCC=$GCC
12697:   GCC=$GXX
12698:   lt_save_with_gnu_ld=$with_gnu_ld
12699:   lt_save_path_LD=$lt_cv_path_LD
12700:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12701:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12702:   else
12703:     $as_unset lt_cv_prog_gnu_ld
12704:   fi
12705:   if test -n "${lt_cv_path_LDCXX+set}"; then
12706:     lt_cv_path_LD=$lt_cv_path_LDCXX
12707:   else
12708:     $as_unset lt_cv_path_LD
12709:   fi
12710:   test -z "${LDCXX+set}" || LD=$LDCXX
12711:   CC=${CXX-"c++"}
12712:   CFLAGS=$CXXFLAGS
12713:   compiler=$CC
12714:   compiler_CXX=$CC
12715:   for cc_temp in $compiler""; do
12716:   case $cc_temp in
12717:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12718:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12719:     \-*) ;;
12720:     *) break;;
12721:   esac
12722: done
12723: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12724: 
12725: 
12726:   if test -n "$compiler"; then
12727:     # We don't want -fno-exception when compiling C++ code, so set the
12728:     # no_builtin_flag separately
12729:     if test "$GXX" = yes; then
12730:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12731:     else
12732:       lt_prog_compiler_no_builtin_flag_CXX=
12733:     fi
12734: 
12735:     if test "$GXX" = yes; then
12736:       # Set up default GNU C++ configuration
12737: 
12738: 
12739: 
12740: # Check whether --with-gnu-ld was given.
12741: if test "${with_gnu_ld+set}" = set; then :
12742:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12743: else
12744:   with_gnu_ld=no
12745: fi
12746: 
12747: ac_prog=ld
12748: if test "$GCC" = yes; then
12749:   # Check if gcc -print-prog-name=ld gives a path.
12750:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12751: $as_echo_n "checking for ld used by $CC... " >&6; }
12752:   case $host in
12753:   *-*-mingw*)
12754:     # gcc leaves a trailing carriage return which upsets mingw
12755:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12756:   *)
12757:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12758:   esac
12759:   case $ac_prog in
12760:     # Accept absolute paths.
12761:     [\\/]* | ?:[\\/]*)
12762:       re_direlt='/[^/][^/]*/\.\./'
12763:       # Canonicalize the pathname of ld
12764:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12765:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12766: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12767:       done
12768:       test -z "$LD" && LD="$ac_prog"
12769:       ;;
12770:   "")
12771:     # If it fails, then pretend we aren't using GCC.
12772:     ac_prog=ld
12773:     ;;
12774:   *)
12775:     # If it is relative, then search for the first ld in PATH.
12776:     with_gnu_ld=unknown
12777:     ;;
12778:   esac
12779: elif test "$with_gnu_ld" = yes; then
12780:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12781: $as_echo_n "checking for GNU ld... " >&6; }
12782: else
12783:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12784: $as_echo_n "checking for non-GNU ld... " >&6; }
12785: fi
12786: if ${lt_cv_path_LD+:} false; then :
12787:   $as_echo_n "(cached) " >&6
12788: else
12789:   if test -z "$LD"; then
12790:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12791:   for ac_dir in $PATH; do
12792:     IFS="$lt_save_ifs"
12793:     test -z "$ac_dir" && ac_dir=.
12794:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12795:       lt_cv_path_LD="$ac_dir/$ac_prog"
12796:       # Check to see if the program is GNU ld.  I'd rather use --version,
12797:       # but apparently some variants of GNU ld only accept -v.
12798:       # Break only if it was the GNU/non-GNU ld that we prefer.
12799:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12800:       *GNU* | *'with BFD'*)
12801: 	test "$with_gnu_ld" != no && break
12802: 	;;
12803:       *)
12804: 	test "$with_gnu_ld" != yes && break
12805: 	;;
12806:       esac
12807:     fi
12808:   done
12809:   IFS="$lt_save_ifs"
12810: else
12811:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12812: fi
12813: fi
12814: 
12815: LD="$lt_cv_path_LD"
12816: if test -n "$LD"; then
12817:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12818: $as_echo "$LD" >&6; }
12819: else
12820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821: $as_echo "no" >&6; }
12822: fi
12823: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12825: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12826: if ${lt_cv_prog_gnu_ld+:} false; then :
12827:   $as_echo_n "(cached) " >&6
12828: else
12829:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12830: case `$LD -v 2>&1 </dev/null` in
12831: *GNU* | *'with BFD'*)
12832:   lt_cv_prog_gnu_ld=yes
12833:   ;;
12834: *)
12835:   lt_cv_prog_gnu_ld=no
12836:   ;;
12837: esac
12838: fi
12839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12840: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12841: with_gnu_ld=$lt_cv_prog_gnu_ld
12842: 
12843: 
12844: 
12845: 
12846: 
12847: 
12848: 
12849:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12850:       # archiving commands below assume that GNU ld is being used.
12851:       if test "$with_gnu_ld" = yes; then
12852:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853:         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'
12854: 
12855:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12856:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12857: 
12858:         # If archive_cmds runs LD, not CC, wlarc should be empty
12859:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12860:         #     investigate it a little bit more. (MM)
12861:         wlarc='${wl}'
12862: 
12863:         # ancient GNU ld didn't support --whole-archive et. al.
12864:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12865: 	  $GREP 'no-whole-archive' > /dev/null; then
12866:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12867:         else
12868:           whole_archive_flag_spec_CXX=
12869:         fi
12870:       else
12871:         with_gnu_ld=no
12872:         wlarc=
12873: 
12874:         # A generic and very simple default shared library creation
12875:         # command for GNU C++ for the case where it uses the native
12876:         # linker, instead of GNU ld.  If possible, this setting should
12877:         # overridden to take advantage of the native linker features on
12878:         # the platform it is being used on.
12879:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12880:       fi
12881: 
12882:       # Commands to make compiler produce verbose output that lists
12883:       # what "hidden" libraries, object files and flags are used when
12884:       # linking a shared library.
12885:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12886: 
12887:     else
12888:       GXX=no
12889:       with_gnu_ld=no
12890:       wlarc=
12891:     fi
12892: 
12893:     # PORTME: fill in a description of your system's C++ link characteristics
12894:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12895: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12896:     ld_shlibs_CXX=yes
12897:     case $host_os in
12898:       aix3*)
12899:         # FIXME: insert proper C++ library support
12900:         ld_shlibs_CXX=no
12901:         ;;
12902:       aix[4-9]*)
12903:         if test "$host_cpu" = ia64; then
12904:           # On IA64, the linker does run time linking by default, so we don't
12905:           # have to do anything special.
12906:           aix_use_runtimelinking=no
12907:           exp_sym_flag='-Bexport'
12908:           no_entry_flag=""
12909:         else
12910:           aix_use_runtimelinking=no
12911: 
12912:           # Test if we are trying to use run time linking or normal
12913:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12914:           # need to do runtime linking.
12915:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12916: 	    for ld_flag in $LDFLAGS; do
12917: 	      case $ld_flag in
12918: 	      *-brtl*)
12919: 	        aix_use_runtimelinking=yes
12920: 	        break
12921: 	        ;;
12922: 	      esac
12923: 	    done
12924: 	    ;;
12925:           esac
12926: 
12927:           exp_sym_flag='-bexport'
12928:           no_entry_flag='-bnoentry'
12929:         fi
12930: 
12931:         # When large executables or shared objects are built, AIX ld can
12932:         # have problems creating the table of contents.  If linking a library
12933:         # or program results in "error TOC overflow" add -mminimal-toc to
12934:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12935:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12936: 
12937:         archive_cmds_CXX=''
12938:         hardcode_direct_CXX=yes
12939:         hardcode_direct_absolute_CXX=yes
12940:         hardcode_libdir_separator_CXX=':'
12941:         link_all_deplibs_CXX=yes
12942:         file_list_spec_CXX='${wl}-f,'
12943: 
12944:         if test "$GXX" = yes; then
12945:           case $host_os in aix4.[012]|aix4.[012].*)
12946:           # We only want to do this on AIX 4.2 and lower, the check
12947:           # below for broken collect2 doesn't work under 4.3+
12948: 	  collect2name=`${CC} -print-prog-name=collect2`
12949: 	  if test -f "$collect2name" &&
12950: 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12951: 	  then
12952: 	    # We have reworked collect2
12953: 	    :
12954: 	  else
12955: 	    # We have old collect2
12956: 	    hardcode_direct_CXX=unsupported
12957: 	    # It fails to find uninstalled libraries when the uninstalled
12958: 	    # path is not listed in the libpath.  Setting hardcode_minus_L
12959: 	    # to unsupported forces relinking
12960: 	    hardcode_minus_L_CXX=yes
12961: 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12962: 	    hardcode_libdir_separator_CXX=
12963: 	  fi
12964:           esac
12965:           shared_flag='-shared'
12966: 	  if test "$aix_use_runtimelinking" = yes; then
12967: 	    shared_flag="$shared_flag "'${wl}-G'
12968: 	  fi
12969:         else
12970:           # not using gcc
12971:           if test "$host_cpu" = ia64; then
12972: 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12973: 	  # chokes on -Wl,-G. The following line is correct:
12974: 	  shared_flag='-G'
12975:           else
12976: 	    if test "$aix_use_runtimelinking" = yes; then
12977: 	      shared_flag='${wl}-G'
12978: 	    else
12979: 	      shared_flag='${wl}-bM:SRE'
12980: 	    fi
12981:           fi
12982:         fi
12983: 
12984:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12985:         # It seems that -bexpall does not export symbols beginning with
12986:         # underscore (_), so it is better to generate a list of symbols to
12987: 	# export.
12988:         always_export_symbols_CXX=yes
12989:         if test "$aix_use_runtimelinking" = yes; then
12990:           # Warning - without using the other runtime loading flags (-brtl),
12991:           # -berok will link without error, but may produce a broken library.
12992:           allow_undefined_flag_CXX='-berok'
12993:           # Determine the default libpath from the value encoded in an empty
12994:           # executable.
12995:           if test "${lt_cv_aix_libpath+set}" = set; then
12996:   aix_libpath=$lt_cv_aix_libpath
12997: else
12998:   if ${lt_cv_aix_libpath__CXX+:} false; then :
12999:   $as_echo_n "(cached) " >&6
13000: else
13001:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002: /* end confdefs.h.  */
13003: 
13004: int
13005: main ()
13006: {
13007: 
13008:   ;
13009:   return 0;
13010: }
13011: _ACEOF
13012: if ac_fn_cxx_try_link "$LINENO"; then :
13013: 
13014:   lt_aix_libpath_sed='
13015:       /Import File Strings/,/^$/ {
13016: 	  /^0/ {
13017: 	      s/^0  *\([^ ]*\) *$/\1/
13018: 	      p
13019: 	  }
13020:       }'
13021:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13022:   # Check for a 64-bit object if we didn't find anything.
13023:   if test -z "$lt_cv_aix_libpath__CXX"; then
13024:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13025:   fi
13026: fi
13027: rm -f core conftest.err conftest.$ac_objext \
13028:     conftest$ac_exeext conftest.$ac_ext
13029:   if test -z "$lt_cv_aix_libpath__CXX"; then
13030:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13031:   fi
13032: 
13033: fi
13034: 
13035:   aix_libpath=$lt_cv_aix_libpath__CXX
13036: fi
13037: 
13038:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13039: 
13040:           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"
13041:         else
13042:           if test "$host_cpu" = ia64; then
13043: 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13044: 	    allow_undefined_flag_CXX="-z nodefs"
13045: 	    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"
13046:           else
13047: 	    # Determine the default libpath from the value encoded in an
13048: 	    # empty executable.
13049: 	    if test "${lt_cv_aix_libpath+set}" = set; then
13050:   aix_libpath=$lt_cv_aix_libpath
13051: else
13052:   if ${lt_cv_aix_libpath__CXX+:} false; then :
13053:   $as_echo_n "(cached) " >&6
13054: else
13055:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056: /* end confdefs.h.  */
13057: 
13058: int
13059: main ()
13060: {
13061: 
13062:   ;
13063:   return 0;
13064: }
13065: _ACEOF
13066: if ac_fn_cxx_try_link "$LINENO"; then :
13067: 
13068:   lt_aix_libpath_sed='
13069:       /Import File Strings/,/^$/ {
13070: 	  /^0/ {
13071: 	      s/^0  *\([^ ]*\) *$/\1/
13072: 	      p
13073: 	  }
13074:       }'
13075:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13076:   # Check for a 64-bit object if we didn't find anything.
13077:   if test -z "$lt_cv_aix_libpath__CXX"; then
13078:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13079:   fi
13080: fi
13081: rm -f core conftest.err conftest.$ac_objext \
13082:     conftest$ac_exeext conftest.$ac_ext
13083:   if test -z "$lt_cv_aix_libpath__CXX"; then
13084:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13085:   fi
13086: 
13087: fi
13088: 
13089:   aix_libpath=$lt_cv_aix_libpath__CXX
13090: fi
13091: 
13092: 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13093: 	    # Warning - without using the other run time loading flags,
13094: 	    # -berok will link without error, but may produce a broken library.
13095: 	    no_undefined_flag_CXX=' ${wl}-bernotok'
13096: 	    allow_undefined_flag_CXX=' ${wl}-berok'
13097: 	    if test "$with_gnu_ld" = yes; then
13098: 	      # We only use this code for GNU lds that support --whole-archive.
13099: 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13100: 	    else
13101: 	      # Exported symbols can be pulled into shared objects from archives
13102: 	      whole_archive_flag_spec_CXX='$convenience'
13103: 	    fi
13104: 	    archive_cmds_need_lc_CXX=yes
13105: 	    # This is similar to how AIX traditionally builds its shared
13106: 	    # libraries.
13107: 	    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'
13108:           fi
13109:         fi
13110:         ;;
13111: 
13112:       beos*)
13113: 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13114: 	  allow_undefined_flag_CXX=unsupported
13115: 	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13116: 	  # support --undefined.  This deserves some investigation.  FIXME
13117: 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13118: 	else
13119: 	  ld_shlibs_CXX=no
13120: 	fi
13121: 	;;
13122: 
13123:       chorus*)
13124:         case $cc_basename in
13125:           *)
13126: 	  # FIXME: insert proper C++ library support
13127: 	  ld_shlibs_CXX=no
13128: 	  ;;
13129:         esac
13130:         ;;
13131: 
13132:       cygwin* | mingw* | pw32* | cegcc*)
13133: 	case $GXX,$cc_basename in
13134: 	,cl* | no,cl*)
13135: 	  # Native MSVC
13136: 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13137: 	  # no search path for DLLs.
13138: 	  hardcode_libdir_flag_spec_CXX=' '
13139: 	  allow_undefined_flag_CXX=unsupported
13140: 	  always_export_symbols_CXX=yes
13141: 	  file_list_spec_CXX='@'
13142: 	  # Tell ltmain to make .lib files, not .a files.
13143: 	  libext=lib
13144: 	  # Tell ltmain to make .dll files, not .so files.
13145: 	  shrext_cmds=".dll"
13146: 	  # FIXME: Setting linknames here is a bad hack.
13147: 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13148: 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13149: 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13150: 	    else
13151: 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13152: 	    fi~
13153: 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13154: 	    linknames='
13155: 	  # The linker will not automatically build a static lib if we build a DLL.
13156: 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13157: 	  enable_shared_with_static_runtimes_CXX=yes
13158: 	  # Don't use ranlib
13159: 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13160: 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13161: 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
13162: 	    case $lt_outputfile in
13163: 	      *.exe|*.EXE) ;;
13164: 	      *)
13165: 		lt_outputfile="$lt_outputfile.exe"
13166: 		lt_tool_outputfile="$lt_tool_outputfile.exe"
13167: 		;;
13168: 	    esac~
13169: 	    func_to_tool_file "$lt_outputfile"~
13170: 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13171: 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13172: 	      $RM "$lt_outputfile.manifest";
13173: 	    fi'
13174: 	  ;;
13175: 	*)
13176: 	  # g++
13177: 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13178: 	  # as there is no search path for DLLs.
13179: 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13180: 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13181: 	  allow_undefined_flag_CXX=unsupported
13182: 	  always_export_symbols_CXX=no
13183: 	  enable_shared_with_static_runtimes_CXX=yes
13184: 
13185: 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13186: 	    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'
13187: 	    # If the export-symbols file already is a .def file (1st line
13188: 	    # is EXPORTS), use it as is; otherwise, prepend...
13189: 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13190: 	      cp $export_symbols $output_objdir/$soname.def;
13191: 	    else
13192: 	      echo EXPORTS > $output_objdir/$soname.def;
13193: 	      cat $export_symbols >> $output_objdir/$soname.def;
13194: 	    fi~
13195: 	    $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'
13196: 	  else
13197: 	    ld_shlibs_CXX=no
13198: 	  fi
13199: 	  ;;
13200: 	esac
13201: 	;;
13202:       darwin* | rhapsody*)
13203: 
13204: 
13205:   archive_cmds_need_lc_CXX=no
13206:   hardcode_direct_CXX=no
13207:   hardcode_automatic_CXX=yes
13208:   hardcode_shlibpath_var_CXX=unsupported
13209:   if test "$lt_cv_ld_force_load" = "yes"; then
13210:     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\"`'
13211:   else
13212:     whole_archive_flag_spec_CXX=''
13213:   fi
13214:   link_all_deplibs_CXX=yes
13215:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13216:   case $cc_basename in
13217:      ifort*) _lt_dar_can_shared=yes ;;
13218:      *) _lt_dar_can_shared=$GCC ;;
13219:   esac
13220:   if test "$_lt_dar_can_shared" = "yes"; then
13221:     output_verbose_link_cmd=func_echo_all
13222:     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}"
13223:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13224:     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}"
13225:     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}"
13226:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13227:       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}"
13228:       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}"
13229:     fi
13230: 
13231:   else
13232:   ld_shlibs_CXX=no
13233:   fi
13234: 
13235: 	;;
13236: 
13237:       dgux*)
13238:         case $cc_basename in
13239:           ec++*)
13240: 	    # FIXME: insert proper C++ library support
13241: 	    ld_shlibs_CXX=no
13242: 	    ;;
13243:           ghcx*)
13244: 	    # Green Hills C++ Compiler
13245: 	    # FIXME: insert proper C++ library support
13246: 	    ld_shlibs_CXX=no
13247: 	    ;;
13248:           *)
13249: 	    # FIXME: insert proper C++ library support
13250: 	    ld_shlibs_CXX=no
13251: 	    ;;
13252:         esac
13253:         ;;
13254: 
13255:       freebsd[12]*)
13256:         # C++ shared libraries reported to be fairly broken before
13257: 	# switch to ELF
13258:         ld_shlibs_CXX=no
13259:         ;;
13260: 
13261:       freebsd-elf*)
13262:         archive_cmds_need_lc_CXX=no
13263:         ;;
13264: 
13265:       freebsd* | dragonfly*)
13266:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13267:         # conventions
13268:         ld_shlibs_CXX=yes
13269:         ;;
13270: 
13271:       gnu*)
13272:         ;;
13273: 
13274:       haiku*)
13275:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276:         link_all_deplibs_CXX=yes
13277:         ;;
13278: 
13279:       hpux9*)
13280:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13281:         hardcode_libdir_separator_CXX=:
13282:         export_dynamic_flag_spec_CXX='${wl}-E'
13283:         hardcode_direct_CXX=yes
13284:         hardcode_minus_L_CXX=yes # Not in the search PATH,
13285: 				             # but as the default
13286: 				             # location of the library.
13287: 
13288:         case $cc_basename in
13289:           CC*)
13290:             # FIXME: insert proper C++ library support
13291:             ld_shlibs_CXX=no
13292:             ;;
13293:           aCC*)
13294:             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'
13295:             # Commands to make compiler produce verbose output that lists
13296:             # what "hidden" libraries, object files and flags are used when
13297:             # linking a shared library.
13298:             #
13299:             # There doesn't appear to be a way to prevent this compiler from
13300:             # explicitly linking system object files so we need to strip them
13301:             # from the output so that they don't get included in the library
13302:             # dependencies.
13303:             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"'
13304:             ;;
13305:           *)
13306:             if test "$GXX" = yes; then
13307:               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'
13308:             else
13309:               # FIXME: insert proper C++ library support
13310:               ld_shlibs_CXX=no
13311:             fi
13312:             ;;
13313:         esac
13314:         ;;
13315: 
13316:       hpux10*|hpux11*)
13317:         if test $with_gnu_ld = no; then
13318: 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13319: 	  hardcode_libdir_separator_CXX=:
13320: 
13321:           case $host_cpu in
13322:             hppa*64*|ia64*)
13323:               ;;
13324:             *)
13325: 	      export_dynamic_flag_spec_CXX='${wl}-E'
13326:               ;;
13327:           esac
13328:         fi
13329:         case $host_cpu in
13330:           hppa*64*|ia64*)
13331:             hardcode_direct_CXX=no
13332:             hardcode_shlibpath_var_CXX=no
13333:             ;;
13334:           *)
13335:             hardcode_direct_CXX=yes
13336:             hardcode_direct_absolute_CXX=yes
13337:             hardcode_minus_L_CXX=yes # Not in the search PATH,
13338: 					         # but as the default
13339: 					         # location of the library.
13340:             ;;
13341:         esac
13342: 
13343:         case $cc_basename in
13344:           CC*)
13345: 	    # FIXME: insert proper C++ library support
13346: 	    ld_shlibs_CXX=no
13347: 	    ;;
13348:           aCC*)
13349: 	    case $host_cpu in
13350: 	      hppa*64*)
13351: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13352: 	        ;;
13353: 	      ia64*)
13354: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13355: 	        ;;
13356: 	      *)
13357: 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13358: 	        ;;
13359: 	    esac
13360: 	    # Commands to make compiler produce verbose output that lists
13361: 	    # what "hidden" libraries, object files and flags are used when
13362: 	    # linking a shared library.
13363: 	    #
13364: 	    # There doesn't appear to be a way to prevent this compiler from
13365: 	    # explicitly linking system object files so we need to strip them
13366: 	    # from the output so that they don't get included in the library
13367: 	    # dependencies.
13368: 	    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"'
13369: 	    ;;
13370:           *)
13371: 	    if test "$GXX" = yes; then
13372: 	      if test $with_gnu_ld = no; then
13373: 	        case $host_cpu in
13374: 	          hppa*64*)
13375: 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13376: 	            ;;
13377: 	          ia64*)
13378: 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13379: 	            ;;
13380: 	          *)
13381: 	            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'
13382: 	            ;;
13383: 	        esac
13384: 	      fi
13385: 	    else
13386: 	      # FIXME: insert proper C++ library support
13387: 	      ld_shlibs_CXX=no
13388: 	    fi
13389: 	    ;;
13390:         esac
13391:         ;;
13392: 
13393:       interix[3-9]*)
13394: 	hardcode_direct_CXX=no
13395: 	hardcode_shlibpath_var_CXX=no
13396: 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13397: 	export_dynamic_flag_spec_CXX='${wl}-E'
13398: 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13399: 	# Instead, shared libraries are loaded at an image base (0x10000000 by
13400: 	# default) and relocated if they conflict, which is a slow very memory
13401: 	# consuming and fragmenting process.  To avoid this, we pick a random,
13402: 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13403: 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13404: 	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'
13405: 	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'
13406: 	;;
13407:       irix5* | irix6*)
13408:         case $cc_basename in
13409:           CC*)
13410: 	    # SGI C++
13411: 	    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'
13412: 
13413: 	    # Archives containing C++ object files must be created using
13414: 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13415: 	    # necessary to make sure instantiated templates are included
13416: 	    # in the archive.
13417: 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13418: 	    ;;
13419:           *)
13420: 	    if test "$GXX" = yes; then
13421: 	      if test "$with_gnu_ld" = no; then
13422: 	        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'
13423: 	      else
13424: 	        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'
13425: 	      fi
13426: 	    fi
13427: 	    link_all_deplibs_CXX=yes
13428: 	    ;;
13429:         esac
13430:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13431:         hardcode_libdir_separator_CXX=:
13432:         inherit_rpath_CXX=yes
13433:         ;;
13434: 
13435:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13436:         case $cc_basename in
13437:           KCC*)
13438: 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13439: 
13440: 	    # KCC will only create a shared library if the output file
13441: 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13442: 	    # to its proper name (with version) after linking.
13443: 	    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'
13444: 	    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'
13445: 	    # Commands to make compiler produce verbose output that lists
13446: 	    # what "hidden" libraries, object files and flags are used when
13447: 	    # linking a shared library.
13448: 	    #
13449: 	    # There doesn't appear to be a way to prevent this compiler from
13450: 	    # explicitly linking system object files so we need to strip them
13451: 	    # from the output so that they don't get included in the library
13452: 	    # dependencies.
13453: 	    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"'
13454: 
13455: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13456: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13457: 
13458: 	    # Archives containing C++ object files must be created using
13459: 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13460: 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13461: 	    ;;
13462: 	  icpc* | ecpc* )
13463: 	    # Intel C++
13464: 	    with_gnu_ld=yes
13465: 	    # version 8.0 and above of icpc choke on multiply defined symbols
13466: 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13467: 	    # earlier do not add the objects themselves.
13468: 	    case `$CC -V 2>&1` in
13469: 	      *"Version 7."*)
13470: 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13471: 		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'
13472: 		;;
13473: 	      *)  # Version 8.0 or newer
13474: 	        tmp_idyn=
13475: 	        case $host_cpu in
13476: 		  ia64*) tmp_idyn=' -i_dynamic';;
13477: 		esac
13478: 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13479: 		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'
13480: 		;;
13481: 	    esac
13482: 	    archive_cmds_need_lc_CXX=no
13483: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13484: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13485: 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13486: 	    ;;
13487:           pgCC* | pgcpp*)
13488:             # Portland Group C++ compiler
13489: 	    case `$CC -V` in
13490: 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13491: 	      prelink_cmds_CXX='tpldir=Template.dir~
13492: 		rm -rf $tpldir~
13493: 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13494: 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13495: 	      old_archive_cmds_CXX='tpldir=Template.dir~
13496: 		rm -rf $tpldir~
13497: 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13498: 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13499: 		$RANLIB $oldlib'
13500: 	      archive_cmds_CXX='tpldir=Template.dir~
13501: 		rm -rf $tpldir~
13502: 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13503: 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13504: 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13505: 		rm -rf $tpldir~
13506: 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13507: 		$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'
13508: 	      ;;
13509: 	    *) # Version 6 and above use weak symbols
13510: 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13511: 	      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'
13512: 	      ;;
13513: 	    esac
13514: 
13515: 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13516: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13517: 	    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'
13518:             ;;
13519: 	  cxx*)
13520: 	    # Compaq C++
13521: 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13522: 	    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'
13523: 
13524: 	    runpath_var=LD_RUN_PATH
13525: 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13526: 	    hardcode_libdir_separator_CXX=:
13527: 
13528: 	    # Commands to make compiler produce verbose output that lists
13529: 	    # what "hidden" libraries, object files and flags are used when
13530: 	    # linking a shared library.
13531: 	    #
13532: 	    # There doesn't appear to be a way to prevent this compiler from
13533: 	    # explicitly linking system object files so we need to strip them
13534: 	    # from the output so that they don't get included in the library
13535: 	    # dependencies.
13536: 	    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'
13537: 	    ;;
13538: 	  xl* | mpixl* | bgxl*)
13539: 	    # IBM XL 8.0 on PPC, with GNU ld
13540: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13541: 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13542: 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13543: 	    if test "x$supports_anon_versioning" = xyes; then
13544: 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13545: 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13546: 		echo "local: *; };" >> $output_objdir/$libname.ver~
13547: 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13548: 	    fi
13549: 	    ;;
13550: 	  *)
13551: 	    case `$CC -V 2>&1 | sed 5q` in
13552: 	    *Sun\ C*)
13553: 	      # Sun C++ 5.9
13554: 	      no_undefined_flag_CXX=' -zdefs'
13555: 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13556: 	      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'
13557: 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13558: 	      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'
13559: 	      compiler_needs_object_CXX=yes
13560: 
13561: 	      # Not sure whether something based on
13562: 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13563: 	      # would be better.
13564: 	      output_verbose_link_cmd='func_echo_all'
13565: 
13566: 	      # Archives containing C++ object files must be created using
13567: 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13568: 	      # necessary to make sure instantiated templates are included
13569: 	      # in the archive.
13570: 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13571: 	      ;;
13572: 	    esac
13573: 	    ;;
13574: 	esac
13575: 	;;
13576: 
13577:       lynxos*)
13578:         # FIXME: insert proper C++ library support
13579: 	ld_shlibs_CXX=no
13580: 	;;
13581: 
13582:       m88k*)
13583:         # FIXME: insert proper C++ library support
13584:         ld_shlibs_CXX=no
13585: 	;;
13586: 
13587:       mvs*)
13588:         case $cc_basename in
13589:           cxx*)
13590: 	    # FIXME: insert proper C++ library support
13591: 	    ld_shlibs_CXX=no
13592: 	    ;;
13593: 	  *)
13594: 	    # FIXME: insert proper C++ library support
13595: 	    ld_shlibs_CXX=no
13596: 	    ;;
13597: 	esac
13598: 	;;
13599: 
13600:       netbsd*)
13601:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13602: 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13603: 	  wlarc=
13604: 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13605: 	  hardcode_direct_CXX=yes
13606: 	  hardcode_shlibpath_var_CXX=no
13607: 	fi
13608: 	# Workaround some broken pre-1.5 toolchains
13609: 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13610: 	;;
13611: 
13612:       *nto* | *qnx*)
13613:         ld_shlibs_CXX=yes
13614: 	;;
13615: 
13616:       openbsd2*)
13617:         # C++ shared libraries are fairly broken
13618: 	ld_shlibs_CXX=no
13619: 	;;
13620: 
13621:       openbsd*)
13622: 	if test -f /usr/libexec/ld.so; then
13623: 	  hardcode_direct_CXX=yes
13624: 	  hardcode_shlibpath_var_CXX=no
13625: 	  hardcode_direct_absolute_CXX=yes
13626: 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13627: 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13628: 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13629: 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13630: 	    export_dynamic_flag_spec_CXX='${wl}-E'
13631: 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13632: 	  fi
13633: 	  output_verbose_link_cmd=func_echo_all
13634: 	else
13635: 	  ld_shlibs_CXX=no
13636: 	fi
13637: 	;;
13638: 
13639:       osf3* | osf4* | osf5*)
13640:         case $cc_basename in
13641:           KCC*)
13642: 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13643: 
13644: 	    # KCC will only create a shared library if the output file
13645: 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13646: 	    # to its proper name (with version) after linking.
13647: 	    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'
13648: 
13649: 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13650: 	    hardcode_libdir_separator_CXX=:
13651: 
13652: 	    # Archives containing C++ object files must be created using
13653: 	    # the KAI C++ compiler.
13654: 	    case $host in
13655: 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13656: 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13657: 	    esac
13658: 	    ;;
13659:           RCC*)
13660: 	    # Rational C++ 2.4.1
13661: 	    # FIXME: insert proper C++ library support
13662: 	    ld_shlibs_CXX=no
13663: 	    ;;
13664:           cxx*)
13665: 	    case $host in
13666: 	      osf3*)
13667: 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13668: 	        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'
13669: 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13670: 		;;
13671: 	      *)
13672: 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13673: 	        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'
13674: 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13675: 	          echo "-hidden">> $lib.exp~
13676: 	          $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~
13677: 	          $RM $lib.exp'
13678: 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13679: 		;;
13680: 	    esac
13681: 
13682: 	    hardcode_libdir_separator_CXX=:
13683: 
13684: 	    # Commands to make compiler produce verbose output that lists
13685: 	    # what "hidden" libraries, object files and flags are used when
13686: 	    # linking a shared library.
13687: 	    #
13688: 	    # There doesn't appear to be a way to prevent this compiler from
13689: 	    # explicitly linking system object files so we need to strip them
13690: 	    # from the output so that they don't get included in the library
13691: 	    # dependencies.
13692: 	    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"'
13693: 	    ;;
13694: 	  *)
13695: 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13696: 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13697: 	      case $host in
13698: 	        osf3*)
13699: 	          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'
13700: 		  ;;
13701: 	        *)
13702: 	          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'
13703: 		  ;;
13704: 	      esac
13705: 
13706: 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13707: 	      hardcode_libdir_separator_CXX=:
13708: 
13709: 	      # Commands to make compiler produce verbose output that lists
13710: 	      # what "hidden" libraries, object files and flags are used when
13711: 	      # linking a shared library.
13712: 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13713: 
13714: 	    else
13715: 	      # FIXME: insert proper C++ library support
13716: 	      ld_shlibs_CXX=no
13717: 	    fi
13718: 	    ;;
13719:         esac
13720:         ;;
13721: 
13722:       psos*)
13723:         # FIXME: insert proper C++ library support
13724:         ld_shlibs_CXX=no
13725:         ;;
13726: 
13727:       sunos4*)
13728:         case $cc_basename in
13729:           CC*)
13730: 	    # Sun C++ 4.x
13731: 	    # FIXME: insert proper C++ library support
13732: 	    ld_shlibs_CXX=no
13733: 	    ;;
13734:           lcc*)
13735: 	    # Lucid
13736: 	    # FIXME: insert proper C++ library support
13737: 	    ld_shlibs_CXX=no
13738: 	    ;;
13739:           *)
13740: 	    # FIXME: insert proper C++ library support
13741: 	    ld_shlibs_CXX=no
13742: 	    ;;
13743:         esac
13744:         ;;
13745: 
13746:       solaris*)
13747:         case $cc_basename in
13748:           CC* | sunCC*)
13749: 	    # Sun C++ 4.2, 5.x and Centerline C++
13750:             archive_cmds_need_lc_CXX=yes
13751: 	    no_undefined_flag_CXX=' -zdefs'
13752: 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13753: 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13754: 	      $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'
13755: 
13756: 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13757: 	    hardcode_shlibpath_var_CXX=no
13758: 	    case $host_os in
13759: 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13760: 	      *)
13761: 		# The compiler driver will combine and reorder linker options,
13762: 		# but understands `-z linker_flag'.
13763: 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13764: 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13765: 	        ;;
13766: 	    esac
13767: 	    link_all_deplibs_CXX=yes
13768: 
13769: 	    output_verbose_link_cmd='func_echo_all'
13770: 
13771: 	    # Archives containing C++ object files must be created using
13772: 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13773: 	    # necessary to make sure instantiated templates are included
13774: 	    # in the archive.
13775: 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13776: 	    ;;
13777:           gcx*)
13778: 	    # Green Hills C++ Compiler
13779: 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13780: 
13781: 	    # The C++ compiler must be used to create the archive.
13782: 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13783: 	    ;;
13784:           *)
13785: 	    # GNU C++ compiler with Solaris linker
13786: 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13787: 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13788: 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13789: 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13790: 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13791: 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13792: 
13793: 	        # Commands to make compiler produce verbose output that lists
13794: 	        # what "hidden" libraries, object files and flags are used when
13795: 	        # linking a shared library.
13796: 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13797: 	      else
13798: 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13799: 	        # platform.
13800: 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13801: 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13802: 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13803: 
13804: 	        # Commands to make compiler produce verbose output that lists
13805: 	        # what "hidden" libraries, object files and flags are used when
13806: 	        # linking a shared library.
13807: 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13808: 	      fi
13809: 
13810: 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13811: 	      case $host_os in
13812: 		solaris2.[0-5] | solaris2.[0-5].*) ;;
13813: 		*)
13814: 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13815: 		  ;;
13816: 	      esac
13817: 	    fi
13818: 	    ;;
13819:         esac
13820:         ;;
13821: 
13822:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13823:       no_undefined_flag_CXX='${wl}-z,text'
13824:       archive_cmds_need_lc_CXX=no
13825:       hardcode_shlibpath_var_CXX=no
13826:       runpath_var='LD_RUN_PATH'
13827: 
13828:       case $cc_basename in
13829:         CC*)
13830: 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13831: 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13832: 	  ;;
13833: 	*)
13834: 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13835: 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13836: 	  ;;
13837:       esac
13838:       ;;
13839: 
13840:       sysv5* | sco3.2v5* | sco5v6*)
13841: 	# Note: We can NOT use -z defs as we might desire, because we do not
13842: 	# link with -lc, and that would cause any symbols used from libc to
13843: 	# always be unresolved, which means just about no library would
13844: 	# ever link correctly.  If we're not using GNU ld we use -z text
13845: 	# though, which does catch some bad symbols but isn't as heavy-handed
13846: 	# as -z defs.
13847: 	no_undefined_flag_CXX='${wl}-z,text'
13848: 	allow_undefined_flag_CXX='${wl}-z,nodefs'
13849: 	archive_cmds_need_lc_CXX=no
13850: 	hardcode_shlibpath_var_CXX=no
13851: 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13852: 	hardcode_libdir_separator_CXX=':'
13853: 	link_all_deplibs_CXX=yes
13854: 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13855: 	runpath_var='LD_RUN_PATH'
13856: 
13857: 	case $cc_basename in
13858:           CC*)
13859: 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13860: 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13861: 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13862: 	      '"$old_archive_cmds_CXX"
13863: 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13864: 	      '"$reload_cmds_CXX"
13865: 	    ;;
13866: 	  *)
13867: 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13868: 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13869: 	    ;;
13870: 	esac
13871:       ;;
13872: 
13873:       tandem*)
13874:         case $cc_basename in
13875:           NCC*)
13876: 	    # NonStop-UX NCC 3.20
13877: 	    # FIXME: insert proper C++ library support
13878: 	    ld_shlibs_CXX=no
13879: 	    ;;
13880:           *)
13881: 	    # FIXME: insert proper C++ library support
13882: 	    ld_shlibs_CXX=no
13883: 	    ;;
13884:         esac
13885:         ;;
13886: 
13887:       vxworks*)
13888:         # FIXME: insert proper C++ library support
13889:         ld_shlibs_CXX=no
13890:         ;;
13891: 
13892:       *)
13893:         # FIXME: insert proper C++ library support
13894:         ld_shlibs_CXX=no
13895:         ;;
13896:     esac
13897: 
13898:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13899: $as_echo "$ld_shlibs_CXX" >&6; }
13900:     test "$ld_shlibs_CXX" = no && can_build_shared=no
13901: 
13902:     GCC_CXX="$GXX"
13903:     LD_CXX="$LD"
13904: 
13905:     ## CAVEAT EMPTOR:
13906:     ## There is no encapsulation within the following macros, do not change
13907:     ## the running order or otherwise move them around unless you know exactly
13908:     ## what you are doing...
13909:     # Dependencies to place before and after the object being linked:
13910: predep_objects_CXX=
13911: postdep_objects_CXX=
13912: predeps_CXX=
13913: postdeps_CXX=
13914: compiler_lib_search_path_CXX=
13915: 
13916: cat > conftest.$ac_ext <<_LT_EOF
13917: class Foo
13918: {
13919: public:
13920:   Foo (void) { a = 0; }
13921: private:
13922:   int a;
13923: };
13924: _LT_EOF
13925: 
13926: 
13927: _lt_libdeps_save_CFLAGS=$CFLAGS
13928: case "$CC $CFLAGS " in #(
13929: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13930: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13931: esac
13932: 
13933: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13934:   (eval $ac_compile) 2>&5
13935:   ac_status=$?
13936:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937:   test $ac_status = 0; }; then
13938:   # Parse the compiler output and extract the necessary
13939:   # objects, libraries and library flags.
13940: 
13941:   # Sentinel used to keep track of whether or not we are before
13942:   # the conftest object file.
13943:   pre_test_object_deps_done=no
13944: 
13945:   for p in `eval "$output_verbose_link_cmd"`; do
13946:     case ${prev}${p} in
13947: 
13948:     -L* | -R* | -l*)
13949:        # Some compilers place space between "-{L,R}" and the path.
13950:        # Remove the space.
13951:        if test $p = "-L" ||
13952:           test $p = "-R"; then
13953: 	 prev=$p
13954: 	 continue
13955:        fi
13956: 
13957:        # Expand the sysroot to ease extracting the directories later.
13958:        if test -z "$prev"; then
13959:          case $p in
13960:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13961:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13962:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13963:          esac
13964:        fi
13965:        case $p in
13966:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13967:        esac
13968:        if test "$pre_test_object_deps_done" = no; then
13969: 	 case ${prev} in
13970: 	 -L | -R)
13971: 	   # Internal compiler library paths should come after those
13972: 	   # provided the user.  The postdeps already come after the
13973: 	   # user supplied libs so there is no need to process them.
13974: 	   if test -z "$compiler_lib_search_path_CXX"; then
13975: 	     compiler_lib_search_path_CXX="${prev}${p}"
13976: 	   else
13977: 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13978: 	   fi
13979: 	   ;;
13980: 	 # The "-l" case would never come before the object being
13981: 	 # linked, so don't bother handling this case.
13982: 	 esac
13983:        else
13984: 	 if test -z "$postdeps_CXX"; then
13985: 	   postdeps_CXX="${prev}${p}"
13986: 	 else
13987: 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13988: 	 fi
13989:        fi
13990:        prev=
13991:        ;;
13992: 
13993:     *.lto.$objext) ;; # Ignore GCC LTO objects
13994:     *.$objext)
13995:        # This assumes that the test object file only shows up
13996:        # once in the compiler output.
13997:        if test "$p" = "conftest.$objext"; then
13998: 	 pre_test_object_deps_done=yes
13999: 	 continue
14000:        fi
14001: 
14002:        if test "$pre_test_object_deps_done" = no; then
14003: 	 if test -z "$predep_objects_CXX"; then
14004: 	   predep_objects_CXX="$p"
14005: 	 else
14006: 	   predep_objects_CXX="$predep_objects_CXX $p"
14007: 	 fi
14008:        else
14009: 	 if test -z "$postdep_objects_CXX"; then
14010: 	   postdep_objects_CXX="$p"
14011: 	 else
14012: 	   postdep_objects_CXX="$postdep_objects_CXX $p"
14013: 	 fi
14014:        fi
14015:        ;;
14016: 
14017:     *) ;; # Ignore the rest.
14018: 
14019:     esac
14020:   done
14021: 
14022:   # Clean up.
14023:   rm -f a.out a.exe
14024: else
14025:   echo "libtool.m4: error: problem compiling CXX test program"
14026: fi
14027: 
14028: $RM -f confest.$objext
14029: CFLAGS=$_lt_libdeps_save_CFLAGS
14030: 
14031: # PORTME: override above test on systems where it is broken
14032: case $host_os in
14033: interix[3-9]*)
14034:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14035:   # hack all around it, let's just trust "g++" to DTRT.
14036:   predep_objects_CXX=
14037:   postdep_objects_CXX=
14038:   postdeps_CXX=
14039:   ;;
14040: 
14041: linux*)
14042:   case `$CC -V 2>&1 | sed 5q` in
14043:   *Sun\ C*)
14044:     # Sun C++ 5.9
14045: 
14046:     # The more standards-conforming stlport4 library is
14047:     # incompatible with the Cstd library. Avoid specifying
14048:     # it if it's in CXXFLAGS. Ignore libCrun as
14049:     # -library=stlport4 depends on it.
14050:     case " $CXX $CXXFLAGS " in
14051:     *" -library=stlport4 "*)
14052:       solaris_use_stlport4=yes
14053:       ;;
14054:     esac
14055: 
14056:     if test "$solaris_use_stlport4" != yes; then
14057:       postdeps_CXX='-library=Cstd -library=Crun'
14058:     fi
14059:     ;;
14060:   esac
14061:   ;;
14062: 
14063: solaris*)
14064:   case $cc_basename in
14065:   CC* | sunCC*)
14066:     # The more standards-conforming stlport4 library is
14067:     # incompatible with the Cstd library. Avoid specifying
14068:     # it if it's in CXXFLAGS. Ignore libCrun as
14069:     # -library=stlport4 depends on it.
14070:     case " $CXX $CXXFLAGS " in
14071:     *" -library=stlport4 "*)
14072:       solaris_use_stlport4=yes
14073:       ;;
14074:     esac
14075: 
14076:     # Adding this requires a known-good setup of shared libraries for
14077:     # Sun compiler versions before 5.6, else PIC objects from an old
14078:     # archive will be linked into the output, leading to subtle bugs.
14079:     if test "$solaris_use_stlport4" != yes; then
14080:       postdeps_CXX='-library=Cstd -library=Crun'
14081:     fi
14082:     ;;
14083:   esac
14084:   ;;
14085: esac
14086: 
14087: 
14088: case " $postdeps_CXX " in
14089: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14090: esac
14091:  compiler_lib_search_dirs_CXX=
14092: if test -n "${compiler_lib_search_path_CXX}"; then
14093:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14094: fi
14095: 
14096: 
14097: 
14098: 
14099: 
14100: 
14101: 
14102: 
14103: 
14104: 
14105: 
14106: 
14107: 
14108: 
14109: 
14110: 
14111: 
14112: 
14113: 
14114: 
14115: 
14116: 
14117: 
14118: 
14119: 
14120: 
14121: 
14122: 
14123: 
14124: 
14125: 
14126:     lt_prog_compiler_wl_CXX=
14127: lt_prog_compiler_pic_CXX=
14128: lt_prog_compiler_static_CXX=
14129: 
14130: 
14131:   # C++ specific cases for pic, static, wl, etc.
14132:   if test "$GXX" = yes; then
14133:     lt_prog_compiler_wl_CXX='-Wl,'
14134:     lt_prog_compiler_static_CXX='-static'
14135: 
14136:     case $host_os in
14137:     aix*)
14138:       # All AIX code is PIC.
14139:       if test "$host_cpu" = ia64; then
14140: 	# AIX 5 now supports IA64 processor
14141: 	lt_prog_compiler_static_CXX='-Bstatic'
14142:       fi
14143:       ;;
14144: 
14145:     amigaos*)
14146:       case $host_cpu in
14147:       powerpc)
14148:             # see comment about AmigaOS4 .so support
14149:             lt_prog_compiler_pic_CXX='-fPIC'
14150:         ;;
14151:       m68k)
14152:             # FIXME: we need at least 68020 code to build shared libraries, but
14153:             # adding the `-m68020' flag to GCC prevents building anything better,
14154:             # like `-m68040'.
14155:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14156:         ;;
14157:       esac
14158:       ;;
14159: 
14160:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14161:       # PIC is the default for these OSes.
14162:       ;;
14163:     mingw* | cygwin* | os2* | pw32* | cegcc*)
14164:       # This hack is so that the source file can tell whether it is being
14165:       # built for inclusion in a dll (and should export symbols for example).
14166:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14167:       # (--disable-auto-import) libraries
14168:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14169:       ;;
14170:     darwin* | rhapsody*)
14171:       # PIC is the default on this platform
14172:       # Common symbols not allowed in MH_DYLIB files
14173:       lt_prog_compiler_pic_CXX='-fno-common'
14174:       ;;
14175:     *djgpp*)
14176:       # DJGPP does not support shared libraries at all
14177:       lt_prog_compiler_pic_CXX=
14178:       ;;
14179:     haiku*)
14180:       # PIC is the default for Haiku.
14181:       # The "-static" flag exists, but is broken.
14182:       lt_prog_compiler_static_CXX=
14183:       ;;
14184:     interix[3-9]*)
14185:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14186:       # Instead, we relocate shared libraries at runtime.
14187:       ;;
14188:     sysv4*MP*)
14189:       if test -d /usr/nec; then
14190: 	lt_prog_compiler_pic_CXX=-Kconform_pic
14191:       fi
14192:       ;;
14193:     hpux*)
14194:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14195:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14196:       # sets the default TLS model and affects inlining.
14197:       case $host_cpu in
14198:       hppa*64*)
14199: 	;;
14200:       *)
14201: 	lt_prog_compiler_pic_CXX='-fPIC'
14202: 	;;
14203:       esac
14204:       ;;
14205:     *qnx* | *nto*)
14206:       # QNX uses GNU C++, but need to define -shared option too, otherwise
14207:       # it will coredump.
14208:       lt_prog_compiler_pic_CXX='-fPIC -shared'
14209:       ;;
14210:     *)
14211:       lt_prog_compiler_pic_CXX='-fPIC'
14212:       ;;
14213:     esac
14214:   else
14215:     case $host_os in
14216:       aix[4-9]*)
14217: 	# All AIX code is PIC.
14218: 	if test "$host_cpu" = ia64; then
14219: 	  # AIX 5 now supports IA64 processor
14220: 	  lt_prog_compiler_static_CXX='-Bstatic'
14221: 	else
14222: 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14223: 	fi
14224: 	;;
14225:       chorus*)
14226: 	case $cc_basename in
14227: 	cxch68*)
14228: 	  # Green Hills C++ Compiler
14229: 	  # _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"
14230: 	  ;;
14231: 	esac
14232: 	;;
14233:       mingw* | cygwin* | os2* | pw32* | cegcc*)
14234: 	# This hack is so that the source file can tell whether it is being
14235: 	# built for inclusion in a dll (and should export symbols for example).
14236: 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14237: 	;;
14238:       dgux*)
14239: 	case $cc_basename in
14240: 	  ec++*)
14241: 	    lt_prog_compiler_pic_CXX='-KPIC'
14242: 	    ;;
14243: 	  ghcx*)
14244: 	    # Green Hills C++ Compiler
14245: 	    lt_prog_compiler_pic_CXX='-pic'
14246: 	    ;;
14247: 	  *)
14248: 	    ;;
14249: 	esac
14250: 	;;
14251:       freebsd* | dragonfly*)
14252: 	# FreeBSD uses GNU C++
14253: 	;;
14254:       hpux9* | hpux10* | hpux11*)
14255: 	case $cc_basename in
14256: 	  CC*)
14257: 	    lt_prog_compiler_wl_CXX='-Wl,'
14258: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14259: 	    if test "$host_cpu" != ia64; then
14260: 	      lt_prog_compiler_pic_CXX='+Z'
14261: 	    fi
14262: 	    ;;
14263: 	  aCC*)
14264: 	    lt_prog_compiler_wl_CXX='-Wl,'
14265: 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14266: 	    case $host_cpu in
14267: 	    hppa*64*|ia64*)
14268: 	      # +Z the default
14269: 	      ;;
14270: 	    *)
14271: 	      lt_prog_compiler_pic_CXX='+Z'
14272: 	      ;;
14273: 	    esac
14274: 	    ;;
14275: 	  *)
14276: 	    ;;
14277: 	esac
14278: 	;;
14279:       interix*)
14280: 	# This is c89, which is MS Visual C++ (no shared libs)
14281: 	# Anyone wants to do a port?
14282: 	;;
14283:       irix5* | irix6* | nonstopux*)
14284: 	case $cc_basename in
14285: 	  CC*)
14286: 	    lt_prog_compiler_wl_CXX='-Wl,'
14287: 	    lt_prog_compiler_static_CXX='-non_shared'
14288: 	    # CC pic flag -KPIC is the default.
14289: 	    ;;
14290: 	  *)
14291: 	    ;;
14292: 	esac
14293: 	;;
14294:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14295: 	case $cc_basename in
14296: 	  KCC*)
14297: 	    # KAI C++ Compiler
14298: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14299: 	    lt_prog_compiler_pic_CXX='-fPIC'
14300: 	    ;;
14301: 	  ecpc* )
14302: 	    # old Intel C++ for x86_64 which still supported -KPIC.
14303: 	    lt_prog_compiler_wl_CXX='-Wl,'
14304: 	    lt_prog_compiler_pic_CXX='-KPIC'
14305: 	    lt_prog_compiler_static_CXX='-static'
14306: 	    ;;
14307: 	  icpc* )
14308: 	    # Intel C++, used to be incompatible with GCC.
14309: 	    # ICC 10 doesn't accept -KPIC any more.
14310: 	    lt_prog_compiler_wl_CXX='-Wl,'
14311: 	    lt_prog_compiler_pic_CXX='-fPIC'
14312: 	    lt_prog_compiler_static_CXX='-static'
14313: 	    ;;
14314: 	  pgCC* | pgcpp*)
14315: 	    # Portland Group C++ compiler
14316: 	    lt_prog_compiler_wl_CXX='-Wl,'
14317: 	    lt_prog_compiler_pic_CXX='-fpic'
14318: 	    lt_prog_compiler_static_CXX='-Bstatic'
14319: 	    ;;
14320: 	  cxx*)
14321: 	    # Compaq C++
14322: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
14323: 	    # Linux and Compaq Tru64 Unix objects are PIC.
14324: 	    lt_prog_compiler_pic_CXX=
14325: 	    lt_prog_compiler_static_CXX='-non_shared'
14326: 	    ;;
14327: 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14328: 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14329: 	    lt_prog_compiler_wl_CXX='-Wl,'
14330: 	    lt_prog_compiler_pic_CXX='-qpic'
14331: 	    lt_prog_compiler_static_CXX='-qstaticlink'
14332: 	    ;;
14333: 	  *)
14334: 	    case `$CC -V 2>&1 | sed 5q` in
14335: 	    *Sun\ C*)
14336: 	      # Sun C++ 5.9
14337: 	      lt_prog_compiler_pic_CXX='-KPIC'
14338: 	      lt_prog_compiler_static_CXX='-Bstatic'
14339: 	      lt_prog_compiler_wl_CXX='-Qoption ld '
14340: 	      ;;
14341: 	    esac
14342: 	    ;;
14343: 	esac
14344: 	;;
14345:       lynxos*)
14346: 	;;
14347:       m88k*)
14348: 	;;
14349:       mvs*)
14350: 	case $cc_basename in
14351: 	  cxx*)
14352: 	    lt_prog_compiler_pic_CXX='-W c,exportall'
14353: 	    ;;
14354: 	  *)
14355: 	    ;;
14356: 	esac
14357: 	;;
14358:       netbsd*)
14359: 	;;
14360:       *qnx* | *nto*)
14361:         # QNX uses GNU C++, but need to define -shared option too, otherwise
14362:         # it will coredump.
14363:         lt_prog_compiler_pic_CXX='-fPIC -shared'
14364:         ;;
14365:       osf3* | osf4* | osf5*)
14366: 	case $cc_basename in
14367: 	  KCC*)
14368: 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14369: 	    ;;
14370: 	  RCC*)
14371: 	    # Rational C++ 2.4.1
14372: 	    lt_prog_compiler_pic_CXX='-pic'
14373: 	    ;;
14374: 	  cxx*)
14375: 	    # Digital/Compaq C++
14376: 	    lt_prog_compiler_wl_CXX='-Wl,'
14377: 	    # Make sure the PIC flag is empty.  It appears that all Alpha
14378: 	    # Linux and Compaq Tru64 Unix objects are PIC.
14379: 	    lt_prog_compiler_pic_CXX=
14380: 	    lt_prog_compiler_static_CXX='-non_shared'
14381: 	    ;;
14382: 	  *)
14383: 	    ;;
14384: 	esac
14385: 	;;
14386:       psos*)
14387: 	;;
14388:       solaris*)
14389: 	case $cc_basename in
14390: 	  CC* | sunCC*)
14391: 	    # Sun C++ 4.2, 5.x and Centerline C++
14392: 	    lt_prog_compiler_pic_CXX='-KPIC'
14393: 	    lt_prog_compiler_static_CXX='-Bstatic'
14394: 	    lt_prog_compiler_wl_CXX='-Qoption ld '
14395: 	    ;;
14396: 	  gcx*)
14397: 	    # Green Hills C++ Compiler
14398: 	    lt_prog_compiler_pic_CXX='-PIC'
14399: 	    ;;
14400: 	  *)
14401: 	    ;;
14402: 	esac
14403: 	;;
14404:       sunos4*)
14405: 	case $cc_basename in
14406: 	  CC*)
14407: 	    # Sun C++ 4.x
14408: 	    lt_prog_compiler_pic_CXX='-pic'
14409: 	    lt_prog_compiler_static_CXX='-Bstatic'
14410: 	    ;;
14411: 	  lcc*)
14412: 	    # Lucid
14413: 	    lt_prog_compiler_pic_CXX='-pic'
14414: 	    ;;
14415: 	  *)
14416: 	    ;;
14417: 	esac
14418: 	;;
14419:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14420: 	case $cc_basename in
14421: 	  CC*)
14422: 	    lt_prog_compiler_wl_CXX='-Wl,'
14423: 	    lt_prog_compiler_pic_CXX='-KPIC'
14424: 	    lt_prog_compiler_static_CXX='-Bstatic'
14425: 	    ;;
14426: 	esac
14427: 	;;
14428:       tandem*)
14429: 	case $cc_basename in
14430: 	  NCC*)
14431: 	    # NonStop-UX NCC 3.20
14432: 	    lt_prog_compiler_pic_CXX='-KPIC'
14433: 	    ;;
14434: 	  *)
14435: 	    ;;
14436: 	esac
14437: 	;;
14438:       vxworks*)
14439: 	;;
14440:       *)
14441: 	lt_prog_compiler_can_build_shared_CXX=no
14442: 	;;
14443:     esac
14444:   fi
14445: 
14446: case $host_os in
14447:   # For platforms which do not support PIC, -DPIC is meaningless:
14448:   *djgpp*)
14449:     lt_prog_compiler_pic_CXX=
14450:     ;;
14451:   *)
14452:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14453:     ;;
14454: esac
14455: 
14456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14457: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14458: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14459:   $as_echo_n "(cached) " >&6
14460: else
14461:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14462: fi
14463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14464: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14465: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14466: 
14467: #
14468: # Check to make sure the PIC flag actually works.
14469: #
14470: if test -n "$lt_prog_compiler_pic_CXX"; then
14471:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14472: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14473: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14474:   $as_echo_n "(cached) " >&6
14475: else
14476:   lt_cv_prog_compiler_pic_works_CXX=no
14477:    ac_outfile=conftest.$ac_objext
14478:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14479:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14480:    # Insert the option either (1) after the last *FLAGS variable, or
14481:    # (2) before a word containing "conftest.", or (3) at the end.
14482:    # Note that $ac_compile itself does not contain backslashes and begins
14483:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14484:    # The option is referenced via a variable to avoid confusing sed.
14485:    lt_compile=`echo "$ac_compile" | $SED \
14486:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14487:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14488:    -e 's:$: $lt_compiler_flag:'`
14489:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14490:    (eval "$lt_compile" 2>conftest.err)
14491:    ac_status=$?
14492:    cat conftest.err >&5
14493:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494:    if (exit $ac_status) && test -s "$ac_outfile"; then
14495:      # The compiler can only warn and ignore the option if not recognized
14496:      # So say no if there are warnings other than the usual output.
14497:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14498:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14499:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14500:        lt_cv_prog_compiler_pic_works_CXX=yes
14501:      fi
14502:    fi
14503:    $RM conftest*
14504: 
14505: fi
14506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14507: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14508: 
14509: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14510:     case $lt_prog_compiler_pic_CXX in
14511:      "" | " "*) ;;
14512:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14513:      esac
14514: else
14515:     lt_prog_compiler_pic_CXX=
14516:      lt_prog_compiler_can_build_shared_CXX=no
14517: fi
14518: 
14519: fi
14520: 
14521: 
14522: 
14523: 
14524: 
14525: #
14526: # Check to make sure the static flag actually works.
14527: #
14528: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14530: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14531: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14532:   $as_echo_n "(cached) " >&6
14533: else
14534:   lt_cv_prog_compiler_static_works_CXX=no
14535:    save_LDFLAGS="$LDFLAGS"
14536:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14537:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14538:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14539:      # The linker can only warn and ignore the option if not recognized
14540:      # So say no if there are warnings
14541:      if test -s conftest.err; then
14542:        # Append any errors to the config.log.
14543:        cat conftest.err 1>&5
14544:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14545:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14546:        if diff conftest.exp conftest.er2 >/dev/null; then
14547:          lt_cv_prog_compiler_static_works_CXX=yes
14548:        fi
14549:      else
14550:        lt_cv_prog_compiler_static_works_CXX=yes
14551:      fi
14552:    fi
14553:    $RM -r conftest*
14554:    LDFLAGS="$save_LDFLAGS"
14555: 
14556: fi
14557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14558: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14559: 
14560: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14561:     :
14562: else
14563:     lt_prog_compiler_static_CXX=
14564: fi
14565: 
14566: 
14567: 
14568: 
14569:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14570: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14571: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14572:   $as_echo_n "(cached) " >&6
14573: else
14574:   lt_cv_prog_compiler_c_o_CXX=no
14575:    $RM -r conftest 2>/dev/null
14576:    mkdir conftest
14577:    cd conftest
14578:    mkdir out
14579:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14580: 
14581:    lt_compiler_flag="-o out/conftest2.$ac_objext"
14582:    # Insert the option either (1) after the last *FLAGS variable, or
14583:    # (2) before a word containing "conftest.", or (3) at the end.
14584:    # Note that $ac_compile itself does not contain backslashes and begins
14585:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14586:    lt_compile=`echo "$ac_compile" | $SED \
14587:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14588:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14589:    -e 's:$: $lt_compiler_flag:'`
14590:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14591:    (eval "$lt_compile" 2>out/conftest.err)
14592:    ac_status=$?
14593:    cat out/conftest.err >&5
14594:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14596:    then
14597:      # The compiler can only warn and ignore the option if not recognized
14598:      # So say no if there are warnings
14599:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14600:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14601:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14602:        lt_cv_prog_compiler_c_o_CXX=yes
14603:      fi
14604:    fi
14605:    chmod u+w . 2>&5
14606:    $RM conftest*
14607:    # SGI C++ compiler will create directory out/ii_files/ for
14608:    # template instantiation
14609:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14610:    $RM out/* && rmdir out
14611:    cd ..
14612:    $RM -r conftest
14613:    $RM conftest*
14614: 
14615: fi
14616: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14617: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14618: 
14619: 
14620: 
14621:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14622: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14623: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14624:   $as_echo_n "(cached) " >&6
14625: else
14626:   lt_cv_prog_compiler_c_o_CXX=no
14627:    $RM -r conftest 2>/dev/null
14628:    mkdir conftest
14629:    cd conftest
14630:    mkdir out
14631:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14632: 
14633:    lt_compiler_flag="-o out/conftest2.$ac_objext"
14634:    # Insert the option either (1) after the last *FLAGS variable, or
14635:    # (2) before a word containing "conftest.", or (3) at the end.
14636:    # Note that $ac_compile itself does not contain backslashes and begins
14637:    # with a dollar sign (not a hyphen), so the echo should work correctly.
14638:    lt_compile=`echo "$ac_compile" | $SED \
14639:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14640:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14641:    -e 's:$: $lt_compiler_flag:'`
14642:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14643:    (eval "$lt_compile" 2>out/conftest.err)
14644:    ac_status=$?
14645:    cat out/conftest.err >&5
14646:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14648:    then
14649:      # The compiler can only warn and ignore the option if not recognized
14650:      # So say no if there are warnings
14651:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14652:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14653:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14654:        lt_cv_prog_compiler_c_o_CXX=yes
14655:      fi
14656:    fi
14657:    chmod u+w . 2>&5
14658:    $RM conftest*
14659:    # SGI C++ compiler will create directory out/ii_files/ for
14660:    # template instantiation
14661:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14662:    $RM out/* && rmdir out
14663:    cd ..
14664:    $RM -r conftest
14665:    $RM conftest*
14666: 
14667: fi
14668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14669: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14670: 
14671: 
14672: 
14673: 
14674: hard_links="nottested"
14675: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14676:   # do not overwrite the value of need_locks provided by the user
14677:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14678: $as_echo_n "checking if we can lock with hard links... " >&6; }
14679:   hard_links=yes
14680:   $RM conftest*
14681:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14682:   touch conftest.a
14683:   ln conftest.a conftest.b 2>&5 || hard_links=no
14684:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14686: $as_echo "$hard_links" >&6; }
14687:   if test "$hard_links" = no; then
14688:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14689: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14690:     need_locks=warn
14691:   fi
14692: else
14693:   need_locks=no
14694: fi
14695: 
14696: 
14697: 
14698:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14699: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14700: 
14701:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14702:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14703:   case $host_os in
14704:   aix[4-9]*)
14705:     # If we're using GNU nm, then we don't want the "-C" option.
14706:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14707:     # Also, AIX nm treats weak defined symbols like other global defined
14708:     # symbols, whereas GNU nm marks them as "W".
14709:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14710:       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'
14711:     else
14712:       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'
14713:     fi
14714:     ;;
14715:   pw32*)
14716:     export_symbols_cmds_CXX="$ltdll_cmds"
14717:     ;;
14718:   cygwin* | mingw* | cegcc*)
14719:     case $cc_basename in
14720:     cl*) ;;
14721:     *)
14722:       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'
14723:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14724:       ;;
14725:     esac
14726:     ;;
14727:   *)
14728:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14729:     ;;
14730:   esac
14731: 
14732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14733: $as_echo "$ld_shlibs_CXX" >&6; }
14734: test "$ld_shlibs_CXX" = no && can_build_shared=no
14735: 
14736: with_gnu_ld_CXX=$with_gnu_ld
14737: 
14738: 
14739: 
14740: 
14741: 
14742: 
14743: #
14744: # Do we need to explicitly link libc?
14745: #
14746: case "x$archive_cmds_need_lc_CXX" in
14747: x|xyes)
14748:   # Assume -lc should be added
14749:   archive_cmds_need_lc_CXX=yes
14750: 
14751:   if test "$enable_shared" = yes && test "$GCC" = yes; then
14752:     case $archive_cmds_CXX in
14753:     *'~'*)
14754:       # FIXME: we may have to deal with multi-command sequences.
14755:       ;;
14756:     '$CC '*)
14757:       # Test whether the compiler implicitly links with -lc since on some
14758:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14759:       # to ld, don't add -lc before -lgcc.
14760:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14761: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14762: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14763:   $as_echo_n "(cached) " >&6
14764: else
14765:   $RM conftest*
14766: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14767: 
14768: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14769:   (eval $ac_compile) 2>&5
14770:   ac_status=$?
14771:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772:   test $ac_status = 0; } 2>conftest.err; then
14773: 	  soname=conftest
14774: 	  lib=conftest
14775: 	  libobjs=conftest.$ac_objext
14776: 	  deplibs=
14777: 	  wl=$lt_prog_compiler_wl_CXX
14778: 	  pic_flag=$lt_prog_compiler_pic_CXX
14779: 	  compiler_flags=-v
14780: 	  linker_flags=-v
14781: 	  verstring=
14782: 	  output_objdir=.
14783: 	  libname=conftest
14784: 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14785: 	  allow_undefined_flag_CXX=
14786: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14787:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14788:   ac_status=$?
14789:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14790:   test $ac_status = 0; }
14791: 	  then
14792: 	    lt_cv_archive_cmds_need_lc_CXX=no
14793: 	  else
14794: 	    lt_cv_archive_cmds_need_lc_CXX=yes
14795: 	  fi
14796: 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14797: 	else
14798: 	  cat conftest.err 1>&5
14799: 	fi
14800: 	$RM conftest*
14801: 
14802: fi
14803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14804: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14805:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14806:       ;;
14807:     esac
14808:   fi
14809:   ;;
14810: esac
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: 
14845: 
14846: 
14847: 
14848: 
14849: 
14850: 
14851: 
14852: 
14853: 
14854: 
14855: 
14856: 
14857: 
14858: 
14859: 
14860: 
14861: 
14862: 
14863: 
14864: 
14865: 
14866: 
14867: 
14868: 
14869: 
14870: 
14871: 
14872: 
14873: 
14874: 
14875:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14876: $as_echo_n "checking dynamic linker characteristics... " >&6; }
14877: 
14878: library_names_spec=
14879: libname_spec='lib$name'
14880: soname_spec=
14881: shrext_cmds=".so"
14882: postinstall_cmds=
14883: postuninstall_cmds=
14884: finish_cmds=
14885: finish_eval=
14886: shlibpath_var=
14887: shlibpath_overrides_runpath=unknown
14888: version_type=none
14889: dynamic_linker="$host_os ld.so"
14890: sys_lib_dlsearch_path_spec="/lib /usr/lib"
14891: need_lib_prefix=unknown
14892: hardcode_into_libs=no
14893: 
14894: # when you set need_version to no, make sure it does not cause -set_version
14895: # flags to be left without arguments
14896: need_version=unknown
14897: 
14898: case $host_os in
14899: aix3*)
14900:   version_type=linux
14901:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14902:   shlibpath_var=LIBPATH
14903: 
14904:   # AIX 3 has no versioning support, so we append a major version to the name.
14905:   soname_spec='${libname}${release}${shared_ext}$major'
14906:   ;;
14907: 
14908: aix[4-9]*)
14909:   version_type=linux
14910:   need_lib_prefix=no
14911:   need_version=no
14912:   hardcode_into_libs=yes
14913:   if test "$host_cpu" = ia64; then
14914:     # AIX 5 supports IA64
14915:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14916:     shlibpath_var=LD_LIBRARY_PATH
14917:   else
14918:     # With GCC up to 2.95.x, collect2 would create an import file
14919:     # for dependence libraries.  The import file would start with
14920:     # the line `#! .'.  This would cause the generated library to
14921:     # depend on `.', always an invalid library.  This was fixed in
14922:     # development snapshots of GCC prior to 3.0.
14923:     case $host_os in
14924:       aix4 | aix4.[01] | aix4.[01].*)
14925:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14926: 	   echo ' yes '
14927: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14928: 	:
14929:       else
14930: 	can_build_shared=no
14931:       fi
14932:       ;;
14933:     esac
14934:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14935:     # soname into executable. Probably we can add versioning support to
14936:     # collect2, so additional links can be useful in future.
14937:     if test "$aix_use_runtimelinking" = yes; then
14938:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14939:       # instead of lib<name>.a to let people know that these are not
14940:       # typical AIX shared libraries.
14941:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14942:     else
14943:       # We preserve .a as extension for shared libraries through AIX4.2
14944:       # and later when we are not doing run time linking.
14945:       library_names_spec='${libname}${release}.a $libname.a'
14946:       soname_spec='${libname}${release}${shared_ext}$major'
14947:     fi
14948:     shlibpath_var=LIBPATH
14949:   fi
14950:   ;;
14951: 
14952: amigaos*)
14953:   case $host_cpu in
14954:   powerpc)
14955:     # Since July 2007 AmigaOS4 officially supports .so libraries.
14956:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14957:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14958:     ;;
14959:   m68k)
14960:     library_names_spec='$libname.ixlibrary $libname.a'
14961:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14962:     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'
14963:     ;;
14964:   esac
14965:   ;;
14966: 
14967: beos*)
14968:   library_names_spec='${libname}${shared_ext}'
14969:   dynamic_linker="$host_os ld.so"
14970:   shlibpath_var=LIBRARY_PATH
14971:   ;;
14972: 
14973: bsdi[45]*)
14974:   version_type=linux
14975:   need_version=no
14976:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977:   soname_spec='${libname}${release}${shared_ext}$major'
14978:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14979:   shlibpath_var=LD_LIBRARY_PATH
14980:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14981:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14982:   # the default ld.so.conf also contains /usr/contrib/lib and
14983:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14984:   # libtool to hard-code these into programs
14985:   ;;
14986: 
14987: cygwin* | mingw* | pw32* | cegcc*)
14988:   version_type=windows
14989:   shrext_cmds=".dll"
14990:   need_version=no
14991:   need_lib_prefix=no
14992: 
14993:   case $GCC,$cc_basename in
14994:   yes,*)
14995:     # gcc
14996:     library_names_spec='$libname.dll.a'
14997:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14998:     postinstall_cmds='base_file=`basename \${file}`~
14999:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15000:       dldir=$destdir/`dirname \$dlpath`~
15001:       test -d \$dldir || mkdir -p \$dldir~
15002:       $install_prog $dir/$dlname \$dldir/$dlname~
15003:       chmod a+x \$dldir/$dlname~
15004:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15005:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15006:       fi'
15007:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15008:       dlpath=$dir/\$dldll~
15009:        $RM \$dlpath'
15010:     shlibpath_overrides_runpath=yes
15011: 
15012:     case $host_os in
15013:     cygwin*)
15014:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15015:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15016: 
15017:       ;;
15018:     mingw* | cegcc*)
15019:       # MinGW DLLs use traditional 'lib' prefix
15020:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15021:       ;;
15022:     pw32*)
15023:       # pw32 DLLs use 'pw' prefix rather than 'lib'
15024:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15025:       ;;
15026:     esac
15027:     dynamic_linker='Win32 ld.exe'
15028:     ;;
15029: 
15030:   *,cl*)
15031:     # Native MSVC
15032:     libname_spec='$name'
15033:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15034:     library_names_spec='${libname}.dll.lib'
15035: 
15036:     case $build_os in
15037:     mingw*)
15038:       sys_lib_search_path_spec=
15039:       lt_save_ifs=$IFS
15040:       IFS=';'
15041:       for lt_path in $LIB
15042:       do
15043:         IFS=$lt_save_ifs
15044:         # Let DOS variable expansion print the short 8.3 style file name.
15045:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15046:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15047:       done
15048:       IFS=$lt_save_ifs
15049:       # Convert to MSYS style.
15050:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15051:       ;;
15052:     cygwin*)
15053:       # Convert to unix form, then to dos form, then back to unix form
15054:       # but this time dos style (no spaces!) so that the unix form looks
15055:       # like /cygdrive/c/PROGRA~1:/cygdr...
15056:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15057:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15058:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15059:       ;;
15060:     *)
15061:       sys_lib_search_path_spec="$LIB"
15062:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15063:         # It is most probably a Windows format PATH.
15064:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15065:       else
15066:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15067:       fi
15068:       # FIXME: find the short name or the path components, as spaces are
15069:       # common. (e.g. "Program Files" -> "PROGRA~1")
15070:       ;;
15071:     esac
15072: 
15073:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15074:     postinstall_cmds='base_file=`basename \${file}`~
15075:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15076:       dldir=$destdir/`dirname \$dlpath`~
15077:       test -d \$dldir || mkdir -p \$dldir~
15078:       $install_prog $dir/$dlname \$dldir/$dlname'
15079:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15080:       dlpath=$dir/\$dldll~
15081:        $RM \$dlpath'
15082:     shlibpath_overrides_runpath=yes
15083:     dynamic_linker='Win32 link.exe'
15084:     ;;
15085: 
15086:   *)
15087:     # Assume MSVC wrapper
15088:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15089:     dynamic_linker='Win32 ld.exe'
15090:     ;;
15091:   esac
15092:   # FIXME: first we should search . and the directory the executable is in
15093:   shlibpath_var=PATH
15094:   ;;
15095: 
15096: darwin* | rhapsody*)
15097:   dynamic_linker="$host_os dyld"
15098:   version_type=darwin
15099:   need_lib_prefix=no
15100:   need_version=no
15101:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15102:   soname_spec='${libname}${release}${major}$shared_ext'
15103:   shlibpath_overrides_runpath=yes
15104:   shlibpath_var=DYLD_LIBRARY_PATH
15105:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15106: 
15107:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15108:   ;;
15109: 
15110: dgux*)
15111:   version_type=linux
15112:   need_lib_prefix=no
15113:   need_version=no
15114:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15115:   soname_spec='${libname}${release}${shared_ext}$major'
15116:   shlibpath_var=LD_LIBRARY_PATH
15117:   ;;
15118: 
15119: freebsd1*)
15120:   dynamic_linker=no
15121:   ;;
15122: 
15123: freebsd* | dragonfly*)
15124:   # DragonFly does not have aout.  When/if they implement a new
15125:   # versioning mechanism, adjust this.
15126:   if test -x /usr/bin/objformat; then
15127:     objformat=`/usr/bin/objformat`
15128:   else
15129:     case $host_os in
15130:     freebsd[123]*) objformat=aout ;;
15131:     *) objformat=elf ;;
15132:     esac
15133:   fi
15134:   # Handle Gentoo/FreeBSD as it was Linux
15135:   case $host_vendor in
15136:     gentoo)
15137:       version_type=linux ;;
15138:     *)
15139:       version_type=freebsd-$objformat ;;
15140:   esac
15141: 
15142:   case $version_type in
15143:     freebsd-elf*)
15144:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15145:       need_version=no
15146:       need_lib_prefix=no
15147:       ;;
15148:     freebsd-*)
15149:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15150:       need_version=yes
15151:       ;;
15152:     linux)
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:       need_lib_prefix=no
15156:       need_version=no
15157:       ;;
15158:   esac
15159:   shlibpath_var=LD_LIBRARY_PATH
15160:   case $host_os in
15161:   freebsd2*)
15162:     shlibpath_overrides_runpath=yes
15163:     ;;
15164:   freebsd3.[01]* | freebsdelf3.[01]*)
15165:     shlibpath_overrides_runpath=yes
15166:     hardcode_into_libs=yes
15167:     ;;
15168:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15169:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15170:     shlibpath_overrides_runpath=no
15171:     hardcode_into_libs=yes
15172:     ;;
15173:   *) # from 4.6 on, and DragonFly
15174:     shlibpath_overrides_runpath=yes
15175:     hardcode_into_libs=yes
15176:     ;;
15177:   esac
15178:   ;;
15179: 
15180: gnu*)
15181:   version_type=linux
15182:   need_lib_prefix=no
15183:   need_version=no
15184:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15185:   soname_spec='${libname}${release}${shared_ext}$major'
15186:   shlibpath_var=LD_LIBRARY_PATH
15187:   hardcode_into_libs=yes
15188:   ;;
15189: 
15190: haiku*)
15191:   version_type=linux
15192:   need_lib_prefix=no
15193:   need_version=no
15194:   dynamic_linker="$host_os runtime_loader"
15195:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15196:   soname_spec='${libname}${release}${shared_ext}$major'
15197:   shlibpath_var=LIBRARY_PATH
15198:   shlibpath_overrides_runpath=yes
15199:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15200:   hardcode_into_libs=yes
15201:   ;;
15202: 
15203: hpux9* | hpux10* | hpux11*)
15204:   # Give a soname corresponding to the major version so that dld.sl refuses to
15205:   # link against other versions.
15206:   version_type=sunos
15207:   need_lib_prefix=no
15208:   need_version=no
15209:   case $host_cpu in
15210:   ia64*)
15211:     shrext_cmds='.so'
15212:     hardcode_into_libs=yes
15213:     dynamic_linker="$host_os dld.so"
15214:     shlibpath_var=LD_LIBRARY_PATH
15215:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15216:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217:     soname_spec='${libname}${release}${shared_ext}$major'
15218:     if test "X$HPUX_IA64_MODE" = X32; then
15219:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15220:     else
15221:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15222:     fi
15223:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15224:     ;;
15225:   hppa*64*)
15226:     shrext_cmds='.sl'
15227:     hardcode_into_libs=yes
15228:     dynamic_linker="$host_os dld.sl"
15229:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15230:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15231:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232:     soname_spec='${libname}${release}${shared_ext}$major'
15233:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15234:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15235:     ;;
15236:   *)
15237:     shrext_cmds='.sl'
15238:     dynamic_linker="$host_os dld.sl"
15239:     shlibpath_var=SHLIB_PATH
15240:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15241:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15242:     soname_spec='${libname}${release}${shared_ext}$major'
15243:     ;;
15244:   esac
15245:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15246:   postinstall_cmds='chmod 555 $lib'
15247:   # or fails outright, so override atomically:
15248:   install_override_mode=555
15249:   ;;
15250: 
15251: interix[3-9]*)
15252:   version_type=linux
15253:   need_lib_prefix=no
15254:   need_version=no
15255:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15256:   soname_spec='${libname}${release}${shared_ext}$major'
15257:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15258:   shlibpath_var=LD_LIBRARY_PATH
15259:   shlibpath_overrides_runpath=no
15260:   hardcode_into_libs=yes
15261:   ;;
15262: 
15263: irix5* | irix6* | nonstopux*)
15264:   case $host_os in
15265:     nonstopux*) version_type=nonstopux ;;
15266:     *)
15267: 	if test "$lt_cv_prog_gnu_ld" = yes; then
15268: 		version_type=linux
15269: 	else
15270: 		version_type=irix
15271: 	fi ;;
15272:   esac
15273:   need_lib_prefix=no
15274:   need_version=no
15275:   soname_spec='${libname}${release}${shared_ext}$major'
15276:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15277:   case $host_os in
15278:   irix5* | nonstopux*)
15279:     libsuff= shlibsuff=
15280:     ;;
15281:   *)
15282:     case $LD in # libtool.m4 will add one of these switches to LD
15283:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15284:       libsuff= shlibsuff= libmagic=32-bit;;
15285:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15286:       libsuff=32 shlibsuff=N32 libmagic=N32;;
15287:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15288:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15289:     *) libsuff= shlibsuff= libmagic=never-match;;
15290:     esac
15291:     ;;
15292:   esac
15293:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15294:   shlibpath_overrides_runpath=no
15295:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15296:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15297:   hardcode_into_libs=yes
15298:   ;;
15299: 
15300: # No shared lib support for Linux oldld, aout, or coff.
15301: linux*oldld* | linux*aout* | linux*coff*)
15302:   dynamic_linker=no
15303:   ;;
15304: 
15305: # This must be Linux ELF.
15306: linux* | k*bsd*-gnu | kopensolaris*-gnu)
15307:   version_type=linux
15308:   need_lib_prefix=no
15309:   need_version=no
15310:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311:   soname_spec='${libname}${release}${shared_ext}$major'
15312:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15313:   shlibpath_var=LD_LIBRARY_PATH
15314:   shlibpath_overrides_runpath=no
15315: 
15316:   # Some binutils ld are patched to set DT_RUNPATH
15317:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15318:   $as_echo_n "(cached) " >&6
15319: else
15320:   lt_cv_shlibpath_overrides_runpath=no
15321:     save_LDFLAGS=$LDFLAGS
15322:     save_libdir=$libdir
15323:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15324: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15325:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326: /* end confdefs.h.  */
15327: 
15328: int
15329: main ()
15330: {
15331: 
15332:   ;
15333:   return 0;
15334: }
15335: _ACEOF
15336: if ac_fn_cxx_try_link "$LINENO"; then :
15337:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15338:   lt_cv_shlibpath_overrides_runpath=yes
15339: fi
15340: fi
15341: rm -f core conftest.err conftest.$ac_objext \
15342:     conftest$ac_exeext conftest.$ac_ext
15343:     LDFLAGS=$save_LDFLAGS
15344:     libdir=$save_libdir
15345: 
15346: fi
15347: 
15348:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15349: 
15350:   # This implies no fast_install, which is unacceptable.
15351:   # Some rework will be needed to allow for fast_install
15352:   # before this can be enabled.
15353:   hardcode_into_libs=yes
15354: 
15355:   # Append ld.so.conf contents to the search path
15356:   if test -f /etc/ld.so.conf; then
15357:     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' ' '`
15358:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15359:   fi
15360: 
15361:   # We used to test for /lib/ld.so.1 and disable shared libraries on
15362:   # powerpc, because MkLinux only supported shared libraries with the
15363:   # GNU dynamic linker.  Since this was broken with cross compilers,
15364:   # most powerpc-linux boxes support dynamic linking these days and
15365:   # people can always --disable-shared, the test was removed, and we
15366:   # assume the GNU/Linux dynamic linker is in use.
15367:   dynamic_linker='GNU/Linux ld.so'
15368:   ;;
15369: 
15370: netbsd*)
15371:   version_type=sunos
15372:   need_lib_prefix=no
15373:   need_version=no
15374:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15375:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15376:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15377:     dynamic_linker='NetBSD (a.out) ld.so'
15378:   else
15379:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15380:     soname_spec='${libname}${release}${shared_ext}$major'
15381:     dynamic_linker='NetBSD ld.elf_so'
15382:   fi
15383:   shlibpath_var=LD_LIBRARY_PATH
15384:   shlibpath_overrides_runpath=yes
15385:   hardcode_into_libs=yes
15386:   ;;
15387: 
15388: newsos6)
15389:   version_type=linux
15390:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15391:   shlibpath_var=LD_LIBRARY_PATH
15392:   shlibpath_overrides_runpath=yes
15393:   ;;
15394: 
15395: *nto* | *qnx*)
15396:   version_type=qnx
15397:   need_lib_prefix=no
15398:   need_version=no
15399:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15400:   soname_spec='${libname}${release}${shared_ext}$major'
15401:   shlibpath_var=LD_LIBRARY_PATH
15402:   shlibpath_overrides_runpath=no
15403:   hardcode_into_libs=yes
15404:   dynamic_linker='ldqnx.so'
15405:   ;;
15406: 
15407: openbsd*)
15408:   version_type=sunos
15409:   sys_lib_dlsearch_path_spec="/usr/lib"
15410:   need_lib_prefix=no
15411:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15412:   case $host_os in
15413:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15414:     *)				need_version=no  ;;
15415:   esac
15416:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15417:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15418:   shlibpath_var=LD_LIBRARY_PATH
15419:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15420:     case $host_os in
15421:       openbsd2.[89] | openbsd2.[89].*)
15422: 	shlibpath_overrides_runpath=no
15423: 	;;
15424:       *)
15425: 	shlibpath_overrides_runpath=yes
15426: 	;;
15427:       esac
15428:   else
15429:     shlibpath_overrides_runpath=yes
15430:   fi
15431:   ;;
15432: 
15433: os2*)
15434:   libname_spec='$name'
15435:   shrext_cmds=".dll"
15436:   need_lib_prefix=no
15437:   library_names_spec='$libname${shared_ext} $libname.a'
15438:   dynamic_linker='OS/2 ld.exe'
15439:   shlibpath_var=LIBPATH
15440:   ;;
15441: 
15442: osf3* | osf4* | osf5*)
15443:   version_type=osf
15444:   need_lib_prefix=no
15445:   need_version=no
15446:   soname_spec='${libname}${release}${shared_ext}$major'
15447:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15448:   shlibpath_var=LD_LIBRARY_PATH
15449:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15450:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15451:   ;;
15452: 
15453: rdos*)
15454:   dynamic_linker=no
15455:   ;;
15456: 
15457: solaris*)
15458:   version_type=linux
15459:   need_lib_prefix=no
15460:   need_version=no
15461:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15462:   soname_spec='${libname}${release}${shared_ext}$major'
15463:   shlibpath_var=LD_LIBRARY_PATH
15464:   shlibpath_overrides_runpath=yes
15465:   hardcode_into_libs=yes
15466:   # ldd complains unless libraries are executable
15467:   postinstall_cmds='chmod +x $lib'
15468:   ;;
15469: 
15470: sunos4*)
15471:   version_type=sunos
15472:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15473:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15474:   shlibpath_var=LD_LIBRARY_PATH
15475:   shlibpath_overrides_runpath=yes
15476:   if test "$with_gnu_ld" = yes; then
15477:     need_lib_prefix=no
15478:   fi
15479:   need_version=yes
15480:   ;;
15481: 
15482: sysv4 | sysv4.3*)
15483:   version_type=linux
15484:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485:   soname_spec='${libname}${release}${shared_ext}$major'
15486:   shlibpath_var=LD_LIBRARY_PATH
15487:   case $host_vendor in
15488:     sni)
15489:       shlibpath_overrides_runpath=no
15490:       need_lib_prefix=no
15491:       runpath_var=LD_RUN_PATH
15492:       ;;
15493:     siemens)
15494:       need_lib_prefix=no
15495:       ;;
15496:     motorola)
15497:       need_lib_prefix=no
15498:       need_version=no
15499:       shlibpath_overrides_runpath=no
15500:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15501:       ;;
15502:   esac
15503:   ;;
15504: 
15505: sysv4*MP*)
15506:   if test -d /usr/nec ;then
15507:     version_type=linux
15508:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15509:     soname_spec='$libname${shared_ext}.$major'
15510:     shlibpath_var=LD_LIBRARY_PATH
15511:   fi
15512:   ;;
15513: 
15514: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15515:   version_type=freebsd-elf
15516:   need_lib_prefix=no
15517:   need_version=no
15518:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15519:   soname_spec='${libname}${release}${shared_ext}$major'
15520:   shlibpath_var=LD_LIBRARY_PATH
15521:   shlibpath_overrides_runpath=yes
15522:   hardcode_into_libs=yes
15523:   if test "$with_gnu_ld" = yes; then
15524:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15525:   else
15526:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15527:     case $host_os in
15528:       sco3.2v5*)
15529:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15530: 	;;
15531:     esac
15532:   fi
15533:   sys_lib_dlsearch_path_spec='/usr/lib'
15534:   ;;
15535: 
15536: tpf*)
15537:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15538:   version_type=linux
15539:   need_lib_prefix=no
15540:   need_version=no
15541:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15542:   shlibpath_var=LD_LIBRARY_PATH
15543:   shlibpath_overrides_runpath=no
15544:   hardcode_into_libs=yes
15545:   ;;
15546: 
15547: uts4*)
15548:   version_type=linux
15549:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550:   soname_spec='${libname}${release}${shared_ext}$major'
15551:   shlibpath_var=LD_LIBRARY_PATH
15552:   ;;
15553: 
15554: *)
15555:   dynamic_linker=no
15556:   ;;
15557: esac
15558: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15559: $as_echo "$dynamic_linker" >&6; }
15560: test "$dynamic_linker" = no && can_build_shared=no
15561: 
15562: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15563: if test "$GCC" = yes; then
15564:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15565: fi
15566: 
15567: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15568:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15569: fi
15570: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15571:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15572: fi
15573: 
15574: 
15575: 
15576: 
15577: 
15578: 
15579: 
15580: 
15581: 
15582: 
15583: 
15584: 
15585: 
15586: 
15587: 
15588: 
15589: 
15590: 
15591: 
15592: 
15593: 
15594: 
15595: 
15596: 
15597: 
15598: 
15599: 
15600: 
15601: 
15602: 
15603: 
15604: 
15605: 
15606: 
15607: 
15608: 
15609: 
15610: 
15611:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15612: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15613: hardcode_action_CXX=
15614: if test -n "$hardcode_libdir_flag_spec_CXX" ||
15615:    test -n "$runpath_var_CXX" ||
15616:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15617: 
15618:   # We can hardcode non-existent directories.
15619:   if test "$hardcode_direct_CXX" != no &&
15620:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15621:      # have to relink, otherwise we might link with an installed library
15622:      # when we should be linking with a yet-to-be-installed one
15623:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15624:      test "$hardcode_minus_L_CXX" != no; then
15625:     # Linking always hardcodes the temporary library directory.
15626:     hardcode_action_CXX=relink
15627:   else
15628:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15629:     hardcode_action_CXX=immediate
15630:   fi
15631: else
15632:   # We cannot hardcode anything, or else we can only hardcode existing
15633:   # directories.
15634:   hardcode_action_CXX=unsupported
15635: fi
15636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15637: $as_echo "$hardcode_action_CXX" >&6; }
15638: 
15639: if test "$hardcode_action_CXX" = relink ||
15640:    test "$inherit_rpath_CXX" = yes; then
15641:   # Fast installation is not supported
15642:   enable_fast_install=no
15643: elif test "$shlibpath_overrides_runpath" = yes ||
15644:      test "$enable_shared" = no; then
15645:   # Fast installation is not necessary
15646:   enable_fast_install=needless
15647: fi
15648: 
15649: 
15650: 
15651: 
15652: 
15653: 
15654: 
15655:   fi # test -n "$compiler"
15656: 
15657:   CC=$lt_save_CC
15658:   CFLAGS=$lt_save_CFLAGS
15659:   LDCXX=$LD
15660:   LD=$lt_save_LD
15661:   GCC=$lt_save_GCC
15662:   with_gnu_ld=$lt_save_with_gnu_ld
15663:   lt_cv_path_LDCXX=$lt_cv_path_LD
15664:   lt_cv_path_LD=$lt_save_path_LD
15665:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15666:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15667: fi # test "$_lt_caught_CXX_error" != yes
15668: 
15669: ac_ext=c
15670: ac_cpp='$CPP $CPPFLAGS'
15671: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15672: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15673: ac_compiler_gnu=$ac_cv_c_compiler_gnu
15674: 
15675: 
15676: 
15677: 
15678: 
15679: 
15680: 
15681: 
15682: 
15683: 
15684: 
15685: 
15686: 
15687:         ac_config_commands="$ac_config_commands libtool"
15688: 
15689: 
15690: 
15691: 
15692: # Only expand once:
15693: 
15694: 
15695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15696: $as_echo_n "checking whether ln -s works... " >&6; }
15697: LN_S=$as_ln_s
15698: if test "$LN_S" = "ln -s"; then
15699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15700: $as_echo "yes" >&6; }
15701: else
15702:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15703: $as_echo "no, using $LN_S" >&6; }
15704: fi
15705: 
15706: 
15707: PCRE_MAJOR="8"
15708: PCRE_MINOR="30"
15709: PCRE_PRERELEASE=""
15710: PCRE_DATE="2012-02-04"
15711: 
15712: if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
15713: then
15714:   echo "***"
15715:   echo "*** Minor version number $PCRE_MINOR must not be used. ***"
15716:   echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
15717:   echo "***"
15718:   exit 1
15719: fi
15720: 
15721: 
15722: 
15723: 
15724: 
15725: 
15726: # Set a more sensible default value for $(htmldir).
15727: if test "x$htmldir" = 'x${docdir}'
15728: then
15729:   htmldir='${docdir}/html'
15730: fi
15731: 
15732: # Handle --disable-pcre8 (enabled by default)
15733: # Check whether --enable-pcre8 was given.
15734: if test "${enable_pcre8+set}" = set; then :
15735:   enableval=$enable_pcre8;
15736: else
15737:   enable_pcre8=unset
15738: fi
15739: 
15740: 
15741: 
15742: # Handle --enable-pcre16 (disabled by default)
15743: # Check whether --enable-pcre16 was given.
15744: if test "${enable_pcre16+set}" = set; then :
15745:   enableval=$enable_pcre16;
15746: else
15747:   enable_pcre16=unset
15748: fi
15749: 
15750: 
15751: 
15752: # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
15753: # pcre-config.
15754: # Check whether --enable-cpp was given.
15755: if test "${enable_cpp+set}" = set; then :
15756:   enableval=$enable_cpp;
15757: else
15758:   enable_cpp=unset
15759: fi
15760: 
15761: 
15762: 
15763: # Handle --enable-jit (disabled by default)
15764: # Check whether --enable-jit was given.
15765: if test "${enable_jit+set}" = set; then :
15766:   enableval=$enable_jit;
15767: else
15768:   enable_jit=no
15769: fi
15770: 
15771: 
15772: # Handle --disable-pcregrep-jit (enabled by default)
15773: # Check whether --enable-pcregrep-jit was given.
15774: if test "${enable_pcregrep_jit+set}" = set; then :
15775:   enableval=$enable_pcregrep_jit;
15776: else
15777:   enable_pcregrep_jit=yes
15778: fi
15779: 
15780: 
15781: # Handle --enable-rebuild-chartables
15782: # Check whether --enable-rebuild-chartables was given.
15783: if test "${enable_rebuild_chartables+set}" = set; then :
15784:   enableval=$enable_rebuild_chartables;
15785: else
15786:   enable_rebuild_chartables=no
15787: fi
15788: 
15789: 
15790: # Handle --enable-utf8 (disabled by default)
15791: # Check whether --enable-utf8 was given.
15792: if test "${enable_utf8+set}" = set; then :
15793:   enableval=$enable_utf8;
15794: else
15795:   enable_utf8=unset
15796: fi
15797: 
15798: 
15799: # Handle --enable-utf (disabled by default)
15800: # Check whether --enable-utf was given.
15801: if test "${enable_utf+set}" = set; then :
15802:   enableval=$enable_utf;
15803: else
15804:   enable_utf=unset
15805: fi
15806: 
15807: 
15808: # Handle --enable-unicode-properties
15809: # Check whether --enable-unicode-properties was given.
15810: if test "${enable_unicode_properties+set}" = set; then :
15811:   enableval=$enable_unicode_properties;
15812: else
15813:   enable_unicode_properties=no
15814: fi
15815: 
15816: 
15817: # Handle --enable-newline=NL
15818: 
15819: # Separate newline options
15820: ac_pcre_newline=lf
15821: # Check whether --enable-newline-is-cr was given.
15822: if test "${enable_newline_is_cr+set}" = set; then :
15823:   enableval=$enable_newline_is_cr; ac_pcre_newline=cr
15824: fi
15825: 
15826: # Check whether --enable-newline-is-lf was given.
15827: if test "${enable_newline_is_lf+set}" = set; then :
15828:   enableval=$enable_newline_is_lf; ac_pcre_newline=lf
15829: fi
15830: 
15831: # Check whether --enable-newline-is-crlf was given.
15832: if test "${enable_newline_is_crlf+set}" = set; then :
15833:   enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
15834: fi
15835: 
15836: # Check whether --enable-newline-is-anycrlf was given.
15837: if test "${enable_newline_is_anycrlf+set}" = set; then :
15838:   enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
15839: fi
15840: 
15841: # Check whether --enable-newline-is-any was given.
15842: if test "${enable_newline_is_any+set}" = set; then :
15843:   enableval=$enable_newline_is_any; ac_pcre_newline=any
15844: fi
15845: 
15846: enable_newline="$ac_pcre_newline"
15847: 
15848: # Handle --enable-bsr-anycrlf
15849: # Check whether --enable-bsr-anycrlf was given.
15850: if test "${enable_bsr_anycrlf+set}" = set; then :
15851:   enableval=$enable_bsr_anycrlf;
15852: else
15853:   enable_bsr_anycrlf=no
15854: fi
15855: 
15856: 
15857: # Handle --enable-ebcdic
15858: # Check whether --enable-ebcdic was given.
15859: if test "${enable_ebcdic+set}" = set; then :
15860:   enableval=$enable_ebcdic;
15861: else
15862:   enable_ebcdic=no
15863: fi
15864: 
15865: 
15866: # Handle --disable-stack-for-recursion
15867: # Check whether --enable-stack-for-recursion was given.
15868: if test "${enable_stack_for_recursion+set}" = set; then :
15869:   enableval=$enable_stack_for_recursion;
15870: else
15871:   enable_stack_for_recursion=yes
15872: fi
15873: 
15874: 
15875: # Handle --enable-pcregrep-libz
15876: # Check whether --enable-pcregrep-libz was given.
15877: if test "${enable_pcregrep_libz+set}" = set; then :
15878:   enableval=$enable_pcregrep_libz;
15879: else
15880:   enable_pcregrep_libz=no
15881: fi
15882: 
15883: 
15884: # Handle --enable-pcregrep-libbz2
15885: # Check whether --enable-pcregrep-libbz2 was given.
15886: if test "${enable_pcregrep_libbz2+set}" = set; then :
15887:   enableval=$enable_pcregrep_libbz2;
15888: else
15889:   enable_pcregrep_libbz2=no
15890: fi
15891: 
15892: 
15893: # Handle --with-pcregrep-bufsize=N
15894: 
15895: # Check whether --with-pcregrep-bufsize was given.
15896: if test "${with_pcregrep_bufsize+set}" = set; then :
15897:   withval=$with_pcregrep_bufsize;
15898: else
15899:   with_pcregrep_bufsize=20480
15900: fi
15901: 
15902: 
15903: # Handle --enable-pcretest-libreadline
15904: # Check whether --enable-pcretest-libreadline was given.
15905: if test "${enable_pcretest_libreadline+set}" = set; then :
15906:   enableval=$enable_pcretest_libreadline;
15907: else
15908:   enable_pcretest_libreadline=no
15909: fi
15910: 
15911: 
15912: # Handle --with-posix-malloc-threshold=NBYTES
15913: 
15914: # Check whether --with-posix-malloc-threshold was given.
15915: if test "${with_posix_malloc_threshold+set}" = set; then :
15916:   withval=$with_posix_malloc_threshold;
15917: else
15918:   with_posix_malloc_threshold=10
15919: fi
15920: 
15921: 
15922: # Handle --with-link-size=N
15923: 
15924: # Check whether --with-link-size was given.
15925: if test "${with_link_size+set}" = set; then :
15926:   withval=$with_link_size;
15927: else
15928:   with_link_size=2
15929: fi
15930: 
15931: 
15932: # Handle --with-match-limit=N
15933: 
15934: # Check whether --with-match-limit was given.
15935: if test "${with_match_limit+set}" = set; then :
15936:   withval=$with_match_limit;
15937: else
15938:   with_match_limit=10000000
15939: fi
15940: 
15941: 
15942: # Handle --with-match-limit_recursion=N
15943: #
15944: # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
15945: # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
15946: # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
15947: # different numeric value (or even the same numeric value as MATCH_LIMIT,
15948: # though no longer defined in terms of the latter).
15949: #
15950: 
15951: # Check whether --with-match-limit-recursion was given.
15952: if test "${with_match_limit_recursion+set}" = set; then :
15953:   withval=$with_match_limit_recursion;
15954: else
15955:   with_match_limit_recursion=MATCH_LIMIT
15956: fi
15957: 
15958: 
15959: # Copy enable_utf8 value to enable_utf for compatibility reasons
15960: if test "x$enable_utf8" != "xunset"
15961: then
15962:   if test "x$enable_utf" != "xunset"
15963:   then
15964:     as_fn_error $? "--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5
15965:   fi
15966:   enable_utf=$enable_utf8
15967: fi
15968: 
15969: # Set the default value for pcre8
15970: if test "x$enable_pcre8" = "xunset"
15971: then
15972:   enable_pcre8=yes
15973: fi
15974: 
15975: # Set the default value for pcre16
15976: if test "x$enable_pcre16" = "xunset"
15977: then
15978:   enable_pcre16=no
15979: fi
15980: 
15981: # Make sure enable_pcre8 or enable_pcre16 was set
15982: if test "x$enable_pcre8$enable_pcre16" = "xnono"
15983: then
15984:   as_fn_error $? "Either 8 or 16 bit (or both) pcre library must be enabled" "$LINENO" 5
15985: fi
15986: 
15987: # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
15988: if test "x$enable_unicode_properties" = "xyes"
15989: then
15990:   if test "x$enable_utf" = "xno"
15991:   then
15992:     as_fn_error $? "support for Unicode properties requires UTF-8/16 support" "$LINENO" 5
15993:   fi
15994:   enable_utf=yes
15995: fi
15996: 
15997: # enable_utf is disabled by default.
15998: if test "x$enable_utf" = "xunset"
15999: then
16000:   enable_utf=no
16001: fi
16002: 
16003: # enable_cpp copies the value of enable_pcre8 by default
16004: if test "x$enable_cpp" = "xunset"
16005: then
16006:   enable_cpp=$enable_pcre8
16007: fi
16008: 
16009: # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
16010: if test "x$enable_cpp" = "xyes"
16011: then
16012:   if test "x$enable_pcre8" = "xno"
16013:   then
16014:     as_fn_error $? "C++ library requires pcre library with 8 bit characters" "$LINENO" 5
16015:   fi
16016: fi
16017: 
16018: # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
16019: # Also check that UTF support is not requested, because PCRE cannot handle
16020: # EBCDIC and UTF in the same build. To do so it would need to use different
16021: # character constants depending on the mode.
16022: #
16023: if test "x$enable_ebcdic" = "xyes"
16024: then
16025:   enable_rebuild_chartables=yes
16026:   if test "x$enable_utf" = "xyes"
16027:   then
16028:     as_fn_error $? "support for EBCDIC and UTF-8/16 cannot be enabled at the same time" "$LINENO" 5
16029:   fi
16030: fi
16031: 
16032: # Convert the newline identifier into the appropriate integer value.
16033: case "$enable_newline" in
16034:   lf)      ac_pcre_newline_value=10   ;;
16035:   cr)      ac_pcre_newline_value=13   ;;
16036:   crlf)    ac_pcre_newline_value=3338 ;;
16037:   anycrlf) ac_pcre_newline_value=-2   ;;
16038:   any)     ac_pcre_newline_value=-1   ;;
16039:   *)
16040:   as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
16041:   ;;
16042: esac
16043: 
16044: # Check argument to --with-link-size
16045: case "$with_link_size" in
16046:   2|3|4) ;;
16047:   *)
16048:   as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
16049:   ;;
16050: esac
16051: 
16052: 
16053: 
16054: # Checks for header files.
16055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16056: $as_echo_n "checking for ANSI C header files... " >&6; }
16057: if ${ac_cv_header_stdc+:} false; then :
16058:   $as_echo_n "(cached) " >&6
16059: else
16060:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16061: /* end confdefs.h.  */
16062: #include <stdlib.h>
16063: #include <stdarg.h>
16064: #include <string.h>
16065: #include <float.h>
16066: 
16067: int
16068: main ()
16069: {
16070: 
16071:   ;
16072:   return 0;
16073: }
16074: _ACEOF
16075: if ac_fn_c_try_compile "$LINENO"; then :
16076:   ac_cv_header_stdc=yes
16077: else
16078:   ac_cv_header_stdc=no
16079: fi
16080: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081: 
16082: if test $ac_cv_header_stdc = yes; then
16083:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16084:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085: /* end confdefs.h.  */
16086: #include <string.h>
16087: 
16088: _ACEOF
16089: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16090:   $EGREP "memchr" >/dev/null 2>&1; then :
16091: 
16092: else
16093:   ac_cv_header_stdc=no
16094: fi
16095: rm -f conftest*
16096: 
16097: fi
16098: 
16099: if test $ac_cv_header_stdc = yes; then
16100:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16101:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16102: /* end confdefs.h.  */
16103: #include <stdlib.h>
16104: 
16105: _ACEOF
16106: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16107:   $EGREP "free" >/dev/null 2>&1; then :
16108: 
16109: else
16110:   ac_cv_header_stdc=no
16111: fi
16112: rm -f conftest*
16113: 
16114: fi
16115: 
16116: if test $ac_cv_header_stdc = yes; then
16117:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16118:   if test "$cross_compiling" = yes; then :
16119:   :
16120: else
16121:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16122: /* end confdefs.h.  */
16123: #include <ctype.h>
16124: #include <stdlib.h>
16125: #if ((' ' & 0x0FF) == 0x020)
16126: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16127: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16128: #else
16129: # define ISLOWER(c) \
16130: 		   (('a' <= (c) && (c) <= 'i') \
16131: 		     || ('j' <= (c) && (c) <= 'r') \
16132: 		     || ('s' <= (c) && (c) <= 'z'))
16133: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16134: #endif
16135: 
16136: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16137: int
16138: main ()
16139: {
16140:   int i;
16141:   for (i = 0; i < 256; i++)
16142:     if (XOR (islower (i), ISLOWER (i))
16143: 	|| toupper (i) != TOUPPER (i))
16144:       return 2;
16145:   return 0;
16146: }
16147: _ACEOF
16148: if ac_fn_c_try_run "$LINENO"; then :
16149: 
16150: else
16151:   ac_cv_header_stdc=no
16152: fi
16153: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16154:   conftest.$ac_objext conftest.beam conftest.$ac_ext
16155: fi
16156: 
16157: fi
16158: fi
16159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16160: $as_echo "$ac_cv_header_stdc" >&6; }
16161: if test $ac_cv_header_stdc = yes; then
16162: 
16163: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16164: 
16165: fi
16166: 
16167: for ac_header in limits.h sys/types.h sys/stat.h dirent.h windows.h
16168: do :
16169:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16170: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16171: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16172:   cat >>confdefs.h <<_ACEOF
16173: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16174: _ACEOF
16175: 
16176: fi
16177: 
16178: done
16179: 
16180: 
16181: # The files below are C++ header files.
16182: pcre_have_type_traits="0"
16183: pcre_have_bits_type_traits="0"
16184: if test "x$enable_cpp" = "xyes" -a -n "$CXX"
16185: then
16186: ac_ext=cpp
16187: ac_cpp='$CXXCPP $CPPFLAGS'
16188: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16191: 
16192: 
16193: # Older versions of pcre defined pcrecpp::no_arg, but in new versions
16194: # it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
16195: # we want to make one an alias for the other.  Different systems do
16196: # this in different ways.  Some systems, for instance, can do it via
16197: # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
16198: OLD_LDFLAGS="$LDFLAGS"
16199: for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
16200:             "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
16201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
16202: $as_echo_n "checking for alias support in the linker... " >&6; }
16203:   LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
16204:   # We try to run the linker with this new ld flag.  If the link fails,
16205:   # we give up and remove the new flag from LDFLAGS.
16206:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207: /* end confdefs.h.  */
16208: namespace pcrecpp {
16209:                                     class RE { static int no_arg; };
16210:                                     int RE::no_arg;
16211:                                   }
16212: int
16213: main ()
16214: {
16215: 
16216:   ;
16217:   return 0;
16218: }
16219: _ACEOF
16220: if ac_fn_cxx_try_link "$LINENO"; then :
16221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16222: $as_echo "yes" >&6; };
16223:                   EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
16224:                   break;
16225: else
16226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16227: $as_echo "no" >&6; }
16228: fi
16229: rm -f core conftest.err conftest.$ac_objext \
16230:     conftest$ac_exeext conftest.$ac_ext
16231: done
16232: LDFLAGS="$OLD_LDFLAGS"
16233: 
16234: # We could be more clever here, given we're doing AC_SUBST with this
16235: # (eg set a var to be the name of the include file we want). But we're not
16236: # so it's easy to change back to 'regular' autoconf vars if we needed to.
16237: 
16238: for ac_header in string
16239: do :
16240:   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
16241: if test "x$ac_cv_header_string" = xyes; then :
16242:   cat >>confdefs.h <<_ACEOF
16243: #define HAVE_STRING 1
16244: _ACEOF
16245:  pcre_have_cpp_headers="1"
16246: else
16247:   pcre_have_cpp_headers="0"
16248: fi
16249: 
16250: done
16251: 
16252: for ac_header in bits/type_traits.h
16253: do :
16254:   ac_fn_cxx_check_header_mongrel "$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
16255: if test "x$ac_cv_header_bits_type_traits_h" = xyes; then :
16256:   cat >>confdefs.h <<_ACEOF
16257: #define HAVE_BITS_TYPE_TRAITS_H 1
16258: _ACEOF
16259:  pcre_have_bits_type_traits="1"
16260: else
16261:   pcre_have_bits_type_traits="0"
16262: fi
16263: 
16264: done
16265: 
16266: for ac_header in type_traits.h
16267: do :
16268:   ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
16269: if test "x$ac_cv_header_type_traits_h" = xyes; then :
16270:   cat >>confdefs.h <<_ACEOF
16271: #define HAVE_TYPE_TRAITS_H 1
16272: _ACEOF
16273:  pcre_have_type_traits="1"
16274: else
16275:   pcre_have_type_traits="0"
16276: fi
16277: 
16278: done
16279: 
16280: 
16281: # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
16282: # in a c++ context.  This matters becuase strtoimax is C99 and may not
16283: # be supported by the C++ compiler.)
16284: # Figure out how to create a longlong from a string: strtoll and
16285: # equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
16286: # strtoll, for instance, but it only takes 2 args instead of 3!
16287: # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
16288: 
16289: 
16290: 
16291: 
16292: have_strto_fn=0
16293: for fn in strtoq strtoll _strtoi64 strtoimax; do
16294:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
16295: $as_echo_n "checking for $fn... " >&6; }
16296:   if test "$fn" = strtoimax; then
16297:     include=stdint.h
16298:   else
16299:     include=stdlib.h
16300:   fi
16301:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302: /* end confdefs.h.  */
16303: #include <$include>
16304: int
16305: main ()
16306: {
16307: char* e; return $fn("100", &e, 10)
16308:   ;
16309:   return 0;
16310: }
16311: _ACEOF
16312: if ac_fn_cxx_try_compile "$LINENO"; then :
16313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16314: $as_echo "yes" >&6; }
16315: 
16316: cat >>confdefs.h <<_ACEOF
16317: #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
16318: _ACEOF
16319: 
16320:                      have_strto_fn=1
16321:                      break
16322: else
16323:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324: $as_echo "no" >&6; }
16325: fi
16326: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327: done
16328: 
16329: if test "$have_strto_fn" = 1; then
16330:   ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16331: if test "x$ac_cv_type_long_long" = xyes; then :
16332: 
16333: cat >>confdefs.h <<_ACEOF
16334: #define HAVE_LONG_LONG 1
16335: _ACEOF
16336: 
16337: pcre_have_long_long="1"
16338: else
16339:   pcre_have_long_long="0"
16340: fi
16341: 
16342:   ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
16343: if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
16344: 
16345: cat >>confdefs.h <<_ACEOF
16346: #define HAVE_UNSIGNED_LONG_LONG 1
16347: _ACEOF
16348: 
16349: pcre_have_ulong_long="1"
16350: else
16351:   pcre_have_ulong_long="0"
16352: fi
16353: 
16354: else
16355:   pcre_have_long_long="0"
16356:   pcre_have_ulong_long="0"
16357: fi
16358: 
16359: 
16360: 
16361: ac_ext=c
16362: ac_cpp='$CPP $CPPFLAGS'
16363: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16364: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16365: ac_compiler_gnu=$ac_cv_c_compiler_gnu
16366: 
16367: fi
16368: # Using AC_SUBST eliminates the need to include config.h in a public .h file
16369: 
16370: 
16371: 
16372: # Conditional compilation
16373:  if test "x$enable_pcre8" = "xyes"; then
16374:   WITH_PCRE8_TRUE=
16375:   WITH_PCRE8_FALSE='#'
16376: else
16377:   WITH_PCRE8_TRUE='#'
16378:   WITH_PCRE8_FALSE=
16379: fi
16380: 
16381:  if test "x$enable_pcre16" = "xyes"; then
16382:   WITH_PCRE16_TRUE=
16383:   WITH_PCRE16_FALSE='#'
16384: else
16385:   WITH_PCRE16_TRUE='#'
16386:   WITH_PCRE16_FALSE=
16387: fi
16388: 
16389:  if test "x$enable_cpp" = "xyes"; then
16390:   WITH_PCRE_CPP_TRUE=
16391:   WITH_PCRE_CPP_FALSE='#'
16392: else
16393:   WITH_PCRE_CPP_TRUE='#'
16394:   WITH_PCRE_CPP_FALSE=
16395: fi
16396: 
16397:  if test "x$enable_rebuild_chartables" = "xyes"; then
16398:   WITH_REBUILD_CHARTABLES_TRUE=
16399:   WITH_REBUILD_CHARTABLES_FALSE='#'
16400: else
16401:   WITH_REBUILD_CHARTABLES_TRUE='#'
16402:   WITH_REBUILD_CHARTABLES_FALSE=
16403: fi
16404: 
16405:  if test "x$enable_jit" = "xyes"; then
16406:   WITH_JIT_TRUE=
16407:   WITH_JIT_FALSE='#'
16408: else
16409:   WITH_JIT_TRUE='#'
16410:   WITH_JIT_FALSE=
16411: fi
16412: 
16413:  if test "x$enable_utf" = "xyes"; then
16414:   WITH_UTF_TRUE=
16415:   WITH_UTF_FALSE='#'
16416: else
16417:   WITH_UTF_TRUE='#'
16418:   WITH_UTF_FALSE=
16419: fi
16420: 
16421: 
16422: # Checks for typedefs, structures, and compiler characteristics.
16423: 
16424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16425: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16426: if ${ac_cv_c_const+:} false; then :
16427:   $as_echo_n "(cached) " >&6
16428: else
16429:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430: /* end confdefs.h.  */
16431: 
16432: int
16433: main ()
16434: {
16435: /* FIXME: Include the comments suggested by Paul. */
16436: #ifndef __cplusplus
16437:   /* Ultrix mips cc rejects this.  */
16438:   typedef int charset[2];
16439:   const charset cs;
16440:   /* SunOS 4.1.1 cc rejects this.  */
16441:   char const *const *pcpcc;
16442:   char **ppc;
16443:   /* NEC SVR4.0.2 mips cc rejects this.  */
16444:   struct point {int x, y;};
16445:   static struct point const zero = {0,0};
16446:   /* AIX XL C 1.02.0.0 rejects this.
16447:      It does not let you subtract one const X* pointer from another in
16448:      an arm of an if-expression whose if-part is not a constant
16449:      expression */
16450:   const char *g = "string";
16451:   pcpcc = &g + (g ? g-g : 0);
16452:   /* HPUX 7.0 cc rejects these. */
16453:   ++pcpcc;
16454:   ppc = (char**) pcpcc;
16455:   pcpcc = (char const *const *) ppc;
16456:   { /* SCO 3.2v4 cc rejects this.  */
16457:     char *t;
16458:     char const *s = 0 ? (char *) 0 : (char const *) 0;
16459: 
16460:     *t++ = 0;
16461:     if (s) return 0;
16462:   }
16463:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16464:     int x[] = {25, 17};
16465:     const int *foo = &x[0];
16466:     ++foo;
16467:   }
16468:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16469:     typedef const int *iptr;
16470:     iptr p = 0;
16471:     ++p;
16472:   }
16473:   { /* AIX XL C 1.02.0.0 rejects this saying
16474:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16475:     struct s { int j; const int *ap[3]; };
16476:     struct s *b; b->j = 5;
16477:   }
16478:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16479:     const int foo = 10;
16480:     if (!foo) return 0;
16481:   }
16482:   return !cs[0] && !zero.x;
16483: #endif
16484: 
16485:   ;
16486:   return 0;
16487: }
16488: _ACEOF
16489: if ac_fn_c_try_compile "$LINENO"; then :
16490:   ac_cv_c_const=yes
16491: else
16492:   ac_cv_c_const=no
16493: fi
16494: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16495: fi
16496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16497: $as_echo "$ac_cv_c_const" >&6; }
16498: if test $ac_cv_c_const = no; then
16499: 
16500: $as_echo "#define const /**/" >>confdefs.h
16501: 
16502: fi
16503: 
16504: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16505: if test "x$ac_cv_type_size_t" = xyes; then :
16506: 
16507: else
16508: 
16509: cat >>confdefs.h <<_ACEOF
16510: #define size_t unsigned int
16511: _ACEOF
16512: 
16513: fi
16514: 
16515: 
16516: # Checks for library functions.
16517: 
16518: for ac_func in bcopy memmove strerror
16519: do :
16520:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16521: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16522: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16523:   cat >>confdefs.h <<_ACEOF
16524: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16525: _ACEOF
16526: 
16527: fi
16528: done
16529: 
16530: 
16531: # Check for the availability of libz (aka zlib)
16532: 
16533: for ac_header in zlib.h
16534: do :
16535:   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16536: if test "x$ac_cv_header_zlib_h" = xyes; then :
16537:   cat >>confdefs.h <<_ACEOF
16538: #define HAVE_ZLIB_H 1
16539: _ACEOF
16540:  HAVE_ZLIB_H=1
16541: fi
16542: 
16543: done
16544: 
16545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
16546: $as_echo_n "checking for gzopen in -lz... " >&6; }
16547: if ${ac_cv_lib_z_gzopen+:} false; then :
16548:   $as_echo_n "(cached) " >&6
16549: else
16550:   ac_check_lib_save_LIBS=$LIBS
16551: LIBS="-lz  $LIBS"
16552: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553: /* end confdefs.h.  */
16554: 
16555: /* Override any GCC internal prototype to avoid an error.
16556:    Use char because int might match the return type of a GCC
16557:    builtin and then its argument prototype would still apply.  */
16558: #ifdef __cplusplus
16559: extern "C"
16560: #endif
16561: char gzopen ();
16562: int
16563: main ()
16564: {
16565: return gzopen ();
16566:   ;
16567:   return 0;
16568: }
16569: _ACEOF
16570: if ac_fn_c_try_link "$LINENO"; then :
16571:   ac_cv_lib_z_gzopen=yes
16572: else
16573:   ac_cv_lib_z_gzopen=no
16574: fi
16575: rm -f core conftest.err conftest.$ac_objext \
16576:     conftest$ac_exeext conftest.$ac_ext
16577: LIBS=$ac_check_lib_save_LIBS
16578: fi
16579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
16580: $as_echo "$ac_cv_lib_z_gzopen" >&6; }
16581: if test "x$ac_cv_lib_z_gzopen" = xyes; then :
16582:   HAVE_LIBZ=1
16583: fi
16584: 
16585: 
16586: # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
16587: # as for libz. However, this had the following problem, diagnosed and fixed by
16588: # a user:
16589: #
16590: #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
16591: #     under Win32.
16592: #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
16593: #     therefore missing the function definition.
16594: #   - The compiler thus generates a "C" signature for the test function.
16595: #   - The linker fails to find the "C" function.
16596: #   - PCRE fails to configure if asked to do so against libbz2.
16597: #
16598: # Solution:
16599: #
16600: #   - Replace the AC_CHECK_LIB test with a custom test.
16601: 
16602: for ac_header in bzlib.h
16603: do :
16604:   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
16605: if test "x$ac_cv_header_bzlib_h" = xyes; then :
16606:   cat >>confdefs.h <<_ACEOF
16607: #define HAVE_BZLIB_H 1
16608: _ACEOF
16609:  HAVE_BZLIB_H=1
16610: fi
16611: 
16612: done
16613: 
16614: # Original test
16615: # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
16616: #
16617: # Custom test follows
16618: 
16619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
16620: $as_echo_n "checking for libbz2... " >&6; }
16621: OLD_LIBS="$LIBS"
16622: LIBS="$LIBS -lbz2"
16623: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624: /* end confdefs.h.  */
16625: 
16626: #ifdef HAVE_BZLIB_H
16627: #include <bzlib.h>
16628: #endif
16629: int
16630: main ()
16631: {
16632: return (int)BZ2_bzopen("conftest", "rb");
16633:   ;
16634:   return 0;
16635: }
16636: _ACEOF
16637: if ac_fn_c_try_link "$LINENO"; then :
16638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16639: $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
16640: else
16641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16642: $as_echo "no" >&6; }
16643: fi
16644: rm -f core conftest.err conftest.$ac_objext \
16645:     conftest$ac_exeext conftest.$ac_ext
16646: LIBS="$OLD_LIBS"
16647: 
16648: # Check for the availabiity of libreadline
16649: 
16650: for ac_header in readline/readline.h
16651: do :
16652:   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
16653: if test "x$ac_cv_header_readline_readline_h" = xyes; then :
16654:   cat >>confdefs.h <<_ACEOF
16655: #define HAVE_READLINE_READLINE_H 1
16656: _ACEOF
16657:  HAVE_READLINE_H=1
16658: fi
16659: 
16660: done
16661: 
16662: for ac_header in readline/history.h
16663: do :
16664:   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
16665: if test "x$ac_cv_header_readline_history_h" = xyes; then :
16666:   cat >>confdefs.h <<_ACEOF
16667: #define HAVE_READLINE_HISTORY_H 1
16668: _ACEOF
16669:  HAVE_HISTORY_H=1
16670: fi
16671: 
16672: done
16673: 
16674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16675: $as_echo_n "checking for readline in -lreadline... " >&6; }
16676: if ${ac_cv_lib_readline_readline+:} false; then :
16677:   $as_echo_n "(cached) " >&6
16678: else
16679:   ac_check_lib_save_LIBS=$LIBS
16680: LIBS="-lreadline  $LIBS"
16681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682: /* end confdefs.h.  */
16683: 
16684: /* Override any GCC internal prototype to avoid an error.
16685:    Use char because int might match the return type of a GCC
16686:    builtin and then its argument prototype would still apply.  */
16687: #ifdef __cplusplus
16688: extern "C"
16689: #endif
16690: char readline ();
16691: int
16692: main ()
16693: {
16694: return readline ();
16695:   ;
16696:   return 0;
16697: }
16698: _ACEOF
16699: if ac_fn_c_try_link "$LINENO"; then :
16700:   ac_cv_lib_readline_readline=yes
16701: else
16702:   ac_cv_lib_readline_readline=no
16703: fi
16704: rm -f core conftest.err conftest.$ac_objext \
16705:     conftest$ac_exeext conftest.$ac_ext
16706: LIBS=$ac_check_lib_save_LIBS
16707: fi
16708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16709: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16710: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16711:   LIBREADLINE="-lreadline"
16712: else
16713:   unset ac_cv_lib_readline_readline;
16714:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16715: $as_echo_n "checking for readline in -lreadline... " >&6; }
16716: if ${ac_cv_lib_readline_readline+:} false; then :
16717:   $as_echo_n "(cached) " >&6
16718: else
16719:   ac_check_lib_save_LIBS=$LIBS
16720: LIBS="-lreadline -ltinfo $LIBS"
16721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722: /* end confdefs.h.  */
16723: 
16724: /* Override any GCC internal prototype to avoid an error.
16725:    Use char because int might match the return type of a GCC
16726:    builtin and then its argument prototype would still apply.  */
16727: #ifdef __cplusplus
16728: extern "C"
16729: #endif
16730: char readline ();
16731: int
16732: main ()
16733: {
16734: return readline ();
16735:   ;
16736:   return 0;
16737: }
16738: _ACEOF
16739: if ac_fn_c_try_link "$LINENO"; then :
16740:   ac_cv_lib_readline_readline=yes
16741: else
16742:   ac_cv_lib_readline_readline=no
16743: fi
16744: rm -f core conftest.err conftest.$ac_objext \
16745:     conftest$ac_exeext conftest.$ac_ext
16746: LIBS=$ac_check_lib_save_LIBS
16747: fi
16748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16749: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16750: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16751:   LIBREADLINE="-ltinfo"
16752: else
16753:   unset ac_cv_lib_readline_readline;
16754:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16755: $as_echo_n "checking for readline in -lreadline... " >&6; }
16756: if ${ac_cv_lib_readline_readline+:} false; then :
16757:   $as_echo_n "(cached) " >&6
16758: else
16759:   ac_check_lib_save_LIBS=$LIBS
16760: LIBS="-lreadline -lcurses $LIBS"
16761: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762: /* end confdefs.h.  */
16763: 
16764: /* Override any GCC internal prototype to avoid an error.
16765:    Use char because int might match the return type of a GCC
16766:    builtin and then its argument prototype would still apply.  */
16767: #ifdef __cplusplus
16768: extern "C"
16769: #endif
16770: char readline ();
16771: int
16772: main ()
16773: {
16774: return readline ();
16775:   ;
16776:   return 0;
16777: }
16778: _ACEOF
16779: if ac_fn_c_try_link "$LINENO"; then :
16780:   ac_cv_lib_readline_readline=yes
16781: else
16782:   ac_cv_lib_readline_readline=no
16783: fi
16784: rm -f core conftest.err conftest.$ac_objext \
16785:     conftest$ac_exeext conftest.$ac_ext
16786: LIBS=$ac_check_lib_save_LIBS
16787: fi
16788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16789: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16790: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16791:   LIBREADLINE="-lcurses"
16792: else
16793:   unset ac_cv_lib_readline_readline;
16794:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16795: $as_echo_n "checking for readline in -lreadline... " >&6; }
16796: if ${ac_cv_lib_readline_readline+:} false; then :
16797:   $as_echo_n "(cached) " >&6
16798: else
16799:   ac_check_lib_save_LIBS=$LIBS
16800: LIBS="-lreadline -lncurses $LIBS"
16801: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802: /* end confdefs.h.  */
16803: 
16804: /* Override any GCC internal prototype to avoid an error.
16805:    Use char because int might match the return type of a GCC
16806:    builtin and then its argument prototype would still apply.  */
16807: #ifdef __cplusplus
16808: extern "C"
16809: #endif
16810: char readline ();
16811: int
16812: main ()
16813: {
16814: return readline ();
16815:   ;
16816:   return 0;
16817: }
16818: _ACEOF
16819: if ac_fn_c_try_link "$LINENO"; then :
16820:   ac_cv_lib_readline_readline=yes
16821: else
16822:   ac_cv_lib_readline_readline=no
16823: fi
16824: rm -f core conftest.err conftest.$ac_objext \
16825:     conftest$ac_exeext conftest.$ac_ext
16826: LIBS=$ac_check_lib_save_LIBS
16827: fi
16828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16829: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16830: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16831:   LIBREADLINE="-lncurses"
16832: else
16833:   unset ac_cv_lib_readline_readline;
16834: 	 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16835: $as_echo_n "checking for readline in -lreadline... " >&6; }
16836: if ${ac_cv_lib_readline_readline+:} false; then :
16837:   $as_echo_n "(cached) " >&6
16838: else
16839:   ac_check_lib_save_LIBS=$LIBS
16840: LIBS="-lreadline -lncursesw $LIBS"
16841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842: /* end confdefs.h.  */
16843: 
16844: /* Override any GCC internal prototype to avoid an error.
16845:    Use char because int might match the return type of a GCC
16846:    builtin and then its argument prototype would still apply.  */
16847: #ifdef __cplusplus
16848: extern "C"
16849: #endif
16850: char readline ();
16851: int
16852: main ()
16853: {
16854: return readline ();
16855:   ;
16856:   return 0;
16857: }
16858: _ACEOF
16859: if ac_fn_c_try_link "$LINENO"; then :
16860:   ac_cv_lib_readline_readline=yes
16861: else
16862:   ac_cv_lib_readline_readline=no
16863: fi
16864: rm -f core conftest.err conftest.$ac_objext \
16865:     conftest$ac_exeext conftest.$ac_ext
16866: LIBS=$ac_check_lib_save_LIBS
16867: fi
16868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16869: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16870: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16871:   LIBREADLINE="-lncursesw"
16872: else
16873:   unset ac_cv_lib_readline_readline;
16874: 	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16875: $as_echo_n "checking for readline in -lreadline... " >&6; }
16876: if ${ac_cv_lib_readline_readline+:} false; then :
16877:   $as_echo_n "(cached) " >&6
16878: else
16879:   ac_check_lib_save_LIBS=$LIBS
16880: LIBS="-lreadline -ltermcap $LIBS"
16881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882: /* end confdefs.h.  */
16883: 
16884: /* Override any GCC internal prototype to avoid an error.
16885:    Use char because int might match the return type of a GCC
16886:    builtin and then its argument prototype would still apply.  */
16887: #ifdef __cplusplus
16888: extern "C"
16889: #endif
16890: char readline ();
16891: int
16892: main ()
16893: {
16894: return readline ();
16895:   ;
16896:   return 0;
16897: }
16898: _ACEOF
16899: if ac_fn_c_try_link "$LINENO"; then :
16900:   ac_cv_lib_readline_readline=yes
16901: else
16902:   ac_cv_lib_readline_readline=no
16903: fi
16904: rm -f core conftest.err conftest.$ac_objext \
16905:     conftest$ac_exeext conftest.$ac_ext
16906: LIBS=$ac_check_lib_save_LIBS
16907: fi
16908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16909: $as_echo "$ac_cv_lib_readline_readline" >&6; }
16910: if test "x$ac_cv_lib_readline_readline" = xyes; then :
16911:   LIBREADLINE="-ltermcap"
16912: else
16913:   LIBREADLINE=""
16914: fi
16915: 
16916: fi
16917: 
16918: fi
16919: 
16920: fi
16921: 
16922: fi
16923: 
16924: fi
16925: 
16926: 
16927: if test -n "$LIBREADLINE"; then
16928:   if test "$LIBREADLINE" != "-lreadline"; then
16929:     echo "-lreadline needs $LIBREADLINE"
16930:     LIBREADLINE="-lreadline $LIBREADLINE"
16931:   fi
16932: fi
16933: 
16934: # This facilitates -ansi builds under Linux
16935: 
16936: PCRE_STATIC_CFLAG=""
16937: if test "x$enable_shared" = "xno" ; then
16938: 
16939: $as_echo "#define PCRE_STATIC 1" >>confdefs.h
16940: 
16941:   PCRE_STATIC_CFLAG="-DPCRE_STATIC"
16942: fi
16943: 
16944: 
16945: # Here is where pcre specific defines are handled
16946: 
16947: if test "$enable_pcre8" = "yes"; then
16948: 
16949: $as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
16950: 
16951: fi
16952: 
16953: if test "$enable_pcre16" = "yes"; then
16954: 
16955: $as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
16956: 
16957: fi
16958: 
16959: if test "$enable_jit" = "yes"; then
16960: 
16961: $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
16962: 
16963: else
16964:   enable_pcregrep_jit="no"
16965: fi
16966: 
16967: if test "$enable_pcregrep_jit" = "yes"; then
16968: 
16969: $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
16970: 
16971: fi
16972: 
16973: if test "$enable_utf" = "yes"; then
16974: 
16975: $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
16976: 
16977: fi
16978: 
16979: if test "$enable_unicode_properties" = "yes"; then
16980: 
16981: $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
16982: 
16983: fi
16984: 
16985: if test "$enable_stack_for_recursion" = "no"; then
16986: 
16987: $as_echo "#define NO_RECURSE /**/" >>confdefs.h
16988: 
16989: fi
16990: 
16991: if test "$enable_pcregrep_libz" = "yes"; then
16992: 
16993: $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
16994: 
16995: fi
16996: 
16997: if test "$enable_pcregrep_libbz2" = "yes"; then
16998: 
16999: $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
17000: 
17001: fi
17002: 
17003: if test $with_pcregrep_bufsize -lt 8192 ; then
17004:   with_pcregrep_bufsize="8192"
17005: fi
17006: 
17007: 
17008: cat >>confdefs.h <<_ACEOF
17009: #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
17010: _ACEOF
17011: 
17012: 
17013: if test "$enable_pcretest_libreadline" = "yes"; then
17014: 
17015: $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
17016: 
17017: fi
17018: 
17019: 
17020: cat >>confdefs.h <<_ACEOF
17021: #define NEWLINE $ac_pcre_newline_value
17022: _ACEOF
17023: 
17024: 
17025: if test "$enable_bsr_anycrlf" = "yes"; then
17026: 
17027: $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
17028: 
17029: fi
17030: 
17031: 
17032: cat >>confdefs.h <<_ACEOF
17033: #define LINK_SIZE $with_link_size
17034: _ACEOF
17035: 
17036: 
17037: 
17038: cat >>confdefs.h <<_ACEOF
17039: #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
17040: _ACEOF
17041: 
17042: 
17043: 
17044: cat >>confdefs.h <<_ACEOF
17045: #define MATCH_LIMIT $with_match_limit
17046: _ACEOF
17047: 
17048: 
17049: 
17050: cat >>confdefs.h <<_ACEOF
17051: #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
17052: _ACEOF
17053: 
17054: 
17055: 
17056: $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
17057: 
17058: 
17059: 
17060: $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
17061: 
17062: 
17063: 
17064: 
17065: if test "$enable_ebcdic" = "yes"; then
17066: 
17067: cat >>confdefs.h <<_ACEOF
17068: #define EBCDIC /**/
17069: _ACEOF
17070: 
17071: fi
17072: 
17073: # Platform specific issues
17074: NO_UNDEFINED=
17075: EXPORT_ALL_SYMBOLS=
17076: case $host_os in
17077:   cygwin* | mingw* )
17078:     if test X"$enable_shared" = Xyes; then
17079:       NO_UNDEFINED="-no-undefined"
17080:       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
17081:     fi
17082:     ;;
17083: esac
17084: 
17085: # The extra LDFLAGS for each particular library
17086: # (Note: The libpcre*_version bits are m4 variables, assigned above)
17087: 
17088: EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
17089:                        $NO_UNDEFINED -version-info 1:0:0"
17090: 
17091: EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
17092:                        $NO_UNDEFINED -version-info 0:0:0"
17093: 
17094: EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
17095:                             $NO_UNDEFINED -version-info 0:0:0"
17096: 
17097: EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
17098:                           $NO_UNDEFINED -version-info 0:0:0 \
17099:                           $EXPORT_ALL_SYMBOLS"
17100: 
17101: 
17102: 
17103: 
17104: 
17105: 
17106: # When we run 'make distcheck', use these arguments. Turning off compiler
17107: # optimization makes it run faster.
17108: DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-jit --enable-cpp --enable-unicode-properties"
17109: 
17110: 
17111: # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
17112: # specified, the relevant library is available.
17113: 
17114: if test "$enable_pcregrep_libz" = "yes"; then
17115:   if test "$HAVE_ZLIB_H" != "1"; then
17116:     echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
17117:     exit 1
17118:   fi
17119:   if test "$HAVE_LIBZ" != "1"; then
17120:     echo "** Cannot --enable-pcregrep-libz because libz was not found"
17121:     exit 1
17122:   fi
17123:   LIBZ="-lz"
17124: fi
17125: 
17126: 
17127: if test "$enable_pcregrep_libbz2" = "yes"; then
17128:   if test "$HAVE_BZLIB_H" != "1"; then
17129:     echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
17130:     exit 1
17131:   fi
17132:   if test "$HAVE_LIBBZ2" != "1"; then
17133:     echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
17134:     exit 1
17135:   fi
17136:   LIBBZ2="-lbz2"
17137: fi
17138: 
17139: 
17140: # Similarly for --enable-pcretest-readline
17141: 
17142: if test "$enable_pcretest_libreadline" = "yes"; then
17143:   if test "$HAVE_READLINE_H" != "1"; then
17144:     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
17145:     exit 1
17146:   fi
17147:   if test "$HAVE_HISTORY_H" != "1"; then
17148:     echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
17149:     exit 1
17150:   fi
17151:   if test -z "$LIBREADLINE"; then
17152:     echo "** Cannot --enable-pcretest-readline because readline library was not found."
17153:     exit 1
17154:   fi
17155: fi
17156: 
17157: # Produce these files, in addition to config.h.
17158: ac_config_files="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
17159: 
17160: 
17161: # Make the generated script files executable.
17162: ac_config_commands="$ac_config_commands script-chmod"
17163: 
17164: 
17165: # Make sure that pcre_chartables.c is removed in case the method for
17166: # creating it was changed by reconfiguration.
17167: ac_config_commands="$ac_config_commands delete-old-chartables"
17168: 
17169: 
17170: cat >confcache <<\_ACEOF
17171: # This file is a shell script that caches the results of configure
17172: # tests run on this system so they can be shared between configure
17173: # scripts and configure runs, see configure's option --config-cache.
17174: # It is not useful on other systems.  If it contains results you don't
17175: # want to keep, you may remove or edit it.
17176: #
17177: # config.status only pays attention to the cache file if you give it
17178: # the --recheck option to rerun configure.
17179: #
17180: # `ac_cv_env_foo' variables (set or unset) will be overridden when
17181: # loading this file, other *unset* `ac_cv_foo' will be assigned the
17182: # following values.
17183: 
17184: _ACEOF
17185: 
17186: # The following way of writing the cache mishandles newlines in values,
17187: # but we know of no workaround that is simple, portable, and efficient.
17188: # So, we kill variables containing newlines.
17189: # Ultrix sh set writes to stderr and can't be redirected directly,
17190: # and sets the high bit in the cache file unless we assign to the vars.
17191: (
17192:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17193:     eval ac_val=\$$ac_var
17194:     case $ac_val in #(
17195:     *${as_nl}*)
17196:       case $ac_var in #(
17197:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17198: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17199:       esac
17200:       case $ac_var in #(
17201:       _ | IFS | as_nl) ;; #(
17202:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17203:       *) { eval $ac_var=; unset $ac_var;} ;;
17204:       esac ;;
17205:     esac
17206:   done
17207: 
17208:   (set) 2>&1 |
17209:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17210:     *${as_nl}ac_space=\ *)
17211:       # `set' does not quote correctly, so add quotes: double-quote
17212:       # substitution turns \\\\ into \\, and sed turns \\ into \.
17213:       sed -n \
17214: 	"s/'/'\\\\''/g;
17215: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17216:       ;; #(
17217:     *)
17218:       # `set' quotes correctly as required by POSIX, so do not add quotes.
17219:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17220:       ;;
17221:     esac |
17222:     sort
17223: ) |
17224:   sed '
17225:      /^ac_cv_env_/b end
17226:      t clear
17227:      :clear
17228:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17229:      t end
17230:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17231:      :end' >>confcache
17232: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17233:   if test -w "$cache_file"; then
17234:     if test "x$cache_file" != "x/dev/null"; then
17235:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17236: $as_echo "$as_me: updating cache $cache_file" >&6;}
17237:       if test ! -f "$cache_file" || test -h "$cache_file"; then
17238: 	cat confcache >"$cache_file"
17239:       else
17240:         case $cache_file in #(
17241:         */* | ?:*)
17242: 	  mv -f confcache "$cache_file"$$ &&
17243: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17244:         *)
17245: 	  mv -f confcache "$cache_file" ;;
17246: 	esac
17247:       fi
17248:     fi
17249:   else
17250:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17251: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17252:   fi
17253: fi
17254: rm -f confcache
17255: 
17256: test "x$prefix" = xNONE && prefix=$ac_default_prefix
17257: # Let make expand exec_prefix.
17258: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17259: 
17260: DEFS=-DHAVE_CONFIG_H
17261: 
17262: ac_libobjs=
17263: ac_ltlibobjs=
17264: U=
17265: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17266:   # 1. Remove the extension, and $U if already installed.
17267:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17268:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17269:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17270:   #    will be set to the directory where LIBOBJS objects are built.
17271:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17272:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17273: done
17274: LIBOBJS=$ac_libobjs
17275: 
17276: LTLIBOBJS=$ac_ltlibobjs
17277: 
17278: 
17279:  if test -n "$EXEEXT"; then
17280:   am__EXEEXT_TRUE=
17281:   am__EXEEXT_FALSE='#'
17282: else
17283:   am__EXEEXT_TRUE='#'
17284:   am__EXEEXT_FALSE=
17285: fi
17286: 
17287: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17288:   as_fn_error $? "conditional \"AMDEP\" was never defined.
17289: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17290: fi
17291: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17292:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17293: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17294: fi
17295: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17296:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17297: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17298: fi
17299: if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
17300:   as_fn_error $? "conditional \"WITH_PCRE8\" was never defined.
17301: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17302: fi
17303: if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
17304:   as_fn_error $? "conditional \"WITH_PCRE16\" was never defined.
17305: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17306: fi
17307: if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
17308:   as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined.
17309: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17310: fi
17311: if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
17312:   as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
17313: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17314: fi
17315: if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
17316:   as_fn_error $? "conditional \"WITH_JIT\" was never defined.
17317: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17318: fi
17319: if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
17320:   as_fn_error $? "conditional \"WITH_UTF\" was never defined.
17321: Usually this means the macro was only invoked conditionally." "$LINENO" 5
17322: fi
17323: 
17324: : "${CONFIG_STATUS=./config.status}"
17325: ac_write_fail=0
17326: ac_clean_files_save=$ac_clean_files
17327: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17328: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17329: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17330: as_write_fail=0
17331: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17332: #! $SHELL
17333: # Generated by $as_me.
17334: # Run this file to recreate the current configuration.
17335: # Compiler output produced by configure, useful for debugging
17336: # configure, is in config.log if it exists.
17337: 
17338: debug=false
17339: ac_cs_recheck=false
17340: ac_cs_silent=false
17341: 
17342: SHELL=\${CONFIG_SHELL-$SHELL}
17343: export SHELL
17344: _ASEOF
17345: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17346: ## -------------------- ##
17347: ## M4sh Initialization. ##
17348: ## -------------------- ##
17349: 
17350: # Be more Bourne compatible
17351: DUALCASE=1; export DUALCASE # for MKS sh
17352: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17353:   emulate sh
17354:   NULLCMD=:
17355:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17356:   # is contrary to our usage.  Disable this feature.
17357:   alias -g '${1+"$@"}'='"$@"'
17358:   setopt NO_GLOB_SUBST
17359: else
17360:   case `(set -o) 2>/dev/null` in #(
17361:   *posix*) :
17362:     set -o posix ;; #(
17363:   *) :
17364:      ;;
17365: esac
17366: fi
17367: 
17368: 
17369: as_nl='
17370: '
17371: export as_nl
17372: # Printing a long string crashes Solaris 7 /usr/bin/printf.
17373: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17374: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17375: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17376: # Prefer a ksh shell builtin over an external printf program on Solaris,
17377: # but without wasting forks for bash or zsh.
17378: if test -z "$BASH_VERSION$ZSH_VERSION" \
17379:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17380:   as_echo='print -r --'
17381:   as_echo_n='print -rn --'
17382: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17383:   as_echo='printf %s\n'
17384:   as_echo_n='printf %s'
17385: else
17386:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17387:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17388:     as_echo_n='/usr/ucb/echo -n'
17389:   else
17390:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17391:     as_echo_n_body='eval
17392:       arg=$1;
17393:       case $arg in #(
17394:       *"$as_nl"*)
17395: 	expr "X$arg" : "X\\(.*\\)$as_nl";
17396: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17397:       esac;
17398:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17399:     '
17400:     export as_echo_n_body
17401:     as_echo_n='sh -c $as_echo_n_body as_echo'
17402:   fi
17403:   export as_echo_body
17404:   as_echo='sh -c $as_echo_body as_echo'
17405: fi
17406: 
17407: # The user is always right.
17408: if test "${PATH_SEPARATOR+set}" != set; then
17409:   PATH_SEPARATOR=:
17410:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17411:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17412:       PATH_SEPARATOR=';'
17413:   }
17414: fi
17415: 
17416: 
17417: # IFS
17418: # We need space, tab and new line, in precisely that order.  Quoting is
17419: # there to prevent editors from complaining about space-tab.
17420: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17421: # splitting by setting IFS to empty value.)
17422: IFS=" ""	$as_nl"
17423: 
17424: # Find who we are.  Look in the path if we contain no directory separator.
17425: as_myself=
17426: case $0 in #((
17427:   *[\\/]* ) as_myself=$0 ;;
17428:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17429: for as_dir in $PATH
17430: do
17431:   IFS=$as_save_IFS
17432:   test -z "$as_dir" && as_dir=.
17433:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17434:   done
17435: IFS=$as_save_IFS
17436: 
17437:      ;;
17438: esac
17439: # We did not find ourselves, most probably we were run as `sh COMMAND'
17440: # in which case we are not to be found in the path.
17441: if test "x$as_myself" = x; then
17442:   as_myself=$0
17443: fi
17444: if test ! -f "$as_myself"; then
17445:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17446:   exit 1
17447: fi
17448: 
17449: # Unset variables that we do not need and which cause bugs (e.g. in
17450: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17451: # suppresses any "Segmentation fault" message there.  '((' could
17452: # trigger a bug in pdksh 5.2.14.
17453: for as_var in BASH_ENV ENV MAIL MAILPATH
17454: do eval test x\${$as_var+set} = xset \
17455:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17456: done
17457: PS1='$ '
17458: PS2='> '
17459: PS4='+ '
17460: 
17461: # NLS nuisances.
17462: LC_ALL=C
17463: export LC_ALL
17464: LANGUAGE=C
17465: export LANGUAGE
17466: 
17467: # CDPATH.
17468: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17469: 
17470: 
17471: # as_fn_error STATUS ERROR [LINENO LOG_FD]
17472: # ----------------------------------------
17473: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17474: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17475: # script with STATUS, using 1 if that was 0.
17476: as_fn_error ()
17477: {
17478:   as_status=$1; test $as_status -eq 0 && as_status=1
17479:   if test "$4"; then
17480:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17481:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17482:   fi
17483:   $as_echo "$as_me: error: $2" >&2
17484:   as_fn_exit $as_status
17485: } # as_fn_error
17486: 
17487: 
17488: # as_fn_set_status STATUS
17489: # -----------------------
17490: # Set $? to STATUS, without forking.
17491: as_fn_set_status ()
17492: {
17493:   return $1
17494: } # as_fn_set_status
17495: 
17496: # as_fn_exit STATUS
17497: # -----------------
17498: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17499: as_fn_exit ()
17500: {
17501:   set +e
17502:   as_fn_set_status $1
17503:   exit $1
17504: } # as_fn_exit
17505: 
17506: # as_fn_unset VAR
17507: # ---------------
17508: # Portably unset VAR.
17509: as_fn_unset ()
17510: {
17511:   { eval $1=; unset $1;}
17512: }
17513: as_unset=as_fn_unset
17514: # as_fn_append VAR VALUE
17515: # ----------------------
17516: # Append the text in VALUE to the end of the definition contained in VAR. Take
17517: # advantage of any shell optimizations that allow amortized linear growth over
17518: # repeated appends, instead of the typical quadratic growth present in naive
17519: # implementations.
17520: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17521:   eval 'as_fn_append ()
17522:   {
17523:     eval $1+=\$2
17524:   }'
17525: else
17526:   as_fn_append ()
17527:   {
17528:     eval $1=\$$1\$2
17529:   }
17530: fi # as_fn_append
17531: 
17532: # as_fn_arith ARG...
17533: # ------------------
17534: # Perform arithmetic evaluation on the ARGs, and store the result in the
17535: # global $as_val. Take advantage of shells that can avoid forks. The arguments
17536: # must be portable across $(()) and expr.
17537: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17538:   eval 'as_fn_arith ()
17539:   {
17540:     as_val=$(( $* ))
17541:   }'
17542: else
17543:   as_fn_arith ()
17544:   {
17545:     as_val=`expr "$@" || test $? -eq 1`
17546:   }
17547: fi # as_fn_arith
17548: 
17549: 
17550: if expr a : '\(a\)' >/dev/null 2>&1 &&
17551:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17552:   as_expr=expr
17553: else
17554:   as_expr=false
17555: fi
17556: 
17557: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17558:   as_basename=basename
17559: else
17560:   as_basename=false
17561: fi
17562: 
17563: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17564:   as_dirname=dirname
17565: else
17566:   as_dirname=false
17567: fi
17568: 
17569: as_me=`$as_basename -- "$0" ||
17570: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17571: 	 X"$0" : 'X\(//\)$' \| \
17572: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17573: $as_echo X/"$0" |
17574:     sed '/^.*\/\([^/][^/]*\)\/*$/{
17575: 	    s//\1/
17576: 	    q
17577: 	  }
17578: 	  /^X\/\(\/\/\)$/{
17579: 	    s//\1/
17580: 	    q
17581: 	  }
17582: 	  /^X\/\(\/\).*/{
17583: 	    s//\1/
17584: 	    q
17585: 	  }
17586: 	  s/.*/./; q'`
17587: 
17588: # Avoid depending upon Character Ranges.
17589: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17590: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17591: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17592: as_cr_digits='0123456789'
17593: as_cr_alnum=$as_cr_Letters$as_cr_digits
17594: 
17595: ECHO_C= ECHO_N= ECHO_T=
17596: case `echo -n x` in #(((((
17597: -n*)
17598:   case `echo 'xy\c'` in
17599:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17600:   xy)  ECHO_C='\c';;
17601:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17602:        ECHO_T='	';;
17603:   esac;;
17604: *)
17605:   ECHO_N='-n';;
17606: esac
17607: 
17608: rm -f conf$$ conf$$.exe conf$$.file
17609: if test -d conf$$.dir; then
17610:   rm -f conf$$.dir/conf$$.file
17611: else
17612:   rm -f conf$$.dir
17613:   mkdir conf$$.dir 2>/dev/null
17614: fi
17615: if (echo >conf$$.file) 2>/dev/null; then
17616:   if ln -s conf$$.file conf$$ 2>/dev/null; then
17617:     as_ln_s='ln -s'
17618:     # ... but there are two gotchas:
17619:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17620:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17621:     # In both cases, we have to default to `cp -p'.
17622:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17623:       as_ln_s='cp -p'
17624:   elif ln conf$$.file conf$$ 2>/dev/null; then
17625:     as_ln_s=ln
17626:   else
17627:     as_ln_s='cp -p'
17628:   fi
17629: else
17630:   as_ln_s='cp -p'
17631: fi
17632: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17633: rmdir conf$$.dir 2>/dev/null
17634: 
17635: 
17636: # as_fn_mkdir_p
17637: # -------------
17638: # Create "$as_dir" as a directory, including parents if necessary.
17639: as_fn_mkdir_p ()
17640: {
17641: 
17642:   case $as_dir in #(
17643:   -*) as_dir=./$as_dir;;
17644:   esac
17645:   test -d "$as_dir" || eval $as_mkdir_p || {
17646:     as_dirs=
17647:     while :; do
17648:       case $as_dir in #(
17649:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17650:       *) as_qdir=$as_dir;;
17651:       esac
17652:       as_dirs="'$as_qdir' $as_dirs"
17653:       as_dir=`$as_dirname -- "$as_dir" ||
17654: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17655: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
17656: 	 X"$as_dir" : 'X\(//\)$' \| \
17657: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17658: $as_echo X"$as_dir" |
17659:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17660: 	    s//\1/
17661: 	    q
17662: 	  }
17663: 	  /^X\(\/\/\)[^/].*/{
17664: 	    s//\1/
17665: 	    q
17666: 	  }
17667: 	  /^X\(\/\/\)$/{
17668: 	    s//\1/
17669: 	    q
17670: 	  }
17671: 	  /^X\(\/\).*/{
17672: 	    s//\1/
17673: 	    q
17674: 	  }
17675: 	  s/.*/./; q'`
17676:       test -d "$as_dir" && break
17677:     done
17678:     test -z "$as_dirs" || eval "mkdir $as_dirs"
17679:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17680: 
17681: 
17682: } # as_fn_mkdir_p
17683: if mkdir -p . 2>/dev/null; then
17684:   as_mkdir_p='mkdir -p "$as_dir"'
17685: else
17686:   test -d ./-p && rmdir ./-p
17687:   as_mkdir_p=false
17688: fi
17689: 
17690: if test -x / >/dev/null 2>&1; then
17691:   as_test_x='test -x'
17692: else
17693:   if ls -dL / >/dev/null 2>&1; then
17694:     as_ls_L_option=L
17695:   else
17696:     as_ls_L_option=
17697:   fi
17698:   as_test_x='
17699:     eval sh -c '\''
17700:       if test -d "$1"; then
17701: 	test -d "$1/.";
17702:       else
17703: 	case $1 in #(
17704: 	-*)set "./$1";;
17705: 	esac;
17706: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17707: 	???[sx]*):;;*)false;;esac;fi
17708:     '\'' sh
17709:   '
17710: fi
17711: as_executable_p=$as_test_x
17712: 
17713: # Sed expression to map a string onto a valid CPP name.
17714: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17715: 
17716: # Sed expression to map a string onto a valid variable name.
17717: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17718: 
17719: 
17720: exec 6>&1
17721: ## ----------------------------------- ##
17722: ## Main body of $CONFIG_STATUS script. ##
17723: ## ----------------------------------- ##
17724: _ASEOF
17725: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17726: 
17727: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17728: # Save the log message, to keep $0 and so on meaningful, and to
17729: # report actual input values of CONFIG_FILES etc. instead of their
17730: # values after options handling.
17731: ac_log="
17732: This file was extended by PCRE $as_me 8.30, which was
17733: generated by GNU Autoconf 2.68.  Invocation command line was
17734: 
17735:   CONFIG_FILES    = $CONFIG_FILES
17736:   CONFIG_HEADERS  = $CONFIG_HEADERS
17737:   CONFIG_LINKS    = $CONFIG_LINKS
17738:   CONFIG_COMMANDS = $CONFIG_COMMANDS
17739:   $ $0 $@
17740: 
17741: on `(hostname || uname -n) 2>/dev/null | sed 1q`
17742: "
17743: 
17744: _ACEOF
17745: 
17746: case $ac_config_files in *"
17747: "*) set x $ac_config_files; shift; ac_config_files=$*;;
17748: esac
17749: 
17750: case $ac_config_headers in *"
17751: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17752: esac
17753: 
17754: 
17755: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17756: # Files that config.status was made for.
17757: config_files="$ac_config_files"
17758: config_headers="$ac_config_headers"
17759: config_commands="$ac_config_commands"
17760: 
17761: _ACEOF
17762: 
17763: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17764: ac_cs_usage="\
17765: \`$as_me' instantiates files and other configuration actions
17766: from templates according to the current configuration.  Unless the files
17767: and actions are specified as TAGs, all are instantiated by default.
17768: 
17769: Usage: $0 [OPTION]... [TAG]...
17770: 
17771:   -h, --help       print this help, then exit
17772:   -V, --version    print version number and configuration settings, then exit
17773:       --config     print configuration, then exit
17774:   -q, --quiet, --silent
17775:                    do not print progress messages
17776:   -d, --debug      don't remove temporary files
17777:       --recheck    update $as_me by reconfiguring in the same conditions
17778:       --file=FILE[:TEMPLATE]
17779:                    instantiate the configuration file FILE
17780:       --header=FILE[:TEMPLATE]
17781:                    instantiate the configuration header FILE
17782: 
17783: Configuration files:
17784: $config_files
17785: 
17786: Configuration headers:
17787: $config_headers
17788: 
17789: Configuration commands:
17790: $config_commands
17791: 
17792: Report bugs to the package provider."
17793: 
17794: _ACEOF
17795: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17796: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17797: ac_cs_version="\\
17798: PCRE config.status 8.30
17799: configured by $0, generated by GNU Autoconf 2.68,
17800:   with options \\"\$ac_cs_config\\"
17801: 
17802: Copyright (C) 2010 Free Software Foundation, Inc.
17803: This config.status script is free software; the Free Software Foundation
17804: gives unlimited permission to copy, distribute and modify it."
17805: 
17806: ac_pwd='$ac_pwd'
17807: srcdir='$srcdir'
17808: INSTALL='$INSTALL'
17809: MKDIR_P='$MKDIR_P'
17810: AWK='$AWK'
17811: test -n "\$AWK" || AWK=awk
17812: _ACEOF
17813: 
17814: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17815: # The default lists apply if the user does not specify any file.
17816: ac_need_defaults=:
17817: while test $# != 0
17818: do
17819:   case $1 in
17820:   --*=?*)
17821:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17822:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17823:     ac_shift=:
17824:     ;;
17825:   --*=)
17826:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17827:     ac_optarg=
17828:     ac_shift=:
17829:     ;;
17830:   *)
17831:     ac_option=$1
17832:     ac_optarg=$2
17833:     ac_shift=shift
17834:     ;;
17835:   esac
17836: 
17837:   case $ac_option in
17838:   # Handling of the options.
17839:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17840:     ac_cs_recheck=: ;;
17841:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17842:     $as_echo "$ac_cs_version"; exit ;;
17843:   --config | --confi | --conf | --con | --co | --c )
17844:     $as_echo "$ac_cs_config"; exit ;;
17845:   --debug | --debu | --deb | --de | --d | -d )
17846:     debug=: ;;
17847:   --file | --fil | --fi | --f )
17848:     $ac_shift
17849:     case $ac_optarg in
17850:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17851:     '') as_fn_error $? "missing file argument" ;;
17852:     esac
17853:     as_fn_append CONFIG_FILES " '$ac_optarg'"
17854:     ac_need_defaults=false;;
17855:   --header | --heade | --head | --hea )
17856:     $ac_shift
17857:     case $ac_optarg in
17858:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17859:     esac
17860:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17861:     ac_need_defaults=false;;
17862:   --he | --h)
17863:     # Conflict between --help and --header
17864:     as_fn_error $? "ambiguous option: \`$1'
17865: Try \`$0 --help' for more information.";;
17866:   --help | --hel | -h )
17867:     $as_echo "$ac_cs_usage"; exit ;;
17868:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17869:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17870:     ac_cs_silent=: ;;
17871: 
17872:   # This is an error.
17873:   -*) as_fn_error $? "unrecognized option: \`$1'
17874: Try \`$0 --help' for more information." ;;
17875: 
17876:   *) as_fn_append ac_config_targets " $1"
17877:      ac_need_defaults=false ;;
17878: 
17879:   esac
17880:   shift
17881: done
17882: 
17883: ac_configure_extra_args=
17884: 
17885: if $ac_cs_silent; then
17886:   exec 6>/dev/null
17887:   ac_configure_extra_args="$ac_configure_extra_args --silent"
17888: fi
17889: 
17890: _ACEOF
17891: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17892: if \$ac_cs_recheck; then
17893:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17894:   shift
17895:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17896:   CONFIG_SHELL='$SHELL'
17897:   export CONFIG_SHELL
17898:   exec "\$@"
17899: fi
17900: 
17901: _ACEOF
17902: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17903: exec 5>>config.log
17904: {
17905:   echo
17906:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17907: ## Running $as_me. ##
17908: _ASBOX
17909:   $as_echo "$ac_log"
17910: } >&5
17911: 
17912: _ACEOF
17913: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17914: #
17915: # INIT-COMMANDS
17916: #
17917: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17918: 
17919: 
17920: # The HP-UX ksh and POSIX shell print the target directory to stdout
17921: # if CDPATH is set.
17922: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17923: 
17924: sed_quote_subst='$sed_quote_subst'
17925: double_quote_subst='$double_quote_subst'
17926: delay_variable_subst='$delay_variable_subst'
17927: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17928: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17929: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17930: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17931: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17932: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17933: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17934: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17935: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17936: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17937: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17938: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17939: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17940: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17941: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17942: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17943: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17944: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17945: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17946: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17947: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17948: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17949: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17950: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17951: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17952: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17953: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17954: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17955: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17956: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17957: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17958: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17959: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17960: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17961: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17962: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17963: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17964: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17965: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17966: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17967: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17968: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17969: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17970: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17971: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17972: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17973: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17974: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17975: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17976: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17977: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17978: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17979: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17980: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17981: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17982: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17983: 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"`'
17984: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17985: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17986: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17987: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17988: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17989: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17990: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17991: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17992: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17993: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17994: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17995: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17996: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17997: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17998: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17999: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18000: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18001: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18002: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18003: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18004: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18005: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18006: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18007: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18008: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18009: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18010: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18011: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18012: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18013: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18014: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18015: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18016: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18017: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18018: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18019: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18020: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18021: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18022: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18023: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18024: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18025: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18026: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18027: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18028: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18029: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18030: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18031: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18032: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18033: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18034: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18035: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18036: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18037: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18038: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18039: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18040: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18041: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18042: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18043: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18044: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18045: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18046: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18047: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18048: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18049: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18050: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18051: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18052: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18053: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18054: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18055: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18056: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18057: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18058: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18059: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18060: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18061: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18062: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18063: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18064: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18065: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18066: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18067: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18068: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18069: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18070: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18071: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18072: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18073: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18074: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18075: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18076: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18077: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18078: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18079: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18080: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18081: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18082: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18083: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18084: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18085: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18086: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18087: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18088: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18089: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18090: hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18091: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18092: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18093: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18094: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18095: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18096: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18097: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18098: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18099: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18100: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18101: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18102: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18103: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18104: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18105: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18106: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18107: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18108: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18109: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18110: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18111: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18112: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18113: 
18114: LTCC='$LTCC'
18115: LTCFLAGS='$LTCFLAGS'
18116: compiler='$compiler_DEFAULT'
18117: 
18118: # A function that is used when there is no print builtin or printf.
18119: func_fallback_echo ()
18120: {
18121:   eval 'cat <<_LTECHO_EOF
18122: \$1
18123: _LTECHO_EOF'
18124: }
18125: 
18126: # Quote evaled strings.
18127: for var in AS \
18128: DLLTOOL \
18129: OBJDUMP \
18130: SHELL \
18131: ECHO \
18132: SED \
18133: GREP \
18134: EGREP \
18135: FGREP \
18136: LD \
18137: NM \
18138: LN_S \
18139: lt_SP2NL \
18140: lt_NL2SP \
18141: reload_flag \
18142: deplibs_check_method \
18143: file_magic_cmd \
18144: file_magic_glob \
18145: want_nocaseglob \
18146: sharedlib_from_linklib_cmd \
18147: AR \
18148: AR_FLAGS \
18149: archiver_list_spec \
18150: STRIP \
18151: RANLIB \
18152: CC \
18153: CFLAGS \
18154: compiler \
18155: lt_cv_sys_global_symbol_pipe \
18156: lt_cv_sys_global_symbol_to_cdecl \
18157: lt_cv_sys_global_symbol_to_c_name_address \
18158: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18159: nm_file_list_spec \
18160: lt_prog_compiler_no_builtin_flag \
18161: lt_prog_compiler_pic \
18162: lt_prog_compiler_wl \
18163: lt_prog_compiler_static \
18164: lt_cv_prog_compiler_c_o \
18165: need_locks \
18166: MANIFEST_TOOL \
18167: DSYMUTIL \
18168: NMEDIT \
18169: LIPO \
18170: OTOOL \
18171: OTOOL64 \
18172: shrext_cmds \
18173: export_dynamic_flag_spec \
18174: whole_archive_flag_spec \
18175: compiler_needs_object \
18176: with_gnu_ld \
18177: allow_undefined_flag \
18178: no_undefined_flag \
18179: hardcode_libdir_flag_spec \
18180: hardcode_libdir_flag_spec_ld \
18181: hardcode_libdir_separator \
18182: exclude_expsyms \
18183: include_expsyms \
18184: file_list_spec \
18185: variables_saved_for_relink \
18186: libname_spec \
18187: library_names_spec \
18188: soname_spec \
18189: install_override_mode \
18190: finish_eval \
18191: old_striplib \
18192: striplib \
18193: compiler_lib_search_dirs \
18194: predep_objects \
18195: postdep_objects \
18196: predeps \
18197: postdeps \
18198: compiler_lib_search_path \
18199: LD_CXX \
18200: reload_flag_CXX \
18201: compiler_CXX \
18202: lt_prog_compiler_no_builtin_flag_CXX \
18203: lt_prog_compiler_pic_CXX \
18204: lt_prog_compiler_wl_CXX \
18205: lt_prog_compiler_static_CXX \
18206: lt_cv_prog_compiler_c_o_CXX \
18207: export_dynamic_flag_spec_CXX \
18208: whole_archive_flag_spec_CXX \
18209: compiler_needs_object_CXX \
18210: with_gnu_ld_CXX \
18211: allow_undefined_flag_CXX \
18212: no_undefined_flag_CXX \
18213: hardcode_libdir_flag_spec_CXX \
18214: hardcode_libdir_flag_spec_ld_CXX \
18215: hardcode_libdir_separator_CXX \
18216: exclude_expsyms_CXX \
18217: include_expsyms_CXX \
18218: file_list_spec_CXX \
18219: compiler_lib_search_dirs_CXX \
18220: predep_objects_CXX \
18221: postdep_objects_CXX \
18222: predeps_CXX \
18223: postdeps_CXX \
18224: compiler_lib_search_path_CXX; do
18225:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18226:     *[\\\\\\\`\\"\\\$]*)
18227:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18228:       ;;
18229:     *)
18230:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18231:       ;;
18232:     esac
18233: done
18234: 
18235: # Double-quote double-evaled strings.
18236: for var in reload_cmds \
18237: old_postinstall_cmds \
18238: old_postuninstall_cmds \
18239: old_archive_cmds \
18240: extract_expsyms_cmds \
18241: old_archive_from_new_cmds \
18242: old_archive_from_expsyms_cmds \
18243: archive_cmds \
18244: archive_expsym_cmds \
18245: module_cmds \
18246: module_expsym_cmds \
18247: export_symbols_cmds \
18248: prelink_cmds \
18249: postlink_cmds \
18250: postinstall_cmds \
18251: postuninstall_cmds \
18252: finish_cmds \
18253: sys_lib_search_path_spec \
18254: sys_lib_dlsearch_path_spec \
18255: reload_cmds_CXX \
18256: old_archive_cmds_CXX \
18257: old_archive_from_new_cmds_CXX \
18258: old_archive_from_expsyms_cmds_CXX \
18259: archive_cmds_CXX \
18260: archive_expsym_cmds_CXX \
18261: module_cmds_CXX \
18262: module_expsym_cmds_CXX \
18263: export_symbols_cmds_CXX \
18264: prelink_cmds_CXX \
18265: postlink_cmds_CXX; do
18266:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18267:     *[\\\\\\\`\\"\\\$]*)
18268:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18269:       ;;
18270:     *)
18271:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18272:       ;;
18273:     esac
18274: done
18275: 
18276: ac_aux_dir='$ac_aux_dir'
18277: xsi_shell='$xsi_shell'
18278: lt_shell_append='$lt_shell_append'
18279: 
18280: # See if we are running on zsh, and set the options which allow our
18281: # commands through without removal of \ escapes INIT.
18282: if test -n "\${ZSH_VERSION+set}" ; then
18283:    setopt NO_GLOB_SUBST
18284: fi
18285: 
18286: 
18287:     PACKAGE='$PACKAGE'
18288:     VERSION='$VERSION'
18289:     TIMESTAMP='$TIMESTAMP'
18290:     RM='$RM'
18291:     ofile='$ofile'
18292: 
18293: 
18294: 
18295: 
18296: 
18297: 
18298: _ACEOF
18299: 
18300: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18301: 
18302: # Handling of arguments.
18303: for ac_config_target in $ac_config_targets
18304: do
18305:   case $ac_config_target in
18306:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18307:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18308:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18309:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18310:     "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
18311:     "libpcre16.pc") CONFIG_FILES="$CONFIG_FILES libpcre16.pc" ;;
18312:     "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
18313:     "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
18314:     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
18315:     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
18316:     "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
18317:     "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
18318:     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
18319:     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
18320: 
18321:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18322:   esac
18323: done
18324: 
18325: 
18326: # If the user did not use the arguments to specify the items to instantiate,
18327: # then the envvar interface is used.  Set only those that are not.
18328: # We use the long form for the default assignment because of an extremely
18329: # bizarre bug on SunOS 4.1.3.
18330: if $ac_need_defaults; then
18331:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18332:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18333:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18334: fi
18335: 
18336: # Have a temporary directory for convenience.  Make it in the build tree
18337: # simply because there is no reason against having it here, and in addition,
18338: # creating and moving files from /tmp can sometimes cause problems.
18339: # Hook for its removal unless debugging.
18340: # Note that there is a small window in which the directory will not be cleaned:
18341: # after its creation but before its name has been assigned to `$tmp'.
18342: $debug ||
18343: {
18344:   tmp= ac_tmp=
18345:   trap 'exit_status=$?
18346:   : "${ac_tmp:=$tmp}"
18347:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18348: ' 0
18349:   trap 'as_fn_exit 1' 1 2 13 15
18350: }
18351: # Create a (secure) tmp directory for tmp files.
18352: 
18353: {
18354:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18355:   test -d "$tmp"
18356: }  ||
18357: {
18358:   tmp=./conf$$-$RANDOM
18359:   (umask 077 && mkdir "$tmp")
18360: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18361: ac_tmp=$tmp
18362: 
18363: # Set up the scripts for CONFIG_FILES section.
18364: # No need to generate them if there are no CONFIG_FILES.
18365: # This happens for instance with `./config.status config.h'.
18366: if test -n "$CONFIG_FILES"; then
18367: 
18368: 
18369: ac_cr=`echo X | tr X '\015'`
18370: # On cygwin, bash can eat \r inside `` if the user requested igncr.
18371: # But we know of no other shell where ac_cr would be empty at this
18372: # point, so we can use a bashism as a fallback.
18373: if test "x$ac_cr" = x; then
18374:   eval ac_cr=\$\'\\r\'
18375: fi
18376: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18377: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18378:   ac_cs_awk_cr='\\r'
18379: else
18380:   ac_cs_awk_cr=$ac_cr
18381: fi
18382: 
18383: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18384: _ACEOF
18385: 
18386: 
18387: {
18388:   echo "cat >conf$$subs.awk <<_ACEOF" &&
18389:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18390:   echo "_ACEOF"
18391: } >conf$$subs.sh ||
18392:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18393: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18394: ac_delim='%!_!# '
18395: for ac_last_try in false false false false false :; do
18396:   . ./conf$$subs.sh ||
18397:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18398: 
18399:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18400:   if test $ac_delim_n = $ac_delim_num; then
18401:     break
18402:   elif $ac_last_try; then
18403:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18404:   else
18405:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18406:   fi
18407: done
18408: rm -f conf$$subs.sh
18409: 
18410: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18412: _ACEOF
18413: sed -n '
18414: h
18415: s/^/S["/; s/!.*/"]=/
18416: p
18417: g
18418: s/^[^!]*!//
18419: :repl
18420: t repl
18421: s/'"$ac_delim"'$//
18422: t delim
18423: :nl
18424: h
18425: s/\(.\{148\}\)..*/\1/
18426: t more1
18427: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18428: p
18429: n
18430: b repl
18431: :more1
18432: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18433: p
18434: g
18435: s/.\{148\}//
18436: t nl
18437: :delim
18438: h
18439: s/\(.\{148\}\)..*/\1/
18440: t more2
18441: s/["\\]/\\&/g; s/^/"/; s/$/"/
18442: p
18443: b
18444: :more2
18445: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18446: p
18447: g
18448: s/.\{148\}//
18449: t delim
18450: ' <conf$$subs.awk | sed '
18451: /^[^""]/{
18452:   N
18453:   s/\n//
18454: }
18455: ' >>$CONFIG_STATUS || ac_write_fail=1
18456: rm -f conf$$subs.awk
18457: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18458: _ACAWK
18459: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18460:   for (key in S) S_is_set[key] = 1
18461:   FS = ""
18462: 
18463: }
18464: {
18465:   line = $ 0
18466:   nfields = split(line, field, "@")
18467:   substed = 0
18468:   len = length(field[1])
18469:   for (i = 2; i < nfields; i++) {
18470:     key = field[i]
18471:     keylen = length(key)
18472:     if (S_is_set[key]) {
18473:       value = S[key]
18474:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18475:       len += length(value) + length(field[++i])
18476:       substed = 1
18477:     } else
18478:       len += 1 + keylen
18479:   }
18480: 
18481:   print line
18482: }
18483: 
18484: _ACAWK
18485: _ACEOF
18486: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18487: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18488:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18489: else
18490:   cat
18491: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18492:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18493: _ACEOF
18494: 
18495: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18496: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18497: # trailing colons and then remove the whole line if VPATH becomes empty
18498: # (actually we leave an empty line to preserve line numbers).
18499: if test "x$srcdir" = x.; then
18500:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18501: h
18502: s///
18503: s/^/:/
18504: s/[	 ]*$/:/
18505: s/:\$(srcdir):/:/g
18506: s/:\${srcdir}:/:/g
18507: s/:@srcdir@:/:/g
18508: s/^:*//
18509: s/:*$//
18510: x
18511: s/\(=[	 ]*\).*/\1/
18512: G
18513: s/\n//
18514: s/^[^=]*=[	 ]*$//
18515: }'
18516: fi
18517: 
18518: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18519: fi # test -n "$CONFIG_FILES"
18520: 
18521: # Set up the scripts for CONFIG_HEADERS section.
18522: # No need to generate them if there are no CONFIG_HEADERS.
18523: # This happens for instance with `./config.status Makefile'.
18524: if test -n "$CONFIG_HEADERS"; then
18525: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18526: BEGIN {
18527: _ACEOF
18528: 
18529: # Transform confdefs.h into an awk script `defines.awk', embedded as
18530: # here-document in config.status, that substitutes the proper values into
18531: # config.h.in to produce config.h.
18532: 
18533: # Create a delimiter string that does not exist in confdefs.h, to ease
18534: # handling of long lines.
18535: ac_delim='%!_!# '
18536: for ac_last_try in false false :; do
18537:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18538:   if test -z "$ac_tt"; then
18539:     break
18540:   elif $ac_last_try; then
18541:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18542:   else
18543:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18544:   fi
18545: done
18546: 
18547: # For the awk script, D is an array of macro values keyed by name,
18548: # likewise P contains macro parameters if any.  Preserve backslash
18549: # newline sequences.
18550: 
18551: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18552: sed -n '
18553: s/.\{148\}/&'"$ac_delim"'/g
18554: t rset
18555: :rset
18556: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18557: t def
18558: d
18559: :def
18560: s/\\$//
18561: t bsnl
18562: s/["\\]/\\&/g
18563: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18564: D["\1"]=" \3"/p
18565: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18566: d
18567: :bsnl
18568: s/["\\]/\\&/g
18569: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18570: D["\1"]=" \3\\\\\\n"\\/p
18571: t cont
18572: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18573: t cont
18574: d
18575: :cont
18576: n
18577: s/.\{148\}/&'"$ac_delim"'/g
18578: t clear
18579: :clear
18580: s/\\$//
18581: t bsnlc
18582: s/["\\]/\\&/g; s/^/"/; s/$/"/p
18583: d
18584: :bsnlc
18585: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18586: b cont
18587: ' <confdefs.h | sed '
18588: s/'"$ac_delim"'/"\\\
18589: "/g' >>$CONFIG_STATUS || ac_write_fail=1
18590: 
18591: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18592:   for (key in D) D_is_set[key] = 1
18593:   FS = ""
18594: }
18595: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18596:   line = \$ 0
18597:   split(line, arg, " ")
18598:   if (arg[1] == "#") {
18599:     defundef = arg[2]
18600:     mac1 = arg[3]
18601:   } else {
18602:     defundef = substr(arg[1], 2)
18603:     mac1 = arg[2]
18604:   }
18605:   split(mac1, mac2, "(") #)
18606:   macro = mac2[1]
18607:   prefix = substr(line, 1, index(line, defundef) - 1)
18608:   if (D_is_set[macro]) {
18609:     # Preserve the white space surrounding the "#".
18610:     print prefix "define", macro P[macro] D[macro]
18611:     next
18612:   } else {
18613:     # Replace #undef with comments.  This is necessary, for example,
18614:     # in the case of _POSIX_SOURCE, which is predefined and required
18615:     # on some systems where configure will not decide to define it.
18616:     if (defundef == "undef") {
18617:       print "/*", prefix defundef, macro, "*/"
18618:       next
18619:     }
18620:   }
18621: }
18622: { print }
18623: _ACAWK
18624: _ACEOF
18625: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18626:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18627: fi # test -n "$CONFIG_HEADERS"
18628: 
18629: 
18630: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18631: shift
18632: for ac_tag
18633: do
18634:   case $ac_tag in
18635:   :[FHLC]) ac_mode=$ac_tag; continue;;
18636:   esac
18637:   case $ac_mode$ac_tag in
18638:   :[FHL]*:*);;
18639:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18640:   :[FH]-) ac_tag=-:-;;
18641:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18642:   esac
18643:   ac_save_IFS=$IFS
18644:   IFS=:
18645:   set x $ac_tag
18646:   IFS=$ac_save_IFS
18647:   shift
18648:   ac_file=$1
18649:   shift
18650: 
18651:   case $ac_mode in
18652:   :L) ac_source=$1;;
18653:   :[FH])
18654:     ac_file_inputs=
18655:     for ac_f
18656:     do
18657:       case $ac_f in
18658:       -) ac_f="$ac_tmp/stdin";;
18659:       *) # Look for the file first in the build tree, then in the source tree
18660: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18661: 	 # because $ac_f cannot contain `:'.
18662: 	 test -f "$ac_f" ||
18663: 	   case $ac_f in
18664: 	   [\\/$]*) false;;
18665: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18666: 	   esac ||
18667: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18668:       esac
18669:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18670:       as_fn_append ac_file_inputs " '$ac_f'"
18671:     done
18672: 
18673:     # Let's still pretend it is `configure' which instantiates (i.e., don't
18674:     # use $as_me), people would be surprised to read:
18675:     #    /* config.h.  Generated by config.status.  */
18676:     configure_input='Generated from '`
18677: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18678: 	`' by configure.'
18679:     if test x"$ac_file" != x-; then
18680:       configure_input="$ac_file.  $configure_input"
18681:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18682: $as_echo "$as_me: creating $ac_file" >&6;}
18683:     fi
18684:     # Neutralize special characters interpreted by sed in replacement strings.
18685:     case $configure_input in #(
18686:     *\&* | *\|* | *\\* )
18687:        ac_sed_conf_input=`$as_echo "$configure_input" |
18688:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18689:     *) ac_sed_conf_input=$configure_input;;
18690:     esac
18691: 
18692:     case $ac_tag in
18693:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18694:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18695:     esac
18696:     ;;
18697:   esac
18698: 
18699:   ac_dir=`$as_dirname -- "$ac_file" ||
18700: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18701: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
18702: 	 X"$ac_file" : 'X\(//\)$' \| \
18703: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18704: $as_echo X"$ac_file" |
18705:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18706: 	    s//\1/
18707: 	    q
18708: 	  }
18709: 	  /^X\(\/\/\)[^/].*/{
18710: 	    s//\1/
18711: 	    q
18712: 	  }
18713: 	  /^X\(\/\/\)$/{
18714: 	    s//\1/
18715: 	    q
18716: 	  }
18717: 	  /^X\(\/\).*/{
18718: 	    s//\1/
18719: 	    q
18720: 	  }
18721: 	  s/.*/./; q'`
18722:   as_dir="$ac_dir"; as_fn_mkdir_p
18723:   ac_builddir=.
18724: 
18725: case "$ac_dir" in
18726: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18727: *)
18728:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18729:   # A ".." for each directory in $ac_dir_suffix.
18730:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18731:   case $ac_top_builddir_sub in
18732:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18733:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18734:   esac ;;
18735: esac
18736: ac_abs_top_builddir=$ac_pwd
18737: ac_abs_builddir=$ac_pwd$ac_dir_suffix
18738: # for backward compatibility:
18739: ac_top_builddir=$ac_top_build_prefix
18740: 
18741: case $srcdir in
18742:   .)  # We are building in place.
18743:     ac_srcdir=.
18744:     ac_top_srcdir=$ac_top_builddir_sub
18745:     ac_abs_top_srcdir=$ac_pwd ;;
18746:   [\\/]* | ?:[\\/]* )  # Absolute name.
18747:     ac_srcdir=$srcdir$ac_dir_suffix;
18748:     ac_top_srcdir=$srcdir
18749:     ac_abs_top_srcdir=$srcdir ;;
18750:   *) # Relative name.
18751:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18752:     ac_top_srcdir=$ac_top_build_prefix$srcdir
18753:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18754: esac
18755: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18756: 
18757: 
18758:   case $ac_mode in
18759:   :F)
18760:   #
18761:   # CONFIG_FILE
18762:   #
18763: 
18764:   case $INSTALL in
18765:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18766:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18767:   esac
18768:   ac_MKDIR_P=$MKDIR_P
18769:   case $MKDIR_P in
18770:   [\\/$]* | ?:[\\/]* ) ;;
18771:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18772:   esac
18773: _ACEOF
18774: 
18775: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18776: # If the template does not know about datarootdir, expand it.
18777: # FIXME: This hack should be removed a few years after 2.60.
18778: ac_datarootdir_hack=; ac_datarootdir_seen=
18779: ac_sed_dataroot='
18780: /datarootdir/ {
18781:   p
18782:   q
18783: }
18784: /@datadir@/p
18785: /@docdir@/p
18786: /@infodir@/p
18787: /@localedir@/p
18788: /@mandir@/p'
18789: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18790: *datarootdir*) ac_datarootdir_seen=yes;;
18791: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18792:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18793: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18794: _ACEOF
18795: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18796:   ac_datarootdir_hack='
18797:   s&@datadir@&$datadir&g
18798:   s&@docdir@&$docdir&g
18799:   s&@infodir@&$infodir&g
18800:   s&@localedir@&$localedir&g
18801:   s&@mandir@&$mandir&g
18802:   s&\\\${datarootdir}&$datarootdir&g' ;;
18803: esac
18804: _ACEOF
18805: 
18806: # Neutralize VPATH when `$srcdir' = `.'.
18807: # Shell code in configure.ac might set extrasub.
18808: # FIXME: do we really want to maintain this feature?
18809: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18810: ac_sed_extra="$ac_vpsub
18811: $extrasub
18812: _ACEOF
18813: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18814: :t
18815: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18816: s|@configure_input@|$ac_sed_conf_input|;t t
18817: s&@top_builddir@&$ac_top_builddir_sub&;t t
18818: s&@top_build_prefix@&$ac_top_build_prefix&;t t
18819: s&@srcdir@&$ac_srcdir&;t t
18820: s&@abs_srcdir@&$ac_abs_srcdir&;t t
18821: s&@top_srcdir@&$ac_top_srcdir&;t t
18822: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18823: s&@builddir@&$ac_builddir&;t t
18824: s&@abs_builddir@&$ac_abs_builddir&;t t
18825: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18826: s&@INSTALL@&$ac_INSTALL&;t t
18827: s&@MKDIR_P@&$ac_MKDIR_P&;t t
18828: $ac_datarootdir_hack
18829: "
18830: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18831:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18832: 
18833: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18834:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18835:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18836:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18837:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18838: which seems to be undefined.  Please make sure it is defined" >&5
18839: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18840: which seems to be undefined.  Please make sure it is defined" >&2;}
18841: 
18842:   rm -f "$ac_tmp/stdin"
18843:   case $ac_file in
18844:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18845:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18846:   esac \
18847:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18848:  ;;
18849:   :H)
18850:   #
18851:   # CONFIG_HEADER
18852:   #
18853:   if test x"$ac_file" != x-; then
18854:     {
18855:       $as_echo "/* $configure_input  */" \
18856:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18857:     } >"$ac_tmp/config.h" \
18858:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18859:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18860:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18861: $as_echo "$as_me: $ac_file is unchanged" >&6;}
18862:     else
18863:       rm -f "$ac_file"
18864:       mv "$ac_tmp/config.h" "$ac_file" \
18865: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18866:     fi
18867:   else
18868:     $as_echo "/* $configure_input  */" \
18869:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18870:       || as_fn_error $? "could not create -" "$LINENO" 5
18871:   fi
18872: # Compute "$ac_file"'s index in $config_headers.
18873: _am_arg="$ac_file"
18874: _am_stamp_count=1
18875: for _am_header in $config_headers :; do
18876:   case $_am_header in
18877:     $_am_arg | $_am_arg:* )
18878:       break ;;
18879:     * )
18880:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18881:   esac
18882: done
18883: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18884: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18885: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18886: 	 X"$_am_arg" : 'X\(//\)$' \| \
18887: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18888: $as_echo X"$_am_arg" |
18889:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18890: 	    s//\1/
18891: 	    q
18892: 	  }
18893: 	  /^X\(\/\/\)[^/].*/{
18894: 	    s//\1/
18895: 	    q
18896: 	  }
18897: 	  /^X\(\/\/\)$/{
18898: 	    s//\1/
18899: 	    q
18900: 	  }
18901: 	  /^X\(\/\).*/{
18902: 	    s//\1/
18903: 	    q
18904: 	  }
18905: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
18906:  ;;
18907: 
18908:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18909: $as_echo "$as_me: executing $ac_file commands" >&6;}
18910:  ;;
18911:   esac
18912: 
18913: 
18914:   case $ac_file$ac_mode in
18915:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18916:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18917:   # are listed without --file.  Let's play safe and only enable the eval
18918:   # if we detect the quoting.
18919:   case $CONFIG_FILES in
18920:   *\'*) eval set x "$CONFIG_FILES" ;;
18921:   *)   set x $CONFIG_FILES ;;
18922:   esac
18923:   shift
18924:   for mf
18925:   do
18926:     # Strip MF so we end up with the name of the file.
18927:     mf=`echo "$mf" | sed -e 's/:.*$//'`
18928:     # Check whether this is an Automake generated Makefile or not.
18929:     # We used to match only the files named `Makefile.in', but
18930:     # some people rename them; so instead we look at the file content.
18931:     # Grep'ing the first line is not enough: some people post-process
18932:     # each Makefile.in and add a new line on top of each file to say so.
18933:     # Grep'ing the whole file is not good either: AIX grep has a line
18934:     # limit of 2048, but all sed's we know have understand at least 4000.
18935:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18936:       dirpart=`$as_dirname -- "$mf" ||
18937: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18938: 	 X"$mf" : 'X\(//\)[^/]' \| \
18939: 	 X"$mf" : 'X\(//\)$' \| \
18940: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18941: $as_echo X"$mf" |
18942:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18943: 	    s//\1/
18944: 	    q
18945: 	  }
18946: 	  /^X\(\/\/\)[^/].*/{
18947: 	    s//\1/
18948: 	    q
18949: 	  }
18950: 	  /^X\(\/\/\)$/{
18951: 	    s//\1/
18952: 	    q
18953: 	  }
18954: 	  /^X\(\/\).*/{
18955: 	    s//\1/
18956: 	    q
18957: 	  }
18958: 	  s/.*/./; q'`
18959:     else
18960:       continue
18961:     fi
18962:     # Extract the definition of DEPDIR, am__include, and am__quote
18963:     # from the Makefile without running `make'.
18964:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18965:     test -z "$DEPDIR" && continue
18966:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18967:     test -z "am__include" && continue
18968:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18969:     # When using ansi2knr, U may be empty or an underscore; expand it
18970:     U=`sed -n 's/^U = //p' < "$mf"`
18971:     # Find all dependency output files, they are included files with
18972:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18973:     # simplest approach to changing $(DEPDIR) to its actual value in the
18974:     # expansion.
18975:     for file in `sed -n "
18976:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18977: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18978:       # Make sure the directory exists.
18979:       test -f "$dirpart/$file" && continue
18980:       fdir=`$as_dirname -- "$file" ||
18981: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18982: 	 X"$file" : 'X\(//\)[^/]' \| \
18983: 	 X"$file" : 'X\(//\)$' \| \
18984: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18985: $as_echo X"$file" |
18986:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18987: 	    s//\1/
18988: 	    q
18989: 	  }
18990: 	  /^X\(\/\/\)[^/].*/{
18991: 	    s//\1/
18992: 	    q
18993: 	  }
18994: 	  /^X\(\/\/\)$/{
18995: 	    s//\1/
18996: 	    q
18997: 	  }
18998: 	  /^X\(\/\).*/{
18999: 	    s//\1/
19000: 	    q
19001: 	  }
19002: 	  s/.*/./; q'`
19003:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19004:       # echo "creating $dirpart/$file"
19005:       echo '# dummy' > "$dirpart/$file"
19006:     done
19007:   done
19008: }
19009:  ;;
19010:     "libtool":C)
19011: 
19012:     # See if we are running on zsh, and set the options which allow our
19013:     # commands through without removal of \ escapes.
19014:     if test -n "${ZSH_VERSION+set}" ; then
19015:       setopt NO_GLOB_SUBST
19016:     fi
19017: 
19018:     cfgfile="${ofile}T"
19019:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19020:     $RM "$cfgfile"
19021: 
19022:     cat <<_LT_EOF >> "$cfgfile"
19023: #! $SHELL
19024: 
19025: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19026: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19027: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19028: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19029: #
19030: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19031: #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19032: #                 Inc.
19033: #   Written by Gordon Matzigkeit, 1996
19034: #
19035: #   This file is part of GNU Libtool.
19036: #
19037: # GNU Libtool is free software; you can redistribute it and/or
19038: # modify it under the terms of the GNU General Public License as
19039: # published by the Free Software Foundation; either version 2 of
19040: # the License, or (at your option) any later version.
19041: #
19042: # As a special exception to the GNU General Public License,
19043: # if you distribute this file as part of a program or library that
19044: # is built using GNU Libtool, you may include this file under the
19045: # same distribution terms that you use for the rest of that program.
19046: #
19047: # GNU Libtool is distributed in the hope that it will be useful,
19048: # but WITHOUT ANY WARRANTY; without even the implied warranty of
19049: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19050: # GNU General Public License for more details.
19051: #
19052: # You should have received a copy of the GNU General Public License
19053: # along with GNU Libtool; see the file COPYING.  If not, a copy
19054: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19055: # obtained by writing to the Free Software Foundation, Inc.,
19056: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19057: 
19058: 
19059: # The names of the tagged configurations supported by this script.
19060: available_tags="CXX "
19061: 
19062: # ### BEGIN LIBTOOL CONFIG
19063: 
19064: # Assembler program.
19065: AS=$lt_AS
19066: 
19067: # DLL creation program.
19068: DLLTOOL=$lt_DLLTOOL
19069: 
19070: # Object dumper program.
19071: OBJDUMP=$lt_OBJDUMP
19072: 
19073: # Which release of libtool.m4 was used?
19074: macro_version=$macro_version
19075: macro_revision=$macro_revision
19076: 
19077: # Whether or not to build shared libraries.
19078: build_libtool_libs=$enable_shared
19079: 
19080: # Whether or not to build static libraries.
19081: build_old_libs=$enable_static
19082: 
19083: # What type of objects to build.
19084: pic_mode=$pic_mode
19085: 
19086: # Whether or not to optimize for fast installation.
19087: fast_install=$enable_fast_install
19088: 
19089: # Shell to use when invoking shell scripts.
19090: SHELL=$lt_SHELL
19091: 
19092: # An echo program that protects backslashes.
19093: ECHO=$lt_ECHO
19094: 
19095: # The host system.
19096: host_alias=$host_alias
19097: host=$host
19098: host_os=$host_os
19099: 
19100: # The build system.
19101: build_alias=$build_alias
19102: build=$build
19103: build_os=$build_os
19104: 
19105: # A sed program that does not truncate output.
19106: SED=$lt_SED
19107: 
19108: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19109: Xsed="\$SED -e 1s/^X//"
19110: 
19111: # A grep program that handles long lines.
19112: GREP=$lt_GREP
19113: 
19114: # An ERE matcher.
19115: EGREP=$lt_EGREP
19116: 
19117: # A literal string matcher.
19118: FGREP=$lt_FGREP
19119: 
19120: # A BSD- or MS-compatible name lister.
19121: NM=$lt_NM
19122: 
19123: # Whether we need soft or hard links.
19124: LN_S=$lt_LN_S
19125: 
19126: # What is the maximum length of a command?
19127: max_cmd_len=$max_cmd_len
19128: 
19129: # Object file suffix (normally "o").
19130: objext=$ac_objext
19131: 
19132: # Executable file suffix (normally "").
19133: exeext=$exeext
19134: 
19135: # whether the shell understands "unset".
19136: lt_unset=$lt_unset
19137: 
19138: # turn spaces into newlines.
19139: SP2NL=$lt_lt_SP2NL
19140: 
19141: # turn newlines into spaces.
19142: NL2SP=$lt_lt_NL2SP
19143: 
19144: # convert \$build file names to \$host format.
19145: to_host_file_cmd=$lt_cv_to_host_file_cmd
19146: 
19147: # convert \$build files to toolchain format.
19148: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19149: 
19150: # Method to check whether dependent libraries are shared objects.
19151: deplibs_check_method=$lt_deplibs_check_method
19152: 
19153: # Command to use when deplibs_check_method = "file_magic".
19154: file_magic_cmd=$lt_file_magic_cmd
19155: 
19156: # How to find potential files when deplibs_check_method = "file_magic".
19157: file_magic_glob=$lt_file_magic_glob
19158: 
19159: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19160: want_nocaseglob=$lt_want_nocaseglob
19161: 
19162: # Command to associate shared and link libraries.
19163: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19164: 
19165: # The archiver.
19166: AR=$lt_AR
19167: 
19168: # Flags to create an archive.
19169: AR_FLAGS=$lt_AR_FLAGS
19170: 
19171: # How to feed a file listing to the archiver.
19172: archiver_list_spec=$lt_archiver_list_spec
19173: 
19174: # A symbol stripping program.
19175: STRIP=$lt_STRIP
19176: 
19177: # Commands used to install an old-style archive.
19178: RANLIB=$lt_RANLIB
19179: old_postinstall_cmds=$lt_old_postinstall_cmds
19180: old_postuninstall_cmds=$lt_old_postuninstall_cmds
19181: 
19182: # Whether to use a lock for old archive extraction.
19183: lock_old_archive_extraction=$lock_old_archive_extraction
19184: 
19185: # A C compiler.
19186: LTCC=$lt_CC
19187: 
19188: # LTCC compiler flags.
19189: LTCFLAGS=$lt_CFLAGS
19190: 
19191: # Take the output of nm and produce a listing of raw symbols and C names.
19192: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19193: 
19194: # Transform the output of nm in a proper C declaration.
19195: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19196: 
19197: # Transform the output of nm in a C name address pair.
19198: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19199: 
19200: # Transform the output of nm in a C name address pair when lib prefix is needed.
19201: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19202: 
19203: # Specify filename containing input files for \$NM.
19204: nm_file_list_spec=$lt_nm_file_list_spec
19205: 
19206: # The root where to search for dependent libraries,and in which our libraries should be installed.
19207: lt_sysroot=$lt_sysroot
19208: 
19209: # The name of the directory that contains temporary libtool files.
19210: objdir=$objdir
19211: 
19212: # Used to examine libraries when file_magic_cmd begins with "file".
19213: MAGIC_CMD=$MAGIC_CMD
19214: 
19215: # Must we lock files when doing compilation?
19216: need_locks=$lt_need_locks
19217: 
19218: # Manifest tool.
19219: MANIFEST_TOOL=$lt_MANIFEST_TOOL
19220: 
19221: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19222: DSYMUTIL=$lt_DSYMUTIL
19223: 
19224: # Tool to change global to local symbols on Mac OS X.
19225: NMEDIT=$lt_NMEDIT
19226: 
19227: # Tool to manipulate fat objects and archives on Mac OS X.
19228: LIPO=$lt_LIPO
19229: 
19230: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19231: OTOOL=$lt_OTOOL
19232: 
19233: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19234: OTOOL64=$lt_OTOOL64
19235: 
19236: # Old archive suffix (normally "a").
19237: libext=$libext
19238: 
19239: # Shared library suffix (normally ".so").
19240: shrext_cmds=$lt_shrext_cmds
19241: 
19242: # The commands to extract the exported symbol list from a shared archive.
19243: extract_expsyms_cmds=$lt_extract_expsyms_cmds
19244: 
19245: # Variables whose values should be saved in libtool wrapper scripts and
19246: # restored at link time.
19247: variables_saved_for_relink=$lt_variables_saved_for_relink
19248: 
19249: # Do we need the "lib" prefix for modules?
19250: need_lib_prefix=$need_lib_prefix
19251: 
19252: # Do we need a version for libraries?
19253: need_version=$need_version
19254: 
19255: # Library versioning type.
19256: version_type=$version_type
19257: 
19258: # Shared library runtime path variable.
19259: runpath_var=$runpath_var
19260: 
19261: # Shared library path variable.
19262: shlibpath_var=$shlibpath_var
19263: 
19264: # Is shlibpath searched before the hard-coded library search path?
19265: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19266: 
19267: # Format of library name prefix.
19268: libname_spec=$lt_libname_spec
19269: 
19270: # List of archive names.  First name is the real one, the rest are links.
19271: # The last name is the one that the linker finds with -lNAME
19272: library_names_spec=$lt_library_names_spec
19273: 
19274: # The coded name of the library, if different from the real name.
19275: soname_spec=$lt_soname_spec
19276: 
19277: # Permission mode override for installation of shared libraries.
19278: install_override_mode=$lt_install_override_mode
19279: 
19280: # Command to use after installation of a shared archive.
19281: postinstall_cmds=$lt_postinstall_cmds
19282: 
19283: # Command to use after uninstallation of a shared archive.
19284: postuninstall_cmds=$lt_postuninstall_cmds
19285: 
19286: # Commands used to finish a libtool library installation in a directory.
19287: finish_cmds=$lt_finish_cmds
19288: 
19289: # As "finish_cmds", except a single script fragment to be evaled but
19290: # not shown.
19291: finish_eval=$lt_finish_eval
19292: 
19293: # Whether we should hardcode library paths into libraries.
19294: hardcode_into_libs=$hardcode_into_libs
19295: 
19296: # Compile-time system search path for libraries.
19297: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19298: 
19299: # Run-time system search path for libraries.
19300: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19301: 
19302: # Whether dlopen is supported.
19303: dlopen_support=$enable_dlopen
19304: 
19305: # Whether dlopen of programs is supported.
19306: dlopen_self=$enable_dlopen_self
19307: 
19308: # Whether dlopen of statically linked programs is supported.
19309: dlopen_self_static=$enable_dlopen_self_static
19310: 
19311: # Commands to strip libraries.
19312: old_striplib=$lt_old_striplib
19313: striplib=$lt_striplib
19314: 
19315: 
19316: # The linker used to build libraries.
19317: LD=$lt_LD
19318: 
19319: # How to create reloadable object files.
19320: reload_flag=$lt_reload_flag
19321: reload_cmds=$lt_reload_cmds
19322: 
19323: # Commands used to build an old-style archive.
19324: old_archive_cmds=$lt_old_archive_cmds
19325: 
19326: # A language specific compiler.
19327: CC=$lt_compiler
19328: 
19329: # Is the compiler the GNU compiler?
19330: with_gcc=$GCC
19331: 
19332: # Compiler flag to turn off builtin functions.
19333: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19334: 
19335: # Additional compiler flags for building library objects.
19336: pic_flag=$lt_lt_prog_compiler_pic
19337: 
19338: # How to pass a linker flag through the compiler.
19339: wl=$lt_lt_prog_compiler_wl
19340: 
19341: # Compiler flag to prevent dynamic linking.
19342: link_static_flag=$lt_lt_prog_compiler_static
19343: 
19344: # Does compiler simultaneously support -c and -o options?
19345: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19346: 
19347: # Whether or not to add -lc for building shared libraries.
19348: build_libtool_need_lc=$archive_cmds_need_lc
19349: 
19350: # Whether or not to disallow shared libs when runtime libs are static.
19351: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19352: 
19353: # Compiler flag to allow reflexive dlopens.
19354: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19355: 
19356: # Compiler flag to generate shared objects directly from archives.
19357: whole_archive_flag_spec=$lt_whole_archive_flag_spec
19358: 
19359: # Whether the compiler copes with passing no objects directly.
19360: compiler_needs_object=$lt_compiler_needs_object
19361: 
19362: # Create an old-style archive from a shared archive.
19363: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19364: 
19365: # Create a temporary old-style archive to link instead of a shared archive.
19366: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19367: 
19368: # Commands used to build a shared archive.
19369: archive_cmds=$lt_archive_cmds
19370: archive_expsym_cmds=$lt_archive_expsym_cmds
19371: 
19372: # Commands used to build a loadable module if different from building
19373: # a shared archive.
19374: module_cmds=$lt_module_cmds
19375: module_expsym_cmds=$lt_module_expsym_cmds
19376: 
19377: # Whether we are building with GNU ld or not.
19378: with_gnu_ld=$lt_with_gnu_ld
19379: 
19380: # Flag that allows shared libraries with undefined symbols to be built.
19381: allow_undefined_flag=$lt_allow_undefined_flag
19382: 
19383: # Flag that enforces no undefined symbols.
19384: no_undefined_flag=$lt_no_undefined_flag
19385: 
19386: # Flag to hardcode \$libdir into a binary during linking.
19387: # This must work even if \$libdir does not exist
19388: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19389: 
19390: # If ld is used when linking, flag to hardcode \$libdir into a binary
19391: # during linking.  This must work even if \$libdir does not exist.
19392: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19393: 
19394: # Whether we need a single "-rpath" flag with a separated argument.
19395: hardcode_libdir_separator=$lt_hardcode_libdir_separator
19396: 
19397: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19398: # DIR into the resulting binary.
19399: hardcode_direct=$hardcode_direct
19400: 
19401: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19402: # DIR into the resulting binary and the resulting library dependency is
19403: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19404: # library is relocated.
19405: hardcode_direct_absolute=$hardcode_direct_absolute
19406: 
19407: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19408: # into the resulting binary.
19409: hardcode_minus_L=$hardcode_minus_L
19410: 
19411: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19412: # into the resulting binary.
19413: hardcode_shlibpath_var=$hardcode_shlibpath_var
19414: 
19415: # Set to "yes" if building a shared library automatically hardcodes DIR
19416: # into the library and all subsequent libraries and executables linked
19417: # against it.
19418: hardcode_automatic=$hardcode_automatic
19419: 
19420: # Set to yes if linker adds runtime paths of dependent libraries
19421: # to runtime path list.
19422: inherit_rpath=$inherit_rpath
19423: 
19424: # Whether libtool must link a program against all its dependency libraries.
19425: link_all_deplibs=$link_all_deplibs
19426: 
19427: # Set to "yes" if exported symbols are required.
19428: always_export_symbols=$always_export_symbols
19429: 
19430: # The commands to list exported symbols.
19431: export_symbols_cmds=$lt_export_symbols_cmds
19432: 
19433: # Symbols that should not be listed in the preloaded symbols.
19434: exclude_expsyms=$lt_exclude_expsyms
19435: 
19436: # Symbols that must always be exported.
19437: include_expsyms=$lt_include_expsyms
19438: 
19439: # Commands necessary for linking programs (against libraries) with templates.
19440: prelink_cmds=$lt_prelink_cmds
19441: 
19442: # Commands necessary for finishing linking programs.
19443: postlink_cmds=$lt_postlink_cmds
19444: 
19445: # Specify filename containing input files.
19446: file_list_spec=$lt_file_list_spec
19447: 
19448: # How to hardcode a shared library path into an executable.
19449: hardcode_action=$hardcode_action
19450: 
19451: # The directories searched by this compiler when creating a shared library.
19452: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19453: 
19454: # Dependencies to place before and after the objects being linked to
19455: # create a shared library.
19456: predep_objects=$lt_predep_objects
19457: postdep_objects=$lt_postdep_objects
19458: predeps=$lt_predeps
19459: postdeps=$lt_postdeps
19460: 
19461: # The library search path used internally by the compiler when linking
19462: # a shared library.
19463: compiler_lib_search_path=$lt_compiler_lib_search_path
19464: 
19465: # ### END LIBTOOL CONFIG
19466: 
19467: _LT_EOF
19468: 
19469:   case $host_os in
19470:   aix3*)
19471:     cat <<\_LT_EOF >> "$cfgfile"
19472: # AIX sometimes has problems with the GCC collect2 program.  For some
19473: # reason, if we set the COLLECT_NAMES environment variable, the problems
19474: # vanish in a puff of smoke.
19475: if test "X${COLLECT_NAMES+set}" != Xset; then
19476:   COLLECT_NAMES=
19477:   export COLLECT_NAMES
19478: fi
19479: _LT_EOF
19480:     ;;
19481:   esac
19482: 
19483: 
19484: ltmain="$ac_aux_dir/ltmain.sh"
19485: 
19486: 
19487:   # We use sed instead of cat because bash on DJGPP gets confused if
19488:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19489:   # text mode, it properly converts lines to CR/LF.  This bash problem
19490:   # is reportedly fixed, but why not run on old versions too?
19491:   sed '$q' "$ltmain" >> "$cfgfile" \
19492:      || (rm -f "$cfgfile"; exit 1)
19493: 
19494:   if test x"$xsi_shell" = xyes; then
19495:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19496: func_dirname ()\
19497: {\
19498: \    case ${1} in\
19499: \      */*) func_dirname_result="${1%/*}${2}" ;;\
19500: \      *  ) func_dirname_result="${3}" ;;\
19501: \    esac\
19502: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19503:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19504:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19505: test 0 -eq $? || _lt_function_replace_fail=:
19506: 
19507: 
19508:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19509: func_basename ()\
19510: {\
19511: \    func_basename_result="${1##*/}"\
19512: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19513:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19514:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19515: test 0 -eq $? || _lt_function_replace_fail=:
19516: 
19517: 
19518:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19519: func_dirname_and_basename ()\
19520: {\
19521: \    case ${1} in\
19522: \      */*) func_dirname_result="${1%/*}${2}" ;;\
19523: \      *  ) func_dirname_result="${3}" ;;\
19524: \    esac\
19525: \    func_basename_result="${1##*/}"\
19526: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19527:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19528:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19529: test 0 -eq $? || _lt_function_replace_fail=:
19530: 
19531: 
19532:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19533: func_stripname ()\
19534: {\
19535: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19536: \    # positional parameters, so assign one to ordinary parameter first.\
19537: \    func_stripname_result=${3}\
19538: \    func_stripname_result=${func_stripname_result#"${1}"}\
19539: \    func_stripname_result=${func_stripname_result%"${2}"}\
19540: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19541:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19542:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19543: test 0 -eq $? || _lt_function_replace_fail=:
19544: 
19545: 
19546:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19547: func_split_long_opt ()\
19548: {\
19549: \    func_split_long_opt_name=${1%%=*}\
19550: \    func_split_long_opt_arg=${1#*=}\
19551: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19552:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19553:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19554: test 0 -eq $? || _lt_function_replace_fail=:
19555: 
19556: 
19557:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19558: func_split_short_opt ()\
19559: {\
19560: \    func_split_short_opt_arg=${1#??}\
19561: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19562: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19563:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19564:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19565: test 0 -eq $? || _lt_function_replace_fail=:
19566: 
19567: 
19568:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19569: func_lo2o ()\
19570: {\
19571: \    case ${1} in\
19572: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19573: \      *)    func_lo2o_result=${1} ;;\
19574: \    esac\
19575: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19576:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19577:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19578: test 0 -eq $? || _lt_function_replace_fail=:
19579: 
19580: 
19581:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19582: func_xform ()\
19583: {\
19584:     func_xform_result=${1%.*}.lo\
19585: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19586:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19587:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19588: test 0 -eq $? || _lt_function_replace_fail=:
19589: 
19590: 
19591:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19592: func_arith ()\
19593: {\
19594:     func_arith_result=$(( $* ))\
19595: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19596:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19597:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19598: test 0 -eq $? || _lt_function_replace_fail=:
19599: 
19600: 
19601:   sed -e '/^func_len ()$/,/^} # func_len /c\
19602: func_len ()\
19603: {\
19604:     func_len_result=${#1}\
19605: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19606:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19607:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19608: test 0 -eq $? || _lt_function_replace_fail=:
19609: 
19610: fi
19611: 
19612: if test x"$lt_shell_append" = xyes; then
19613:   sed -e '/^func_append ()$/,/^} # func_append /c\
19614: func_append ()\
19615: {\
19616:     eval "${1}+=\\${2}"\
19617: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19618:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19619:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19620: test 0 -eq $? || _lt_function_replace_fail=:
19621: 
19622: 
19623:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19624: func_append_quoted ()\
19625: {\
19626: \    func_quote_for_eval "${2}"\
19627: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19628: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19629:   && mv -f "$cfgfile.tmp" "$cfgfile" \
19630:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19631: test 0 -eq $? || _lt_function_replace_fail=:
19632: 
19633: 
19634:   # Save a `func_append' function call where possible by direct use of '+='
19635:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19636:     && mv -f "$cfgfile.tmp" "$cfgfile" \
19637:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19638:   test 0 -eq $? || _lt_function_replace_fail=:
19639: else
19640:   # Save a `func_append' function call even when '+=' is not available
19641:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19642:     && mv -f "$cfgfile.tmp" "$cfgfile" \
19643:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19644:   test 0 -eq $? || _lt_function_replace_fail=:
19645: fi
19646: 
19647: if test x"$_lt_function_replace_fail" = x":"; then
19648:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19649: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19650: fi
19651: 
19652: 
19653:    mv -f "$cfgfile" "$ofile" ||
19654:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19655:   chmod +x "$ofile"
19656: 
19657: 
19658:     cat <<_LT_EOF >> "$ofile"
19659: 
19660: # ### BEGIN LIBTOOL TAG CONFIG: CXX
19661: 
19662: # The linker used to build libraries.
19663: LD=$lt_LD_CXX
19664: 
19665: # How to create reloadable object files.
19666: reload_flag=$lt_reload_flag_CXX
19667: reload_cmds=$lt_reload_cmds_CXX
19668: 
19669: # Commands used to build an old-style archive.
19670: old_archive_cmds=$lt_old_archive_cmds_CXX
19671: 
19672: # A language specific compiler.
19673: CC=$lt_compiler_CXX
19674: 
19675: # Is the compiler the GNU compiler?
19676: with_gcc=$GCC_CXX
19677: 
19678: # Compiler flag to turn off builtin functions.
19679: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19680: 
19681: # Additional compiler flags for building library objects.
19682: pic_flag=$lt_lt_prog_compiler_pic_CXX
19683: 
19684: # How to pass a linker flag through the compiler.
19685: wl=$lt_lt_prog_compiler_wl_CXX
19686: 
19687: # Compiler flag to prevent dynamic linking.
19688: link_static_flag=$lt_lt_prog_compiler_static_CXX
19689: 
19690: # Does compiler simultaneously support -c and -o options?
19691: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19692: 
19693: # Whether or not to add -lc for building shared libraries.
19694: build_libtool_need_lc=$archive_cmds_need_lc_CXX
19695: 
19696: # Whether or not to disallow shared libs when runtime libs are static.
19697: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19698: 
19699: # Compiler flag to allow reflexive dlopens.
19700: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19701: 
19702: # Compiler flag to generate shared objects directly from archives.
19703: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19704: 
19705: # Whether the compiler copes with passing no objects directly.
19706: compiler_needs_object=$lt_compiler_needs_object_CXX
19707: 
19708: # Create an old-style archive from a shared archive.
19709: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19710: 
19711: # Create a temporary old-style archive to link instead of a shared archive.
19712: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19713: 
19714: # Commands used to build a shared archive.
19715: archive_cmds=$lt_archive_cmds_CXX
19716: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19717: 
19718: # Commands used to build a loadable module if different from building
19719: # a shared archive.
19720: module_cmds=$lt_module_cmds_CXX
19721: module_expsym_cmds=$lt_module_expsym_cmds_CXX
19722: 
19723: # Whether we are building with GNU ld or not.
19724: with_gnu_ld=$lt_with_gnu_ld_CXX
19725: 
19726: # Flag that allows shared libraries with undefined symbols to be built.
19727: allow_undefined_flag=$lt_allow_undefined_flag_CXX
19728: 
19729: # Flag that enforces no undefined symbols.
19730: no_undefined_flag=$lt_no_undefined_flag_CXX
19731: 
19732: # Flag to hardcode \$libdir into a binary during linking.
19733: # This must work even if \$libdir does not exist
19734: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19735: 
19736: # If ld is used when linking, flag to hardcode \$libdir into a binary
19737: # during linking.  This must work even if \$libdir does not exist.
19738: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19739: 
19740: # Whether we need a single "-rpath" flag with a separated argument.
19741: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19742: 
19743: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19744: # DIR into the resulting binary.
19745: hardcode_direct=$hardcode_direct_CXX
19746: 
19747: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19748: # DIR into the resulting binary and the resulting library dependency is
19749: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19750: # library is relocated.
19751: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19752: 
19753: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19754: # into the resulting binary.
19755: hardcode_minus_L=$hardcode_minus_L_CXX
19756: 
19757: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19758: # into the resulting binary.
19759: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19760: 
19761: # Set to "yes" if building a shared library automatically hardcodes DIR
19762: # into the library and all subsequent libraries and executables linked
19763: # against it.
19764: hardcode_automatic=$hardcode_automatic_CXX
19765: 
19766: # Set to yes if linker adds runtime paths of dependent libraries
19767: # to runtime path list.
19768: inherit_rpath=$inherit_rpath_CXX
19769: 
19770: # Whether libtool must link a program against all its dependency libraries.
19771: link_all_deplibs=$link_all_deplibs_CXX
19772: 
19773: # Set to "yes" if exported symbols are required.
19774: always_export_symbols=$always_export_symbols_CXX
19775: 
19776: # The commands to list exported symbols.
19777: export_symbols_cmds=$lt_export_symbols_cmds_CXX
19778: 
19779: # Symbols that should not be listed in the preloaded symbols.
19780: exclude_expsyms=$lt_exclude_expsyms_CXX
19781: 
19782: # Symbols that must always be exported.
19783: include_expsyms=$lt_include_expsyms_CXX
19784: 
19785: # Commands necessary for linking programs (against libraries) with templates.
19786: prelink_cmds=$lt_prelink_cmds_CXX
19787: 
19788: # Commands necessary for finishing linking programs.
19789: postlink_cmds=$lt_postlink_cmds_CXX
19790: 
19791: # Specify filename containing input files.
19792: file_list_spec=$lt_file_list_spec_CXX
19793: 
19794: # How to hardcode a shared library path into an executable.
19795: hardcode_action=$hardcode_action_CXX
19796: 
19797: # The directories searched by this compiler when creating a shared library.
19798: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19799: 
19800: # Dependencies to place before and after the objects being linked to
19801: # create a shared library.
19802: predep_objects=$lt_predep_objects_CXX
19803: postdep_objects=$lt_postdep_objects_CXX
19804: predeps=$lt_predeps_CXX
19805: postdeps=$lt_postdeps_CXX
19806: 
19807: # The library search path used internally by the compiler when linking
19808: # a shared library.
19809: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19810: 
19811: # ### END LIBTOOL TAG CONFIG: CXX
19812: _LT_EOF
19813: 
19814:  ;;
19815:     "script-chmod":C) chmod a+x pcre-config ;;
19816:     "delete-old-chartables":C) rm -f pcre_chartables.c ;;
19817: 
19818:   esac
19819: done # for ac_tag
19820: 
19821: 
19822: as_fn_exit 0
19823: _ACEOF
19824: ac_clean_files=$ac_clean_files_save
19825: 
19826: test $ac_write_fail = 0 ||
19827:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19828: 
19829: 
19830: # configure is writing to config.log, and then calls config.status.
19831: # config.status does its own redirection, appending to config.log.
19832: # Unfortunately, on DOS this fails, as config.log is still kept open
19833: # by configure, so config.status won't be able to write to it; its
19834: # output is simply discarded.  So we exec the FD to /dev/null,
19835: # effectively closing config.log, so it can be properly (re)opened and
19836: # appended to by config.status.  When coming back to configure, we
19837: # need to make the FD available again.
19838: if test "$no_create" != yes; then
19839:   ac_cs_success=:
19840:   ac_config_status_args=
19841:   test "$silent" = yes &&
19842:     ac_config_status_args="$ac_config_status_args --quiet"
19843:   exec 5>/dev/null
19844:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19845:   exec 5>>config.log
19846:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19847:   # would make configure fail if this is the last instruction.
19848:   $ac_cs_success || as_fn_exit 1
19849: fi
19850: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19851:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19852: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19853: fi
19854: 
19855: 
19856: # Print out a nice little message after configure is run displaying your
19857: # chosen options.
19858: 
19859: cat <<EOF
19860: 
19861: $PACKAGE-$VERSION configuration summary:
19862: 
19863:     Install prefix .................. : ${prefix}
19864:     C preprocessor .................. : ${CPP}
19865:     C compiler ...................... : ${CC}
19866:     C++ preprocessor ................ : ${CXXCPP}
19867:     C++ compiler .................... : ${CXX}
19868:     Linker .......................... : ${LD}
19869:     C preprocessor flags ............ : ${CPPFLAGS}
19870:     C compiler flags ................ : ${CFLAGS}
19871:     C++ compiler flags .............. : ${CXXFLAGS}
19872:     Linker flags .................... : ${LDFLAGS}
19873:     Extra libraries ................. : ${LIBS}
19874: 
19875:     Build 8 bit pcre library ........ : ${enable_pcre8}
19876:     Build 16 bit pcre library ....... : ${enable_pcre16}
19877:     Build C++ library ............... : ${enable_cpp}
19878:     Enable JIT compiling support .... : ${enable_jit}
19879:     Enable UTF-8/16 support ......... : ${enable_utf}
19880:     Unicode properties .............. : ${enable_unicode_properties}
19881:     Newline char/sequence ........... : ${enable_newline}
19882:     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
19883:     EBCDIC coding ................... : ${enable_ebcdic}
19884:     Rebuild char tables ............. : ${enable_rebuild_chartables}
19885:     Use stack recursion ............. : ${enable_stack_for_recursion}
19886:     POSIX mem threshold ............. : ${with_posix_malloc_threshold}
19887:     Internal link size .............. : ${with_link_size}
19888:     Match limit ..................... : ${with_match_limit}
19889:     Match limit recursion ........... : ${with_match_limit_recursion}
19890:     Build shared libs ............... : ${enable_shared}
19891:     Build static libs ............... : ${enable_static}
19892:     Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
19893:     Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
19894:     Link pcregrep with libz ......... : ${enable_pcregrep_libz}
19895:     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
19896:     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
19897: 
19898: EOF
19899: 

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