File:  [ELWIX - Embedded LightWeight unIX -] / gpl / axl / configure
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Fri Feb 17 12:50:02 2012 UTC (12 years, 8 months ago) by misho
Branches: axl, MAIN
CVS tags: HEAD, AXL0_6_7
version 0.6.7

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.67.
    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: case $0 in #((
   93:   *[\\/]* ) as_myself=$0 ;;
   94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   95: for as_dir in $PATH
   96: do
   97:   IFS=$as_save_IFS
   98:   test -z "$as_dir" && as_dir=.
   99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100:   done
  101: IFS=$as_save_IFS
  102: 
  103:      ;;
  104: esac
  105: # We did not find ourselves, most probably we were run as `sh COMMAND'
  106: # in which case we are not to be found in the path.
  107: if test "x$as_myself" = x; then
  108:   as_myself=$0
  109: fi
  110: if test ! -f "$as_myself"; then
  111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  112:   exit 1
  113: fi
  114: 
  115: # Unset variables that we do not need and which cause bugs (e.g. in
  116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  117: # suppresses any "Segmentation fault" message there.  '((' could
  118: # trigger a bug in pdksh 5.2.14.
  119: for as_var in BASH_ENV ENV MAIL MAILPATH
  120: do eval test x\${$as_var+set} = xset \
  121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  122: done
  123: PS1='$ '
  124: PS2='> '
  125: PS4='+ '
  126: 
  127: # NLS nuisances.
  128: LC_ALL=C
  129: export LC_ALL
  130: LANGUAGE=C
  131: export LANGUAGE
  132: 
  133: # CDPATH.
  134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  135: 
  136: if test "x$CONFIG_SHELL" = x; then
  137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  138:   emulate sh
  139:   NULLCMD=:
  140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  141:   # is contrary to our usage.  Disable this feature.
  142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  143:   setopt NO_GLOB_SUBST
  144: else
  145:   case \`(set -o) 2>/dev/null\` in #(
  146:   *posix*) :
  147:     set -o posix ;; #(
  148:   *) :
  149:      ;;
  150: esac
  151: fi
  152: "
  153:   as_required="as_fn_return () { (exit \$1); }
  154: as_fn_success () { as_fn_return 0; }
  155: as_fn_failure () { as_fn_return 1; }
  156: as_fn_ret_success () { return 0; }
  157: as_fn_ret_failure () { return 1; }
  158: 
  159: exitcode=0
  160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  165: 
  166: else
  167:   exitcode=1; echo positional parameters were not saved.
  168: fi
  169: test x\$exitcode = x0 || exit 1"
  170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  174: test \$(( 1 + 1 )) = 2 || exit 1"
  175:   if (eval "$as_required") 2>/dev/null; then :
  176:   as_have_required=yes
  177: else
  178:   as_have_required=no
  179: fi
  180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  181: 
  182: else
  183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  184: as_found=false
  185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  186: do
  187:   IFS=$as_save_IFS
  188:   test -z "$as_dir" && as_dir=.
  189:   as_found=:
  190:   case $as_dir in #(
  191: 	 /*)
  192: 	   for as_base in sh bash ksh sh5; do
  193: 	     # Try only shells that exist, to save several forks.
  194: 	     as_shell=$as_dir/$as_base
  195: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  197:   CONFIG_SHELL=$as_shell as_have_required=yes
  198: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199:   break 2
  200: fi
  201: fi
  202: 	   done;;
  203:        esac
  204:   as_found=false
  205: done
  206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  207: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  208:   CONFIG_SHELL=$SHELL as_have_required=yes
  209: fi; }
  210: IFS=$as_save_IFS
  211: 
  212: 
  213:       if test "x$CONFIG_SHELL" != x; then :
  214:   # We cannot yet assume a decent shell, so we have to provide a
  215: 	# neutralization value for shells without unset; and this also
  216: 	# works around shells that cannot unset nonexistent variables.
  217: 	BASH_ENV=/dev/null
  218: 	ENV=/dev/null
  219: 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  220: 	export CONFIG_SHELL
  221: 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  222: fi
  223: 
  224:     if test x$as_have_required = xno; then :
  225:   $as_echo "$0: This script requires a shell more modern than all"
  226:   $as_echo "$0: the shells that I found on your system."
  227:   if test x${ZSH_VERSION+set} = xset ; then
  228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  230:   else
  231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  232: $0: including any error possibly output before this
  233: $0: message. Then install a modern shell, or manually run
  234: $0: the script under such a shell if you do have one."
  235:   fi
  236:   exit 1
  237: fi
  238: fi
  239: fi
  240: SHELL=${CONFIG_SHELL-/bin/sh}
  241: export SHELL
  242: # Unset more variables known to interfere with behavior of common tools.
  243: CLICOLOR_FORCE= GREP_OPTIONS=
  244: unset CLICOLOR_FORCE GREP_OPTIONS
  245: 
  246: ## --------------------- ##
  247: ## M4sh Shell Functions. ##
  248: ## --------------------- ##
  249: # as_fn_unset VAR
  250: # ---------------
  251: # Portably unset VAR.
  252: as_fn_unset ()
  253: {
  254:   { eval $1=; unset $1;}
  255: }
  256: as_unset=as_fn_unset
  257: 
  258: # as_fn_set_status STATUS
  259: # -----------------------
  260: # Set $? to STATUS, without forking.
  261: as_fn_set_status ()
  262: {
  263:   return $1
  264: } # as_fn_set_status
  265: 
  266: # as_fn_exit STATUS
  267: # -----------------
  268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  269: as_fn_exit ()
  270: {
  271:   set +e
  272:   as_fn_set_status $1
  273:   exit $1
  274: } # as_fn_exit
  275: 
  276: # as_fn_mkdir_p
  277: # -------------
  278: # Create "$as_dir" as a directory, including parents if necessary.
  279: as_fn_mkdir_p ()
  280: {
  281: 
  282:   case $as_dir in #(
  283:   -*) as_dir=./$as_dir;;
  284:   esac
  285:   test -d "$as_dir" || eval $as_mkdir_p || {
  286:     as_dirs=
  287:     while :; do
  288:       case $as_dir in #(
  289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  290:       *) as_qdir=$as_dir;;
  291:       esac
  292:       as_dirs="'$as_qdir' $as_dirs"
  293:       as_dir=`$as_dirname -- "$as_dir" ||
  294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  295: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  296: 	 X"$as_dir" : 'X\(//\)$' \| \
  297: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  298: $as_echo X"$as_dir" |
  299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  300: 	    s//\1/
  301: 	    q
  302: 	  }
  303: 	  /^X\(\/\/\)[^/].*/{
  304: 	    s//\1/
  305: 	    q
  306: 	  }
  307: 	  /^X\(\/\/\)$/{
  308: 	    s//\1/
  309: 	    q
  310: 	  }
  311: 	  /^X\(\/\).*/{
  312: 	    s//\1/
  313: 	    q
  314: 	  }
  315: 	  s/.*/./; q'`
  316:       test -d "$as_dir" && break
  317:     done
  318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  319:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  320: 
  321: 
  322: } # as_fn_mkdir_p
  323: # as_fn_append VAR VALUE
  324: # ----------------------
  325: # Append the text in VALUE to the end of the definition contained in VAR. Take
  326: # advantage of any shell optimizations that allow amortized linear growth over
  327: # repeated appends, instead of the typical quadratic growth present in naive
  328: # implementations.
  329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  330:   eval 'as_fn_append ()
  331:   {
  332:     eval $1+=\$2
  333:   }'
  334: else
  335:   as_fn_append ()
  336:   {
  337:     eval $1=\$$1\$2
  338:   }
  339: fi # as_fn_append
  340: 
  341: # as_fn_arith ARG...
  342: # ------------------
  343: # Perform arithmetic evaluation on the ARGs, and store the result in the
  344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  345: # must be portable across $(()) and expr.
  346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  347:   eval 'as_fn_arith ()
  348:   {
  349:     as_val=$(( $* ))
  350:   }'
  351: else
  352:   as_fn_arith ()
  353:   {
  354:     as_val=`expr "$@" || test $? -eq 1`
  355:   }
  356: fi # as_fn_arith
  357: 
  358: 
  359: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  360: # ----------------------------------------
  361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  363: # script with STATUS, using 1 if that was 0.
  364: as_fn_error ()
  365: {
  366:   as_status=$1; test $as_status -eq 0 && as_status=1
  367:   if test "$4"; then
  368:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  370:   fi
  371:   $as_echo "$as_me: error: $2" >&2
  372:   as_fn_exit $as_status
  373: } # as_fn_error
  374: 
  375: if expr a : '\(a\)' >/dev/null 2>&1 &&
  376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  377:   as_expr=expr
  378: else
  379:   as_expr=false
  380: fi
  381: 
  382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  383:   as_basename=basename
  384: else
  385:   as_basename=false
  386: fi
  387: 
  388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  389:   as_dirname=dirname
  390: else
  391:   as_dirname=false
  392: fi
  393: 
  394: as_me=`$as_basename -- "$0" ||
  395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  396: 	 X"$0" : 'X\(//\)$' \| \
  397: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  398: $as_echo X/"$0" |
  399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  400: 	    s//\1/
  401: 	    q
  402: 	  }
  403: 	  /^X\/\(\/\/\)$/{
  404: 	    s//\1/
  405: 	    q
  406: 	  }
  407: 	  /^X\/\(\/\).*/{
  408: 	    s//\1/
  409: 	    q
  410: 	  }
  411: 	  s/.*/./; q'`
  412: 
  413: # Avoid depending upon Character Ranges.
  414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  417: as_cr_digits='0123456789'
  418: as_cr_alnum=$as_cr_Letters$as_cr_digits
  419: 
  420: 
  421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  426:   sed -n '
  427:     p
  428:     /[$]LINENO/=
  429:   ' <$as_myself |
  430:     sed '
  431:       s/[$]LINENO.*/&-/
  432:       t lineno
  433:       b
  434:       :lineno
  435:       N
  436:       :loop
  437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  438:       t loop
  439:       s/-\n.*//
  440:     ' >$as_me.lineno &&
  441:   chmod +x "$as_me.lineno" ||
  442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  443: 
  444:   # Don't try to exec as it changes $[0], causing all sort of problems
  445:   # (the dirname of $[0] is not the place where we might find the
  446:   # original and so on.  Autoconf is especially sensitive to this).
  447:   . "./$as_me.lineno"
  448:   # Exit status is that of the last command.
  449:   exit
  450: }
  451: 
  452: ECHO_C= ECHO_N= ECHO_T=
  453: case `echo -n x` in #(((((
  454: -n*)
  455:   case `echo 'xy\c'` in
  456:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  457:   xy)  ECHO_C='\c';;
  458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  459:        ECHO_T='	';;
  460:   esac;;
  461: *)
  462:   ECHO_N='-n';;
  463: esac
  464: 
  465: rm -f conf$$ conf$$.exe conf$$.file
  466: if test -d conf$$.dir; then
  467:   rm -f conf$$.dir/conf$$.file
  468: else
  469:   rm -f conf$$.dir
  470:   mkdir conf$$.dir 2>/dev/null
  471: fi
  472: if (echo >conf$$.file) 2>/dev/null; then
  473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  474:     as_ln_s='ln -s'
  475:     # ... but there are two gotchas:
  476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  478:     # In both cases, we have to default to `cp -p'.
  479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  480:       as_ln_s='cp -p'
  481:   elif ln conf$$.file conf$$ 2>/dev/null; then
  482:     as_ln_s=ln
  483:   else
  484:     as_ln_s='cp -p'
  485:   fi
  486: else
  487:   as_ln_s='cp -p'
  488: fi
  489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  490: rmdir conf$$.dir 2>/dev/null
  491: 
  492: if mkdir -p . 2>/dev/null; then
  493:   as_mkdir_p='mkdir -p "$as_dir"'
  494: else
  495:   test -d ./-p && rmdir ./-p
  496:   as_mkdir_p=false
  497: fi
  498: 
  499: if test -x / >/dev/null 2>&1; then
  500:   as_test_x='test -x'
  501: else
  502:   if ls -dL / >/dev/null 2>&1; then
  503:     as_ls_L_option=L
  504:   else
  505:     as_ls_L_option=
  506:   fi
  507:   as_test_x='
  508:     eval sh -c '\''
  509:       if test -d "$1"; then
  510: 	test -d "$1/.";
  511:       else
  512: 	case $1 in #(
  513: 	-*)set "./$1";;
  514: 	esac;
  515: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  516: 	???[sx]*):;;*)false;;esac;fi
  517:     '\'' sh
  518:   '
  519: fi
  520: as_executable_p=$as_test_x
  521: 
  522: # Sed expression to map a string onto a valid CPP name.
  523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  524: 
  525: # Sed expression to map a string onto a valid variable name.
  526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527: 
  528: 
  529: 
  530: # Check that we are running under the correct shell.
  531: SHELL=${CONFIG_SHELL-/bin/sh}
  532: 
  533: case X$lt_ECHO in
  534: X*--fallback-echo)
  535:   # Remove one level of quotation (which was required for Make).
  536:   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  537:   ;;
  538: esac
  539: 
  540: ECHO=${lt_ECHO-echo}
  541: if test "X$1" = X--no-reexec; then
  542:   # Discard the --no-reexec flag, and continue.
  543:   shift
  544: elif test "X$1" = X--fallback-echo; then
  545:   # Avoid inline document here, it may be left over
  546:   :
  547: elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  548:   # Yippee, $ECHO works!
  549:   :
  550: else
  551:   # Restart under the correct shell.
  552:   exec $SHELL "$0" --no-reexec ${1+"$@"}
  553: fi
  554: 
  555: if test "X$1" = X--fallback-echo; then
  556:   # used as fallback echo
  557:   shift
  558:   cat <<_LT_EOF
  559: $*
  560: _LT_EOF
  561:   exit 0
  562: fi
  563: 
  564: # The HP-UX ksh and POSIX shell print the target directory to stdout
  565: # if CDPATH is set.
  566: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  567: 
  568: if test -z "$lt_ECHO"; then
  569:   if test "X${echo_test_string+set}" != Xset; then
  570:     # find a string as large as possible, as long as the shell can cope with it
  571:     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  572:       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  573:       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  574: 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  575:       then
  576:         break
  577:       fi
  578:     done
  579:   fi
  580: 
  581:   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  582:      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  583:      test "X$echo_testing_string" = "X$echo_test_string"; then
  584:     :
  585:   else
  586:     # The Solaris, AIX, and Digital Unix default echo programs unquote
  587:     # backslashes.  This makes it impossible to quote backslashes using
  588:     #   echo "$something" | sed 's/\\/\\\\/g'
  589:     #
  590:     # So, first we look for a working echo in the user's PATH.
  591: 
  592:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  593:     for dir in $PATH /usr/ucb; do
  594:       IFS="$lt_save_ifs"
  595:       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  596:          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  597:          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  598:          test "X$echo_testing_string" = "X$echo_test_string"; then
  599:         ECHO="$dir/echo"
  600:         break
  601:       fi
  602:     done
  603:     IFS="$lt_save_ifs"
  604: 
  605:     if test "X$ECHO" = Xecho; then
  606:       # We didn't find a better echo, so look for alternatives.
  607:       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  608:          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  609:          test "X$echo_testing_string" = "X$echo_test_string"; then
  610:         # This shell has a builtin print -r that does the trick.
  611:         ECHO='print -r'
  612:       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  613: 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  614:         # If we have ksh, try running configure again with it.
  615:         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  616:         export ORIGINAL_CONFIG_SHELL
  617:         CONFIG_SHELL=/bin/ksh
  618:         export CONFIG_SHELL
  619:         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  620:       else
  621:         # Try using printf.
  622:         ECHO='printf %s\n'
  623:         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  624: 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  625: 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  626: 	  # Cool, printf works
  627: 	  :
  628:         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  629: 	     test "X$echo_testing_string" = 'X\t' &&
  630: 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  631: 	     test "X$echo_testing_string" = "X$echo_test_string"; then
  632: 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  633: 	  export CONFIG_SHELL
  634: 	  SHELL="$CONFIG_SHELL"
  635: 	  export SHELL
  636: 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  637:         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  638: 	     test "X$echo_testing_string" = 'X\t' &&
  639: 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  640: 	     test "X$echo_testing_string" = "X$echo_test_string"; then
  641: 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  642:         else
  643: 	  # maybe with a smaller string...
  644: 	  prev=:
  645: 
  646: 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  647: 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  648: 	    then
  649: 	      break
  650: 	    fi
  651: 	    prev="$cmd"
  652: 	  done
  653: 
  654: 	  if test "$prev" != 'sed 50q "$0"'; then
  655: 	    echo_test_string=`eval $prev`
  656: 	    export echo_test_string
  657: 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  658: 	  else
  659: 	    # Oops.  We lost completely, so just stick with echo.
  660: 	    ECHO=echo
  661: 	  fi
  662:         fi
  663:       fi
  664:     fi
  665:   fi
  666: fi
  667: 
  668: # Copy echo and quote the copy suitably for passing to libtool from
  669: # the Makefile, instead of quoting the original, which is used later.
  670: lt_ECHO=$ECHO
  671: if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  672:    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  673: fi
  674: 
  675: 
  676: 
  677: 
  678: test -n "$DJDIR" || exec 7<&0 </dev/null
  679: exec 6>&1
  680: 
  681: # Name of the host.
  682: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  683: # so uname gets run too.
  684: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  685: 
  686: #
  687: # Initializations.
  688: #
  689: ac_default_prefix=/usr/local
  690: ac_clean_files=
  691: ac_config_libobj_dir=.
  692: LIBOBJS=
  693: cross_compiling=no
  694: subdirs=
  695: MFLAGS=
  696: MAKEFLAGS=
  697: 
  698: # Identity of this package.
  699: PACKAGE_NAME=
  700: PACKAGE_TARNAME=
  701: PACKAGE_VERSION=
  702: PACKAGE_STRING=
  703: PACKAGE_BUGREPORT=
  704: PACKAGE_URL=
  705: 
  706: ac_unique_file="src/axl.h"
  707: # Factoring default headers for most tests.
  708: ac_includes_default="\
  709: #include <stdio.h>
  710: #ifdef HAVE_SYS_TYPES_H
  711: # include <sys/types.h>
  712: #endif
  713: #ifdef HAVE_SYS_STAT_H
  714: # include <sys/stat.h>
  715: #endif
  716: #ifdef STDC_HEADERS
  717: # include <stdlib.h>
  718: # include <stddef.h>
  719: #else
  720: # ifdef HAVE_STDLIB_H
  721: #  include <stdlib.h>
  722: # endif
  723: #endif
  724: #ifdef HAVE_STRING_H
  725: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  726: #  include <memory.h>
  727: # endif
  728: # include <string.h>
  729: #endif
  730: #ifdef HAVE_STRINGS_H
  731: # include <strings.h>
  732: #endif
  733: #ifdef HAVE_INTTYPES_H
  734: # include <inttypes.h>
  735: #endif
  736: #ifdef HAVE_STDINT_H
  737: # include <stdint.h>
  738: #endif
  739: #ifdef HAVE_UNISTD_H
  740: # include <unistd.h>
  741: #endif"
  742: 
  743: ac_subst_vars='am__EXEEXT_FALSE
  744: am__EXEEXT_TRUE
  745: LTLIBOBJS
  746: LIBOBJS
  747: SHARED_EXTENSION
  748: EXARG_FLAGS
  749: ENABLE_AXL_BABEL_FALSE
  750: ENABLE_AXL_BABEL_TRUE
  751: ENABLE_AXL_KNIFE_FALSE
  752: ENABLE_AXL_KNIFE_TRUE
  753: ENABLE_AXL_LOG_FALSE
  754: ENABLE_AXL_LOG_TRUE
  755: ENABLE_AXL_NS_FALSE
  756: ENABLE_AXL_NS_TRUE
  757: ENABLE_AXL_TESTS_FALSE
  758: ENABLE_AXL_TESTS_TRUE
  759: ENABLE_AF_ARCH_DOC_FALSE
  760: ENABLE_AF_ARCH_DOC_TRUE
  761: DOXYGEN
  762: PKG_CONFIG
  763: compiler_options
  764: ENABLE_PY_AXL_FALSE
  765: ENABLE_PY_AXL_TRUE
  766: PYTHON_LIBS
  767: PYTHON_CFLAGS
  768: PYTHON_INCLUDES
  769: pkgpyexecdir
  770: pyexecdir
  771: pkgpythondir
  772: pythondir
  773: PYTHON_PLATFORM
  774: PYTHON_EXEC_PREFIX
  775: PYTHON_PREFIX
  776: PYTHON_VERSION
  777: PYTHON
  778: ENABLE_PY_AXL_SUPPORT_FALSE
  779: ENABLE_PY_AXL_SUPPORT_TRUE
  780: OTOOL64
  781: OTOOL
  782: LIPO
  783: NMEDIT
  784: DSYMUTIL
  785: lt_ECHO
  786: RANLIB
  787: AR
  788: OBJDUMP
  789: LN_S
  790: NM
  791: ac_ct_DUMPBIN
  792: DUMPBIN
  793: LD
  794: FGREP
  795: SED
  796: host_os
  797: host_vendor
  798: host_cpu
  799: host
  800: build_os
  801: build_vendor
  802: build_cpu
  803: build
  804: LIBTOOL
  805: EGREP
  806: GREP
  807: CPP
  808: am__fastdepCC_FALSE
  809: am__fastdepCC_TRUE
  810: CCDEPMODE
  811: AMDEPBACKSLASH
  812: AMDEP_FALSE
  813: AMDEP_TRUE
  814: am__quote
  815: am__include
  816: DEPDIR
  817: OBJEXT
  818: EXEEXT
  819: ac_ct_CC
  820: CPPFLAGS
  821: LDFLAGS
  822: CFLAGS
  823: CC
  824: MAINT
  825: MAINTAINER_MODE_FALSE
  826: MAINTAINER_MODE_TRUE
  827: am__untar
  828: am__tar
  829: AMTAR
  830: am__leading_dot
  831: SET_MAKE
  832: AWK
  833: mkdir_p
  834: MKDIR_P
  835: INSTALL_STRIP_PROGRAM
  836: STRIP
  837: install_sh
  838: MAKEINFO
  839: AUTOHEADER
  840: AUTOMAKE
  841: AUTOCONF
  842: ACLOCAL
  843: VERSION
  844: PACKAGE
  845: CYGPATH_W
  846: am__isrc
  847: INSTALL_DATA
  848: INSTALL_SCRIPT
  849: INSTALL_PROGRAM
  850: AXL_VERSION
  851: target_alias
  852: host_alias
  853: build_alias
  854: LIBS
  855: ECHO_T
  856: ECHO_N
  857: ECHO_C
  858: DEFS
  859: mandir
  860: localedir
  861: libdir
  862: psdir
  863: pdfdir
  864: dvidir
  865: htmldir
  866: infodir
  867: docdir
  868: oldincludedir
  869: includedir
  870: localstatedir
  871: sharedstatedir
  872: sysconfdir
  873: datadir
  874: datarootdir
  875: libexecdir
  876: sbindir
  877: bindir
  878: program_transform_name
  879: prefix
  880: exec_prefix
  881: PACKAGE_URL
  882: PACKAGE_BUGREPORT
  883: PACKAGE_STRING
  884: PACKAGE_VERSION
  885: PACKAGE_TARNAME
  886: PACKAGE_NAME
  887: PATH_SEPARATOR
  888: SHELL'
  889: ac_subst_files=''
  890: ac_user_opts='
  891: enable_option_checking
  892: enable_maintainer_mode
  893: enable_dependency_tracking
  894: enable_shared
  895: enable_static
  896: with_pic
  897: enable_fast_install
  898: with_gnu_ld
  899: enable_libtool_lock
  900: enable_py_axl
  901: enable_axl_doc
  902: enable_axl_test
  903: enable_axl_ns
  904: enable_axl_log
  905: enable_axl_knife
  906: enable_axl_babel
  907: '
  908:       ac_precious_vars='build_alias
  909: host_alias
  910: target_alias
  911: CC
  912: CFLAGS
  913: LDFLAGS
  914: LIBS
  915: CPPFLAGS
  916: CPP'
  917: 
  918: 
  919: # Initialize some variables set by options.
  920: ac_init_help=
  921: ac_init_version=false
  922: ac_unrecognized_opts=
  923: ac_unrecognized_sep=
  924: # The variables have the same names as the options, with
  925: # dashes changed to underlines.
  926: cache_file=/dev/null
  927: exec_prefix=NONE
  928: no_create=
  929: no_recursion=
  930: prefix=NONE
  931: program_prefix=NONE
  932: program_suffix=NONE
  933: program_transform_name=s,x,x,
  934: silent=
  935: site=
  936: srcdir=
  937: verbose=
  938: x_includes=NONE
  939: x_libraries=NONE
  940: 
  941: # Installation directory options.
  942: # These are left unexpanded so users can "make install exec_prefix=/foo"
  943: # and all the variables that are supposed to be based on exec_prefix
  944: # by default will actually change.
  945: # Use braces instead of parens because sh, perl, etc. also accept them.
  946: # (The list follows the same order as the GNU Coding Standards.)
  947: bindir='${exec_prefix}/bin'
  948: sbindir='${exec_prefix}/sbin'
  949: libexecdir='${exec_prefix}/libexec'
  950: datarootdir='${prefix}/share'
  951: datadir='${datarootdir}'
  952: sysconfdir='${prefix}/etc'
  953: sharedstatedir='${prefix}/com'
  954: localstatedir='${prefix}/var'
  955: includedir='${prefix}/include'
  956: oldincludedir='/usr/include'
  957: docdir='${datarootdir}/doc/${PACKAGE}'
  958: infodir='${datarootdir}/info'
  959: htmldir='${docdir}'
  960: dvidir='${docdir}'
  961: pdfdir='${docdir}'
  962: psdir='${docdir}'
  963: libdir='${exec_prefix}/lib'
  964: localedir='${datarootdir}/locale'
  965: mandir='${datarootdir}/man'
  966: 
  967: ac_prev=
  968: ac_dashdash=
  969: for ac_option
  970: do
  971:   # If the previous option needs an argument, assign it.
  972:   if test -n "$ac_prev"; then
  973:     eval $ac_prev=\$ac_option
  974:     ac_prev=
  975:     continue
  976:   fi
  977: 
  978:   case $ac_option in
  979:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  980:   *=)   ac_optarg= ;;
  981:   *)    ac_optarg=yes ;;
  982:   esac
  983: 
  984:   # Accept the important Cygnus configure options, so we can diagnose typos.
  985: 
  986:   case $ac_dashdash$ac_option in
  987:   --)
  988:     ac_dashdash=yes ;;
  989: 
  990:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  991:     ac_prev=bindir ;;
  992:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  993:     bindir=$ac_optarg ;;
  994: 
  995:   -build | --build | --buil | --bui | --bu)
  996:     ac_prev=build_alias ;;
  997:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  998:     build_alias=$ac_optarg ;;
  999: 
 1000:   -cache-file | --cache-file | --cache-fil | --cache-fi \
 1001:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1002:     ac_prev=cache_file ;;
 1003:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1004:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1005:     cache_file=$ac_optarg ;;
 1006: 
 1007:   --config-cache | -C)
 1008:     cache_file=config.cache ;;
 1009: 
 1010:   -datadir | --datadir | --datadi | --datad)
 1011:     ac_prev=datadir ;;
 1012:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1013:     datadir=$ac_optarg ;;
 1014: 
 1015:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1016:   | --dataroo | --dataro | --datar)
 1017:     ac_prev=datarootdir ;;
 1018:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1019:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1020:     datarootdir=$ac_optarg ;;
 1021: 
 1022:   -disable-* | --disable-*)
 1023:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1024:     # Reject names that are not valid shell variable names.
 1025:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1026:       as_fn_error $? "invalid feature name: $ac_useropt"
 1027:     ac_useropt_orig=$ac_useropt
 1028:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1029:     case $ac_user_opts in
 1030:       *"
 1031: "enable_$ac_useropt"
 1032: "*) ;;
 1033:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 1034: 	 ac_unrecognized_sep=', ';;
 1035:     esac
 1036:     eval enable_$ac_useropt=no ;;
 1037: 
 1038:   -docdir | --docdir | --docdi | --doc | --do)
 1039:     ac_prev=docdir ;;
 1040:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1041:     docdir=$ac_optarg ;;
 1042: 
 1043:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1044:     ac_prev=dvidir ;;
 1045:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1046:     dvidir=$ac_optarg ;;
 1047: 
 1048:   -enable-* | --enable-*)
 1049:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1050:     # Reject names that are not valid shell variable names.
 1051:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1052:       as_fn_error $? "invalid feature name: $ac_useropt"
 1053:     ac_useropt_orig=$ac_useropt
 1054:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1055:     case $ac_user_opts in
 1056:       *"
 1057: "enable_$ac_useropt"
 1058: "*) ;;
 1059:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1060: 	 ac_unrecognized_sep=', ';;
 1061:     esac
 1062:     eval enable_$ac_useropt=\$ac_optarg ;;
 1063: 
 1064:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1065:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1066:   | --exec | --exe | --ex)
 1067:     ac_prev=exec_prefix ;;
 1068:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1069:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1070:   | --exec=* | --exe=* | --ex=*)
 1071:     exec_prefix=$ac_optarg ;;
 1072: 
 1073:   -gas | --gas | --ga | --g)
 1074:     # Obsolete; use --with-gas.
 1075:     with_gas=yes ;;
 1076: 
 1077:   -help | --help | --hel | --he | -h)
 1078:     ac_init_help=long ;;
 1079:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1080:     ac_init_help=recursive ;;
 1081:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1082:     ac_init_help=short ;;
 1083: 
 1084:   -host | --host | --hos | --ho)
 1085:     ac_prev=host_alias ;;
 1086:   -host=* | --host=* | --hos=* | --ho=*)
 1087:     host_alias=$ac_optarg ;;
 1088: 
 1089:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1090:     ac_prev=htmldir ;;
 1091:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1092:   | --ht=*)
 1093:     htmldir=$ac_optarg ;;
 1094: 
 1095:   -includedir | --includedir | --includedi | --included | --include \
 1096:   | --includ | --inclu | --incl | --inc)
 1097:     ac_prev=includedir ;;
 1098:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1099:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1100:     includedir=$ac_optarg ;;
 1101: 
 1102:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1103:     ac_prev=infodir ;;
 1104:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1105:     infodir=$ac_optarg ;;
 1106: 
 1107:   -libdir | --libdir | --libdi | --libd)
 1108:     ac_prev=libdir ;;
 1109:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1110:     libdir=$ac_optarg ;;
 1111: 
 1112:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1113:   | --libexe | --libex | --libe)
 1114:     ac_prev=libexecdir ;;
 1115:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1116:   | --libexe=* | --libex=* | --libe=*)
 1117:     libexecdir=$ac_optarg ;;
 1118: 
 1119:   -localedir | --localedir | --localedi | --localed | --locale)
 1120:     ac_prev=localedir ;;
 1121:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1122:     localedir=$ac_optarg ;;
 1123: 
 1124:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1125:   | --localstate | --localstat | --localsta | --localst | --locals)
 1126:     ac_prev=localstatedir ;;
 1127:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1128:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1129:     localstatedir=$ac_optarg ;;
 1130: 
 1131:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1132:     ac_prev=mandir ;;
 1133:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1134:     mandir=$ac_optarg ;;
 1135: 
 1136:   -nfp | --nfp | --nf)
 1137:     # Obsolete; use --without-fp.
 1138:     with_fp=no ;;
 1139: 
 1140:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1141:   | --no-cr | --no-c | -n)
 1142:     no_create=yes ;;
 1143: 
 1144:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1145:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1146:     no_recursion=yes ;;
 1147: 
 1148:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1149:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1150:   | --oldin | --oldi | --old | --ol | --o)
 1151:     ac_prev=oldincludedir ;;
 1152:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1153:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1154:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1155:     oldincludedir=$ac_optarg ;;
 1156: 
 1157:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1158:     ac_prev=prefix ;;
 1159:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1160:     prefix=$ac_optarg ;;
 1161: 
 1162:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1163:   | --program-pre | --program-pr | --program-p)
 1164:     ac_prev=program_prefix ;;
 1165:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1166:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1167:     program_prefix=$ac_optarg ;;
 1168: 
 1169:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1170:   | --program-suf | --program-su | --program-s)
 1171:     ac_prev=program_suffix ;;
 1172:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1173:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1174:     program_suffix=$ac_optarg ;;
 1175: 
 1176:   -program-transform-name | --program-transform-name \
 1177:   | --program-transform-nam | --program-transform-na \
 1178:   | --program-transform-n | --program-transform- \
 1179:   | --program-transform | --program-transfor \
 1180:   | --program-transfo | --program-transf \
 1181:   | --program-trans | --program-tran \
 1182:   | --progr-tra | --program-tr | --program-t)
 1183:     ac_prev=program_transform_name ;;
 1184:   -program-transform-name=* | --program-transform-name=* \
 1185:   | --program-transform-nam=* | --program-transform-na=* \
 1186:   | --program-transform-n=* | --program-transform-=* \
 1187:   | --program-transform=* | --program-transfor=* \
 1188:   | --program-transfo=* | --program-transf=* \
 1189:   | --program-trans=* | --program-tran=* \
 1190:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1191:     program_transform_name=$ac_optarg ;;
 1192: 
 1193:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1194:     ac_prev=pdfdir ;;
 1195:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1196:     pdfdir=$ac_optarg ;;
 1197: 
 1198:   -psdir | --psdir | --psdi | --psd | --ps)
 1199:     ac_prev=psdir ;;
 1200:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1201:     psdir=$ac_optarg ;;
 1202: 
 1203:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1204:   | -silent | --silent | --silen | --sile | --sil)
 1205:     silent=yes ;;
 1206: 
 1207:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1208:     ac_prev=sbindir ;;
 1209:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1210:   | --sbi=* | --sb=*)
 1211:     sbindir=$ac_optarg ;;
 1212: 
 1213:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1214:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1215:   | --sharedst | --shareds | --shared | --share | --shar \
 1216:   | --sha | --sh)
 1217:     ac_prev=sharedstatedir ;;
 1218:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1219:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1220:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1221:   | --sha=* | --sh=*)
 1222:     sharedstatedir=$ac_optarg ;;
 1223: 
 1224:   -site | --site | --sit)
 1225:     ac_prev=site ;;
 1226:   -site=* | --site=* | --sit=*)
 1227:     site=$ac_optarg ;;
 1228: 
 1229:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1230:     ac_prev=srcdir ;;
 1231:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1232:     srcdir=$ac_optarg ;;
 1233: 
 1234:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1235:   | --syscon | --sysco | --sysc | --sys | --sy)
 1236:     ac_prev=sysconfdir ;;
 1237:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1238:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1239:     sysconfdir=$ac_optarg ;;
 1240: 
 1241:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1242:     ac_prev=target_alias ;;
 1243:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1244:     target_alias=$ac_optarg ;;
 1245: 
 1246:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1247:     verbose=yes ;;
 1248: 
 1249:   -version | --version | --versio | --versi | --vers | -V)
 1250:     ac_init_version=: ;;
 1251: 
 1252:   -with-* | --with-*)
 1253:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1254:     # Reject names that are not valid shell variable names.
 1255:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1256:       as_fn_error $? "invalid package name: $ac_useropt"
 1257:     ac_useropt_orig=$ac_useropt
 1258:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1259:     case $ac_user_opts in
 1260:       *"
 1261: "with_$ac_useropt"
 1262: "*) ;;
 1263:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1264: 	 ac_unrecognized_sep=', ';;
 1265:     esac
 1266:     eval with_$ac_useropt=\$ac_optarg ;;
 1267: 
 1268:   -without-* | --without-*)
 1269:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1270:     # Reject names that are not valid shell variable names.
 1271:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1272:       as_fn_error $? "invalid package name: $ac_useropt"
 1273:     ac_useropt_orig=$ac_useropt
 1274:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1275:     case $ac_user_opts in
 1276:       *"
 1277: "with_$ac_useropt"
 1278: "*) ;;
 1279:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1280: 	 ac_unrecognized_sep=', ';;
 1281:     esac
 1282:     eval with_$ac_useropt=no ;;
 1283: 
 1284:   --x)
 1285:     # Obsolete; use --with-x.
 1286:     with_x=yes ;;
 1287: 
 1288:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1289:   | --x-incl | --x-inc | --x-in | --x-i)
 1290:     ac_prev=x_includes ;;
 1291:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1292:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1293:     x_includes=$ac_optarg ;;
 1294: 
 1295:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1296:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1297:     ac_prev=x_libraries ;;
 1298:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1299:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1300:     x_libraries=$ac_optarg ;;
 1301: 
 1302:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1303: Try \`$0 --help' for more information"
 1304:     ;;
 1305: 
 1306:   *=*)
 1307:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1308:     # Reject names that are not valid shell variable names.
 1309:     case $ac_envvar in #(
 1310:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1311:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1312:     esac
 1313:     eval $ac_envvar=\$ac_optarg
 1314:     export $ac_envvar ;;
 1315: 
 1316:   *)
 1317:     # FIXME: should be removed in autoconf 3.0.
 1318:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1319:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1320:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1321:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1322:     ;;
 1323: 
 1324:   esac
 1325: done
 1326: 
 1327: if test -n "$ac_prev"; then
 1328:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1329:   as_fn_error $? "missing argument to $ac_option"
 1330: fi
 1331: 
 1332: if test -n "$ac_unrecognized_opts"; then
 1333:   case $enable_option_checking in
 1334:     no) ;;
 1335:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1336:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1337:   esac
 1338: fi
 1339: 
 1340: # Check all directory arguments for consistency.
 1341: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1342: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1343: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1344: 		libdir localedir mandir
 1345: do
 1346:   eval ac_val=\$$ac_var
 1347:   # Remove trailing slashes.
 1348:   case $ac_val in
 1349:     */ )
 1350:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1351:       eval $ac_var=\$ac_val;;
 1352:   esac
 1353:   # Be sure to have absolute directory names.
 1354:   case $ac_val in
 1355:     [\\/$]* | ?:[\\/]* )  continue;;
 1356:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1357:   esac
 1358:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1359: done
 1360: 
 1361: # There might be people who depend on the old broken behavior: `$host'
 1362: # used to hold the argument of --host etc.
 1363: # FIXME: To remove some day.
 1364: build=$build_alias
 1365: host=$host_alias
 1366: target=$target_alias
 1367: 
 1368: # FIXME: To remove some day.
 1369: if test "x$host_alias" != x; then
 1370:   if test "x$build_alias" = x; then
 1371:     cross_compiling=maybe
 1372:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1373:     If a cross compiler is detected then cross compile mode will be used" >&2
 1374:   elif test "x$build_alias" != "x$host_alias"; then
 1375:     cross_compiling=yes
 1376:   fi
 1377: fi
 1378: 
 1379: ac_tool_prefix=
 1380: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1381: 
 1382: test "$silent" = yes && exec 6>/dev/null
 1383: 
 1384: 
 1385: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1386: ac_ls_di=`ls -di .` &&
 1387: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1388:   as_fn_error $? "working directory cannot be determined"
 1389: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1390:   as_fn_error $? "pwd does not report name of working directory"
 1391: 
 1392: 
 1393: # Find the source files, if location was not specified.
 1394: if test -z "$srcdir"; then
 1395:   ac_srcdir_defaulted=yes
 1396:   # Try the directory containing this script, then the parent directory.
 1397:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1398: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1399: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1400: 	 X"$as_myself" : 'X\(//\)$' \| \
 1401: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1402: $as_echo X"$as_myself" |
 1403:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1404: 	    s//\1/
 1405: 	    q
 1406: 	  }
 1407: 	  /^X\(\/\/\)[^/].*/{
 1408: 	    s//\1/
 1409: 	    q
 1410: 	  }
 1411: 	  /^X\(\/\/\)$/{
 1412: 	    s//\1/
 1413: 	    q
 1414: 	  }
 1415: 	  /^X\(\/\).*/{
 1416: 	    s//\1/
 1417: 	    q
 1418: 	  }
 1419: 	  s/.*/./; q'`
 1420:   srcdir=$ac_confdir
 1421:   if test ! -r "$srcdir/$ac_unique_file"; then
 1422:     srcdir=..
 1423:   fi
 1424: else
 1425:   ac_srcdir_defaulted=no
 1426: fi
 1427: if test ! -r "$srcdir/$ac_unique_file"; then
 1428:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1429:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1430: fi
 1431: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1432: ac_abs_confdir=`(
 1433: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1434: 	pwd)`
 1435: # When building in place, set srcdir=.
 1436: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1437:   srcdir=.
 1438: fi
 1439: # Remove unnecessary trailing slashes from srcdir.
 1440: # Double slashes in file names in object file debugging info
 1441: # mess up M-x gdb in Emacs.
 1442: case $srcdir in
 1443: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1444: esac
 1445: for ac_var in $ac_precious_vars; do
 1446:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1447:   eval ac_env_${ac_var}_value=\$${ac_var}
 1448:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1449:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1450: done
 1451: 
 1452: #
 1453: # Report the --help message.
 1454: #
 1455: if test "$ac_init_help" = "long"; then
 1456:   # Omit some internal or obsolete options to make the list less imposing.
 1457:   # This message is too long to be a string in the A/UX 3.1 sh.
 1458:   cat <<_ACEOF
 1459: \`configure' configures this package to adapt to many kinds of systems.
 1460: 
 1461: Usage: $0 [OPTION]... [VAR=VALUE]...
 1462: 
 1463: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1464: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1465: 
 1466: Defaults for the options are specified in brackets.
 1467: 
 1468: Configuration:
 1469:   -h, --help              display this help and exit
 1470:       --help=short        display options specific to this package
 1471:       --help=recursive    display the short help of all the included packages
 1472:   -V, --version           display version information and exit
 1473:   -q, --quiet, --silent   do not print \`checking ...' messages
 1474:       --cache-file=FILE   cache test results in FILE [disabled]
 1475:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1476:   -n, --no-create         do not create output files
 1477:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1478: 
 1479: Installation directories:
 1480:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1481:                           [$ac_default_prefix]
 1482:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1483:                           [PREFIX]
 1484: 
 1485: By default, \`make install' will install all the files in
 1486: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1487: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1488: for instance \`--prefix=\$HOME'.
 1489: 
 1490: For better control, use the options below.
 1491: 
 1492: Fine tuning of the installation directories:
 1493:   --bindir=DIR            user executables [EPREFIX/bin]
 1494:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1495:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1496:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1497:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1498:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1499:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1500:   --includedir=DIR        C header files [PREFIX/include]
 1501:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1502:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1503:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1504:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1505:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1506:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1507:   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 1508:   --htmldir=DIR           html documentation [DOCDIR]
 1509:   --dvidir=DIR            dvi documentation [DOCDIR]
 1510:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1511:   --psdir=DIR             ps documentation [DOCDIR]
 1512: _ACEOF
 1513: 
 1514:   cat <<\_ACEOF
 1515: 
 1516: Program names:
 1517:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1518:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1519:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1520: 
 1521: System types:
 1522:   --build=BUILD     configure for building on BUILD [guessed]
 1523:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1524: _ACEOF
 1525: fi
 1526: 
 1527: if test -n "$ac_init_help"; then
 1528: 
 1529:   cat <<\_ACEOF
 1530: 
 1531: Optional Features:
 1532:   --disable-option-checking  ignore unrecognized --enable/--with options
 1533:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1534:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1535:   --enable-maintainer-mode  enable make rules and dependencies not useful
 1536: 			  (and sometimes confusing) to the casual installer
 1537:   --disable-dependency-tracking  speeds up one-time build
 1538:   --enable-dependency-tracking   do not reject slow dependency extractors
 1539:   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1540:   --enable-static[=PKGS]  build static libraries [default=yes]
 1541:   --enable-fast-install[=PKGS]
 1542:                           optimize for fast installation [default=yes]
 1543:   --disable-libtool-lock  avoid locking (might break parallel builds)
 1544:    --disable-py-axl       Makes Axl Library to be build without PyAxl: python bindings support
 1545:   --enable-axl-doc     Enable building Axl documentation (doxygen required) default=yes
 1546:   --enable-axl-test     Enable building Axl test executables default=yes
 1547:   --enable-axl-ns     Enable building Axl Namespace support default=yes
 1548:   --enable-axl-log     Enable building Axl with debug log support default=yes
 1549:   --enable-axl-knife     Enable building Axl Knife tool default=yes
 1550:   --enable-axl-babel     Enable building Axl Babel tool default=yes
 1551: 
 1552: Optional Packages:
 1553:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1554:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1555:   --with-pic              try to use only PIC/non-PIC objects [default=use
 1556:                           both]
 1557:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1558: 
 1559: Some influential environment variables:
 1560:   CC          C compiler command
 1561:   CFLAGS      C compiler flags
 1562:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1563:               nonstandard directory <lib dir>
 1564:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1565:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1566:               you have headers in a nonstandard directory <include dir>
 1567:   CPP         C preprocessor
 1568: 
 1569: Use these variables to override the choices made by `configure' or to help
 1570: it to find libraries and programs with nonstandard names/locations.
 1571: 
 1572: Report bugs to the package provider.
 1573: _ACEOF
 1574: ac_status=$?
 1575: fi
 1576: 
 1577: if test "$ac_init_help" = "recursive"; then
 1578:   # If there are subdirs, report their specific --help.
 1579:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1580:     test -d "$ac_dir" ||
 1581:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1582:       continue
 1583:     ac_builddir=.
 1584: 
 1585: case "$ac_dir" in
 1586: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1587: *)
 1588:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1589:   # A ".." for each directory in $ac_dir_suffix.
 1590:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1591:   case $ac_top_builddir_sub in
 1592:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1593:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1594:   esac ;;
 1595: esac
 1596: ac_abs_top_builddir=$ac_pwd
 1597: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1598: # for backward compatibility:
 1599: ac_top_builddir=$ac_top_build_prefix
 1600: 
 1601: case $srcdir in
 1602:   .)  # We are building in place.
 1603:     ac_srcdir=.
 1604:     ac_top_srcdir=$ac_top_builddir_sub
 1605:     ac_abs_top_srcdir=$ac_pwd ;;
 1606:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1607:     ac_srcdir=$srcdir$ac_dir_suffix;
 1608:     ac_top_srcdir=$srcdir
 1609:     ac_abs_top_srcdir=$srcdir ;;
 1610:   *) # Relative name.
 1611:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1612:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1613:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1614: esac
 1615: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1616: 
 1617:     cd "$ac_dir" || { ac_status=$?; continue; }
 1618:     # Check for guested configure.
 1619:     if test -f "$ac_srcdir/configure.gnu"; then
 1620:       echo &&
 1621:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1622:     elif test -f "$ac_srcdir/configure"; then
 1623:       echo &&
 1624:       $SHELL "$ac_srcdir/configure" --help=recursive
 1625:     else
 1626:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1627:     fi || ac_status=$?
 1628:     cd "$ac_pwd" || { ac_status=$?; break; }
 1629:   done
 1630: fi
 1631: 
 1632: test -n "$ac_init_help" && exit $ac_status
 1633: if $ac_init_version; then
 1634:   cat <<\_ACEOF
 1635: configure
 1636: generated by GNU Autoconf 2.67
 1637: 
 1638: Copyright (C) 2010 Free Software Foundation, Inc.
 1639: This configure script is free software; the Free Software Foundation
 1640: gives unlimited permission to copy, distribute and modify it.
 1641: _ACEOF
 1642:   exit
 1643: fi
 1644: 
 1645: ## ------------------------ ##
 1646: ## Autoconf initialization. ##
 1647: ## ------------------------ ##
 1648: 
 1649: # ac_fn_c_try_compile LINENO
 1650: # --------------------------
 1651: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1652: ac_fn_c_try_compile ()
 1653: {
 1654:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1655:   rm -f conftest.$ac_objext
 1656:   if { { ac_try="$ac_compile"
 1657: case "(($ac_try" in
 1658:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1659:   *) ac_try_echo=$ac_try;;
 1660: esac
 1661: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1662: $as_echo "$ac_try_echo"; } >&5
 1663:   (eval "$ac_compile") 2>conftest.err
 1664:   ac_status=$?
 1665:   if test -s conftest.err; then
 1666:     grep -v '^ *+' conftest.err >conftest.er1
 1667:     cat conftest.er1 >&5
 1668:     mv -f conftest.er1 conftest.err
 1669:   fi
 1670:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1671:   test $ac_status = 0; } && {
 1672: 	 test -z "$ac_c_werror_flag" ||
 1673: 	 test ! -s conftest.err
 1674:        } && test -s conftest.$ac_objext; then :
 1675:   ac_retval=0
 1676: else
 1677:   $as_echo "$as_me: failed program was:" >&5
 1678: sed 's/^/| /' conftest.$ac_ext >&5
 1679: 
 1680: 	ac_retval=1
 1681: fi
 1682:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1683:   as_fn_set_status $ac_retval
 1684: 
 1685: } # ac_fn_c_try_compile
 1686: 
 1687: # ac_fn_c_try_link LINENO
 1688: # -----------------------
 1689: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1690: ac_fn_c_try_link ()
 1691: {
 1692:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1693:   rm -f conftest.$ac_objext conftest$ac_exeext
 1694:   if { { ac_try="$ac_link"
 1695: case "(($ac_try" in
 1696:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1697:   *) ac_try_echo=$ac_try;;
 1698: esac
 1699: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1700: $as_echo "$ac_try_echo"; } >&5
 1701:   (eval "$ac_link") 2>conftest.err
 1702:   ac_status=$?
 1703:   if test -s conftest.err; then
 1704:     grep -v '^ *+' conftest.err >conftest.er1
 1705:     cat conftest.er1 >&5
 1706:     mv -f conftest.er1 conftest.err
 1707:   fi
 1708:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1709:   test $ac_status = 0; } && {
 1710: 	 test -z "$ac_c_werror_flag" ||
 1711: 	 test ! -s conftest.err
 1712:        } && test -s conftest$ac_exeext && {
 1713: 	 test "$cross_compiling" = yes ||
 1714: 	 $as_test_x conftest$ac_exeext
 1715:        }; then :
 1716:   ac_retval=0
 1717: else
 1718:   $as_echo "$as_me: failed program was:" >&5
 1719: sed 's/^/| /' conftest.$ac_ext >&5
 1720: 
 1721: 	ac_retval=1
 1722: fi
 1723:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1724:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1725:   # interfere with the next link command; also delete a directory that is
 1726:   # left behind by Apple's compiler.  We do this before executing the actions.
 1727:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1728:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1729:   as_fn_set_status $ac_retval
 1730: 
 1731: } # ac_fn_c_try_link
 1732: 
 1733: # ac_fn_c_try_cpp LINENO
 1734: # ----------------------
 1735: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1736: ac_fn_c_try_cpp ()
 1737: {
 1738:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1739:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1740: case "(($ac_try" in
 1741:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1742:   *) ac_try_echo=$ac_try;;
 1743: esac
 1744: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1745: $as_echo "$ac_try_echo"; } >&5
 1746:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1747:   ac_status=$?
 1748:   if test -s conftest.err; then
 1749:     grep -v '^ *+' conftest.err >conftest.er1
 1750:     cat conftest.er1 >&5
 1751:     mv -f conftest.er1 conftest.err
 1752:   fi
 1753:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1754:   test $ac_status = 0; } > conftest.i && {
 1755: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1756: 	 test ! -s conftest.err
 1757:        }; then :
 1758:   ac_retval=0
 1759: else
 1760:   $as_echo "$as_me: failed program was:" >&5
 1761: sed 's/^/| /' conftest.$ac_ext >&5
 1762: 
 1763:     ac_retval=1
 1764: fi
 1765:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1766:   as_fn_set_status $ac_retval
 1767: 
 1768: } # ac_fn_c_try_cpp
 1769: 
 1770: # ac_fn_c_try_run LINENO
 1771: # ----------------------
 1772: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1773: # that executables *can* be run.
 1774: ac_fn_c_try_run ()
 1775: {
 1776:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1777:   if { { ac_try="$ac_link"
 1778: case "(($ac_try" in
 1779:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1780:   *) ac_try_echo=$ac_try;;
 1781: esac
 1782: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1783: $as_echo "$ac_try_echo"; } >&5
 1784:   (eval "$ac_link") 2>&5
 1785:   ac_status=$?
 1786:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1787:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1788:   { { case "(($ac_try" in
 1789:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1790:   *) ac_try_echo=$ac_try;;
 1791: esac
 1792: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1793: $as_echo "$ac_try_echo"; } >&5
 1794:   (eval "$ac_try") 2>&5
 1795:   ac_status=$?
 1796:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1797:   test $ac_status = 0; }; }; then :
 1798:   ac_retval=0
 1799: else
 1800:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1801:        $as_echo "$as_me: failed program was:" >&5
 1802: sed 's/^/| /' conftest.$ac_ext >&5
 1803: 
 1804:        ac_retval=$ac_status
 1805: fi
 1806:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1807:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1808:   as_fn_set_status $ac_retval
 1809: 
 1810: } # ac_fn_c_try_run
 1811: 
 1812: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1813: # -------------------------------------------------------
 1814: # Tests whether HEADER exists and can be compiled using the include files in
 1815: # INCLUDES, setting the cache variable VAR accordingly.
 1816: ac_fn_c_check_header_compile ()
 1817: {
 1818:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1820: $as_echo_n "checking for $2... " >&6; }
 1821: if eval "test \"\${$3+set}\"" = set; then :
 1822:   $as_echo_n "(cached) " >&6
 1823: else
 1824:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1825: /* end confdefs.h.  */
 1826: $4
 1827: #include <$2>
 1828: _ACEOF
 1829: if ac_fn_c_try_compile "$LINENO"; then :
 1830:   eval "$3=yes"
 1831: else
 1832:   eval "$3=no"
 1833: fi
 1834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1835: fi
 1836: eval ac_res=\$$3
 1837: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1838: $as_echo "$ac_res" >&6; }
 1839:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1840: 
 1841: } # ac_fn_c_check_header_compile
 1842: 
 1843: # ac_fn_c_check_func LINENO FUNC VAR
 1844: # ----------------------------------
 1845: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1846: ac_fn_c_check_func ()
 1847: {
 1848:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1849:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1850: $as_echo_n "checking for $2... " >&6; }
 1851: if eval "test \"\${$3+set}\"" = set; then :
 1852:   $as_echo_n "(cached) " >&6
 1853: else
 1854:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1855: /* end confdefs.h.  */
 1856: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1857:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1858: #define $2 innocuous_$2
 1859: 
 1860: /* System header to define __stub macros and hopefully few prototypes,
 1861:     which can conflict with char $2 (); below.
 1862:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1863:     <limits.h> exists even on freestanding compilers.  */
 1864: 
 1865: #ifdef __STDC__
 1866: # include <limits.h>
 1867: #else
 1868: # include <assert.h>
 1869: #endif
 1870: 
 1871: #undef $2
 1872: 
 1873: /* Override any GCC internal prototype to avoid an error.
 1874:    Use char because int might match the return type of a GCC
 1875:    builtin and then its argument prototype would still apply.  */
 1876: #ifdef __cplusplus
 1877: extern "C"
 1878: #endif
 1879: char $2 ();
 1880: /* The GNU C library defines this for functions which it implements
 1881:     to always fail with ENOSYS.  Some functions are actually named
 1882:     something starting with __ and the normal name is an alias.  */
 1883: #if defined __stub_$2 || defined __stub___$2
 1884: choke me
 1885: #endif
 1886: 
 1887: int
 1888: main ()
 1889: {
 1890: return $2 ();
 1891:   ;
 1892:   return 0;
 1893: }
 1894: _ACEOF
 1895: if ac_fn_c_try_link "$LINENO"; then :
 1896:   eval "$3=yes"
 1897: else
 1898:   eval "$3=no"
 1899: fi
 1900: rm -f core conftest.err conftest.$ac_objext \
 1901:     conftest$ac_exeext conftest.$ac_ext
 1902: fi
 1903: eval ac_res=\$$3
 1904: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1905: $as_echo "$ac_res" >&6; }
 1906:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1907: 
 1908: } # ac_fn_c_check_func
 1909: 
 1910: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1911: # --------------------------------------------
 1912: # Tries to find the compile-time value of EXPR in a program that includes
 1913: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1914: # computed
 1915: ac_fn_c_compute_int ()
 1916: {
 1917:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1918:   if test "$cross_compiling" = yes; then
 1919:     # Depending upon the size, compute the lo and hi bounds.
 1920: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1921: /* end confdefs.h.  */
 1922: $4
 1923: int
 1924: main ()
 1925: {
 1926: static int test_array [1 - 2 * !(($2) >= 0)];
 1927: test_array [0] = 0
 1928: 
 1929:   ;
 1930:   return 0;
 1931: }
 1932: _ACEOF
 1933: if ac_fn_c_try_compile "$LINENO"; then :
 1934:   ac_lo=0 ac_mid=0
 1935:   while :; do
 1936:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1937: /* end confdefs.h.  */
 1938: $4
 1939: int
 1940: main ()
 1941: {
 1942: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1943: test_array [0] = 0
 1944: 
 1945:   ;
 1946:   return 0;
 1947: }
 1948: _ACEOF
 1949: if ac_fn_c_try_compile "$LINENO"; then :
 1950:   ac_hi=$ac_mid; break
 1951: else
 1952:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1953: 			if test $ac_lo -le $ac_mid; then
 1954: 			  ac_lo= ac_hi=
 1955: 			  break
 1956: 			fi
 1957: 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1958: fi
 1959: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1960:   done
 1961: else
 1962:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1963: /* end confdefs.h.  */
 1964: $4
 1965: int
 1966: main ()
 1967: {
 1968: static int test_array [1 - 2 * !(($2) < 0)];
 1969: test_array [0] = 0
 1970: 
 1971:   ;
 1972:   return 0;
 1973: }
 1974: _ACEOF
 1975: if ac_fn_c_try_compile "$LINENO"; then :
 1976:   ac_hi=-1 ac_mid=-1
 1977:   while :; do
 1978:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1979: /* end confdefs.h.  */
 1980: $4
 1981: int
 1982: main ()
 1983: {
 1984: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 1985: test_array [0] = 0
 1986: 
 1987:   ;
 1988:   return 0;
 1989: }
 1990: _ACEOF
 1991: if ac_fn_c_try_compile "$LINENO"; then :
 1992:   ac_lo=$ac_mid; break
 1993: else
 1994:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 1995: 			if test $ac_mid -le $ac_hi; then
 1996: 			  ac_lo= ac_hi=
 1997: 			  break
 1998: 			fi
 1999: 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2000: fi
 2001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2002:   done
 2003: else
 2004:   ac_lo= ac_hi=
 2005: fi
 2006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2007: fi
 2008: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2009: # Binary search between lo and hi bounds.
 2010: while test "x$ac_lo" != "x$ac_hi"; do
 2011:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2012:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2013: /* end confdefs.h.  */
 2014: $4
 2015: int
 2016: main ()
 2017: {
 2018: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2019: test_array [0] = 0
 2020: 
 2021:   ;
 2022:   return 0;
 2023: }
 2024: _ACEOF
 2025: if ac_fn_c_try_compile "$LINENO"; then :
 2026:   ac_hi=$ac_mid
 2027: else
 2028:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2029: fi
 2030: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2031: done
 2032: case $ac_lo in #((
 2033: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2034: '') ac_retval=1 ;;
 2035: esac
 2036:   else
 2037:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2038: /* end confdefs.h.  */
 2039: $4
 2040: static long int longval () { return $2; }
 2041: static unsigned long int ulongval () { return $2; }
 2042: #include <stdio.h>
 2043: #include <stdlib.h>
 2044: int
 2045: main ()
 2046: {
 2047: 
 2048:   FILE *f = fopen ("conftest.val", "w");
 2049:   if (! f)
 2050:     return 1;
 2051:   if (($2) < 0)
 2052:     {
 2053:       long int i = longval ();
 2054:       if (i != ($2))
 2055: 	return 1;
 2056:       fprintf (f, "%ld", i);
 2057:     }
 2058:   else
 2059:     {
 2060:       unsigned long int i = ulongval ();
 2061:       if (i != ($2))
 2062: 	return 1;
 2063:       fprintf (f, "%lu", i);
 2064:     }
 2065:   /* Do not output a trailing newline, as this causes \r\n confusion
 2066:      on some platforms.  */
 2067:   return ferror (f) || fclose (f) != 0;
 2068: 
 2069:   ;
 2070:   return 0;
 2071: }
 2072: _ACEOF
 2073: if ac_fn_c_try_run "$LINENO"; then :
 2074:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2075: else
 2076:   ac_retval=1
 2077: fi
 2078: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2079:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2080: rm -f conftest.val
 2081: 
 2082:   fi
 2083:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2084:   as_fn_set_status $ac_retval
 2085: 
 2086: } # ac_fn_c_compute_int
 2087: cat >config.log <<_ACEOF
 2088: This file contains any messages produced by compilers while
 2089: running configure, to aid debugging if configure makes a mistake.
 2090: 
 2091: It was created by $as_me, which was
 2092: generated by GNU Autoconf 2.67.  Invocation command line was
 2093: 
 2094:   $ $0 $@
 2095: 
 2096: _ACEOF
 2097: exec 5>>config.log
 2098: {
 2099: cat <<_ASUNAME
 2100: ## --------- ##
 2101: ## Platform. ##
 2102: ## --------- ##
 2103: 
 2104: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2105: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2106: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2107: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2108: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2109: 
 2110: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2111: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2112: 
 2113: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2114: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2115: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2116: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2117: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2118: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2119: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2120: 
 2121: _ASUNAME
 2122: 
 2123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2124: for as_dir in $PATH
 2125: do
 2126:   IFS=$as_save_IFS
 2127:   test -z "$as_dir" && as_dir=.
 2128:     $as_echo "PATH: $as_dir"
 2129:   done
 2130: IFS=$as_save_IFS
 2131: 
 2132: } >&5
 2133: 
 2134: cat >&5 <<_ACEOF
 2135: 
 2136: 
 2137: ## ----------- ##
 2138: ## Core tests. ##
 2139: ## ----------- ##
 2140: 
 2141: _ACEOF
 2142: 
 2143: 
 2144: # Keep a trace of the command line.
 2145: # Strip out --no-create and --no-recursion so they do not pile up.
 2146: # Strip out --silent because we don't want to record it for future runs.
 2147: # Also quote any args containing shell meta-characters.
 2148: # Make two passes to allow for proper duplicate-argument suppression.
 2149: ac_configure_args=
 2150: ac_configure_args0=
 2151: ac_configure_args1=
 2152: ac_must_keep_next=false
 2153: for ac_pass in 1 2
 2154: do
 2155:   for ac_arg
 2156:   do
 2157:     case $ac_arg in
 2158:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2159:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2160:     | -silent | --silent | --silen | --sile | --sil)
 2161:       continue ;;
 2162:     *\'*)
 2163:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2164:     esac
 2165:     case $ac_pass in
 2166:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2167:     2)
 2168:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2169:       if test $ac_must_keep_next = true; then
 2170: 	ac_must_keep_next=false # Got value, back to normal.
 2171:       else
 2172: 	case $ac_arg in
 2173: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2174: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2175: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2176: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 2177: 	    case "$ac_configure_args0 " in
 2178: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2179: 	    esac
 2180: 	    ;;
 2181: 	  -* ) ac_must_keep_next=true ;;
 2182: 	esac
 2183:       fi
 2184:       as_fn_append ac_configure_args " '$ac_arg'"
 2185:       ;;
 2186:     esac
 2187:   done
 2188: done
 2189: { ac_configure_args0=; unset ac_configure_args0;}
 2190: { ac_configure_args1=; unset ac_configure_args1;}
 2191: 
 2192: # When interrupted or exit'd, cleanup temporary files, and complete
 2193: # config.log.  We remove comments because anyway the quotes in there
 2194: # would cause problems or look ugly.
 2195: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2196: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2197: trap 'exit_status=$?
 2198:   # Save into config.log some information that might help in debugging.
 2199:   {
 2200:     echo
 2201: 
 2202:     $as_echo "## ---------------- ##
 2203: ## Cache variables. ##
 2204: ## ---------------- ##"
 2205:     echo
 2206:     # The following way of writing the cache mishandles newlines in values,
 2207: (
 2208:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2209:     eval ac_val=\$$ac_var
 2210:     case $ac_val in #(
 2211:     *${as_nl}*)
 2212:       case $ac_var in #(
 2213:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2214: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2215:       esac
 2216:       case $ac_var in #(
 2217:       _ | IFS | as_nl) ;; #(
 2218:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2219:       *) { eval $ac_var=; unset $ac_var;} ;;
 2220:       esac ;;
 2221:     esac
 2222:   done
 2223:   (set) 2>&1 |
 2224:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2225:     *${as_nl}ac_space=\ *)
 2226:       sed -n \
 2227: 	"s/'\''/'\''\\\\'\'''\''/g;
 2228: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2229:       ;; #(
 2230:     *)
 2231:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2232:       ;;
 2233:     esac |
 2234:     sort
 2235: )
 2236:     echo
 2237: 
 2238:     $as_echo "## ----------------- ##
 2239: ## Output variables. ##
 2240: ## ----------------- ##"
 2241:     echo
 2242:     for ac_var in $ac_subst_vars
 2243:     do
 2244:       eval ac_val=\$$ac_var
 2245:       case $ac_val in
 2246:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2247:       esac
 2248:       $as_echo "$ac_var='\''$ac_val'\''"
 2249:     done | sort
 2250:     echo
 2251: 
 2252:     if test -n "$ac_subst_files"; then
 2253:       $as_echo "## ------------------- ##
 2254: ## File substitutions. ##
 2255: ## ------------------- ##"
 2256:       echo
 2257:       for ac_var in $ac_subst_files
 2258:       do
 2259: 	eval ac_val=\$$ac_var
 2260: 	case $ac_val in
 2261: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2262: 	esac
 2263: 	$as_echo "$ac_var='\''$ac_val'\''"
 2264:       done | sort
 2265:       echo
 2266:     fi
 2267: 
 2268:     if test -s confdefs.h; then
 2269:       $as_echo "## ----------- ##
 2270: ## confdefs.h. ##
 2271: ## ----------- ##"
 2272:       echo
 2273:       cat confdefs.h
 2274:       echo
 2275:     fi
 2276:     test "$ac_signal" != 0 &&
 2277:       $as_echo "$as_me: caught signal $ac_signal"
 2278:     $as_echo "$as_me: exit $exit_status"
 2279:   } >&5
 2280:   rm -f core *.core core.conftest.* &&
 2281:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2282:     exit $exit_status
 2283: ' 0
 2284: for ac_signal in 1 2 13 15; do
 2285:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2286: done
 2287: ac_signal=0
 2288: 
 2289: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2290: rm -f -r conftest* confdefs.h
 2291: 
 2292: $as_echo "/* confdefs.h */" > confdefs.h
 2293: 
 2294: # Predefined preprocessor variables.
 2295: 
 2296: cat >>confdefs.h <<_ACEOF
 2297: #define PACKAGE_NAME "$PACKAGE_NAME"
 2298: _ACEOF
 2299: 
 2300: cat >>confdefs.h <<_ACEOF
 2301: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2302: _ACEOF
 2303: 
 2304: cat >>confdefs.h <<_ACEOF
 2305: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2306: _ACEOF
 2307: 
 2308: cat >>confdefs.h <<_ACEOF
 2309: #define PACKAGE_STRING "$PACKAGE_STRING"
 2310: _ACEOF
 2311: 
 2312: cat >>confdefs.h <<_ACEOF
 2313: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2314: _ACEOF
 2315: 
 2316: cat >>confdefs.h <<_ACEOF
 2317: #define PACKAGE_URL "$PACKAGE_URL"
 2318: _ACEOF
 2319: 
 2320: 
 2321: # Let the site file select an alternate cache file if it wants to.
 2322: # Prefer an explicitly selected file to automatically selected ones.
 2323: ac_site_file1=NONE
 2324: ac_site_file2=NONE
 2325: if test -n "$CONFIG_SITE"; then
 2326:   # We do not want a PATH search for config.site.
 2327:   case $CONFIG_SITE in #((
 2328:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2329:     */*) ac_site_file1=$CONFIG_SITE;;
 2330:     *)   ac_site_file1=./$CONFIG_SITE;;
 2331:   esac
 2332: elif test "x$prefix" != xNONE; then
 2333:   ac_site_file1=$prefix/share/config.site
 2334:   ac_site_file2=$prefix/etc/config.site
 2335: else
 2336:   ac_site_file1=$ac_default_prefix/share/config.site
 2337:   ac_site_file2=$ac_default_prefix/etc/config.site
 2338: fi
 2339: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2340: do
 2341:   test "x$ac_site_file" = xNONE && continue
 2342:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2343:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2344: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2345:     sed 's/^/| /' "$ac_site_file" >&5
 2346:     . "$ac_site_file" \
 2347:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2348: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2349: as_fn_error $? "failed to load site script $ac_site_file
 2350: See \`config.log' for more details" "$LINENO" 5 ; }
 2351:   fi
 2352: done
 2353: 
 2354: if test -r "$cache_file"; then
 2355:   # Some versions of bash will fail to source /dev/null (special files
 2356:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2357:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2358:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2359: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2360:     case $cache_file in
 2361:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2362:       *)                      . "./$cache_file";;
 2363:     esac
 2364:   fi
 2365: else
 2366:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2367: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2368:   >$cache_file
 2369: fi
 2370: 
 2371: # Check that the precious variables saved in the cache have kept the same
 2372: # value.
 2373: ac_cache_corrupted=false
 2374: for ac_var in $ac_precious_vars; do
 2375:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2376:   eval ac_new_set=\$ac_env_${ac_var}_set
 2377:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2378:   eval ac_new_val=\$ac_env_${ac_var}_value
 2379:   case $ac_old_set,$ac_new_set in
 2380:     set,)
 2381:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2382: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2383:       ac_cache_corrupted=: ;;
 2384:     ,set)
 2385:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2386: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2387:       ac_cache_corrupted=: ;;
 2388:     ,);;
 2389:     *)
 2390:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2391: 	# differences in whitespace do not lead to failure.
 2392: 	ac_old_val_w=`echo x $ac_old_val`
 2393: 	ac_new_val_w=`echo x $ac_new_val`
 2394: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2395: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2396: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2397: 	  ac_cache_corrupted=:
 2398: 	else
 2399: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2400: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2401: 	  eval $ac_var=\$ac_old_val
 2402: 	fi
 2403: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2404: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2405: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2406: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2407:       fi;;
 2408:   esac
 2409:   # Pass precious variables to config.status.
 2410:   if test "$ac_new_set" = set; then
 2411:     case $ac_new_val in
 2412:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2413:     *) ac_arg=$ac_var=$ac_new_val ;;
 2414:     esac
 2415:     case " $ac_configure_args " in
 2416:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2417:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2418:     esac
 2419:   fi
 2420: done
 2421: if $ac_cache_corrupted; then
 2422:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2423: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2424:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2425: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2426:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2427: fi
 2428: ## -------------------- ##
 2429: ## Main body of script. ##
 2430: ## -------------------- ##
 2431: 
 2432: ac_ext=c
 2433: ac_cpp='$CPP $CPPFLAGS'
 2434: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2435: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2436: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2437: 
 2438: 
 2439: 
 2440: configure_dir=`dirname "$0"`
 2441: AXL_VERSION=`cat $configure_dir/VERSION`
 2442: 
 2443: 
 2444: ac_aux_dir=
 2445: for ac_dir in . "$srcdir"/.; do
 2446:   if test -f "$ac_dir/install-sh"; then
 2447:     ac_aux_dir=$ac_dir
 2448:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2449:     break
 2450:   elif test -f "$ac_dir/install.sh"; then
 2451:     ac_aux_dir=$ac_dir
 2452:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2453:     break
 2454:   elif test -f "$ac_dir/shtool"; then
 2455:     ac_aux_dir=$ac_dir
 2456:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2457:     break
 2458:   fi
 2459: done
 2460: if test -z "$ac_aux_dir"; then
 2461:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
 2462: fi
 2463: 
 2464: # These three variables are undocumented and unsupported,
 2465: # and are intended to be withdrawn in a future Autoconf release.
 2466: # They can cause serious problems if a builder's source tree is in a directory
 2467: # whose full name contains unusual characters.
 2468: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2469: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2470: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2471: 
 2472: 
 2473: am__api_version='1.11'
 2474: 
 2475: # Find a good install program.  We prefer a C program (faster),
 2476: # so one script is as good as another.  But avoid the broken or
 2477: # incompatible versions:
 2478: # SysV /etc/install, /usr/sbin/install
 2479: # SunOS /usr/etc/install
 2480: # IRIX /sbin/install
 2481: # AIX /bin/install
 2482: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2483: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2484: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2485: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2486: # OS/2's system install, which has a completely different semantic
 2487: # ./install, which can be erroneously created by make from ./install.sh.
 2488: # Reject install programs that cannot install multiple files.
 2489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2490: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2491: if test -z "$INSTALL"; then
 2492: if test "${ac_cv_path_install+set}" = set; then :
 2493:   $as_echo_n "(cached) " >&6
 2494: else
 2495:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2496: for as_dir in $PATH
 2497: do
 2498:   IFS=$as_save_IFS
 2499:   test -z "$as_dir" && as_dir=.
 2500:     # Account for people who put trailing slashes in PATH elements.
 2501: case $as_dir/ in #((
 2502:   ./ | .// | /[cC]/* | \
 2503:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2504:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2505:   /usr/ucb/* ) ;;
 2506:   *)
 2507:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2508:     # Don't use installbsd from OSF since it installs stuff as root
 2509:     # by default.
 2510:     for ac_prog in ginstall scoinst install; do
 2511:       for ac_exec_ext in '' $ac_executable_extensions; do
 2512: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2513: 	  if test $ac_prog = install &&
 2514: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2515: 	    # AIX install.  It has an incompatible calling convention.
 2516: 	    :
 2517: 	  elif test $ac_prog = install &&
 2518: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2519: 	    # program-specific install script used by HP pwplus--don't use.
 2520: 	    :
 2521: 	  else
 2522: 	    rm -rf conftest.one conftest.two conftest.dir
 2523: 	    echo one > conftest.one
 2524: 	    echo two > conftest.two
 2525: 	    mkdir conftest.dir
 2526: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2527: 	      test -s conftest.one && test -s conftest.two &&
 2528: 	      test -s conftest.dir/conftest.one &&
 2529: 	      test -s conftest.dir/conftest.two
 2530: 	    then
 2531: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2532: 	      break 3
 2533: 	    fi
 2534: 	  fi
 2535: 	fi
 2536:       done
 2537:     done
 2538:     ;;
 2539: esac
 2540: 
 2541:   done
 2542: IFS=$as_save_IFS
 2543: 
 2544: rm -rf conftest.one conftest.two conftest.dir
 2545: 
 2546: fi
 2547:   if test "${ac_cv_path_install+set}" = set; then
 2548:     INSTALL=$ac_cv_path_install
 2549:   else
 2550:     # As a last resort, use the slow shell script.  Don't cache a
 2551:     # value for INSTALL within a source directory, because that will
 2552:     # break other packages using the cache if that directory is
 2553:     # removed, or if the value is a relative name.
 2554:     INSTALL=$ac_install_sh
 2555:   fi
 2556: fi
 2557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2558: $as_echo "$INSTALL" >&6; }
 2559: 
 2560: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2561: # It thinks the first close brace ends the variable substitution.
 2562: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2563: 
 2564: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2565: 
 2566: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2567: 
 2568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2569: $as_echo_n "checking whether build environment is sane... " >&6; }
 2570: # Just in case
 2571: sleep 1
 2572: echo timestamp > conftest.file
 2573: # Reject unsafe characters in $srcdir or the absolute working directory
 2574: # name.  Accept space and tab only in the latter.
 2575: am_lf='
 2576: '
 2577: case `pwd` in
 2578:   *[\\\"\#\$\&\'\`$am_lf]*)
 2579:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 2580: esac
 2581: case $srcdir in
 2582:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2583:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 2584: esac
 2585: 
 2586: # Do `set' in a subshell so we don't clobber the current shell's
 2587: # arguments.  Must try -L first in case configure is actually a
 2588: # symlink; some systems play weird games with the mod time of symlinks
 2589: # (eg FreeBSD returns the mod time of the symlink's containing
 2590: # directory).
 2591: if (
 2592:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2593:    if test "$*" = "X"; then
 2594:       # -L didn't work.
 2595:       set X `ls -t "$srcdir/configure" conftest.file`
 2596:    fi
 2597:    rm -f conftest.file
 2598:    if test "$*" != "X $srcdir/configure conftest.file" \
 2599:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2600: 
 2601:       # If neither matched, then we have a broken ls.  This can happen
 2602:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2603:       # broken ls alias from the environment.  This has actually
 2604:       # happened.  Such a system could not be considered "sane".
 2605:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2606: alias in your environment" "$LINENO" 5
 2607:    fi
 2608: 
 2609:    test "$2" = conftest.file
 2610:    )
 2611: then
 2612:    # Ok.
 2613:    :
 2614: else
 2615:    as_fn_error $? "newly created file is older than distributed files!
 2616: Check your system clock" "$LINENO" 5
 2617: fi
 2618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2619: $as_echo "yes" >&6; }
 2620: test "$program_prefix" != NONE &&
 2621:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2622: # Use a double $ so make ignores it.
 2623: test "$program_suffix" != NONE &&
 2624:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2625: # Double any \ or $.
 2626: # By default was `s,x,x', remove it if useless.
 2627: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2628: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2629: 
 2630: # expand $ac_aux_dir to an absolute path
 2631: am_aux_dir=`cd $ac_aux_dir && pwd`
 2632: 
 2633: if test x"${MISSING+set}" != xset; then
 2634:   case $am_aux_dir in
 2635:   *\ * | *\	*)
 2636:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2637:   *)
 2638:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2639:   esac
 2640: fi
 2641: # Use eval to expand $SHELL
 2642: if eval "$MISSING --run true"; then
 2643:   am_missing_run="$MISSING --run "
 2644: else
 2645:   am_missing_run=
 2646:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2647: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2648: fi
 2649: 
 2650: if test x"${install_sh}" != xset; then
 2651:   case $am_aux_dir in
 2652:   *\ * | *\	*)
 2653:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2654:   *)
 2655:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2656:   esac
 2657: fi
 2658: 
 2659: # Installed binaries are usually stripped using `strip' when the user
 2660: # run `make install-strip'.  However `strip' might not be the right
 2661: # tool to use in cross-compilation environments, therefore Automake
 2662: # will honor the `STRIP' environment variable to overrule this program.
 2663: if test "$cross_compiling" != no; then
 2664:   if test -n "$ac_tool_prefix"; then
 2665:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2666: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2668: $as_echo_n "checking for $ac_word... " >&6; }
 2669: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2670:   $as_echo_n "(cached) " >&6
 2671: else
 2672:   if test -n "$STRIP"; then
 2673:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2674: else
 2675: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2676: for as_dir in $PATH
 2677: do
 2678:   IFS=$as_save_IFS
 2679:   test -z "$as_dir" && as_dir=.
 2680:     for ac_exec_ext in '' $ac_executable_extensions; do
 2681:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2682:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2683:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2684:     break 2
 2685:   fi
 2686: done
 2687:   done
 2688: IFS=$as_save_IFS
 2689: 
 2690: fi
 2691: fi
 2692: STRIP=$ac_cv_prog_STRIP
 2693: if test -n "$STRIP"; then
 2694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2695: $as_echo "$STRIP" >&6; }
 2696: else
 2697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2698: $as_echo "no" >&6; }
 2699: fi
 2700: 
 2701: 
 2702: fi
 2703: if test -z "$ac_cv_prog_STRIP"; then
 2704:   ac_ct_STRIP=$STRIP
 2705:   # Extract the first word of "strip", so it can be a program name with args.
 2706: set dummy strip; ac_word=$2
 2707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2708: $as_echo_n "checking for $ac_word... " >&6; }
 2709: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2710:   $as_echo_n "(cached) " >&6
 2711: else
 2712:   if test -n "$ac_ct_STRIP"; then
 2713:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2714: else
 2715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2716: for as_dir in $PATH
 2717: do
 2718:   IFS=$as_save_IFS
 2719:   test -z "$as_dir" && as_dir=.
 2720:     for ac_exec_ext in '' $ac_executable_extensions; do
 2721:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2722:     ac_cv_prog_ac_ct_STRIP="strip"
 2723:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2724:     break 2
 2725:   fi
 2726: done
 2727:   done
 2728: IFS=$as_save_IFS
 2729: 
 2730: fi
 2731: fi
 2732: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2733: if test -n "$ac_ct_STRIP"; then
 2734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2735: $as_echo "$ac_ct_STRIP" >&6; }
 2736: else
 2737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2738: $as_echo "no" >&6; }
 2739: fi
 2740: 
 2741:   if test "x$ac_ct_STRIP" = x; then
 2742:     STRIP=":"
 2743:   else
 2744:     case $cross_compiling:$ac_tool_warned in
 2745: yes:)
 2746: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2747: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2748: ac_tool_warned=yes ;;
 2749: esac
 2750:     STRIP=$ac_ct_STRIP
 2751:   fi
 2752: else
 2753:   STRIP="$ac_cv_prog_STRIP"
 2754: fi
 2755: 
 2756: fi
 2757: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2758: 
 2759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2760: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2761: if test -z "$MKDIR_P"; then
 2762:   if test "${ac_cv_path_mkdir+set}" = set; then :
 2763:   $as_echo_n "(cached) " >&6
 2764: else
 2765:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2766: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2767: do
 2768:   IFS=$as_save_IFS
 2769:   test -z "$as_dir" && as_dir=.
 2770:     for ac_prog in mkdir gmkdir; do
 2771: 	 for ac_exec_ext in '' $ac_executable_extensions; do
 2772: 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 2773: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2774: 	     'mkdir (GNU coreutils) '* | \
 2775: 	     'mkdir (coreutils) '* | \
 2776: 	     'mkdir (fileutils) '4.1*)
 2777: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2778: 	       break 3;;
 2779: 	   esac
 2780: 	 done
 2781:        done
 2782:   done
 2783: IFS=$as_save_IFS
 2784: 
 2785: fi
 2786: 
 2787:   test -d ./--version && rmdir ./--version
 2788:   if test "${ac_cv_path_mkdir+set}" = set; then
 2789:     MKDIR_P="$ac_cv_path_mkdir -p"
 2790:   else
 2791:     # As a last resort, use the slow shell script.  Don't cache a
 2792:     # value for MKDIR_P within a source directory, because that will
 2793:     # break other packages using the cache if that directory is
 2794:     # removed, or if the value is a relative name.
 2795:     MKDIR_P="$ac_install_sh -d"
 2796:   fi
 2797: fi
 2798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2799: $as_echo "$MKDIR_P" >&6; }
 2800: 
 2801: mkdir_p="$MKDIR_P"
 2802: case $mkdir_p in
 2803:   [\\/$]* | ?:[\\/]*) ;;
 2804:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 2805: esac
 2806: 
 2807: for ac_prog in gawk mawk nawk awk
 2808: do
 2809:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2810: set dummy $ac_prog; ac_word=$2
 2811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2812: $as_echo_n "checking for $ac_word... " >&6; }
 2813: if test "${ac_cv_prog_AWK+set}" = set; then :
 2814:   $as_echo_n "(cached) " >&6
 2815: else
 2816:   if test -n "$AWK"; then
 2817:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2818: else
 2819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2820: for as_dir in $PATH
 2821: do
 2822:   IFS=$as_save_IFS
 2823:   test -z "$as_dir" && as_dir=.
 2824:     for ac_exec_ext in '' $ac_executable_extensions; do
 2825:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2826:     ac_cv_prog_AWK="$ac_prog"
 2827:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2828:     break 2
 2829:   fi
 2830: done
 2831:   done
 2832: IFS=$as_save_IFS
 2833: 
 2834: fi
 2835: fi
 2836: AWK=$ac_cv_prog_AWK
 2837: if test -n "$AWK"; then
 2838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2839: $as_echo "$AWK" >&6; }
 2840: else
 2841:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2842: $as_echo "no" >&6; }
 2843: fi
 2844: 
 2845: 
 2846:   test -n "$AWK" && break
 2847: done
 2848: 
 2849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2850: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2851: set x ${MAKE-make}
 2852: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2853: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 2854:   $as_echo_n "(cached) " >&6
 2855: else
 2856:   cat >conftest.make <<\_ACEOF
 2857: SHELL = /bin/sh
 2858: all:
 2859: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 2860: _ACEOF
 2861: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2862: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2863:   *@@@%%%=?*=@@@%%%*)
 2864:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2865:   *)
 2866:     eval ac_cv_prog_make_${ac_make}_set=no;;
 2867: esac
 2868: rm -f conftest.make
 2869: fi
 2870: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2871:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2872: $as_echo "yes" >&6; }
 2873:   SET_MAKE=
 2874: else
 2875:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2876: $as_echo "no" >&6; }
 2877:   SET_MAKE="MAKE=${MAKE-make}"
 2878: fi
 2879: 
 2880: rm -rf .tst 2>/dev/null
 2881: mkdir .tst 2>/dev/null
 2882: if test -d .tst; then
 2883:   am__leading_dot=.
 2884: else
 2885:   am__leading_dot=_
 2886: fi
 2887: rmdir .tst 2>/dev/null
 2888: 
 2889: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2890:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2891:   # is not polluted with repeated "-I."
 2892:   am__isrc=' -I$(srcdir)'
 2893:   # test to see if srcdir already configured
 2894:   if test -f $srcdir/config.status; then
 2895:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2896:   fi
 2897: fi
 2898: 
 2899: # test whether we have cygpath
 2900: if test -z "$CYGPATH_W"; then
 2901:   if (cygpath --version) >/dev/null 2>/dev/null; then
 2902:     CYGPATH_W='cygpath -w'
 2903:   else
 2904:     CYGPATH_W=echo
 2905:   fi
 2906: fi
 2907: 
 2908: 
 2909: # Define the identity of the package.
 2910:  PACKAGE=axl
 2911:  VERSION=$AXL_VERSION
 2912: 
 2913: 
 2914: cat >>confdefs.h <<_ACEOF
 2915: #define PACKAGE "$PACKAGE"
 2916: _ACEOF
 2917: 
 2918: 
 2919: cat >>confdefs.h <<_ACEOF
 2920: #define VERSION "$VERSION"
 2921: _ACEOF
 2922: 
 2923: # Some tools Automake needs.
 2924: 
 2925: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2926: 
 2927: 
 2928: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2929: 
 2930: 
 2931: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2932: 
 2933: 
 2934: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2935: 
 2936: 
 2937: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2938: 
 2939: # We need awk for the "check" target.  The system "awk" is bad on
 2940: # some platforms.
 2941: # Always define AMTAR for backward compatibility.
 2942: 
 2943: AMTAR=${AMTAR-"${am_missing_run}tar"}
 2944: 
 2945: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2946: 
 2947: 
 2948: 
 2949: 
 2950: 
 2951: ac_config_headers="$ac_config_headers config.h"
 2952: 
 2953: 
 2954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2955: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 2956:     # Check whether --enable-maintainer-mode was given.
 2957: if test "${enable_maintainer_mode+set}" = set; then :
 2958:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 2959: else
 2960:   USE_MAINTAINER_MODE=no
 2961: fi
 2962: 
 2963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 2964: $as_echo "$USE_MAINTAINER_MODE" >&6; }
 2965:    if test $USE_MAINTAINER_MODE = yes; then
 2966:   MAINTAINER_MODE_TRUE=
 2967:   MAINTAINER_MODE_FALSE='#'
 2968: else
 2969:   MAINTAINER_MODE_TRUE='#'
 2970:   MAINTAINER_MODE_FALSE=
 2971: fi
 2972: 
 2973:   MAINT=$MAINTAINER_MODE_TRUE
 2974: 
 2975: 
 2976: 
 2977: ac_ext=c
 2978: ac_cpp='$CPP $CPPFLAGS'
 2979: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2980: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2981: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2982: if test -n "$ac_tool_prefix"; then
 2983:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2984: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2986: $as_echo_n "checking for $ac_word... " >&6; }
 2987: if test "${ac_cv_prog_CC+set}" = set; then :
 2988:   $as_echo_n "(cached) " >&6
 2989: else
 2990:   if test -n "$CC"; then
 2991:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2992: else
 2993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2994: for as_dir in $PATH
 2995: do
 2996:   IFS=$as_save_IFS
 2997:   test -z "$as_dir" && as_dir=.
 2998:     for ac_exec_ext in '' $ac_executable_extensions; do
 2999:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3000:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3001:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3002:     break 2
 3003:   fi
 3004: done
 3005:   done
 3006: IFS=$as_save_IFS
 3007: 
 3008: fi
 3009: fi
 3010: CC=$ac_cv_prog_CC
 3011: if test -n "$CC"; then
 3012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3013: $as_echo "$CC" >&6; }
 3014: else
 3015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3016: $as_echo "no" >&6; }
 3017: fi
 3018: 
 3019: 
 3020: fi
 3021: if test -z "$ac_cv_prog_CC"; then
 3022:   ac_ct_CC=$CC
 3023:   # Extract the first word of "gcc", so it can be a program name with args.
 3024: set dummy gcc; ac_word=$2
 3025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3026: $as_echo_n "checking for $ac_word... " >&6; }
 3027: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3028:   $as_echo_n "(cached) " >&6
 3029: else
 3030:   if test -n "$ac_ct_CC"; then
 3031:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3032: else
 3033: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3034: for as_dir in $PATH
 3035: do
 3036:   IFS=$as_save_IFS
 3037:   test -z "$as_dir" && as_dir=.
 3038:     for ac_exec_ext in '' $ac_executable_extensions; do
 3039:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3040:     ac_cv_prog_ac_ct_CC="gcc"
 3041:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3042:     break 2
 3043:   fi
 3044: done
 3045:   done
 3046: IFS=$as_save_IFS
 3047: 
 3048: fi
 3049: fi
 3050: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3051: if test -n "$ac_ct_CC"; then
 3052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3053: $as_echo "$ac_ct_CC" >&6; }
 3054: else
 3055:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3056: $as_echo "no" >&6; }
 3057: fi
 3058: 
 3059:   if test "x$ac_ct_CC" = x; then
 3060:     CC=""
 3061:   else
 3062:     case $cross_compiling:$ac_tool_warned in
 3063: yes:)
 3064: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3065: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3066: ac_tool_warned=yes ;;
 3067: esac
 3068:     CC=$ac_ct_CC
 3069:   fi
 3070: else
 3071:   CC="$ac_cv_prog_CC"
 3072: fi
 3073: 
 3074: if test -z "$CC"; then
 3075:           if test -n "$ac_tool_prefix"; then
 3076:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3077: set dummy ${ac_tool_prefix}cc; ac_word=$2
 3078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3079: $as_echo_n "checking for $ac_word... " >&6; }
 3080: if test "${ac_cv_prog_CC+set}" = set; then :
 3081:   $as_echo_n "(cached) " >&6
 3082: else
 3083:   if test -n "$CC"; then
 3084:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3085: else
 3086: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3087: for as_dir in $PATH
 3088: do
 3089:   IFS=$as_save_IFS
 3090:   test -z "$as_dir" && as_dir=.
 3091:     for ac_exec_ext in '' $ac_executable_extensions; do
 3092:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3093:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3094:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3095:     break 2
 3096:   fi
 3097: done
 3098:   done
 3099: IFS=$as_save_IFS
 3100: 
 3101: fi
 3102: fi
 3103: CC=$ac_cv_prog_CC
 3104: if test -n "$CC"; then
 3105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3106: $as_echo "$CC" >&6; }
 3107: else
 3108:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3109: $as_echo "no" >&6; }
 3110: fi
 3111: 
 3112: 
 3113:   fi
 3114: fi
 3115: if test -z "$CC"; then
 3116:   # Extract the first word of "cc", so it can be a program name with args.
 3117: set dummy cc; ac_word=$2
 3118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3119: $as_echo_n "checking for $ac_word... " >&6; }
 3120: if test "${ac_cv_prog_CC+set}" = set; then :
 3121:   $as_echo_n "(cached) " >&6
 3122: else
 3123:   if test -n "$CC"; then
 3124:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3125: else
 3126:   ac_prog_rejected=no
 3127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3128: for as_dir in $PATH
 3129: do
 3130:   IFS=$as_save_IFS
 3131:   test -z "$as_dir" && as_dir=.
 3132:     for ac_exec_ext in '' $ac_executable_extensions; do
 3133:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3134:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3135:        ac_prog_rejected=yes
 3136:        continue
 3137:      fi
 3138:     ac_cv_prog_CC="cc"
 3139:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3140:     break 2
 3141:   fi
 3142: done
 3143:   done
 3144: IFS=$as_save_IFS
 3145: 
 3146: if test $ac_prog_rejected = yes; then
 3147:   # We found a bogon in the path, so make sure we never use it.
 3148:   set dummy $ac_cv_prog_CC
 3149:   shift
 3150:   if test $# != 0; then
 3151:     # We chose a different compiler from the bogus one.
 3152:     # However, it has the same basename, so the bogon will be chosen
 3153:     # first if we set CC to just the basename; use the full file name.
 3154:     shift
 3155:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3156:   fi
 3157: fi
 3158: fi
 3159: fi
 3160: CC=$ac_cv_prog_CC
 3161: if test -n "$CC"; then
 3162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3163: $as_echo "$CC" >&6; }
 3164: else
 3165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3166: $as_echo "no" >&6; }
 3167: fi
 3168: 
 3169: 
 3170: fi
 3171: if test -z "$CC"; then
 3172:   if test -n "$ac_tool_prefix"; then
 3173:   for ac_prog in cl.exe
 3174:   do
 3175:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3176: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3177: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3178: $as_echo_n "checking for $ac_word... " >&6; }
 3179: if test "${ac_cv_prog_CC+set}" = set; then :
 3180:   $as_echo_n "(cached) " >&6
 3181: else
 3182:   if test -n "$CC"; then
 3183:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3184: else
 3185: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3186: for as_dir in $PATH
 3187: do
 3188:   IFS=$as_save_IFS
 3189:   test -z "$as_dir" && as_dir=.
 3190:     for ac_exec_ext in '' $ac_executable_extensions; do
 3191:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3192:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3193:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3194:     break 2
 3195:   fi
 3196: done
 3197:   done
 3198: IFS=$as_save_IFS
 3199: 
 3200: fi
 3201: fi
 3202: CC=$ac_cv_prog_CC
 3203: if test -n "$CC"; then
 3204:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3205: $as_echo "$CC" >&6; }
 3206: else
 3207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3208: $as_echo "no" >&6; }
 3209: fi
 3210: 
 3211: 
 3212:     test -n "$CC" && break
 3213:   done
 3214: fi
 3215: if test -z "$CC"; then
 3216:   ac_ct_CC=$CC
 3217:   for ac_prog in cl.exe
 3218: do
 3219:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3220: set dummy $ac_prog; ac_word=$2
 3221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3222: $as_echo_n "checking for $ac_word... " >&6; }
 3223: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3224:   $as_echo_n "(cached) " >&6
 3225: else
 3226:   if test -n "$ac_ct_CC"; then
 3227:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3228: else
 3229: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3230: for as_dir in $PATH
 3231: do
 3232:   IFS=$as_save_IFS
 3233:   test -z "$as_dir" && as_dir=.
 3234:     for ac_exec_ext in '' $ac_executable_extensions; do
 3235:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3236:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3237:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3238:     break 2
 3239:   fi
 3240: done
 3241:   done
 3242: IFS=$as_save_IFS
 3243: 
 3244: fi
 3245: fi
 3246: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3247: if test -n "$ac_ct_CC"; then
 3248:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3249: $as_echo "$ac_ct_CC" >&6; }
 3250: else
 3251:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3252: $as_echo "no" >&6; }
 3253: fi
 3254: 
 3255: 
 3256:   test -n "$ac_ct_CC" && break
 3257: done
 3258: 
 3259:   if test "x$ac_ct_CC" = x; then
 3260:     CC=""
 3261:   else
 3262:     case $cross_compiling:$ac_tool_warned in
 3263: yes:)
 3264: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3265: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3266: ac_tool_warned=yes ;;
 3267: esac
 3268:     CC=$ac_ct_CC
 3269:   fi
 3270: fi
 3271: 
 3272: fi
 3273: 
 3274: 
 3275: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3276: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3277: as_fn_error $? "no acceptable C compiler found in \$PATH
 3278: See \`config.log' for more details" "$LINENO" 5 ; }
 3279: 
 3280: # Provide some information about the compiler.
 3281: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3282: set X $ac_compile
 3283: ac_compiler=$2
 3284: for ac_option in --version -v -V -qversion; do
 3285:   { { ac_try="$ac_compiler $ac_option >&5"
 3286: case "(($ac_try" in
 3287:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3288:   *) ac_try_echo=$ac_try;;
 3289: esac
 3290: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3291: $as_echo "$ac_try_echo"; } >&5
 3292:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3293:   ac_status=$?
 3294:   if test -s conftest.err; then
 3295:     sed '10a\
 3296: ... rest of stderr output deleted ...
 3297:          10q' conftest.err >conftest.er1
 3298:     cat conftest.er1 >&5
 3299:   fi
 3300:   rm -f conftest.er1 conftest.err
 3301:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3302:   test $ac_status = 0; }
 3303: done
 3304: 
 3305: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3306: /* end confdefs.h.  */
 3307: 
 3308: int
 3309: main ()
 3310: {
 3311: 
 3312:   ;
 3313:   return 0;
 3314: }
 3315: _ACEOF
 3316: ac_clean_files_save=$ac_clean_files
 3317: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3318: # Try to create an executable without -o first, disregard a.out.
 3319: # It will help us diagnose broken compilers, and finding out an intuition
 3320: # of exeext.
 3321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3322: $as_echo_n "checking whether the C compiler works... " >&6; }
 3323: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3324: 
 3325: # The possible output files:
 3326: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3327: 
 3328: ac_rmfiles=
 3329: for ac_file in $ac_files
 3330: do
 3331:   case $ac_file in
 3332:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3333:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3334:   esac
 3335: done
 3336: rm -f $ac_rmfiles
 3337: 
 3338: if { { ac_try="$ac_link_default"
 3339: case "(($ac_try" in
 3340:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3341:   *) ac_try_echo=$ac_try;;
 3342: esac
 3343: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3344: $as_echo "$ac_try_echo"; } >&5
 3345:   (eval "$ac_link_default") 2>&5
 3346:   ac_status=$?
 3347:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3348:   test $ac_status = 0; }; then :
 3349:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3350: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3351: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3352: # so that the user can short-circuit this test for compilers unknown to
 3353: # Autoconf.
 3354: for ac_file in $ac_files ''
 3355: do
 3356:   test -f "$ac_file" || continue
 3357:   case $ac_file in
 3358:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3359: 	;;
 3360:     [ab].out )
 3361: 	# We found the default executable, but exeext='' is most
 3362: 	# certainly right.
 3363: 	break;;
 3364:     *.* )
 3365: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3366: 	then :; else
 3367: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3368: 	fi
 3369: 	# We set ac_cv_exeext here because the later test for it is not
 3370: 	# safe: cross compilers may not add the suffix if given an `-o'
 3371: 	# argument, so we may need to know it at that point already.
 3372: 	# Even if this section looks crufty: it has the advantage of
 3373: 	# actually working.
 3374: 	break;;
 3375:     * )
 3376: 	break;;
 3377:   esac
 3378: done
 3379: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3380: 
 3381: else
 3382:   ac_file=''
 3383: fi
 3384: if test -z "$ac_file"; then :
 3385:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3386: $as_echo "no" >&6; }
 3387: $as_echo "$as_me: failed program was:" >&5
 3388: sed 's/^/| /' conftest.$ac_ext >&5
 3389: 
 3390: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3391: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3392: as_fn_error 77 "C compiler cannot create executables
 3393: See \`config.log' for more details" "$LINENO" 5 ; }
 3394: else
 3395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3396: $as_echo "yes" >&6; }
 3397: fi
 3398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3399: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3401: $as_echo "$ac_file" >&6; }
 3402: ac_exeext=$ac_cv_exeext
 3403: 
 3404: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3405: ac_clean_files=$ac_clean_files_save
 3406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3407: $as_echo_n "checking for suffix of executables... " >&6; }
 3408: if { { ac_try="$ac_link"
 3409: case "(($ac_try" in
 3410:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3411:   *) ac_try_echo=$ac_try;;
 3412: esac
 3413: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3414: $as_echo "$ac_try_echo"; } >&5
 3415:   (eval "$ac_link") 2>&5
 3416:   ac_status=$?
 3417:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3418:   test $ac_status = 0; }; then :
 3419:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3420: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3421: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3422: # `rm'.
 3423: for ac_file in conftest.exe conftest conftest.*; do
 3424:   test -f "$ac_file" || continue
 3425:   case $ac_file in
 3426:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3427:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3428: 	  break;;
 3429:     * ) break;;
 3430:   esac
 3431: done
 3432: else
 3433:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3434: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3435: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3436: See \`config.log' for more details" "$LINENO" 5 ; }
 3437: fi
 3438: rm -f conftest conftest$ac_cv_exeext
 3439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3440: $as_echo "$ac_cv_exeext" >&6; }
 3441: 
 3442: rm -f conftest.$ac_ext
 3443: EXEEXT=$ac_cv_exeext
 3444: ac_exeext=$EXEEXT
 3445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3446: /* end confdefs.h.  */
 3447: #include <stdio.h>
 3448: int
 3449: main ()
 3450: {
 3451: FILE *f = fopen ("conftest.out", "w");
 3452:  return ferror (f) || fclose (f) != 0;
 3453: 
 3454:   ;
 3455:   return 0;
 3456: }
 3457: _ACEOF
 3458: ac_clean_files="$ac_clean_files conftest.out"
 3459: # Check that the compiler produces executables we can run.  If not, either
 3460: # the compiler is broken, or we cross compile.
 3461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3462: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3463: if test "$cross_compiling" != yes; then
 3464:   { { ac_try="$ac_link"
 3465: case "(($ac_try" in
 3466:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3467:   *) ac_try_echo=$ac_try;;
 3468: esac
 3469: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3470: $as_echo "$ac_try_echo"; } >&5
 3471:   (eval "$ac_link") 2>&5
 3472:   ac_status=$?
 3473:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3474:   test $ac_status = 0; }
 3475:   if { ac_try='./conftest$ac_cv_exeext'
 3476:   { { case "(($ac_try" in
 3477:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3478:   *) ac_try_echo=$ac_try;;
 3479: esac
 3480: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3481: $as_echo "$ac_try_echo"; } >&5
 3482:   (eval "$ac_try") 2>&5
 3483:   ac_status=$?
 3484:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3485:   test $ac_status = 0; }; }; then
 3486:     cross_compiling=no
 3487:   else
 3488:     if test "$cross_compiling" = maybe; then
 3489: 	cross_compiling=yes
 3490:     else
 3491: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3492: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3493: as_fn_error $? "cannot run C compiled programs.
 3494: If you meant to cross compile, use \`--host'.
 3495: See \`config.log' for more details" "$LINENO" 5 ; }
 3496:     fi
 3497:   fi
 3498: fi
 3499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3500: $as_echo "$cross_compiling" >&6; }
 3501: 
 3502: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3503: ac_clean_files=$ac_clean_files_save
 3504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3505: $as_echo_n "checking for suffix of object files... " >&6; }
 3506: if test "${ac_cv_objext+set}" = set; then :
 3507:   $as_echo_n "(cached) " >&6
 3508: else
 3509:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3510: /* end confdefs.h.  */
 3511: 
 3512: int
 3513: main ()
 3514: {
 3515: 
 3516:   ;
 3517:   return 0;
 3518: }
 3519: _ACEOF
 3520: rm -f conftest.o conftest.obj
 3521: if { { ac_try="$ac_compile"
 3522: case "(($ac_try" in
 3523:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3524:   *) ac_try_echo=$ac_try;;
 3525: esac
 3526: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3527: $as_echo "$ac_try_echo"; } >&5
 3528:   (eval "$ac_compile") 2>&5
 3529:   ac_status=$?
 3530:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3531:   test $ac_status = 0; }; then :
 3532:   for ac_file in conftest.o conftest.obj conftest.*; do
 3533:   test -f "$ac_file" || continue;
 3534:   case $ac_file in
 3535:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3536:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3537:        break;;
 3538:   esac
 3539: done
 3540: else
 3541:   $as_echo "$as_me: failed program was:" >&5
 3542: sed 's/^/| /' conftest.$ac_ext >&5
 3543: 
 3544: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3545: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3546: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3547: See \`config.log' for more details" "$LINENO" 5 ; }
 3548: fi
 3549: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3550: fi
 3551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3552: $as_echo "$ac_cv_objext" >&6; }
 3553: OBJEXT=$ac_cv_objext
 3554: ac_objext=$OBJEXT
 3555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3556: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3557: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3558:   $as_echo_n "(cached) " >&6
 3559: else
 3560:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3561: /* end confdefs.h.  */
 3562: 
 3563: int
 3564: main ()
 3565: {
 3566: #ifndef __GNUC__
 3567:        choke me
 3568: #endif
 3569: 
 3570:   ;
 3571:   return 0;
 3572: }
 3573: _ACEOF
 3574: if ac_fn_c_try_compile "$LINENO"; then :
 3575:   ac_compiler_gnu=yes
 3576: else
 3577:   ac_compiler_gnu=no
 3578: fi
 3579: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3580: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3581: 
 3582: fi
 3583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3584: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3585: if test $ac_compiler_gnu = yes; then
 3586:   GCC=yes
 3587: else
 3588:   GCC=
 3589: fi
 3590: ac_test_CFLAGS=${CFLAGS+set}
 3591: ac_save_CFLAGS=$CFLAGS
 3592: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3593: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3594: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3595:   $as_echo_n "(cached) " >&6
 3596: else
 3597:   ac_save_c_werror_flag=$ac_c_werror_flag
 3598:    ac_c_werror_flag=yes
 3599:    ac_cv_prog_cc_g=no
 3600:    CFLAGS="-g"
 3601:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3602: /* end confdefs.h.  */
 3603: 
 3604: int
 3605: main ()
 3606: {
 3607: 
 3608:   ;
 3609:   return 0;
 3610: }
 3611: _ACEOF
 3612: if ac_fn_c_try_compile "$LINENO"; then :
 3613:   ac_cv_prog_cc_g=yes
 3614: else
 3615:   CFLAGS=""
 3616:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3617: /* end confdefs.h.  */
 3618: 
 3619: int
 3620: main ()
 3621: {
 3622: 
 3623:   ;
 3624:   return 0;
 3625: }
 3626: _ACEOF
 3627: if ac_fn_c_try_compile "$LINENO"; then :
 3628: 
 3629: else
 3630:   ac_c_werror_flag=$ac_save_c_werror_flag
 3631: 	 CFLAGS="-g"
 3632: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3633: /* end confdefs.h.  */
 3634: 
 3635: int
 3636: main ()
 3637: {
 3638: 
 3639:   ;
 3640:   return 0;
 3641: }
 3642: _ACEOF
 3643: if ac_fn_c_try_compile "$LINENO"; then :
 3644:   ac_cv_prog_cc_g=yes
 3645: fi
 3646: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3647: fi
 3648: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3649: fi
 3650: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3651:    ac_c_werror_flag=$ac_save_c_werror_flag
 3652: fi
 3653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3654: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3655: if test "$ac_test_CFLAGS" = set; then
 3656:   CFLAGS=$ac_save_CFLAGS
 3657: elif test $ac_cv_prog_cc_g = yes; then
 3658:   if test "$GCC" = yes; then
 3659:     CFLAGS="-g -O2"
 3660:   else
 3661:     CFLAGS="-g"
 3662:   fi
 3663: else
 3664:   if test "$GCC" = yes; then
 3665:     CFLAGS="-O2"
 3666:   else
 3667:     CFLAGS=
 3668:   fi
 3669: fi
 3670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3671: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3672: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3673:   $as_echo_n "(cached) " >&6
 3674: else
 3675:   ac_cv_prog_cc_c89=no
 3676: ac_save_CC=$CC
 3677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3678: /* end confdefs.h.  */
 3679: #include <stdarg.h>
 3680: #include <stdio.h>
 3681: #include <sys/types.h>
 3682: #include <sys/stat.h>
 3683: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3684: struct buf { int x; };
 3685: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3686: static char *e (p, i)
 3687:      char **p;
 3688:      int i;
 3689: {
 3690:   return p[i];
 3691: }
 3692: static char *f (char * (*g) (char **, int), char **p, ...)
 3693: {
 3694:   char *s;
 3695:   va_list v;
 3696:   va_start (v,p);
 3697:   s = g (p, va_arg (v,int));
 3698:   va_end (v);
 3699:   return s;
 3700: }
 3701: 
 3702: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3703:    function prototypes and stuff, but not '\xHH' hex character constants.
 3704:    These don't provoke an error unfortunately, instead are silently treated
 3705:    as 'x'.  The following induces an error, until -std is added to get
 3706:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3707:    array size at least.  It's necessary to write '\x00'==0 to get something
 3708:    that's true only with -std.  */
 3709: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3710: 
 3711: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3712:    inside strings and character constants.  */
 3713: #define FOO(x) 'x'
 3714: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3715: 
 3716: int test (int i, double x);
 3717: struct s1 {int (*f) (int a);};
 3718: struct s2 {int (*f) (double a);};
 3719: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3720: int argc;
 3721: char **argv;
 3722: int
 3723: main ()
 3724: {
 3725: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3726:   ;
 3727:   return 0;
 3728: }
 3729: _ACEOF
 3730: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3731: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3732: do
 3733:   CC="$ac_save_CC $ac_arg"
 3734:   if ac_fn_c_try_compile "$LINENO"; then :
 3735:   ac_cv_prog_cc_c89=$ac_arg
 3736: fi
 3737: rm -f core conftest.err conftest.$ac_objext
 3738:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3739: done
 3740: rm -f conftest.$ac_ext
 3741: CC=$ac_save_CC
 3742: 
 3743: fi
 3744: # AC_CACHE_VAL
 3745: case "x$ac_cv_prog_cc_c89" in
 3746:   x)
 3747:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3748: $as_echo "none needed" >&6; } ;;
 3749:   xno)
 3750:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3751: $as_echo "unsupported" >&6; } ;;
 3752:   *)
 3753:     CC="$CC $ac_cv_prog_cc_c89"
 3754:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3755: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3756: esac
 3757: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3758: 
 3759: fi
 3760: 
 3761: ac_ext=c
 3762: ac_cpp='$CPP $CPPFLAGS'
 3763: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3764: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3765: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3766: DEPDIR="${am__leading_dot}deps"
 3767: 
 3768: ac_config_commands="$ac_config_commands depfiles"
 3769: 
 3770: 
 3771: am_make=${MAKE-make}
 3772: cat > confinc << 'END'
 3773: am__doit:
 3774: 	@echo this is the am__doit target
 3775: .PHONY: am__doit
 3776: END
 3777: # If we don't find an include directive, just comment out the code.
 3778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3779: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3780: am__include="#"
 3781: am__quote=
 3782: _am_result=none
 3783: # First try GNU make style include.
 3784: echo "include confinc" > confmf
 3785: # Ignore all kinds of additional output from `make'.
 3786: case `$am_make -s -f confmf 2> /dev/null` in #(
 3787: *the\ am__doit\ target*)
 3788:   am__include=include
 3789:   am__quote=
 3790:   _am_result=GNU
 3791:   ;;
 3792: esac
 3793: # Now try BSD make style include.
 3794: if test "$am__include" = "#"; then
 3795:    echo '.include "confinc"' > confmf
 3796:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3797:    *the\ am__doit\ target*)
 3798:      am__include=.include
 3799:      am__quote="\""
 3800:      _am_result=BSD
 3801:      ;;
 3802:    esac
 3803: fi
 3804: 
 3805: 
 3806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3807: $as_echo "$_am_result" >&6; }
 3808: rm -f confinc confmf
 3809: 
 3810: # Check whether --enable-dependency-tracking was given.
 3811: if test "${enable_dependency_tracking+set}" = set; then :
 3812:   enableval=$enable_dependency_tracking;
 3813: fi
 3814: 
 3815: if test "x$enable_dependency_tracking" != xno; then
 3816:   am_depcomp="$ac_aux_dir/depcomp"
 3817:   AMDEPBACKSLASH='\'
 3818: fi
 3819:  if test "x$enable_dependency_tracking" != xno; then
 3820:   AMDEP_TRUE=
 3821:   AMDEP_FALSE='#'
 3822: else
 3823:   AMDEP_TRUE='#'
 3824:   AMDEP_FALSE=
 3825: fi
 3826: 
 3827: 
 3828: 
 3829: depcc="$CC"   am_compiler_list=
 3830: 
 3831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3832: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3833: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3834:   $as_echo_n "(cached) " >&6
 3835: else
 3836:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3837:   # We make a subdir and do the tests there.  Otherwise we can end up
 3838:   # making bogus files that we don't know about and never remove.  For
 3839:   # instance it was reported that on HP-UX the gcc test will end up
 3840:   # making a dummy file named `D' -- because `-MD' means `put the output
 3841:   # in D'.
 3842:   mkdir conftest.dir
 3843:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3844:   # using a relative directory.
 3845:   cp "$am_depcomp" conftest.dir
 3846:   cd conftest.dir
 3847:   # We will build objects and dependencies in a subdirectory because
 3848:   # it helps to detect inapplicable dependency modes.  For instance
 3849:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3850:   # side effect of compilation, but ICC will put the dependencies in
 3851:   # the current directory while Tru64 will put them in the object
 3852:   # directory.
 3853:   mkdir sub
 3854: 
 3855:   am_cv_CC_dependencies_compiler_type=none
 3856:   if test "$am_compiler_list" = ""; then
 3857:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3858:   fi
 3859:   am__universal=false
 3860:   case " $depcc " in #(
 3861:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3862:      esac
 3863: 
 3864:   for depmode in $am_compiler_list; do
 3865:     # Setup a source with many dependencies, because some compilers
 3866:     # like to wrap large dependency lists on column 80 (with \), and
 3867:     # we should not choose a depcomp mode which is confused by this.
 3868:     #
 3869:     # We need to recreate these files for each test, as the compiler may
 3870:     # overwrite some of them when testing with obscure command lines.
 3871:     # This happens at least with the AIX C compiler.
 3872:     : > sub/conftest.c
 3873:     for i in 1 2 3 4 5 6; do
 3874:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3875:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3876:       # Solaris 8's {/usr,}/bin/sh.
 3877:       touch sub/conftst$i.h
 3878:     done
 3879:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3880: 
 3881:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3882:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3883:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3884:     # versions had trouble with output in subdirs
 3885:     am__obj=sub/conftest.${OBJEXT-o}
 3886:     am__minus_obj="-o $am__obj"
 3887:     case $depmode in
 3888:     gcc)
 3889:       # This depmode causes a compiler race in universal mode.
 3890:       test "$am__universal" = false || continue
 3891:       ;;
 3892:     nosideeffect)
 3893:       # after this tag, mechanisms are not by side-effect, so they'll
 3894:       # only be used when explicitly requested
 3895:       if test "x$enable_dependency_tracking" = xyes; then
 3896: 	continue
 3897:       else
 3898: 	break
 3899:       fi
 3900:       ;;
 3901:     msvisualcpp | msvcmsys)
 3902:       # This compiler won't grok `-c -o', but also, the minuso test has
 3903:       # not run yet.  These depmodes are late enough in the game, and
 3904:       # so weak that their functioning should not be impacted.
 3905:       am__obj=conftest.${OBJEXT-o}
 3906:       am__minus_obj=
 3907:       ;;
 3908:     none) break ;;
 3909:     esac
 3910:     if depmode=$depmode \
 3911:        source=sub/conftest.c object=$am__obj \
 3912:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3913:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3914:          >/dev/null 2>conftest.err &&
 3915:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3916:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3917:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3918:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3919:       # icc doesn't choke on unknown options, it will just issue warnings
 3920:       # or remarks (even with -Werror).  So we grep stderr for any message
 3921:       # that says an option was ignored or not supported.
 3922:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3923:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3924:       # The diagnosis changed in icc 8.0:
 3925:       #   icc: Command line remark: option '-MP' not supported
 3926:       if (grep 'ignoring option' conftest.err ||
 3927:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3928:         am_cv_CC_dependencies_compiler_type=$depmode
 3929:         break
 3930:       fi
 3931:     fi
 3932:   done
 3933: 
 3934:   cd ..
 3935:   rm -rf conftest.dir
 3936: else
 3937:   am_cv_CC_dependencies_compiler_type=none
 3938: fi
 3939: 
 3940: fi
 3941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3942: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3943: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3944: 
 3945:  if
 3946:   test "x$enable_dependency_tracking" != xno \
 3947:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3948:   am__fastdepCC_TRUE=
 3949:   am__fastdepCC_FALSE='#'
 3950: else
 3951:   am__fastdepCC_TRUE='#'
 3952:   am__fastdepCC_FALSE=
 3953: fi
 3954: 
 3955: 
 3956: 
 3957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 3958: $as_echo_n "checking for library containing strerror... " >&6; }
 3959: if test "${ac_cv_search_strerror+set}" = set; then :
 3960:   $as_echo_n "(cached) " >&6
 3961: else
 3962:   ac_func_search_save_LIBS=$LIBS
 3963: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3964: /* end confdefs.h.  */
 3965: 
 3966: /* Override any GCC internal prototype to avoid an error.
 3967:    Use char because int might match the return type of a GCC
 3968:    builtin and then its argument prototype would still apply.  */
 3969: #ifdef __cplusplus
 3970: extern "C"
 3971: #endif
 3972: char strerror ();
 3973: int
 3974: main ()
 3975: {
 3976: return strerror ();
 3977:   ;
 3978:   return 0;
 3979: }
 3980: _ACEOF
 3981: for ac_lib in '' cposix; do
 3982:   if test -z "$ac_lib"; then
 3983:     ac_res="none required"
 3984:   else
 3985:     ac_res=-l$ac_lib
 3986:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3987:   fi
 3988:   if ac_fn_c_try_link "$LINENO"; then :
 3989:   ac_cv_search_strerror=$ac_res
 3990: fi
 3991: rm -f core conftest.err conftest.$ac_objext \
 3992:     conftest$ac_exeext
 3993:   if test "${ac_cv_search_strerror+set}" = set; then :
 3994:   break
 3995: fi
 3996: done
 3997: if test "${ac_cv_search_strerror+set}" = set; then :
 3998: 
 3999: else
 4000:   ac_cv_search_strerror=no
 4001: fi
 4002: rm conftest.$ac_ext
 4003: LIBS=$ac_func_search_save_LIBS
 4004: fi
 4005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 4006: $as_echo "$ac_cv_search_strerror" >&6; }
 4007: ac_res=$ac_cv_search_strerror
 4008: if test "$ac_res" != no; then :
 4009:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 4010: 
 4011: fi
 4012: 
 4013: ac_ext=c
 4014: ac_cpp='$CPP $CPPFLAGS'
 4015: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4016: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4017: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4019: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4020: # On Suns, sometimes $CPP names a directory.
 4021: if test -n "$CPP" && test -d "$CPP"; then
 4022:   CPP=
 4023: fi
 4024: if test -z "$CPP"; then
 4025:   if test "${ac_cv_prog_CPP+set}" = set; then :
 4026:   $as_echo_n "(cached) " >&6
 4027: else
 4028:       # Double quotes because CPP needs to be expanded
 4029:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4030:     do
 4031:       ac_preproc_ok=false
 4032: for ac_c_preproc_warn_flag in '' yes
 4033: do
 4034:   # Use a header file that comes with gcc, so configuring glibc
 4035:   # with a fresh cross-compiler works.
 4036:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4037:   # <limits.h> exists even on freestanding compilers.
 4038:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4039:   # not just through cpp. "Syntax error" is here to catch this case.
 4040:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4041: /* end confdefs.h.  */
 4042: #ifdef __STDC__
 4043: # include <limits.h>
 4044: #else
 4045: # include <assert.h>
 4046: #endif
 4047: 		     Syntax error
 4048: _ACEOF
 4049: if ac_fn_c_try_cpp "$LINENO"; then :
 4050: 
 4051: else
 4052:   # Broken: fails on valid input.
 4053: continue
 4054: fi
 4055: rm -f conftest.err conftest.i conftest.$ac_ext
 4056: 
 4057:   # OK, works on sane cases.  Now check whether nonexistent headers
 4058:   # can be detected and how.
 4059:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4060: /* end confdefs.h.  */
 4061: #include <ac_nonexistent.h>
 4062: _ACEOF
 4063: if ac_fn_c_try_cpp "$LINENO"; then :
 4064:   # Broken: success on invalid input.
 4065: continue
 4066: else
 4067:   # Passes both tests.
 4068: ac_preproc_ok=:
 4069: break
 4070: fi
 4071: rm -f conftest.err conftest.i conftest.$ac_ext
 4072: 
 4073: done
 4074: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4075: rm -f conftest.i conftest.err conftest.$ac_ext
 4076: if $ac_preproc_ok; then :
 4077:   break
 4078: fi
 4079: 
 4080:     done
 4081:     ac_cv_prog_CPP=$CPP
 4082: 
 4083: fi
 4084:   CPP=$ac_cv_prog_CPP
 4085: else
 4086:   ac_cv_prog_CPP=$CPP
 4087: fi
 4088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4089: $as_echo "$CPP" >&6; }
 4090: ac_preproc_ok=false
 4091: for ac_c_preproc_warn_flag in '' yes
 4092: do
 4093:   # Use a header file that comes with gcc, so configuring glibc
 4094:   # with a fresh cross-compiler works.
 4095:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4096:   # <limits.h> exists even on freestanding compilers.
 4097:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4098:   # not just through cpp. "Syntax error" is here to catch this case.
 4099:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4100: /* end confdefs.h.  */
 4101: #ifdef __STDC__
 4102: # include <limits.h>
 4103: #else
 4104: # include <assert.h>
 4105: #endif
 4106: 		     Syntax error
 4107: _ACEOF
 4108: if ac_fn_c_try_cpp "$LINENO"; then :
 4109: 
 4110: else
 4111:   # Broken: fails on valid input.
 4112: continue
 4113: fi
 4114: rm -f conftest.err conftest.i conftest.$ac_ext
 4115: 
 4116:   # OK, works on sane cases.  Now check whether nonexistent headers
 4117:   # can be detected and how.
 4118:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4119: /* end confdefs.h.  */
 4120: #include <ac_nonexistent.h>
 4121: _ACEOF
 4122: if ac_fn_c_try_cpp "$LINENO"; then :
 4123:   # Broken: success on invalid input.
 4124: continue
 4125: else
 4126:   # Passes both tests.
 4127: ac_preproc_ok=:
 4128: break
 4129: fi
 4130: rm -f conftest.err conftest.i conftest.$ac_ext
 4131: 
 4132: done
 4133: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4134: rm -f conftest.i conftest.err conftest.$ac_ext
 4135: if $ac_preproc_ok; then :
 4136: 
 4137: else
 4138:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4139: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4140: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 4141: See \`config.log' for more details" "$LINENO" 5 ; }
 4142: fi
 4143: 
 4144: ac_ext=c
 4145: ac_cpp='$CPP $CPPFLAGS'
 4146: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4147: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4148: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4149: 
 4150: 
 4151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4152: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4153: if test "${ac_cv_path_GREP+set}" = set; then :
 4154:   $as_echo_n "(cached) " >&6
 4155: else
 4156:   if test -z "$GREP"; then
 4157:   ac_path_GREP_found=false
 4158:   # Loop through the user's path and test for each of PROGNAME-LIST
 4159:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4160: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4161: do
 4162:   IFS=$as_save_IFS
 4163:   test -z "$as_dir" && as_dir=.
 4164:     for ac_prog in grep ggrep; do
 4165:     for ac_exec_ext in '' $ac_executable_extensions; do
 4166:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4167:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4168: # Check for GNU ac_path_GREP and select it if it is found.
 4169:   # Check for GNU $ac_path_GREP
 4170: case `"$ac_path_GREP" --version 2>&1` in
 4171: *GNU*)
 4172:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4173: *)
 4174:   ac_count=0
 4175:   $as_echo_n 0123456789 >"conftest.in"
 4176:   while :
 4177:   do
 4178:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4179:     mv "conftest.tmp" "conftest.in"
 4180:     cp "conftest.in" "conftest.nl"
 4181:     $as_echo 'GREP' >> "conftest.nl"
 4182:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4183:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4184:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4185:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4186:       # Best one so far, save it but keep looking for a better one
 4187:       ac_cv_path_GREP="$ac_path_GREP"
 4188:       ac_path_GREP_max=$ac_count
 4189:     fi
 4190:     # 10*(2^10) chars as input seems more than enough
 4191:     test $ac_count -gt 10 && break
 4192:   done
 4193:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4194: esac
 4195: 
 4196:       $ac_path_GREP_found && break 3
 4197:     done
 4198:   done
 4199:   done
 4200: IFS=$as_save_IFS
 4201:   if test -z "$ac_cv_path_GREP"; then
 4202:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4203:   fi
 4204: else
 4205:   ac_cv_path_GREP=$GREP
 4206: fi
 4207: 
 4208: fi
 4209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4210: $as_echo "$ac_cv_path_GREP" >&6; }
 4211:  GREP="$ac_cv_path_GREP"
 4212: 
 4213: 
 4214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4215: $as_echo_n "checking for egrep... " >&6; }
 4216: if test "${ac_cv_path_EGREP+set}" = set; then :
 4217:   $as_echo_n "(cached) " >&6
 4218: else
 4219:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4220:    then ac_cv_path_EGREP="$GREP -E"
 4221:    else
 4222:      if test -z "$EGREP"; then
 4223:   ac_path_EGREP_found=false
 4224:   # Loop through the user's path and test for each of PROGNAME-LIST
 4225:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4226: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4227: do
 4228:   IFS=$as_save_IFS
 4229:   test -z "$as_dir" && as_dir=.
 4230:     for ac_prog in egrep; do
 4231:     for ac_exec_ext in '' $ac_executable_extensions; do
 4232:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4233:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4234: # Check for GNU ac_path_EGREP and select it if it is found.
 4235:   # Check for GNU $ac_path_EGREP
 4236: case `"$ac_path_EGREP" --version 2>&1` in
 4237: *GNU*)
 4238:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4239: *)
 4240:   ac_count=0
 4241:   $as_echo_n 0123456789 >"conftest.in"
 4242:   while :
 4243:   do
 4244:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4245:     mv "conftest.tmp" "conftest.in"
 4246:     cp "conftest.in" "conftest.nl"
 4247:     $as_echo 'EGREP' >> "conftest.nl"
 4248:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4249:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4250:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4251:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4252:       # Best one so far, save it but keep looking for a better one
 4253:       ac_cv_path_EGREP="$ac_path_EGREP"
 4254:       ac_path_EGREP_max=$ac_count
 4255:     fi
 4256:     # 10*(2^10) chars as input seems more than enough
 4257:     test $ac_count -gt 10 && break
 4258:   done
 4259:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4260: esac
 4261: 
 4262:       $ac_path_EGREP_found && break 3
 4263:     done
 4264:   done
 4265:   done
 4266: IFS=$as_save_IFS
 4267:   if test -z "$ac_cv_path_EGREP"; then
 4268:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4269:   fi
 4270: else
 4271:   ac_cv_path_EGREP=$EGREP
 4272: fi
 4273: 
 4274:    fi
 4275: fi
 4276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4277: $as_echo "$ac_cv_path_EGREP" >&6; }
 4278:  EGREP="$ac_cv_path_EGREP"
 4279: 
 4280: 
 4281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 4282: $as_echo_n "checking for ANSI C header files... " >&6; }
 4283: if test "${ac_cv_header_stdc+set}" = set; then :
 4284:   $as_echo_n "(cached) " >&6
 4285: else
 4286:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4287: /* end confdefs.h.  */
 4288: #include <stdlib.h>
 4289: #include <stdarg.h>
 4290: #include <string.h>
 4291: #include <float.h>
 4292: 
 4293: int
 4294: main ()
 4295: {
 4296: 
 4297:   ;
 4298:   return 0;
 4299: }
 4300: _ACEOF
 4301: if ac_fn_c_try_compile "$LINENO"; then :
 4302:   ac_cv_header_stdc=yes
 4303: else
 4304:   ac_cv_header_stdc=no
 4305: fi
 4306: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4307: 
 4308: if test $ac_cv_header_stdc = yes; then
 4309:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4310:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4311: /* end confdefs.h.  */
 4312: #include <string.h>
 4313: 
 4314: _ACEOF
 4315: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4316:   $EGREP "memchr" >/dev/null 2>&1; then :
 4317: 
 4318: else
 4319:   ac_cv_header_stdc=no
 4320: fi
 4321: rm -f conftest*
 4322: 
 4323: fi
 4324: 
 4325: if test $ac_cv_header_stdc = yes; then
 4326:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4327:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4328: /* end confdefs.h.  */
 4329: #include <stdlib.h>
 4330: 
 4331: _ACEOF
 4332: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4333:   $EGREP "free" >/dev/null 2>&1; then :
 4334: 
 4335: else
 4336:   ac_cv_header_stdc=no
 4337: fi
 4338: rm -f conftest*
 4339: 
 4340: fi
 4341: 
 4342: if test $ac_cv_header_stdc = yes; then
 4343:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4344:   if test "$cross_compiling" = yes; then :
 4345:   :
 4346: else
 4347:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4348: /* end confdefs.h.  */
 4349: #include <ctype.h>
 4350: #include <stdlib.h>
 4351: #if ((' ' & 0x0FF) == 0x020)
 4352: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4353: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4354: #else
 4355: # define ISLOWER(c) \
 4356: 		   (('a' <= (c) && (c) <= 'i') \
 4357: 		     || ('j' <= (c) && (c) <= 'r') \
 4358: 		     || ('s' <= (c) && (c) <= 'z'))
 4359: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4360: #endif
 4361: 
 4362: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4363: int
 4364: main ()
 4365: {
 4366:   int i;
 4367:   for (i = 0; i < 256; i++)
 4368:     if (XOR (islower (i), ISLOWER (i))
 4369: 	|| toupper (i) != TOUPPER (i))
 4370:       return 2;
 4371:   return 0;
 4372: }
 4373: _ACEOF
 4374: if ac_fn_c_try_run "$LINENO"; then :
 4375: 
 4376: else
 4377:   ac_cv_header_stdc=no
 4378: fi
 4379: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4380:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4381: fi
 4382: 
 4383: fi
 4384: fi
 4385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 4386: $as_echo "$ac_cv_header_stdc" >&6; }
 4387: if test $ac_cv_header_stdc = yes; then
 4388: 
 4389: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 4390: 
 4391: fi
 4392: 
 4393: case `pwd` in
 4394:   *\ * | *\	*)
 4395:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 4396: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 4397: esac
 4398: 
 4399: 
 4400: 
 4401: macro_version='2.2.6b'
 4402: macro_revision='1.3017'
 4403: 
 4404: 
 4405: 
 4406: 
 4407: 
 4408: 
 4409: 
 4410: 
 4411: 
 4412: 
 4413: 
 4414: 
 4415: 
 4416: ltmain="$ac_aux_dir/ltmain.sh"
 4417: 
 4418: # Make sure we can run config.sub.
 4419: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4420:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 4421: 
 4422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 4423: $as_echo_n "checking build system type... " >&6; }
 4424: if test "${ac_cv_build+set}" = set; then :
 4425:   $as_echo_n "(cached) " >&6
 4426: else
 4427:   ac_build_alias=$build_alias
 4428: test "x$ac_build_alias" = x &&
 4429:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4430: test "x$ac_build_alias" = x &&
 4431:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 4432: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4433:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 4434: 
 4435: fi
 4436: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 4437: $as_echo "$ac_cv_build" >&6; }
 4438: case $ac_cv_build in
 4439: *-*-*) ;;
 4440: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 4441: esac
 4442: build=$ac_cv_build
 4443: ac_save_IFS=$IFS; IFS='-'
 4444: set x $ac_cv_build
 4445: shift
 4446: build_cpu=$1
 4447: build_vendor=$2
 4448: shift; shift
 4449: # Remember, the first character of IFS is used to create $*,
 4450: # except with old shells:
 4451: build_os=$*
 4452: IFS=$ac_save_IFS
 4453: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4454: 
 4455: 
 4456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 4457: $as_echo_n "checking host system type... " >&6; }
 4458: if test "${ac_cv_host+set}" = set; then :
 4459:   $as_echo_n "(cached) " >&6
 4460: else
 4461:   if test "x$host_alias" = x; then
 4462:   ac_cv_host=$ac_cv_build
 4463: else
 4464:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4465:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 4466: fi
 4467: 
 4468: fi
 4469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 4470: $as_echo "$ac_cv_host" >&6; }
 4471: case $ac_cv_host in
 4472: *-*-*) ;;
 4473: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 4474: esac
 4475: host=$ac_cv_host
 4476: ac_save_IFS=$IFS; IFS='-'
 4477: set x $ac_cv_host
 4478: shift
 4479: host_cpu=$1
 4480: host_vendor=$2
 4481: shift; shift
 4482: # Remember, the first character of IFS is used to create $*,
 4483: # except with old shells:
 4484: host_os=$*
 4485: IFS=$ac_save_IFS
 4486: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4487: 
 4488: 
 4489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4490: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4491: if test "${ac_cv_path_SED+set}" = set; then :
 4492:   $as_echo_n "(cached) " >&6
 4493: else
 4494:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4495:      for ac_i in 1 2 3 4 5 6 7; do
 4496:        ac_script="$ac_script$as_nl$ac_script"
 4497:      done
 4498:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4499:      { ac_script=; unset ac_script;}
 4500:      if test -z "$SED"; then
 4501:   ac_path_SED_found=false
 4502:   # Loop through the user's path and test for each of PROGNAME-LIST
 4503:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4504: for as_dir in $PATH
 4505: do
 4506:   IFS=$as_save_IFS
 4507:   test -z "$as_dir" && as_dir=.
 4508:     for ac_prog in sed gsed; do
 4509:     for ac_exec_ext in '' $ac_executable_extensions; do
 4510:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4511:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 4512: # Check for GNU ac_path_SED and select it if it is found.
 4513:   # Check for GNU $ac_path_SED
 4514: case `"$ac_path_SED" --version 2>&1` in
 4515: *GNU*)
 4516:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4517: *)
 4518:   ac_count=0
 4519:   $as_echo_n 0123456789 >"conftest.in"
 4520:   while :
 4521:   do
 4522:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4523:     mv "conftest.tmp" "conftest.in"
 4524:     cp "conftest.in" "conftest.nl"
 4525:     $as_echo '' >> "conftest.nl"
 4526:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4527:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4528:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4529:     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4530:       # Best one so far, save it but keep looking for a better one
 4531:       ac_cv_path_SED="$ac_path_SED"
 4532:       ac_path_SED_max=$ac_count
 4533:     fi
 4534:     # 10*(2^10) chars as input seems more than enough
 4535:     test $ac_count -gt 10 && break
 4536:   done
 4537:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4538: esac
 4539: 
 4540:       $ac_path_SED_found && break 3
 4541:     done
 4542:   done
 4543:   done
 4544: IFS=$as_save_IFS
 4545:   if test -z "$ac_cv_path_SED"; then
 4546:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4547:   fi
 4548: else
 4549:   ac_cv_path_SED=$SED
 4550: fi
 4551: 
 4552: fi
 4553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4554: $as_echo "$ac_cv_path_SED" >&6; }
 4555:  SED="$ac_cv_path_SED"
 4556:   rm -f conftest.sed
 4557: 
 4558: test -z "$SED" && SED=sed
 4559: Xsed="$SED -e 1s/^X//"
 4560: 
 4561: 
 4562: 
 4563: 
 4564: 
 4565: 
 4566: 
 4567: 
 4568: 
 4569: 
 4570: 
 4571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4572: $as_echo_n "checking for fgrep... " >&6; }
 4573: if test "${ac_cv_path_FGREP+set}" = set; then :
 4574:   $as_echo_n "(cached) " >&6
 4575: else
 4576:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4577:    then ac_cv_path_FGREP="$GREP -F"
 4578:    else
 4579:      if test -z "$FGREP"; then
 4580:   ac_path_FGREP_found=false
 4581:   # Loop through the user's path and test for each of PROGNAME-LIST
 4582:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4583: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4584: do
 4585:   IFS=$as_save_IFS
 4586:   test -z "$as_dir" && as_dir=.
 4587:     for ac_prog in fgrep; do
 4588:     for ac_exec_ext in '' $ac_executable_extensions; do
 4589:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4590:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 4591: # Check for GNU ac_path_FGREP and select it if it is found.
 4592:   # Check for GNU $ac_path_FGREP
 4593: case `"$ac_path_FGREP" --version 2>&1` in
 4594: *GNU*)
 4595:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4596: *)
 4597:   ac_count=0
 4598:   $as_echo_n 0123456789 >"conftest.in"
 4599:   while :
 4600:   do
 4601:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4602:     mv "conftest.tmp" "conftest.in"
 4603:     cp "conftest.in" "conftest.nl"
 4604:     $as_echo 'FGREP' >> "conftest.nl"
 4605:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4606:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4607:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4608:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4609:       # Best one so far, save it but keep looking for a better one
 4610:       ac_cv_path_FGREP="$ac_path_FGREP"
 4611:       ac_path_FGREP_max=$ac_count
 4612:     fi
 4613:     # 10*(2^10) chars as input seems more than enough
 4614:     test $ac_count -gt 10 && break
 4615:   done
 4616:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4617: esac
 4618: 
 4619:       $ac_path_FGREP_found && break 3
 4620:     done
 4621:   done
 4622:   done
 4623: IFS=$as_save_IFS
 4624:   if test -z "$ac_cv_path_FGREP"; then
 4625:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4626:   fi
 4627: else
 4628:   ac_cv_path_FGREP=$FGREP
 4629: fi
 4630: 
 4631:    fi
 4632: fi
 4633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4634: $as_echo "$ac_cv_path_FGREP" >&6; }
 4635:  FGREP="$ac_cv_path_FGREP"
 4636: 
 4637: 
 4638: test -z "$GREP" && GREP=grep
 4639: 
 4640: 
 4641: 
 4642: 
 4643: 
 4644: 
 4645: 
 4646: 
 4647: 
 4648: 
 4649: 
 4650: 
 4651: 
 4652: 
 4653: 
 4654: 
 4655: 
 4656: 
 4657: 
 4658: # Check whether --with-gnu-ld was given.
 4659: if test "${with_gnu_ld+set}" = set; then :
 4660:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 4661: else
 4662:   with_gnu_ld=no
 4663: fi
 4664: 
 4665: ac_prog=ld
 4666: if test "$GCC" = yes; then
 4667:   # Check if gcc -print-prog-name=ld gives a path.
 4668:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4669: $as_echo_n "checking for ld used by $CC... " >&6; }
 4670:   case $host in
 4671:   *-*-mingw*)
 4672:     # gcc leaves a trailing carriage return which upsets mingw
 4673:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4674:   *)
 4675:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4676:   esac
 4677:   case $ac_prog in
 4678:     # Accept absolute paths.
 4679:     [\\/]* | ?:[\\/]*)
 4680:       re_direlt='/[^/][^/]*/\.\./'
 4681:       # Canonicalize the pathname of ld
 4682:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4683:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4684: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4685:       done
 4686:       test -z "$LD" && LD="$ac_prog"
 4687:       ;;
 4688:   "")
 4689:     # If it fails, then pretend we aren't using GCC.
 4690:     ac_prog=ld
 4691:     ;;
 4692:   *)
 4693:     # If it is relative, then search for the first ld in PATH.
 4694:     with_gnu_ld=unknown
 4695:     ;;
 4696:   esac
 4697: elif test "$with_gnu_ld" = yes; then
 4698:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4699: $as_echo_n "checking for GNU ld... " >&6; }
 4700: else
 4701:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4702: $as_echo_n "checking for non-GNU ld... " >&6; }
 4703: fi
 4704: if test "${lt_cv_path_LD+set}" = set; then :
 4705:   $as_echo_n "(cached) " >&6
 4706: else
 4707:   if test -z "$LD"; then
 4708:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4709:   for ac_dir in $PATH; do
 4710:     IFS="$lt_save_ifs"
 4711:     test -z "$ac_dir" && ac_dir=.
 4712:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4713:       lt_cv_path_LD="$ac_dir/$ac_prog"
 4714:       # Check to see if the program is GNU ld.  I'd rather use --version,
 4715:       # but apparently some variants of GNU ld only accept -v.
 4716:       # Break only if it was the GNU/non-GNU ld that we prefer.
 4717:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4718:       *GNU* | *'with BFD'*)
 4719: 	test "$with_gnu_ld" != no && break
 4720: 	;;
 4721:       *)
 4722: 	test "$with_gnu_ld" != yes && break
 4723: 	;;
 4724:       esac
 4725:     fi
 4726:   done
 4727:   IFS="$lt_save_ifs"
 4728: else
 4729:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4730: fi
 4731: fi
 4732: 
 4733: LD="$lt_cv_path_LD"
 4734: if test -n "$LD"; then
 4735:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4736: $as_echo "$LD" >&6; }
 4737: else
 4738:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4739: $as_echo "no" >&6; }
 4740: fi
 4741: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 4742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4743: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4744: if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 4745:   $as_echo_n "(cached) " >&6
 4746: else
 4747:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4748: case `$LD -v 2>&1 </dev/null` in
 4749: *GNU* | *'with BFD'*)
 4750:   lt_cv_prog_gnu_ld=yes
 4751:   ;;
 4752: *)
 4753:   lt_cv_prog_gnu_ld=no
 4754:   ;;
 4755: esac
 4756: fi
 4757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4758: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4759: with_gnu_ld=$lt_cv_prog_gnu_ld
 4760: 
 4761: 
 4762: 
 4763: 
 4764: 
 4765: 
 4766: 
 4767: 
 4768: 
 4769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 4770: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 4771: if test "${lt_cv_path_NM+set}" = set; then :
 4772:   $as_echo_n "(cached) " >&6
 4773: else
 4774:   if test -n "$NM"; then
 4775:   # Let the user override the test.
 4776:   lt_cv_path_NM="$NM"
 4777: else
 4778:   lt_nm_to_check="${ac_tool_prefix}nm"
 4779:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4780:     lt_nm_to_check="$lt_nm_to_check nm"
 4781:   fi
 4782:   for lt_tmp_nm in $lt_nm_to_check; do
 4783:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4784:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4785:       IFS="$lt_save_ifs"
 4786:       test -z "$ac_dir" && ac_dir=.
 4787:       tmp_nm="$ac_dir/$lt_tmp_nm"
 4788:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4789: 	# Check to see if the nm accepts a BSD-compat flag.
 4790: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4791: 	#   nm: unknown option "B" ignored
 4792: 	# Tru64's nm complains that /dev/null is an invalid object file
 4793: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4794: 	*/dev/null* | *'Invalid file or object type'*)
 4795: 	  lt_cv_path_NM="$tmp_nm -B"
 4796: 	  break
 4797: 	  ;;
 4798: 	*)
 4799: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4800: 	  */dev/null*)
 4801: 	    lt_cv_path_NM="$tmp_nm -p"
 4802: 	    break
 4803: 	    ;;
 4804: 	  *)
 4805: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4806: 	    continue # so that we can try to find one that supports BSD flags
 4807: 	    ;;
 4808: 	  esac
 4809: 	  ;;
 4810: 	esac
 4811:       fi
 4812:     done
 4813:     IFS="$lt_save_ifs"
 4814:   done
 4815:   : ${lt_cv_path_NM=no}
 4816: fi
 4817: fi
 4818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 4819: $as_echo "$lt_cv_path_NM" >&6; }
 4820: if test "$lt_cv_path_NM" != "no"; then
 4821:   NM="$lt_cv_path_NM"
 4822: else
 4823:   # Didn't find any BSD compatible name lister, look for dumpbin.
 4824:   if test -n "$ac_tool_prefix"; then
 4825:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 4826:   do
 4827:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4828: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4830: $as_echo_n "checking for $ac_word... " >&6; }
 4831: if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 4832:   $as_echo_n "(cached) " >&6
 4833: else
 4834:   if test -n "$DUMPBIN"; then
 4835:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 4836: else
 4837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4838: for as_dir in $PATH
 4839: do
 4840:   IFS=$as_save_IFS
 4841:   test -z "$as_dir" && as_dir=.
 4842:     for ac_exec_ext in '' $ac_executable_extensions; do
 4843:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4844:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 4845:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4846:     break 2
 4847:   fi
 4848: done
 4849:   done
 4850: IFS=$as_save_IFS
 4851: 
 4852: fi
 4853: fi
 4854: DUMPBIN=$ac_cv_prog_DUMPBIN
 4855: if test -n "$DUMPBIN"; then
 4856:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 4857: $as_echo "$DUMPBIN" >&6; }
 4858: else
 4859:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4860: $as_echo "no" >&6; }
 4861: fi
 4862: 
 4863: 
 4864:     test -n "$DUMPBIN" && break
 4865:   done
 4866: fi
 4867: if test -z "$DUMPBIN"; then
 4868:   ac_ct_DUMPBIN=$DUMPBIN
 4869:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 4870: do
 4871:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4872: set dummy $ac_prog; ac_word=$2
 4873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4874: $as_echo_n "checking for $ac_word... " >&6; }
 4875: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 4876:   $as_echo_n "(cached) " >&6
 4877: else
 4878:   if test -n "$ac_ct_DUMPBIN"; then
 4879:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 4880: else
 4881: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4882: for as_dir in $PATH
 4883: do
 4884:   IFS=$as_save_IFS
 4885:   test -z "$as_dir" && as_dir=.
 4886:     for ac_exec_ext in '' $ac_executable_extensions; do
 4887:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4888:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 4889:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4890:     break 2
 4891:   fi
 4892: done
 4893:   done
 4894: IFS=$as_save_IFS
 4895: 
 4896: fi
 4897: fi
 4898: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 4899: if test -n "$ac_ct_DUMPBIN"; then
 4900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 4901: $as_echo "$ac_ct_DUMPBIN" >&6; }
 4902: else
 4903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4904: $as_echo "no" >&6; }
 4905: fi
 4906: 
 4907: 
 4908:   test -n "$ac_ct_DUMPBIN" && break
 4909: done
 4910: 
 4911:   if test "x$ac_ct_DUMPBIN" = x; then
 4912:     DUMPBIN=":"
 4913:   else
 4914:     case $cross_compiling:$ac_tool_warned in
 4915: yes:)
 4916: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4917: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4918: ac_tool_warned=yes ;;
 4919: esac
 4920:     DUMPBIN=$ac_ct_DUMPBIN
 4921:   fi
 4922: fi
 4923: 
 4924: 
 4925:   if test "$DUMPBIN" != ":"; then
 4926:     NM="$DUMPBIN"
 4927:   fi
 4928: fi
 4929: test -z "$NM" && NM=nm
 4930: 
 4931: 
 4932: 
 4933: 
 4934: 
 4935: 
 4936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 4937: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
 4938: if test "${lt_cv_nm_interface+set}" = set; then :
 4939:   $as_echo_n "(cached) " >&6
 4940: else
 4941:   lt_cv_nm_interface="BSD nm"
 4942:   echo "int some_variable = 0;" > conftest.$ac_ext
 4943:   (eval echo "\"\$as_me:4943: $ac_compile\"" >&5)
 4944:   (eval "$ac_compile" 2>conftest.err)
 4945:   cat conftest.err >&5
 4946:   (eval echo "\"\$as_me:4946: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 4947:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 4948:   cat conftest.err >&5
 4949:   (eval echo "\"\$as_me:4949: output\"" >&5)
 4950:   cat conftest.out >&5
 4951:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 4952:     lt_cv_nm_interface="MS dumpbin"
 4953:   fi
 4954:   rm -f conftest*
 4955: fi
 4956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 4957: $as_echo "$lt_cv_nm_interface" >&6; }
 4958: 
 4959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 4960: $as_echo_n "checking whether ln -s works... " >&6; }
 4961: LN_S=$as_ln_s
 4962: if test "$LN_S" = "ln -s"; then
 4963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4964: $as_echo "yes" >&6; }
 4965: else
 4966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 4967: $as_echo "no, using $LN_S" >&6; }
 4968: fi
 4969: 
 4970: # find the maximum length of command line arguments
 4971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 4972: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
 4973: if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 4974:   $as_echo_n "(cached) " >&6
 4975: else
 4976:     i=0
 4977:   teststring="ABCD"
 4978: 
 4979:   case $build_os in
 4980:   msdosdjgpp*)
 4981:     # On DJGPP, this test can blow up pretty badly due to problems in libc
 4982:     # (any single argument exceeding 2000 bytes causes a buffer overrun
 4983:     # during glob expansion).  Even if it were fixed, the result of this
 4984:     # check would be larger than it should be.
 4985:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 4986:     ;;
 4987: 
 4988:   gnu*)
 4989:     # Under GNU Hurd, this test is not required because there is
 4990:     # no limit to the length of command line arguments.
 4991:     # Libtool will interpret -1 as no limit whatsoever
 4992:     lt_cv_sys_max_cmd_len=-1;
 4993:     ;;
 4994: 
 4995:   cygwin* | mingw* | cegcc*)
 4996:     # On Win9x/ME, this test blows up -- it succeeds, but takes
 4997:     # about 5 minutes as the teststring grows exponentially.
 4998:     # Worse, since 9x/ME are not pre-emptively multitasking,
 4999:     # you end up with a "frozen" computer, even though with patience
 5000:     # the test eventually succeeds (with a max line length of 256k).
 5001:     # Instead, let's just punt: use the minimum linelength reported by
 5002:     # all of the supported platforms: 8192 (on NT/2K/XP).
 5003:     lt_cv_sys_max_cmd_len=8192;
 5004:     ;;
 5005: 
 5006:   amigaos*)
 5007:     # On AmigaOS with pdksh, this test takes hours, literally.
 5008:     # So we just punt and use a minimum line length of 8192.
 5009:     lt_cv_sys_max_cmd_len=8192;
 5010:     ;;
 5011: 
 5012:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 5013:     # This has been around since 386BSD, at least.  Likely further.
 5014:     if test -x /sbin/sysctl; then
 5015:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5016:     elif test -x /usr/sbin/sysctl; then
 5017:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5018:     else
 5019:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 5020:     fi
 5021:     # And add a safety zone
 5022:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5023:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5024:     ;;
 5025: 
 5026:   interix*)
 5027:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5028:     lt_cv_sys_max_cmd_len=196608
 5029:     ;;
 5030: 
 5031:   osf*)
 5032:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5033:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5034:     # nice to cause kernel panics so lets avoid the loop below.
 5035:     # First set a reasonable default.
 5036:     lt_cv_sys_max_cmd_len=16384
 5037:     #
 5038:     if test -x /sbin/sysconfig; then
 5039:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5040:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5041:       esac
 5042:     fi
 5043:     ;;
 5044:   sco3.2v5*)
 5045:     lt_cv_sys_max_cmd_len=102400
 5046:     ;;
 5047:   sysv5* | sco5v6* | sysv4.2uw2*)
 5048:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5049:     if test -n "$kargmax"; then
 5050:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 5051:     else
 5052:       lt_cv_sys_max_cmd_len=32768
 5053:     fi
 5054:     ;;
 5055:   *)
 5056:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 5057:     if test -n "$lt_cv_sys_max_cmd_len"; then
 5058:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5059:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5060:     else
 5061:       # Make teststring a little bigger before we do anything with it.
 5062:       # a 1K string should be a reasonable start.
 5063:       for i in 1 2 3 4 5 6 7 8 ; do
 5064:         teststring=$teststring$teststring
 5065:       done
 5066:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5067:       # If test is not a shell built-in, we'll probably end up computing a
 5068:       # maximum length that is only half of the actual maximum length, but
 5069:       # we can't tell.
 5070:       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 5071: 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 5072: 	      test $i != 17 # 1/2 MB should be enough
 5073:       do
 5074:         i=`expr $i + 1`
 5075:         teststring=$teststring$teststring
 5076:       done
 5077:       # Only check the string length outside the loop.
 5078:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 5079:       teststring=
 5080:       # Add a significant safety factor because C++ compilers can tack on
 5081:       # massive amounts of additional arguments before passing them to the
 5082:       # linker.  It appears as though 1/2 is a usable value.
 5083:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5084:     fi
 5085:     ;;
 5086:   esac
 5087: 
 5088: fi
 5089: 
 5090: if test -n $lt_cv_sys_max_cmd_len ; then
 5091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 5092: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 5093: else
 5094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 5095: $as_echo "none" >&6; }
 5096: fi
 5097: max_cmd_len=$lt_cv_sys_max_cmd_len
 5098: 
 5099: 
 5100: 
 5101: 
 5102: 
 5103: 
 5104: : ${CP="cp -f"}
 5105: : ${MV="mv -f"}
 5106: : ${RM="rm -f"}
 5107: 
 5108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 5109: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 5110: # Try some XSI features
 5111: xsi_shell=no
 5112: ( _lt_dummy="a/b/c"
 5113:   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 5114:       = c,a/b,, \
 5115:     && eval 'test $(( 1 + 1 )) -eq 2 \
 5116:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 5117:   && xsi_shell=yes
 5118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 5119: $as_echo "$xsi_shell" >&6; }
 5120: 
 5121: 
 5122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 5123: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 5124: lt_shell_append=no
 5125: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 5126:     >/dev/null 2>&1 \
 5127:   && lt_shell_append=yes
 5128: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 5129: $as_echo "$lt_shell_append" >&6; }
 5130: 
 5131: 
 5132: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 5133:   lt_unset=unset
 5134: else
 5135:   lt_unset=false
 5136: fi
 5137: 
 5138: 
 5139: 
 5140: 
 5141: 
 5142: # test EBCDIC or ASCII
 5143: case `echo X|tr X '\101'` in
 5144:  A) # ASCII based system
 5145:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 5146:   lt_SP2NL='tr \040 \012'
 5147:   lt_NL2SP='tr \015\012 \040\040'
 5148:   ;;
 5149:  *) # EBCDIC based system
 5150:   lt_SP2NL='tr \100 \n'
 5151:   lt_NL2SP='tr \r\n \100\100'
 5152:   ;;
 5153: esac
 5154: 
 5155: 
 5156: 
 5157: 
 5158: 
 5159: 
 5160: 
 5161: 
 5162: 
 5163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 5164: $as_echo_n "checking for $LD option to reload object files... " >&6; }
 5165: if test "${lt_cv_ld_reload_flag+set}" = set; then :
 5166:   $as_echo_n "(cached) " >&6
 5167: else
 5168:   lt_cv_ld_reload_flag='-r'
 5169: fi
 5170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 5171: $as_echo "$lt_cv_ld_reload_flag" >&6; }
 5172: reload_flag=$lt_cv_ld_reload_flag
 5173: case $reload_flag in
 5174: "" | " "*) ;;
 5175: *) reload_flag=" $reload_flag" ;;
 5176: esac
 5177: reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5178: case $host_os in
 5179:   darwin*)
 5180:     if test "$GCC" = yes; then
 5181:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 5182:     else
 5183:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5184:     fi
 5185:     ;;
 5186: esac
 5187: 
 5188: 
 5189: 
 5190: 
 5191: 
 5192: 
 5193: 
 5194: 
 5195: 
 5196: if test -n "$ac_tool_prefix"; then
 5197:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5198: set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5200: $as_echo_n "checking for $ac_word... " >&6; }
 5201: if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 5202:   $as_echo_n "(cached) " >&6
 5203: else
 5204:   if test -n "$OBJDUMP"; then
 5205:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5206: else
 5207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5208: for as_dir in $PATH
 5209: do
 5210:   IFS=$as_save_IFS
 5211:   test -z "$as_dir" && as_dir=.
 5212:     for ac_exec_ext in '' $ac_executable_extensions; do
 5213:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5214:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5215:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5216:     break 2
 5217:   fi
 5218: done
 5219:   done
 5220: IFS=$as_save_IFS
 5221: 
 5222: fi
 5223: fi
 5224: OBJDUMP=$ac_cv_prog_OBJDUMP
 5225: if test -n "$OBJDUMP"; then
 5226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5227: $as_echo "$OBJDUMP" >&6; }
 5228: else
 5229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5230: $as_echo "no" >&6; }
 5231: fi
 5232: 
 5233: 
 5234: fi
 5235: if test -z "$ac_cv_prog_OBJDUMP"; then
 5236:   ac_ct_OBJDUMP=$OBJDUMP
 5237:   # Extract the first word of "objdump", so it can be a program name with args.
 5238: set dummy objdump; ac_word=$2
 5239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5240: $as_echo_n "checking for $ac_word... " >&6; }
 5241: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 5242:   $as_echo_n "(cached) " >&6
 5243: else
 5244:   if test -n "$ac_ct_OBJDUMP"; then
 5245:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5246: else
 5247: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5248: for as_dir in $PATH
 5249: do
 5250:   IFS=$as_save_IFS
 5251:   test -z "$as_dir" && as_dir=.
 5252:     for ac_exec_ext in '' $ac_executable_extensions; do
 5253:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5254:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5255:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5256:     break 2
 5257:   fi
 5258: done
 5259:   done
 5260: IFS=$as_save_IFS
 5261: 
 5262: fi
 5263: fi
 5264: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5265: if test -n "$ac_ct_OBJDUMP"; then
 5266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5267: $as_echo "$ac_ct_OBJDUMP" >&6; }
 5268: else
 5269:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5270: $as_echo "no" >&6; }
 5271: fi
 5272: 
 5273:   if test "x$ac_ct_OBJDUMP" = x; then
 5274:     OBJDUMP="false"
 5275:   else
 5276:     case $cross_compiling:$ac_tool_warned in
 5277: yes:)
 5278: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5279: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5280: ac_tool_warned=yes ;;
 5281: esac
 5282:     OBJDUMP=$ac_ct_OBJDUMP
 5283:   fi
 5284: else
 5285:   OBJDUMP="$ac_cv_prog_OBJDUMP"
 5286: fi
 5287: 
 5288: test -z "$OBJDUMP" && OBJDUMP=objdump
 5289: 
 5290: 
 5291: 
 5292: 
 5293: 
 5294: 
 5295: 
 5296: 
 5297: 
 5298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 5299: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
 5300: if test "${lt_cv_deplibs_check_method+set}" = set; then :
 5301:   $as_echo_n "(cached) " >&6
 5302: else
 5303:   lt_cv_file_magic_cmd='$MAGIC_CMD'
 5304: lt_cv_file_magic_test_file=
 5305: lt_cv_deplibs_check_method='unknown'
 5306: # Need to set the preceding variable on all platforms that support
 5307: # interlibrary dependencies.
 5308: # 'none' -- dependencies not supported.
 5309: # `unknown' -- same as none, but documents that we really don't know.
 5310: # 'pass_all' -- all dependencies passed with no checks.
 5311: # 'test_compile' -- check by making test program.
 5312: # 'file_magic [[regex]]' -- check by looking for files in library path
 5313: # which responds to the $file_magic_cmd with a given extended regex.
 5314: # If you have `file' or equivalent on your system and you're not sure
 5315: # whether `pass_all' will *always* work, you probably want this one.
 5316: 
 5317: case $host_os in
 5318: aix[4-9]*)
 5319:   lt_cv_deplibs_check_method=pass_all
 5320:   ;;
 5321: 
 5322: beos*)
 5323:   lt_cv_deplibs_check_method=pass_all
 5324:   ;;
 5325: 
 5326: bsdi[45]*)
 5327:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5328:   lt_cv_file_magic_cmd='/usr/bin/file -L'
 5329:   lt_cv_file_magic_test_file=/shlib/libc.so
 5330:   ;;
 5331: 
 5332: cygwin*)
 5333:   # func_win32_libid is a shell function defined in ltmain.sh
 5334:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5335:   lt_cv_file_magic_cmd='func_win32_libid'
 5336:   ;;
 5337: 
 5338: mingw* | pw32*)
 5339:   # Base MSYS/MinGW do not provide the 'file' command needed by
 5340:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5341:   # unless we find 'file', for example because we are cross-compiling.
 5342:   if ( file / ) >/dev/null 2>&1; then
 5343:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5344:     lt_cv_file_magic_cmd='func_win32_libid'
 5345:   else
 5346:     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 5347:     lt_cv_file_magic_cmd='$OBJDUMP -f'
 5348:   fi
 5349:   ;;
 5350: 
 5351: cegcc)
 5352:   # use the weaker test based on 'objdump'. See mingw*.
 5353:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 5354:   lt_cv_file_magic_cmd='$OBJDUMP -f'
 5355:   ;;
 5356: 
 5357: darwin* | rhapsody*)
 5358:   lt_cv_deplibs_check_method=pass_all
 5359:   ;;
 5360: 
 5361: freebsd* | dragonfly*)
 5362:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5363:     case $host_cpu in
 5364:     i*86 )
 5365:       # Not sure whether the presence of OpenBSD here was a mistake.
 5366:       # Let's accept both of them until this is cleared up.
 5367:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5368:       lt_cv_file_magic_cmd=/usr/bin/file
 5369:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5370:       ;;
 5371:     esac
 5372:   else
 5373:     lt_cv_deplibs_check_method=pass_all
 5374:   fi
 5375:   ;;
 5376: 
 5377: gnu*)
 5378:   lt_cv_deplibs_check_method=pass_all
 5379:   ;;
 5380: 
 5381: hpux10.20* | hpux11*)
 5382:   lt_cv_file_magic_cmd=/usr/bin/file
 5383:   case $host_cpu in
 5384:   ia64*)
 5385:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 5386:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 5387:     ;;
 5388:   hppa*64*)
 5389:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 5390:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 5391:     ;;
 5392:   *)
 5393:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 5394:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 5395:     ;;
 5396:   esac
 5397:   ;;
 5398: 
 5399: interix[3-9]*)
 5400:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 5401:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 5402:   ;;
 5403: 
 5404: irix5* | irix6* | nonstopux*)
 5405:   case $LD in
 5406:   *-32|*"-32 ") libmagic=32-bit;;
 5407:   *-n32|*"-n32 ") libmagic=N32;;
 5408:   *-64|*"-64 ") libmagic=64-bit;;
 5409:   *) libmagic=never-match;;
 5410:   esac
 5411:   lt_cv_deplibs_check_method=pass_all
 5412:   ;;
 5413: 
 5414: # This must be Linux ELF.
 5415: linux* | k*bsd*-gnu | kopensolaris*-gnu)
 5416:   lt_cv_deplibs_check_method=pass_all
 5417:   ;;
 5418: 
 5419: netbsd* | netbsdelf*-gnu)
 5420:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5421:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5422:   else
 5423:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 5424:   fi
 5425:   ;;
 5426: 
 5427: newos6*)
 5428:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 5429:   lt_cv_file_magic_cmd=/usr/bin/file
 5430:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 5431:   ;;
 5432: 
 5433: *nto* | *qnx*)
 5434:   lt_cv_deplibs_check_method=pass_all
 5435:   ;;
 5436: 
 5437: openbsd*)
 5438:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 5439:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 5440:   else
 5441:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5442:   fi
 5443:   ;;
 5444: 
 5445: osf3* | osf4* | osf5*)
 5446:   lt_cv_deplibs_check_method=pass_all
 5447:   ;;
 5448: 
 5449: rdos*)
 5450:   lt_cv_deplibs_check_method=pass_all
 5451:   ;;
 5452: 
 5453: solaris*)
 5454:   lt_cv_deplibs_check_method=pass_all
 5455:   ;;
 5456: 
 5457: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 5458:   lt_cv_deplibs_check_method=pass_all
 5459:   ;;
 5460: 
 5461: sysv4 | sysv4.3*)
 5462:   case $host_vendor in
 5463:   motorola)
 5464:     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]'
 5465:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 5466:     ;;
 5467:   ncr)
 5468:     lt_cv_deplibs_check_method=pass_all
 5469:     ;;
 5470:   sequent)
 5471:     lt_cv_file_magic_cmd='/bin/file'
 5472:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 5473:     ;;
 5474:   sni)
 5475:     lt_cv_file_magic_cmd='/bin/file'
 5476:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 5477:     lt_cv_file_magic_test_file=/lib/libc.so
 5478:     ;;
 5479:   siemens)
 5480:     lt_cv_deplibs_check_method=pass_all
 5481:     ;;
 5482:   pc)
 5483:     lt_cv_deplibs_check_method=pass_all
 5484:     ;;
 5485:   esac
 5486:   ;;
 5487: 
 5488: tpf*)
 5489:   lt_cv_deplibs_check_method=pass_all
 5490:   ;;
 5491: esac
 5492: 
 5493: fi
 5494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 5495: $as_echo "$lt_cv_deplibs_check_method" >&6; }
 5496: file_magic_cmd=$lt_cv_file_magic_cmd
 5497: deplibs_check_method=$lt_cv_deplibs_check_method
 5498: test -z "$deplibs_check_method" && deplibs_check_method=unknown
 5499: 
 5500: 
 5501: 
 5502: 
 5503: 
 5504: 
 5505: 
 5506: 
 5507: 
 5508: 
 5509: 
 5510: 
 5511: if test -n "$ac_tool_prefix"; then
 5512:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 5513: set dummy ${ac_tool_prefix}ar; ac_word=$2
 5514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5515: $as_echo_n "checking for $ac_word... " >&6; }
 5516: if test "${ac_cv_prog_AR+set}" = set; then :
 5517:   $as_echo_n "(cached) " >&6
 5518: else
 5519:   if test -n "$AR"; then
 5520:   ac_cv_prog_AR="$AR" # Let the user override the test.
 5521: else
 5522: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5523: for as_dir in $PATH
 5524: do
 5525:   IFS=$as_save_IFS
 5526:   test -z "$as_dir" && as_dir=.
 5527:     for ac_exec_ext in '' $ac_executable_extensions; do
 5528:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5529:     ac_cv_prog_AR="${ac_tool_prefix}ar"
 5530:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5531:     break 2
 5532:   fi
 5533: done
 5534:   done
 5535: IFS=$as_save_IFS
 5536: 
 5537: fi
 5538: fi
 5539: AR=$ac_cv_prog_AR
 5540: if test -n "$AR"; then
 5541:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5542: $as_echo "$AR" >&6; }
 5543: else
 5544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5545: $as_echo "no" >&6; }
 5546: fi
 5547: 
 5548: 
 5549: fi
 5550: if test -z "$ac_cv_prog_AR"; then
 5551:   ac_ct_AR=$AR
 5552:   # Extract the first word of "ar", so it can be a program name with args.
 5553: set dummy ar; ac_word=$2
 5554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5555: $as_echo_n "checking for $ac_word... " >&6; }
 5556: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 5557:   $as_echo_n "(cached) " >&6
 5558: else
 5559:   if test -n "$ac_ct_AR"; then
 5560:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5561: else
 5562: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5563: for as_dir in $PATH
 5564: do
 5565:   IFS=$as_save_IFS
 5566:   test -z "$as_dir" && as_dir=.
 5567:     for ac_exec_ext in '' $ac_executable_extensions; do
 5568:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5569:     ac_cv_prog_ac_ct_AR="ar"
 5570:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5571:     break 2
 5572:   fi
 5573: done
 5574:   done
 5575: IFS=$as_save_IFS
 5576: 
 5577: fi
 5578: fi
 5579: ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5580: if test -n "$ac_ct_AR"; then
 5581:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5582: $as_echo "$ac_ct_AR" >&6; }
 5583: else
 5584:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5585: $as_echo "no" >&6; }
 5586: fi
 5587: 
 5588:   if test "x$ac_ct_AR" = x; then
 5589:     AR="false"
 5590:   else
 5591:     case $cross_compiling:$ac_tool_warned in
 5592: yes:)
 5593: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5594: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5595: ac_tool_warned=yes ;;
 5596: esac
 5597:     AR=$ac_ct_AR
 5598:   fi
 5599: else
 5600:   AR="$ac_cv_prog_AR"
 5601: fi
 5602: 
 5603: test -z "$AR" && AR=ar
 5604: test -z "$AR_FLAGS" && AR_FLAGS=cru
 5605: 
 5606: 
 5607: 
 5608: 
 5609: 
 5610: 
 5611: 
 5612: 
 5613: 
 5614: 
 5615: 
 5616: if test -n "$ac_tool_prefix"; then
 5617:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 5618: set dummy ${ac_tool_prefix}strip; ac_word=$2
 5619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5620: $as_echo_n "checking for $ac_word... " >&6; }
 5621: if test "${ac_cv_prog_STRIP+set}" = set; then :
 5622:   $as_echo_n "(cached) " >&6
 5623: else
 5624:   if test -n "$STRIP"; then
 5625:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 5626: else
 5627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5628: for as_dir in $PATH
 5629: do
 5630:   IFS=$as_save_IFS
 5631:   test -z "$as_dir" && as_dir=.
 5632:     for ac_exec_ext in '' $ac_executable_extensions; do
 5633:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5634:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 5635:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5636:     break 2
 5637:   fi
 5638: done
 5639:   done
 5640: IFS=$as_save_IFS
 5641: 
 5642: fi
 5643: fi
 5644: STRIP=$ac_cv_prog_STRIP
 5645: if test -n "$STRIP"; then
 5646:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 5647: $as_echo "$STRIP" >&6; }
 5648: else
 5649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5650: $as_echo "no" >&6; }
 5651: fi
 5652: 
 5653: 
 5654: fi
 5655: if test -z "$ac_cv_prog_STRIP"; then
 5656:   ac_ct_STRIP=$STRIP
 5657:   # Extract the first word of "strip", so it can be a program name with args.
 5658: set dummy strip; ac_word=$2
 5659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5660: $as_echo_n "checking for $ac_word... " >&6; }
 5661: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 5662:   $as_echo_n "(cached) " >&6
 5663: else
 5664:   if test -n "$ac_ct_STRIP"; then
 5665:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 5666: else
 5667: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5668: for as_dir in $PATH
 5669: do
 5670:   IFS=$as_save_IFS
 5671:   test -z "$as_dir" && as_dir=.
 5672:     for ac_exec_ext in '' $ac_executable_extensions; do
 5673:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5674:     ac_cv_prog_ac_ct_STRIP="strip"
 5675:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5676:     break 2
 5677:   fi
 5678: done
 5679:   done
 5680: IFS=$as_save_IFS
 5681: 
 5682: fi
 5683: fi
 5684: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 5685: if test -n "$ac_ct_STRIP"; then
 5686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 5687: $as_echo "$ac_ct_STRIP" >&6; }
 5688: else
 5689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5690: $as_echo "no" >&6; }
 5691: fi
 5692: 
 5693:   if test "x$ac_ct_STRIP" = x; then
 5694:     STRIP=":"
 5695:   else
 5696:     case $cross_compiling:$ac_tool_warned in
 5697: yes:)
 5698: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5699: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5700: ac_tool_warned=yes ;;
 5701: esac
 5702:     STRIP=$ac_ct_STRIP
 5703:   fi
 5704: else
 5705:   STRIP="$ac_cv_prog_STRIP"
 5706: fi
 5707: 
 5708: test -z "$STRIP" && STRIP=:
 5709: 
 5710: 
 5711: 
 5712: 
 5713: 
 5714: 
 5715: if test -n "$ac_tool_prefix"; then
 5716:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 5717: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 5718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5719: $as_echo_n "checking for $ac_word... " >&6; }
 5720: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 5721:   $as_echo_n "(cached) " >&6
 5722: else
 5723:   if test -n "$RANLIB"; then
 5724:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 5725: else
 5726: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5727: for as_dir in $PATH
 5728: do
 5729:   IFS=$as_save_IFS
 5730:   test -z "$as_dir" && as_dir=.
 5731:     for ac_exec_ext in '' $ac_executable_extensions; do
 5732:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5733:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 5734:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5735:     break 2
 5736:   fi
 5737: done
 5738:   done
 5739: IFS=$as_save_IFS
 5740: 
 5741: fi
 5742: fi
 5743: RANLIB=$ac_cv_prog_RANLIB
 5744: if test -n "$RANLIB"; then
 5745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 5746: $as_echo "$RANLIB" >&6; }
 5747: else
 5748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5749: $as_echo "no" >&6; }
 5750: fi
 5751: 
 5752: 
 5753: fi
 5754: if test -z "$ac_cv_prog_RANLIB"; then
 5755:   ac_ct_RANLIB=$RANLIB
 5756:   # Extract the first word of "ranlib", so it can be a program name with args.
 5757: set dummy ranlib; ac_word=$2
 5758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5759: $as_echo_n "checking for $ac_word... " >&6; }
 5760: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 5761:   $as_echo_n "(cached) " >&6
 5762: else
 5763:   if test -n "$ac_ct_RANLIB"; then
 5764:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 5765: else
 5766: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5767: for as_dir in $PATH
 5768: do
 5769:   IFS=$as_save_IFS
 5770:   test -z "$as_dir" && as_dir=.
 5771:     for ac_exec_ext in '' $ac_executable_extensions; do
 5772:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 5773:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 5774:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5775:     break 2
 5776:   fi
 5777: done
 5778:   done
 5779: IFS=$as_save_IFS
 5780: 
 5781: fi
 5782: fi
 5783: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 5784: if test -n "$ac_ct_RANLIB"; then
 5785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 5786: $as_echo "$ac_ct_RANLIB" >&6; }
 5787: else
 5788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5789: $as_echo "no" >&6; }
 5790: fi
 5791: 
 5792:   if test "x$ac_ct_RANLIB" = x; then
 5793:     RANLIB=":"
 5794:   else
 5795:     case $cross_compiling:$ac_tool_warned in
 5796: yes:)
 5797: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5798: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5799: ac_tool_warned=yes ;;
 5800: esac
 5801:     RANLIB=$ac_ct_RANLIB
 5802:   fi
 5803: else
 5804:   RANLIB="$ac_cv_prog_RANLIB"
 5805: fi
 5806: 
 5807: test -z "$RANLIB" && RANLIB=:
 5808: 
 5809: 
 5810: 
 5811: 
 5812: 
 5813: 
 5814: # Determine commands to create old-style static archives.
 5815: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 5816: old_postinstall_cmds='chmod 644 $oldlib'
 5817: old_postuninstall_cmds=
 5818: 
 5819: if test -n "$RANLIB"; then
 5820:   case $host_os in
 5821:   openbsd*)
 5822:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 5823:     ;;
 5824:   *)
 5825:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 5826:     ;;
 5827:   esac
 5828:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 5829: fi
 5830: 
 5831: 
 5832: 
 5833: 
 5834: 
 5835: 
 5836: 
 5837: 
 5838: 
 5839: 
 5840: 
 5841: 
 5842: 
 5843: 
 5844: 
 5845: 
 5846: 
 5847: 
 5848: 
 5849: 
 5850: 
 5851: 
 5852: 
 5853: 
 5854: 
 5855: 
 5856: 
 5857: 
 5858: 
 5859: 
 5860: 
 5861: 
 5862: 
 5863: 
 5864: # If no C compiler was specified, use CC.
 5865: LTCC=${LTCC-"$CC"}
 5866: 
 5867: # If no C compiler flags were specified, use CFLAGS.
 5868: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 5869: 
 5870: # Allow CC to be a program name with arguments.
 5871: compiler=$CC
 5872: 
 5873: 
 5874: # Check for command to grab the raw symbol name followed by C symbol from nm.
 5875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 5876: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 5877: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 5878:   $as_echo_n "(cached) " >&6
 5879: else
 5880: 
 5881: # These are sane defaults that work on at least a few old systems.
 5882: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 5883: 
 5884: # Character class describing NM global symbol codes.
 5885: symcode='[BCDEGRST]'
 5886: 
 5887: # Regexp to match symbols that can be accessed directly from C.
 5888: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 5889: 
 5890: # Define system-specific variables.
 5891: case $host_os in
 5892: aix*)
 5893:   symcode='[BCDT]'
 5894:   ;;
 5895: cygwin* | mingw* | pw32* | cegcc*)
 5896:   symcode='[ABCDGISTW]'
 5897:   ;;
 5898: hpux*)
 5899:   if test "$host_cpu" = ia64; then
 5900:     symcode='[ABCDEGRST]'
 5901:   fi
 5902:   ;;
 5903: irix* | nonstopux*)
 5904:   symcode='[BCDEGRST]'
 5905:   ;;
 5906: osf*)
 5907:   symcode='[BCDEGQRST]'
 5908:   ;;
 5909: solaris*)
 5910:   symcode='[BDRT]'
 5911:   ;;
 5912: sco3.2v5*)
 5913:   symcode='[DT]'
 5914:   ;;
 5915: sysv4.2uw2*)
 5916:   symcode='[DT]'
 5917:   ;;
 5918: sysv5* | sco5v6* | unixware* | OpenUNIX*)
 5919:   symcode='[ABDT]'
 5920:   ;;
 5921: sysv4)
 5922:   symcode='[DFNSTU]'
 5923:   ;;
 5924: esac
 5925: 
 5926: # If we're using GNU nm, then use its standard symbol codes.
 5927: case `$NM -V 2>&1` in
 5928: *GNU* | *'with BFD'*)
 5929:   symcode='[ABCDGIRSTW]' ;;
 5930: esac
 5931: 
 5932: # Transform an extracted symbol line into a proper C declaration.
 5933: # Some systems (esp. on ia64) link data and code symbols differently,
 5934: # so use this general approach.
 5935: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 5936: 
 5937: # Transform an extracted symbol line into symbol name and symbol address
 5938: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 5939: 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'"
 5940: 
 5941: # Handle CRLF in mingw tool chain
 5942: opt_cr=
 5943: case $build_os in
 5944: mingw*)
 5945:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 5946:   ;;
 5947: esac
 5948: 
 5949: # Try without a prefix underscore, then with it.
 5950: for ac_symprfx in "" "_"; do
 5951: 
 5952:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 5953:   symxfrm="\\1 $ac_symprfx\\2 \\2"
 5954: 
 5955:   # Write the raw and C identifiers.
 5956:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 5957:     # Fake it for dumpbin and say T for any non-static function
 5958:     # and D for any global variable.
 5959:     # Also find C++ and __fastcall symbols from MSVC++,
 5960:     # which start with @ or ?.
 5961:     lt_cv_sys_global_symbol_pipe="$AWK '"\
 5962: "     {last_section=section; section=\$ 3};"\
 5963: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 5964: "     \$ 0!~/External *\|/{next};"\
 5965: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 5966: "     {if(hide[section]) next};"\
 5967: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 5968: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 5969: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 5970: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 5971: "     ' prfx=^$ac_symprfx"
 5972:   else
 5973:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 5974:   fi
 5975: 
 5976:   # Check to see that the pipe works correctly.
 5977:   pipe_works=no
 5978: 
 5979:   rm -f conftest*
 5980:   cat > conftest.$ac_ext <<_LT_EOF
 5981: #ifdef __cplusplus
 5982: extern "C" {
 5983: #endif
 5984: char nm_test_var;
 5985: void nm_test_func(void);
 5986: void nm_test_func(void){}
 5987: #ifdef __cplusplus
 5988: }
 5989: #endif
 5990: int main(){nm_test_var='a';nm_test_func();return(0);}
 5991: _LT_EOF
 5992: 
 5993:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 5994:   (eval $ac_compile) 2>&5
 5995:   ac_status=$?
 5996:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5997:   test $ac_status = 0; }; then
 5998:     # Now try to grab the symbols.
 5999:     nlist=conftest.nm
 6000:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 6001:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 6002:   ac_status=$?
 6003:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6004:   test $ac_status = 0; } && test -s "$nlist"; then
 6005:       # Try sorting and uniquifying the output.
 6006:       if sort "$nlist" | uniq > "$nlist"T; then
 6007: 	mv -f "$nlist"T "$nlist"
 6008:       else
 6009: 	rm -f "$nlist"T
 6010:       fi
 6011: 
 6012:       # Make sure that we snagged all the symbols we need.
 6013:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 6014: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 6015: 	  cat <<_LT_EOF > conftest.$ac_ext
 6016: #ifdef __cplusplus
 6017: extern "C" {
 6018: #endif
 6019: 
 6020: _LT_EOF
 6021: 	  # Now generate the symbol file.
 6022: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 6023: 
 6024: 	  cat <<_LT_EOF >> conftest.$ac_ext
 6025: 
 6026: /* The mapping between symbol names and symbols.  */
 6027: const struct {
 6028:   const char *name;
 6029:   void       *address;
 6030: }
 6031: lt__PROGRAM__LTX_preloaded_symbols[] =
 6032: {
 6033:   { "@PROGRAM@", (void *) 0 },
 6034: _LT_EOF
 6035: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 6036: 	  cat <<\_LT_EOF >> conftest.$ac_ext
 6037:   {0, (void *) 0}
 6038: };
 6039: 
 6040: /* This works around a problem in FreeBSD linker */
 6041: #ifdef FREEBSD_WORKAROUND
 6042: static const void *lt_preloaded_setup() {
 6043:   return lt__PROGRAM__LTX_preloaded_symbols;
 6044: }
 6045: #endif
 6046: 
 6047: #ifdef __cplusplus
 6048: }
 6049: #endif
 6050: _LT_EOF
 6051: 	  # Now try linking the two files.
 6052: 	  mv conftest.$ac_objext conftstm.$ac_objext
 6053: 	  lt_save_LIBS="$LIBS"
 6054: 	  lt_save_CFLAGS="$CFLAGS"
 6055: 	  LIBS="conftstm.$ac_objext"
 6056: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 6057: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 6058:   (eval $ac_link) 2>&5
 6059:   ac_status=$?
 6060:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6061:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 6062: 	    pipe_works=yes
 6063: 	  fi
 6064: 	  LIBS="$lt_save_LIBS"
 6065: 	  CFLAGS="$lt_save_CFLAGS"
 6066: 	else
 6067: 	  echo "cannot find nm_test_func in $nlist" >&5
 6068: 	fi
 6069:       else
 6070: 	echo "cannot find nm_test_var in $nlist" >&5
 6071:       fi
 6072:     else
 6073:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 6074:     fi
 6075:   else
 6076:     echo "$progname: failed program was:" >&5
 6077:     cat conftest.$ac_ext >&5
 6078:   fi
 6079:   rm -rf conftest* conftst*
 6080: 
 6081:   # Do not use the global_symbol_pipe unless it works.
 6082:   if test "$pipe_works" = yes; then
 6083:     break
 6084:   else
 6085:     lt_cv_sys_global_symbol_pipe=
 6086:   fi
 6087: done
 6088: 
 6089: fi
 6090: 
 6091: if test -z "$lt_cv_sys_global_symbol_pipe"; then
 6092:   lt_cv_sys_global_symbol_to_cdecl=
 6093: fi
 6094: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 6095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 6096: $as_echo "failed" >&6; }
 6097: else
 6098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 6099: $as_echo "ok" >&6; }
 6100: fi
 6101: 
 6102: 
 6103: 
 6104: 
 6105: 
 6106: 
 6107: 
 6108: 
 6109: 
 6110: 
 6111: 
 6112: 
 6113: 
 6114: 
 6115: 
 6116: 
 6117: 
 6118: 
 6119: 
 6120: 
 6121: 
 6122: 
 6123: # Check whether --enable-libtool-lock was given.
 6124: if test "${enable_libtool_lock+set}" = set; then :
 6125:   enableval=$enable_libtool_lock;
 6126: fi
 6127: 
 6128: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 6129: 
 6130: # Some flags need to be propagated to the compiler or linker for good
 6131: # libtool support.
 6132: case $host in
 6133: ia64-*-hpux*)
 6134:   # Find out which ABI we are using.
 6135:   echo 'int i;' > conftest.$ac_ext
 6136:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6137:   (eval $ac_compile) 2>&5
 6138:   ac_status=$?
 6139:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6140:   test $ac_status = 0; }; then
 6141:     case `/usr/bin/file conftest.$ac_objext` in
 6142:       *ELF-32*)
 6143: 	HPUX_IA64_MODE="32"
 6144: 	;;
 6145:       *ELF-64*)
 6146: 	HPUX_IA64_MODE="64"
 6147: 	;;
 6148:     esac
 6149:   fi
 6150:   rm -rf conftest*
 6151:   ;;
 6152: *-*-irix6*)
 6153:   # Find out which ABI we are using.
 6154:   echo '#line 6154 "configure"' > conftest.$ac_ext
 6155:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6156:   (eval $ac_compile) 2>&5
 6157:   ac_status=$?
 6158:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6159:   test $ac_status = 0; }; then
 6160:     if test "$lt_cv_prog_gnu_ld" = yes; then
 6161:       case `/usr/bin/file conftest.$ac_objext` in
 6162: 	*32-bit*)
 6163: 	  LD="${LD-ld} -melf32bsmip"
 6164: 	  ;;
 6165: 	*N32*)
 6166: 	  LD="${LD-ld} -melf32bmipn32"
 6167: 	  ;;
 6168: 	*64-bit*)
 6169: 	  LD="${LD-ld} -melf64bmip"
 6170: 	;;
 6171:       esac
 6172:     else
 6173:       case `/usr/bin/file conftest.$ac_objext` in
 6174: 	*32-bit*)
 6175: 	  LD="${LD-ld} -32"
 6176: 	  ;;
 6177: 	*N32*)
 6178: 	  LD="${LD-ld} -n32"
 6179: 	  ;;
 6180: 	*64-bit*)
 6181: 	  LD="${LD-ld} -64"
 6182: 	  ;;
 6183:       esac
 6184:     fi
 6185:   fi
 6186:   rm -rf conftest*
 6187:   ;;
 6188: 
 6189: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 6190: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 6191:   # Find out which ABI we are using.
 6192:   echo 'int i;' > conftest.$ac_ext
 6193:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6194:   (eval $ac_compile) 2>&5
 6195:   ac_status=$?
 6196:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6197:   test $ac_status = 0; }; then
 6198:     case `/usr/bin/file conftest.o` in
 6199:       *32-bit*)
 6200: 	case $host in
 6201: 	  x86_64-*kfreebsd*-gnu)
 6202: 	    LD="${LD-ld} -m elf_i386_fbsd"
 6203: 	    ;;
 6204: 	  x86_64-*linux*)
 6205: 	    LD="${LD-ld} -m elf_i386"
 6206: 	    ;;
 6207: 	  ppc64-*linux*|powerpc64-*linux*)
 6208: 	    LD="${LD-ld} -m elf32ppclinux"
 6209: 	    ;;
 6210: 	  s390x-*linux*)
 6211: 	    LD="${LD-ld} -m elf_s390"
 6212: 	    ;;
 6213: 	  sparc64-*linux*)
 6214: 	    LD="${LD-ld} -m elf32_sparc"
 6215: 	    ;;
 6216: 	esac
 6217: 	;;
 6218:       *64-bit*)
 6219: 	case $host in
 6220: 	  x86_64-*kfreebsd*-gnu)
 6221: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
 6222: 	    ;;
 6223: 	  x86_64-*linux*)
 6224: 	    LD="${LD-ld} -m elf_x86_64"
 6225: 	    ;;
 6226: 	  ppc*-*linux*|powerpc*-*linux*)
 6227: 	    LD="${LD-ld} -m elf64ppc"
 6228: 	    ;;
 6229: 	  s390*-*linux*|s390*-*tpf*)
 6230: 	    LD="${LD-ld} -m elf64_s390"
 6231: 	    ;;
 6232: 	  sparc*-*linux*)
 6233: 	    LD="${LD-ld} -m elf64_sparc"
 6234: 	    ;;
 6235: 	esac
 6236: 	;;
 6237:     esac
 6238:   fi
 6239:   rm -rf conftest*
 6240:   ;;
 6241: 
 6242: *-*-sco3.2v5*)
 6243:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 6244:   SAVE_CFLAGS="$CFLAGS"
 6245:   CFLAGS="$CFLAGS -belf"
 6246:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 6247: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 6248: if test "${lt_cv_cc_needs_belf+set}" = set; then :
 6249:   $as_echo_n "(cached) " >&6
 6250: else
 6251:   ac_ext=c
 6252: ac_cpp='$CPP $CPPFLAGS'
 6253: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6254: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6255: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6256: 
 6257:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6258: /* end confdefs.h.  */
 6259: 
 6260: int
 6261: main ()
 6262: {
 6263: 
 6264:   ;
 6265:   return 0;
 6266: }
 6267: _ACEOF
 6268: if ac_fn_c_try_link "$LINENO"; then :
 6269:   lt_cv_cc_needs_belf=yes
 6270: else
 6271:   lt_cv_cc_needs_belf=no
 6272: fi
 6273: rm -f core conftest.err conftest.$ac_objext \
 6274:     conftest$ac_exeext conftest.$ac_ext
 6275:      ac_ext=c
 6276: ac_cpp='$CPP $CPPFLAGS'
 6277: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6278: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6279: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6280: 
 6281: fi
 6282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 6283: $as_echo "$lt_cv_cc_needs_belf" >&6; }
 6284:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 6285:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 6286:     CFLAGS="$SAVE_CFLAGS"
 6287:   fi
 6288:   ;;
 6289: sparc*-*solaris*)
 6290:   # Find out which ABI we are using.
 6291:   echo 'int i;' > conftest.$ac_ext
 6292:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6293:   (eval $ac_compile) 2>&5
 6294:   ac_status=$?
 6295:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6296:   test $ac_status = 0; }; then
 6297:     case `/usr/bin/file conftest.o` in
 6298:     *64-bit*)
 6299:       case $lt_cv_prog_gnu_ld in
 6300:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 6301:       *)
 6302: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 6303: 	  LD="${LD-ld} -64"
 6304: 	fi
 6305: 	;;
 6306:       esac
 6307:       ;;
 6308:     esac
 6309:   fi
 6310:   rm -rf conftest*
 6311:   ;;
 6312: esac
 6313: 
 6314: need_locks="$enable_libtool_lock"
 6315: 
 6316: 
 6317:   case $host_os in
 6318:     rhapsody* | darwin*)
 6319:     if test -n "$ac_tool_prefix"; then
 6320:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 6321: set dummy ${ac_tool_prefix}dsymutil; 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 test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 6325:   $as_echo_n "(cached) " >&6
 6326: else
 6327:   if test -n "$DSYMUTIL"; then
 6328:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
 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: DSYMUTIL=$ac_cv_prog_DSYMUTIL
 6348: if test -n "$DSYMUTIL"; then
 6349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 6350: $as_echo "$DSYMUTIL" >&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_DSYMUTIL"; then
 6359:   ac_ct_DSYMUTIL=$DSYMUTIL
 6360:   # Extract the first word of "dsymutil", so it can be a program name with args.
 6361: set dummy dsymutil; 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 test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 6365:   $as_echo_n "(cached) " >&6
 6366: else
 6367:   if test -n "$ac_ct_DSYMUTIL"; then
 6368:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_DSYMUTIL="dsymutil"
 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_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 6388: if test -n "$ac_ct_DSYMUTIL"; then
 6389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 6390: $as_echo "$ac_ct_DSYMUTIL" >&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_DSYMUTIL" = x; then
 6397:     DSYMUTIL=":"
 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:     DSYMUTIL=$ac_ct_DSYMUTIL
 6406:   fi
 6407: else
 6408:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 6409: fi
 6410: 
 6411:     if test -n "$ac_tool_prefix"; then
 6412:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 6413: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 6414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6415: $as_echo_n "checking for $ac_word... " >&6; }
 6416: if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 6417:   $as_echo_n "(cached) " >&6
 6418: else
 6419:   if test -n "$NMEDIT"; then
 6420:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 6421: else
 6422: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6423: for as_dir in $PATH
 6424: do
 6425:   IFS=$as_save_IFS
 6426:   test -z "$as_dir" && as_dir=.
 6427:     for ac_exec_ext in '' $ac_executable_extensions; do
 6428:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6429:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 6430:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6431:     break 2
 6432:   fi
 6433: done
 6434:   done
 6435: IFS=$as_save_IFS
 6436: 
 6437: fi
 6438: fi
 6439: NMEDIT=$ac_cv_prog_NMEDIT
 6440: if test -n "$NMEDIT"; then
 6441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 6442: $as_echo "$NMEDIT" >&6; }
 6443: else
 6444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6445: $as_echo "no" >&6; }
 6446: fi
 6447: 
 6448: 
 6449: fi
 6450: if test -z "$ac_cv_prog_NMEDIT"; then
 6451:   ac_ct_NMEDIT=$NMEDIT
 6452:   # Extract the first word of "nmedit", so it can be a program name with args.
 6453: set dummy nmedit; ac_word=$2
 6454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6455: $as_echo_n "checking for $ac_word... " >&6; }
 6456: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 6457:   $as_echo_n "(cached) " >&6
 6458: else
 6459:   if test -n "$ac_ct_NMEDIT"; then
 6460:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 6461: else
 6462: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6463: for as_dir in $PATH
 6464: do
 6465:   IFS=$as_save_IFS
 6466:   test -z "$as_dir" && as_dir=.
 6467:     for ac_exec_ext in '' $ac_executable_extensions; do
 6468:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6469:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 6470:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6471:     break 2
 6472:   fi
 6473: done
 6474:   done
 6475: IFS=$as_save_IFS
 6476: 
 6477: fi
 6478: fi
 6479: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 6480: if test -n "$ac_ct_NMEDIT"; then
 6481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 6482: $as_echo "$ac_ct_NMEDIT" >&6; }
 6483: else
 6484:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6485: $as_echo "no" >&6; }
 6486: fi
 6487: 
 6488:   if test "x$ac_ct_NMEDIT" = x; then
 6489:     NMEDIT=":"
 6490:   else
 6491:     case $cross_compiling:$ac_tool_warned in
 6492: yes:)
 6493: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6494: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6495: ac_tool_warned=yes ;;
 6496: esac
 6497:     NMEDIT=$ac_ct_NMEDIT
 6498:   fi
 6499: else
 6500:   NMEDIT="$ac_cv_prog_NMEDIT"
 6501: fi
 6502: 
 6503:     if test -n "$ac_tool_prefix"; then
 6504:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 6505: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 6506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6507: $as_echo_n "checking for $ac_word... " >&6; }
 6508: if test "${ac_cv_prog_LIPO+set}" = set; then :
 6509:   $as_echo_n "(cached) " >&6
 6510: else
 6511:   if test -n "$LIPO"; then
 6512:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 6513: else
 6514: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6515: for as_dir in $PATH
 6516: do
 6517:   IFS=$as_save_IFS
 6518:   test -z "$as_dir" && as_dir=.
 6519:     for ac_exec_ext in '' $ac_executable_extensions; do
 6520:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6521:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 6522:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6523:     break 2
 6524:   fi
 6525: done
 6526:   done
 6527: IFS=$as_save_IFS
 6528: 
 6529: fi
 6530: fi
 6531: LIPO=$ac_cv_prog_LIPO
 6532: if test -n "$LIPO"; then
 6533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 6534: $as_echo "$LIPO" >&6; }
 6535: else
 6536:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6537: $as_echo "no" >&6; }
 6538: fi
 6539: 
 6540: 
 6541: fi
 6542: if test -z "$ac_cv_prog_LIPO"; then
 6543:   ac_ct_LIPO=$LIPO
 6544:   # Extract the first word of "lipo", so it can be a program name with args.
 6545: set dummy lipo; ac_word=$2
 6546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6547: $as_echo_n "checking for $ac_word... " >&6; }
 6548: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 6549:   $as_echo_n "(cached) " >&6
 6550: else
 6551:   if test -n "$ac_ct_LIPO"; then
 6552:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 6553: else
 6554: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6555: for as_dir in $PATH
 6556: do
 6557:   IFS=$as_save_IFS
 6558:   test -z "$as_dir" && as_dir=.
 6559:     for ac_exec_ext in '' $ac_executable_extensions; do
 6560:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6561:     ac_cv_prog_ac_ct_LIPO="lipo"
 6562:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6563:     break 2
 6564:   fi
 6565: done
 6566:   done
 6567: IFS=$as_save_IFS
 6568: 
 6569: fi
 6570: fi
 6571: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 6572: if test -n "$ac_ct_LIPO"; then
 6573:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 6574: $as_echo "$ac_ct_LIPO" >&6; }
 6575: else
 6576:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6577: $as_echo "no" >&6; }
 6578: fi
 6579: 
 6580:   if test "x$ac_ct_LIPO" = x; then
 6581:     LIPO=":"
 6582:   else
 6583:     case $cross_compiling:$ac_tool_warned in
 6584: yes:)
 6585: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6586: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6587: ac_tool_warned=yes ;;
 6588: esac
 6589:     LIPO=$ac_ct_LIPO
 6590:   fi
 6591: else
 6592:   LIPO="$ac_cv_prog_LIPO"
 6593: fi
 6594: 
 6595:     if test -n "$ac_tool_prefix"; then
 6596:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 6597: set dummy ${ac_tool_prefix}otool; ac_word=$2
 6598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6599: $as_echo_n "checking for $ac_word... " >&6; }
 6600: if test "${ac_cv_prog_OTOOL+set}" = set; then :
 6601:   $as_echo_n "(cached) " >&6
 6602: else
 6603:   if test -n "$OTOOL"; then
 6604:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 6605: else
 6606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6607: for as_dir in $PATH
 6608: do
 6609:   IFS=$as_save_IFS
 6610:   test -z "$as_dir" && as_dir=.
 6611:     for ac_exec_ext in '' $ac_executable_extensions; do
 6612:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6613:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 6614:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6615:     break 2
 6616:   fi
 6617: done
 6618:   done
 6619: IFS=$as_save_IFS
 6620: 
 6621: fi
 6622: fi
 6623: OTOOL=$ac_cv_prog_OTOOL
 6624: if test -n "$OTOOL"; then
 6625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 6626: $as_echo "$OTOOL" >&6; }
 6627: else
 6628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6629: $as_echo "no" >&6; }
 6630: fi
 6631: 
 6632: 
 6633: fi
 6634: if test -z "$ac_cv_prog_OTOOL"; then
 6635:   ac_ct_OTOOL=$OTOOL
 6636:   # Extract the first word of "otool", so it can be a program name with args.
 6637: set dummy otool; ac_word=$2
 6638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6639: $as_echo_n "checking for $ac_word... " >&6; }
 6640: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 6641:   $as_echo_n "(cached) " >&6
 6642: else
 6643:   if test -n "$ac_ct_OTOOL"; then
 6644:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 6645: else
 6646: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6647: for as_dir in $PATH
 6648: do
 6649:   IFS=$as_save_IFS
 6650:   test -z "$as_dir" && as_dir=.
 6651:     for ac_exec_ext in '' $ac_executable_extensions; do
 6652:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6653:     ac_cv_prog_ac_ct_OTOOL="otool"
 6654:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6655:     break 2
 6656:   fi
 6657: done
 6658:   done
 6659: IFS=$as_save_IFS
 6660: 
 6661: fi
 6662: fi
 6663: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 6664: if test -n "$ac_ct_OTOOL"; then
 6665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 6666: $as_echo "$ac_ct_OTOOL" >&6; }
 6667: else
 6668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6669: $as_echo "no" >&6; }
 6670: fi
 6671: 
 6672:   if test "x$ac_ct_OTOOL" = x; then
 6673:     OTOOL=":"
 6674:   else
 6675:     case $cross_compiling:$ac_tool_warned in
 6676: yes:)
 6677: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6678: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6679: ac_tool_warned=yes ;;
 6680: esac
 6681:     OTOOL=$ac_ct_OTOOL
 6682:   fi
 6683: else
 6684:   OTOOL="$ac_cv_prog_OTOOL"
 6685: fi
 6686: 
 6687:     if test -n "$ac_tool_prefix"; then
 6688:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 6689: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 6690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6691: $as_echo_n "checking for $ac_word... " >&6; }
 6692: if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 6693:   $as_echo_n "(cached) " >&6
 6694: else
 6695:   if test -n "$OTOOL64"; then
 6696:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 6697: else
 6698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6699: for as_dir in $PATH
 6700: do
 6701:   IFS=$as_save_IFS
 6702:   test -z "$as_dir" && as_dir=.
 6703:     for ac_exec_ext in '' $ac_executable_extensions; do
 6704:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6705:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 6706:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6707:     break 2
 6708:   fi
 6709: done
 6710:   done
 6711: IFS=$as_save_IFS
 6712: 
 6713: fi
 6714: fi
 6715: OTOOL64=$ac_cv_prog_OTOOL64
 6716: if test -n "$OTOOL64"; then
 6717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 6718: $as_echo "$OTOOL64" >&6; }
 6719: else
 6720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6721: $as_echo "no" >&6; }
 6722: fi
 6723: 
 6724: 
 6725: fi
 6726: if test -z "$ac_cv_prog_OTOOL64"; then
 6727:   ac_ct_OTOOL64=$OTOOL64
 6728:   # Extract the first word of "otool64", so it can be a program name with args.
 6729: set dummy otool64; ac_word=$2
 6730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6731: $as_echo_n "checking for $ac_word... " >&6; }
 6732: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 6733:   $as_echo_n "(cached) " >&6
 6734: else
 6735:   if test -n "$ac_ct_OTOOL64"; then
 6736:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 6737: else
 6738: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6739: for as_dir in $PATH
 6740: do
 6741:   IFS=$as_save_IFS
 6742:   test -z "$as_dir" && as_dir=.
 6743:     for ac_exec_ext in '' $ac_executable_extensions; do
 6744:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6745:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 6746:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6747:     break 2
 6748:   fi
 6749: done
 6750:   done
 6751: IFS=$as_save_IFS
 6752: 
 6753: fi
 6754: fi
 6755: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 6756: if test -n "$ac_ct_OTOOL64"; then
 6757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 6758: $as_echo "$ac_ct_OTOOL64" >&6; }
 6759: else
 6760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6761: $as_echo "no" >&6; }
 6762: fi
 6763: 
 6764:   if test "x$ac_ct_OTOOL64" = x; then
 6765:     OTOOL64=":"
 6766:   else
 6767:     case $cross_compiling:$ac_tool_warned in
 6768: yes:)
 6769: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6770: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6771: ac_tool_warned=yes ;;
 6772: esac
 6773:     OTOOL64=$ac_ct_OTOOL64
 6774:   fi
 6775: else
 6776:   OTOOL64="$ac_cv_prog_OTOOL64"
 6777: fi
 6778: 
 6779: 
 6780: 
 6781: 
 6782: 
 6783: 
 6784: 
 6785: 
 6786: 
 6787: 
 6788: 
 6789: 
 6790: 
 6791: 
 6792: 
 6793: 
 6794: 
 6795: 
 6796: 
 6797: 
 6798: 
 6799: 
 6800: 
 6801: 
 6802: 
 6803: 
 6804: 
 6805:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 6806: $as_echo_n "checking for -single_module linker flag... " >&6; }
 6807: if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 6808:   $as_echo_n "(cached) " >&6
 6809: else
 6810:   lt_cv_apple_cc_single_mod=no
 6811:       if test -z "${LT_MULTI_MODULE}"; then
 6812: 	# By default we will add the -single_module flag. You can override
 6813: 	# by either setting the environment variable LT_MULTI_MODULE
 6814: 	# non-empty at configure time, or by adding -multi_module to the
 6815: 	# link flags.
 6816: 	rm -rf libconftest.dylib*
 6817: 	echo "int foo(void){return 1;}" > conftest.c
 6818: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 6819: -dynamiclib -Wl,-single_module conftest.c" >&5
 6820: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 6821: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 6822:         _lt_result=$?
 6823: 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 6824: 	  lt_cv_apple_cc_single_mod=yes
 6825: 	else
 6826: 	  cat conftest.err >&5
 6827: 	fi
 6828: 	rm -rf libconftest.dylib*
 6829: 	rm -f conftest.*
 6830:       fi
 6831: fi
 6832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 6833: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 6834:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 6835: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 6836: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 6837:   $as_echo_n "(cached) " >&6
 6838: else
 6839:   lt_cv_ld_exported_symbols_list=no
 6840:       save_LDFLAGS=$LDFLAGS
 6841:       echo "_main" > conftest.sym
 6842:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 6843:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6844: /* end confdefs.h.  */
 6845: 
 6846: int
 6847: main ()
 6848: {
 6849: 
 6850:   ;
 6851:   return 0;
 6852: }
 6853: _ACEOF
 6854: if ac_fn_c_try_link "$LINENO"; then :
 6855:   lt_cv_ld_exported_symbols_list=yes
 6856: else
 6857:   lt_cv_ld_exported_symbols_list=no
 6858: fi
 6859: rm -f core conftest.err conftest.$ac_objext \
 6860:     conftest$ac_exeext conftest.$ac_ext
 6861: 	LDFLAGS="$save_LDFLAGS"
 6862: 
 6863: fi
 6864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 6865: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 6866:     case $host_os in
 6867:     rhapsody* | darwin1.[012])
 6868:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 6869:     darwin1.*)
 6870:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 6871:     darwin*) # darwin 5.x on
 6872:       # if running on 10.5 or later, the deployment target defaults
 6873:       # to the OS version, if on x86, and 10.4, the deployment
 6874:       # target defaults to 10.4. Don't you love it?
 6875:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 6876: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 6877: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 6878: 	10.[012]*)
 6879: 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 6880: 	10.*)
 6881: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 6882:       esac
 6883:     ;;
 6884:   esac
 6885:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 6886:       _lt_dar_single_mod='$single_module'
 6887:     fi
 6888:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 6889:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 6890:     else
 6891:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 6892:     fi
 6893:     if test "$DSYMUTIL" != ":"; then
 6894:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 6895:     else
 6896:       _lt_dsymutil=
 6897:     fi
 6898:     ;;
 6899:   esac
 6900: 
 6901: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 6902: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 6903: 		  inttypes.h stdint.h unistd.h
 6904: do :
 6905:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 6906: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 6907: "
 6908: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 6909:   cat >>confdefs.h <<_ACEOF
 6910: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6911: _ACEOF
 6912: 
 6913: fi
 6914: 
 6915: done
 6916: 
 6917: 
 6918: for ac_header in dlfcn.h
 6919: do :
 6920:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 6921: "
 6922: if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 6923:   cat >>confdefs.h <<_ACEOF
 6924: #define HAVE_DLFCN_H 1
 6925: _ACEOF
 6926: 
 6927: fi
 6928: 
 6929: done
 6930: 
 6931: 
 6932: 
 6933: # Set options
 6934: 
 6935: 
 6936: 
 6937:         enable_dlopen=no
 6938: 
 6939: 
 6940:   enable_win32_dll=no
 6941: 
 6942: 
 6943:             # Check whether --enable-shared was given.
 6944: if test "${enable_shared+set}" = set; then :
 6945:   enableval=$enable_shared; p=${PACKAGE-default}
 6946:     case $enableval in
 6947:     yes) enable_shared=yes ;;
 6948:     no) enable_shared=no ;;
 6949:     *)
 6950:       enable_shared=no
 6951:       # Look at the argument we got.  We use all the common list separators.
 6952:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6953:       for pkg in $enableval; do
 6954: 	IFS="$lt_save_ifs"
 6955: 	if test "X$pkg" = "X$p"; then
 6956: 	  enable_shared=yes
 6957: 	fi
 6958:       done
 6959:       IFS="$lt_save_ifs"
 6960:       ;;
 6961:     esac
 6962: else
 6963:   enable_shared=yes
 6964: fi
 6965: 
 6966: 
 6967: 
 6968: 
 6969: 
 6970: 
 6971: 
 6972: 
 6973: 
 6974:   # Check whether --enable-static was given.
 6975: if test "${enable_static+set}" = set; then :
 6976:   enableval=$enable_static; p=${PACKAGE-default}
 6977:     case $enableval in
 6978:     yes) enable_static=yes ;;
 6979:     no) enable_static=no ;;
 6980:     *)
 6981:      enable_static=no
 6982:       # Look at the argument we got.  We use all the common list separators.
 6983:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6984:       for pkg in $enableval; do
 6985: 	IFS="$lt_save_ifs"
 6986: 	if test "X$pkg" = "X$p"; then
 6987: 	  enable_static=yes
 6988: 	fi
 6989:       done
 6990:       IFS="$lt_save_ifs"
 6991:       ;;
 6992:     esac
 6993: else
 6994:   enable_static=yes
 6995: fi
 6996: 
 6997: 
 6998: 
 6999: 
 7000: 
 7001: 
 7002: 
 7003: 
 7004: 
 7005: 
 7006: # Check whether --with-pic was given.
 7007: if test "${with_pic+set}" = set; then :
 7008:   withval=$with_pic; pic_mode="$withval"
 7009: else
 7010:   pic_mode=default
 7011: fi
 7012: 
 7013: 
 7014: test -z "$pic_mode" && pic_mode=default
 7015: 
 7016: 
 7017: 
 7018: 
 7019: 
 7020: 
 7021: 
 7022:   # Check whether --enable-fast-install was given.
 7023: if test "${enable_fast_install+set}" = set; then :
 7024:   enableval=$enable_fast_install; p=${PACKAGE-default}
 7025:     case $enableval in
 7026:     yes) enable_fast_install=yes ;;
 7027:     no) enable_fast_install=no ;;
 7028:     *)
 7029:       enable_fast_install=no
 7030:       # Look at the argument we got.  We use all the common list separators.
 7031:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 7032:       for pkg in $enableval; do
 7033: 	IFS="$lt_save_ifs"
 7034: 	if test "X$pkg" = "X$p"; then
 7035: 	  enable_fast_install=yes
 7036: 	fi
 7037:       done
 7038:       IFS="$lt_save_ifs"
 7039:       ;;
 7040:     esac
 7041: else
 7042:   enable_fast_install=yes
 7043: fi
 7044: 
 7045: 
 7046: 
 7047: 
 7048: 
 7049: 
 7050: 
 7051: 
 7052: 
 7053: 
 7054: 
 7055: # This can be used to rebuild libtool when needed
 7056: LIBTOOL_DEPS="$ltmain"
 7057: 
 7058: # Always use our own libtool.
 7059: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 7060: 
 7061: 
 7062: 
 7063: 
 7064: 
 7065: 
 7066: 
 7067: 
 7068: 
 7069: 
 7070: 
 7071: 
 7072: 
 7073: 
 7074: 
 7075: 
 7076: 
 7077: 
 7078: 
 7079: 
 7080: 
 7081: 
 7082: 
 7083: 
 7084: 
 7085: test -z "$LN_S" && LN_S="ln -s"
 7086: 
 7087: 
 7088: 
 7089: 
 7090: 
 7091: 
 7092: 
 7093: 
 7094: 
 7095: 
 7096: 
 7097: 
 7098: 
 7099: 
 7100: if test -n "${ZSH_VERSION+set}" ; then
 7101:    setopt NO_GLOB_SUBST
 7102: fi
 7103: 
 7104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 7105: $as_echo_n "checking for objdir... " >&6; }
 7106: if test "${lt_cv_objdir+set}" = set; then :
 7107:   $as_echo_n "(cached) " >&6
 7108: else
 7109:   rm -f .libs 2>/dev/null
 7110: mkdir .libs 2>/dev/null
 7111: if test -d .libs; then
 7112:   lt_cv_objdir=.libs
 7113: else
 7114:   # MS-DOS does not allow filenames that begin with a dot.
 7115:   lt_cv_objdir=_libs
 7116: fi
 7117: rmdir .libs 2>/dev/null
 7118: fi
 7119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 7120: $as_echo "$lt_cv_objdir" >&6; }
 7121: objdir=$lt_cv_objdir
 7122: 
 7123: 
 7124: 
 7125: 
 7126: 
 7127: cat >>confdefs.h <<_ACEOF
 7128: #define LT_OBJDIR "$lt_cv_objdir/"
 7129: _ACEOF
 7130: 
 7131: 
 7132: 
 7133: 
 7134: 
 7135: 
 7136: 
 7137: 
 7138: 
 7139: 
 7140: 
 7141: 
 7142: 
 7143: 
 7144: 
 7145: 
 7146: 
 7147: case $host_os in
 7148: aix3*)
 7149:   # AIX sometimes has problems with the GCC collect2 program.  For some
 7150:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 7151:   # vanish in a puff of smoke.
 7152:   if test "X${COLLECT_NAMES+set}" != Xset; then
 7153:     COLLECT_NAMES=
 7154:     export COLLECT_NAMES
 7155:   fi
 7156:   ;;
 7157: esac
 7158: 
 7159: # Sed substitution that helps us do robust quoting.  It backslashifies
 7160: # metacharacters that are still active within double-quoted strings.
 7161: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 7162: 
 7163: # Same as above, but do not quote variable references.
 7164: double_quote_subst='s/\(["`\\]\)/\\\1/g'
 7165: 
 7166: # Sed substitution to delay expansion of an escaped shell variable in a
 7167: # double_quote_subst'ed string.
 7168: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 7169: 
 7170: # Sed substitution to delay expansion of an escaped single quote.
 7171: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 7172: 
 7173: # Sed substitution to avoid accidental globbing in evaled expressions
 7174: no_glob_subst='s/\*/\\\*/g'
 7175: 
 7176: # Global variables:
 7177: ofile=libtool
 7178: can_build_shared=yes
 7179: 
 7180: # All known linkers require a `.a' archive for static linking (except MSVC,
 7181: # which needs '.lib').
 7182: libext=a
 7183: 
 7184: with_gnu_ld="$lt_cv_prog_gnu_ld"
 7185: 
 7186: old_CC="$CC"
 7187: old_CFLAGS="$CFLAGS"
 7188: 
 7189: # Set sane defaults for various variables
 7190: test -z "$CC" && CC=cc
 7191: test -z "$LTCC" && LTCC=$CC
 7192: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 7193: test -z "$LD" && LD=ld
 7194: test -z "$ac_objext" && ac_objext=o
 7195: 
 7196: for cc_temp in $compiler""; do
 7197:   case $cc_temp in
 7198:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 7199:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 7200:     \-*) ;;
 7201:     *) break;;
 7202:   esac
 7203: done
 7204: cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 7205: 
 7206: 
 7207: # Only perform the check for file, if the check method requires it
 7208: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 7209: case $deplibs_check_method in
 7210: file_magic*)
 7211:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 7212:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 7213: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 7214: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 7215:   $as_echo_n "(cached) " >&6
 7216: else
 7217:   case $MAGIC_CMD in
 7218: [\\/*] |  ?:[\\/]*)
 7219:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 7220:   ;;
 7221: *)
 7222:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 7223:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7224:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 7225:   for ac_dir in $ac_dummy; do
 7226:     IFS="$lt_save_ifs"
 7227:     test -z "$ac_dir" && ac_dir=.
 7228:     if test -f $ac_dir/${ac_tool_prefix}file; then
 7229:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 7230:       if test -n "$file_magic_test_file"; then
 7231: 	case $deplibs_check_method in
 7232: 	"file_magic "*)
 7233: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 7234: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7235: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 7236: 	    $EGREP "$file_magic_regex" > /dev/null; then
 7237: 	    :
 7238: 	  else
 7239: 	    cat <<_LT_EOF 1>&2
 7240: 
 7241: *** Warning: the command libtool uses to detect shared libraries,
 7242: *** $file_magic_cmd, produces output that libtool cannot recognize.
 7243: *** The result is that libtool may fail to recognize shared libraries
 7244: *** as such.  This will affect the creation of libtool libraries that
 7245: *** depend on shared libraries, but programs linked with such libtool
 7246: *** libraries will work regardless of this problem.  Nevertheless, you
 7247: *** may want to report the problem to your system manager and/or to
 7248: *** bug-libtool@gnu.org
 7249: 
 7250: _LT_EOF
 7251: 	  fi ;;
 7252: 	esac
 7253:       fi
 7254:       break
 7255:     fi
 7256:   done
 7257:   IFS="$lt_save_ifs"
 7258:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 7259:   ;;
 7260: esac
 7261: fi
 7262: 
 7263: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7264: if test -n "$MAGIC_CMD"; then
 7265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 7266: $as_echo "$MAGIC_CMD" >&6; }
 7267: else
 7268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7269: $as_echo "no" >&6; }
 7270: fi
 7271: 
 7272: 
 7273: 
 7274: 
 7275: 
 7276: if test -z "$lt_cv_path_MAGIC_CMD"; then
 7277:   if test -n "$ac_tool_prefix"; then
 7278:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 7279: $as_echo_n "checking for file... " >&6; }
 7280: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 7281:   $as_echo_n "(cached) " >&6
 7282: else
 7283:   case $MAGIC_CMD in
 7284: [\\/*] |  ?:[\\/]*)
 7285:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 7286:   ;;
 7287: *)
 7288:   lt_save_MAGIC_CMD="$MAGIC_CMD"
 7289:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7290:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 7291:   for ac_dir in $ac_dummy; do
 7292:     IFS="$lt_save_ifs"
 7293:     test -z "$ac_dir" && ac_dir=.
 7294:     if test -f $ac_dir/file; then
 7295:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 7296:       if test -n "$file_magic_test_file"; then
 7297: 	case $deplibs_check_method in
 7298: 	"file_magic "*)
 7299: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 7300: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7301: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 7302: 	    $EGREP "$file_magic_regex" > /dev/null; then
 7303: 	    :
 7304: 	  else
 7305: 	    cat <<_LT_EOF 1>&2
 7306: 
 7307: *** Warning: the command libtool uses to detect shared libraries,
 7308: *** $file_magic_cmd, produces output that libtool cannot recognize.
 7309: *** The result is that libtool may fail to recognize shared libraries
 7310: *** as such.  This will affect the creation of libtool libraries that
 7311: *** depend on shared libraries, but programs linked with such libtool
 7312: *** libraries will work regardless of this problem.  Nevertheless, you
 7313: *** may want to report the problem to your system manager and/or to
 7314: *** bug-libtool@gnu.org
 7315: 
 7316: _LT_EOF
 7317: 	  fi ;;
 7318: 	esac
 7319:       fi
 7320:       break
 7321:     fi
 7322:   done
 7323:   IFS="$lt_save_ifs"
 7324:   MAGIC_CMD="$lt_save_MAGIC_CMD"
 7325:   ;;
 7326: esac
 7327: fi
 7328: 
 7329: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 7330: if test -n "$MAGIC_CMD"; then
 7331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 7332: $as_echo "$MAGIC_CMD" >&6; }
 7333: else
 7334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7335: $as_echo "no" >&6; }
 7336: fi
 7337: 
 7338: 
 7339:   else
 7340:     MAGIC_CMD=:
 7341:   fi
 7342: fi
 7343: 
 7344:   fi
 7345:   ;;
 7346: esac
 7347: 
 7348: # Use C for the default configuration in the libtool script
 7349: 
 7350: lt_save_CC="$CC"
 7351: ac_ext=c
 7352: ac_cpp='$CPP $CPPFLAGS'
 7353: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7354: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7355: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7356: 
 7357: 
 7358: # Source file extension for C test sources.
 7359: ac_ext=c
 7360: 
 7361: # Object file extension for compiled C test sources.
 7362: objext=o
 7363: objext=$objext
 7364: 
 7365: # Code to be used in simple compile tests
 7366: lt_simple_compile_test_code="int some_variable = 0;"
 7367: 
 7368: # Code to be used in simple link tests
 7369: lt_simple_link_test_code='int main(){return(0);}'
 7370: 
 7371: 
 7372: 
 7373: 
 7374: 
 7375: 
 7376: 
 7377: # If no C compiler was specified, use CC.
 7378: LTCC=${LTCC-"$CC"}
 7379: 
 7380: # If no C compiler flags were specified, use CFLAGS.
 7381: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7382: 
 7383: # Allow CC to be a program name with arguments.
 7384: compiler=$CC
 7385: 
 7386: # Save the default compiler, since it gets overwritten when the other
 7387: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 7388: compiler_DEFAULT=$CC
 7389: 
 7390: # save warnings/boilerplate of simple test code
 7391: ac_outfile=conftest.$ac_objext
 7392: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 7393: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 7394: _lt_compiler_boilerplate=`cat conftest.err`
 7395: $RM conftest*
 7396: 
 7397: ac_outfile=conftest.$ac_objext
 7398: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 7399: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 7400: _lt_linker_boilerplate=`cat conftest.err`
 7401: $RM -r conftest*
 7402: 
 7403: 
 7404: if test -n "$compiler"; then
 7405: 
 7406: lt_prog_compiler_no_builtin_flag=
 7407: 
 7408: if test "$GCC" = yes; then
 7409:   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 7410: 
 7411:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 7412: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 7413: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 7414:   $as_echo_n "(cached) " >&6
 7415: else
 7416:   lt_cv_prog_compiler_rtti_exceptions=no
 7417:    ac_outfile=conftest.$ac_objext
 7418:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7419:    lt_compiler_flag="-fno-rtti -fno-exceptions"
 7420:    # Insert the option either (1) after the last *FLAGS variable, or
 7421:    # (2) before a word containing "conftest.", or (3) at the end.
 7422:    # Note that $ac_compile itself does not contain backslashes and begins
 7423:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7424:    # The option is referenced via a variable to avoid confusing sed.
 7425:    lt_compile=`echo "$ac_compile" | $SED \
 7426:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7427:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7428:    -e 's:$: $lt_compiler_flag:'`
 7429:    (eval echo "\"\$as_me:7429: $lt_compile\"" >&5)
 7430:    (eval "$lt_compile" 2>conftest.err)
 7431:    ac_status=$?
 7432:    cat conftest.err >&5
 7433:    echo "$as_me:7433: \$? = $ac_status" >&5
 7434:    if (exit $ac_status) && test -s "$ac_outfile"; then
 7435:      # The compiler can only warn and ignore the option if not recognized
 7436:      # So say no if there are warnings other than the usual output.
 7437:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 7438:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 7439:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 7440:        lt_cv_prog_compiler_rtti_exceptions=yes
 7441:      fi
 7442:    fi
 7443:    $RM conftest*
 7444: 
 7445: fi
 7446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 7447: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 7448: 
 7449: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 7450:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 7451: else
 7452:     :
 7453: fi
 7454: 
 7455: fi
 7456: 
 7457: 
 7458: 
 7459: 
 7460: 
 7461: 
 7462:   lt_prog_compiler_wl=
 7463: lt_prog_compiler_pic=
 7464: lt_prog_compiler_static=
 7465: 
 7466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 7467: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 7468: 
 7469:   if test "$GCC" = yes; then
 7470:     lt_prog_compiler_wl='-Wl,'
 7471:     lt_prog_compiler_static='-static'
 7472: 
 7473:     case $host_os in
 7474:       aix*)
 7475:       # All AIX code is PIC.
 7476:       if test "$host_cpu" = ia64; then
 7477: 	# AIX 5 now supports IA64 processor
 7478: 	lt_prog_compiler_static='-Bstatic'
 7479:       fi
 7480:       ;;
 7481: 
 7482:     amigaos*)
 7483:       case $host_cpu in
 7484:       powerpc)
 7485:             # see comment about AmigaOS4 .so support
 7486:             lt_prog_compiler_pic='-fPIC'
 7487:         ;;
 7488:       m68k)
 7489:             # FIXME: we need at least 68020 code to build shared libraries, but
 7490:             # adding the `-m68020' flag to GCC prevents building anything better,
 7491:             # like `-m68040'.
 7492:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 7493:         ;;
 7494:       esac
 7495:       ;;
 7496: 
 7497:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 7498:       # PIC is the default for these OSes.
 7499:       ;;
 7500: 
 7501:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 7502:       # This hack is so that the source file can tell whether it is being
 7503:       # built for inclusion in a dll (and should export symbols for example).
 7504:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 7505:       # (--disable-auto-import) libraries
 7506:       lt_prog_compiler_pic='-DDLL_EXPORT'
 7507:       ;;
 7508: 
 7509:     darwin* | rhapsody*)
 7510:       # PIC is the default on this platform
 7511:       # Common symbols not allowed in MH_DYLIB files
 7512:       lt_prog_compiler_pic='-fno-common'
 7513:       ;;
 7514: 
 7515:     hpux*)
 7516:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 7517:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 7518:       # sets the default TLS model and affects inlining.
 7519:       case $host_cpu in
 7520:       hppa*64*)
 7521: 	# +Z the default
 7522: 	;;
 7523:       *)
 7524: 	lt_prog_compiler_pic='-fPIC'
 7525: 	;;
 7526:       esac
 7527:       ;;
 7528: 
 7529:     interix[3-9]*)
 7530:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 7531:       # Instead, we relocate shared libraries at runtime.
 7532:       ;;
 7533: 
 7534:     msdosdjgpp*)
 7535:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 7536:       # on systems that don't support them.
 7537:       lt_prog_compiler_can_build_shared=no
 7538:       enable_shared=no
 7539:       ;;
 7540: 
 7541:     *nto* | *qnx*)
 7542:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 7543:       # it will coredump.
 7544:       lt_prog_compiler_pic='-fPIC -shared'
 7545:       ;;
 7546: 
 7547:     sysv4*MP*)
 7548:       if test -d /usr/nec; then
 7549: 	lt_prog_compiler_pic=-Kconform_pic
 7550:       fi
 7551:       ;;
 7552: 
 7553:     *)
 7554:       lt_prog_compiler_pic='-fPIC'
 7555:       ;;
 7556:     esac
 7557:   else
 7558:     # PORTME Check for flag to pass linker flags through the system compiler.
 7559:     case $host_os in
 7560:     aix*)
 7561:       lt_prog_compiler_wl='-Wl,'
 7562:       if test "$host_cpu" = ia64; then
 7563: 	# AIX 5 now supports IA64 processor
 7564: 	lt_prog_compiler_static='-Bstatic'
 7565:       else
 7566: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 7567:       fi
 7568:       ;;
 7569: 
 7570:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 7571:       # This hack is so that the source file can tell whether it is being
 7572:       # built for inclusion in a dll (and should export symbols for example).
 7573:       lt_prog_compiler_pic='-DDLL_EXPORT'
 7574:       ;;
 7575: 
 7576:     hpux9* | hpux10* | hpux11*)
 7577:       lt_prog_compiler_wl='-Wl,'
 7578:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 7579:       # not for PA HP-UX.
 7580:       case $host_cpu in
 7581:       hppa*64*|ia64*)
 7582: 	# +Z the default
 7583: 	;;
 7584:       *)
 7585: 	lt_prog_compiler_pic='+Z'
 7586: 	;;
 7587:       esac
 7588:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 7589:       lt_prog_compiler_static='${wl}-a ${wl}archive'
 7590:       ;;
 7591: 
 7592:     irix5* | irix6* | nonstopux*)
 7593:       lt_prog_compiler_wl='-Wl,'
 7594:       # PIC (with -KPIC) is the default.
 7595:       lt_prog_compiler_static='-non_shared'
 7596:       ;;
 7597: 
 7598:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
 7599:       case $cc_basename in
 7600:       # old Intel for x86_64 which still supported -KPIC.
 7601:       ecc*)
 7602: 	lt_prog_compiler_wl='-Wl,'
 7603: 	lt_prog_compiler_pic='-KPIC'
 7604: 	lt_prog_compiler_static='-static'
 7605:         ;;
 7606:       # icc used to be incompatible with GCC.
 7607:       # ICC 10 doesn't accept -KPIC any more.
 7608:       icc* | ifort*)
 7609: 	lt_prog_compiler_wl='-Wl,'
 7610: 	lt_prog_compiler_pic='-fPIC'
 7611: 	lt_prog_compiler_static='-static'
 7612:         ;;
 7613:       # Lahey Fortran 8.1.
 7614:       lf95*)
 7615: 	lt_prog_compiler_wl='-Wl,'
 7616: 	lt_prog_compiler_pic='--shared'
 7617: 	lt_prog_compiler_static='--static'
 7618: 	;;
 7619:       pgcc* | pgf77* | pgf90* | pgf95*)
 7620:         # Portland Group compilers (*not* the Pentium gcc compiler,
 7621: 	# which looks to be a dead project)
 7622: 	lt_prog_compiler_wl='-Wl,'
 7623: 	lt_prog_compiler_pic='-fpic'
 7624: 	lt_prog_compiler_static='-Bstatic'
 7625:         ;;
 7626:       ccc*)
 7627:         lt_prog_compiler_wl='-Wl,'
 7628:         # All Alpha code is PIC.
 7629:         lt_prog_compiler_static='-non_shared'
 7630:         ;;
 7631:       xl*)
 7632: 	# IBM XL C 8.0/Fortran 10.1 on PPC
 7633: 	lt_prog_compiler_wl='-Wl,'
 7634: 	lt_prog_compiler_pic='-qpic'
 7635: 	lt_prog_compiler_static='-qstaticlink'
 7636: 	;;
 7637:       *)
 7638: 	case `$CC -V 2>&1 | sed 5q` in
 7639: 	*Sun\ C*)
 7640: 	  # Sun C 5.9
 7641: 	  lt_prog_compiler_pic='-KPIC'
 7642: 	  lt_prog_compiler_static='-Bstatic'
 7643: 	  lt_prog_compiler_wl='-Wl,'
 7644: 	  ;;
 7645: 	*Sun\ F*)
 7646: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 7647: 	  lt_prog_compiler_pic='-KPIC'
 7648: 	  lt_prog_compiler_static='-Bstatic'
 7649: 	  lt_prog_compiler_wl=''
 7650: 	  ;;
 7651: 	esac
 7652: 	;;
 7653:       esac
 7654:       ;;
 7655: 
 7656:     newsos6)
 7657:       lt_prog_compiler_pic='-KPIC'
 7658:       lt_prog_compiler_static='-Bstatic'
 7659:       ;;
 7660: 
 7661:     *nto* | *qnx*)
 7662:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 7663:       # it will coredump.
 7664:       lt_prog_compiler_pic='-fPIC -shared'
 7665:       ;;
 7666: 
 7667:     osf3* | osf4* | osf5*)
 7668:       lt_prog_compiler_wl='-Wl,'
 7669:       # All OSF/1 code is PIC.
 7670:       lt_prog_compiler_static='-non_shared'
 7671:       ;;
 7672: 
 7673:     rdos*)
 7674:       lt_prog_compiler_static='-non_shared'
 7675:       ;;
 7676: 
 7677:     solaris*)
 7678:       lt_prog_compiler_pic='-KPIC'
 7679:       lt_prog_compiler_static='-Bstatic'
 7680:       case $cc_basename in
 7681:       f77* | f90* | f95*)
 7682: 	lt_prog_compiler_wl='-Qoption ld ';;
 7683:       *)
 7684: 	lt_prog_compiler_wl='-Wl,';;
 7685:       esac
 7686:       ;;
 7687: 
 7688:     sunos4*)
 7689:       lt_prog_compiler_wl='-Qoption ld '
 7690:       lt_prog_compiler_pic='-PIC'
 7691:       lt_prog_compiler_static='-Bstatic'
 7692:       ;;
 7693: 
 7694:     sysv4 | sysv4.2uw2* | sysv4.3*)
 7695:       lt_prog_compiler_wl='-Wl,'
 7696:       lt_prog_compiler_pic='-KPIC'
 7697:       lt_prog_compiler_static='-Bstatic'
 7698:       ;;
 7699: 
 7700:     sysv4*MP*)
 7701:       if test -d /usr/nec ;then
 7702: 	lt_prog_compiler_pic='-Kconform_pic'
 7703: 	lt_prog_compiler_static='-Bstatic'
 7704:       fi
 7705:       ;;
 7706: 
 7707:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 7708:       lt_prog_compiler_wl='-Wl,'
 7709:       lt_prog_compiler_pic='-KPIC'
 7710:       lt_prog_compiler_static='-Bstatic'
 7711:       ;;
 7712: 
 7713:     unicos*)
 7714:       lt_prog_compiler_wl='-Wl,'
 7715:       lt_prog_compiler_can_build_shared=no
 7716:       ;;
 7717: 
 7718:     uts4*)
 7719:       lt_prog_compiler_pic='-pic'
 7720:       lt_prog_compiler_static='-Bstatic'
 7721:       ;;
 7722: 
 7723:     *)
 7724:       lt_prog_compiler_can_build_shared=no
 7725:       ;;
 7726:     esac
 7727:   fi
 7728: 
 7729: case $host_os in
 7730:   # For platforms which do not support PIC, -DPIC is meaningless:
 7731:   *djgpp*)
 7732:     lt_prog_compiler_pic=
 7733:     ;;
 7734:   *)
 7735:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 7736:     ;;
 7737: esac
 7738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 7739: $as_echo "$lt_prog_compiler_pic" >&6; }
 7740: 
 7741: 
 7742: 
 7743: 
 7744: 
 7745: 
 7746: #
 7747: # Check to make sure the PIC flag actually works.
 7748: #
 7749: if test -n "$lt_prog_compiler_pic"; then
 7750:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 7751: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 7752: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 7753:   $as_echo_n "(cached) " >&6
 7754: else
 7755:   lt_cv_prog_compiler_pic_works=no
 7756:    ac_outfile=conftest.$ac_objext
 7757:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7758:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 7759:    # Insert the option either (1) after the last *FLAGS variable, or
 7760:    # (2) before a word containing "conftest.", or (3) at the end.
 7761:    # Note that $ac_compile itself does not contain backslashes and begins
 7762:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7763:    # The option is referenced via a variable to avoid confusing sed.
 7764:    lt_compile=`echo "$ac_compile" | $SED \
 7765:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7766:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7767:    -e 's:$: $lt_compiler_flag:'`
 7768:    (eval echo "\"\$as_me:7768: $lt_compile\"" >&5)
 7769:    (eval "$lt_compile" 2>conftest.err)
 7770:    ac_status=$?
 7771:    cat conftest.err >&5
 7772:    echo "$as_me:7772: \$? = $ac_status" >&5
 7773:    if (exit $ac_status) && test -s "$ac_outfile"; then
 7774:      # The compiler can only warn and ignore the option if not recognized
 7775:      # So say no if there are warnings other than the usual output.
 7776:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 7777:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 7778:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 7779:        lt_cv_prog_compiler_pic_works=yes
 7780:      fi
 7781:    fi
 7782:    $RM conftest*
 7783: 
 7784: fi
 7785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 7786: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 7787: 
 7788: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 7789:     case $lt_prog_compiler_pic in
 7790:      "" | " "*) ;;
 7791:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 7792:      esac
 7793: else
 7794:     lt_prog_compiler_pic=
 7795:      lt_prog_compiler_can_build_shared=no
 7796: fi
 7797: 
 7798: fi
 7799: 
 7800: 
 7801: 
 7802: 
 7803: 
 7804: 
 7805: #
 7806: # Check to make sure the static flag actually works.
 7807: #
 7808: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 7809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 7810: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 7811: if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 7812:   $as_echo_n "(cached) " >&6
 7813: else
 7814:   lt_cv_prog_compiler_static_works=no
 7815:    save_LDFLAGS="$LDFLAGS"
 7816:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 7817:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 7818:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 7819:      # The linker can only warn and ignore the option if not recognized
 7820:      # So say no if there are warnings
 7821:      if test -s conftest.err; then
 7822:        # Append any errors to the config.log.
 7823:        cat conftest.err 1>&5
 7824:        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 7825:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 7826:        if diff conftest.exp conftest.er2 >/dev/null; then
 7827:          lt_cv_prog_compiler_static_works=yes
 7828:        fi
 7829:      else
 7830:        lt_cv_prog_compiler_static_works=yes
 7831:      fi
 7832:    fi
 7833:    $RM -r conftest*
 7834:    LDFLAGS="$save_LDFLAGS"
 7835: 
 7836: fi
 7837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 7838: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 7839: 
 7840: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 7841:     :
 7842: else
 7843:     lt_prog_compiler_static=
 7844: fi
 7845: 
 7846: 
 7847: 
 7848: 
 7849: 
 7850: 
 7851: 
 7852:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 7853: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 7854: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 7855:   $as_echo_n "(cached) " >&6
 7856: else
 7857:   lt_cv_prog_compiler_c_o=no
 7858:    $RM -r conftest 2>/dev/null
 7859:    mkdir conftest
 7860:    cd conftest
 7861:    mkdir out
 7862:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7863: 
 7864:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 7865:    # Insert the option either (1) after the last *FLAGS variable, or
 7866:    # (2) before a word containing "conftest.", or (3) at the end.
 7867:    # Note that $ac_compile itself does not contain backslashes and begins
 7868:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7869:    lt_compile=`echo "$ac_compile" | $SED \
 7870:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7871:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7872:    -e 's:$: $lt_compiler_flag:'`
 7873:    (eval echo "\"\$as_me:7873: $lt_compile\"" >&5)
 7874:    (eval "$lt_compile" 2>out/conftest.err)
 7875:    ac_status=$?
 7876:    cat out/conftest.err >&5
 7877:    echo "$as_me:7877: \$? = $ac_status" >&5
 7878:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 7879:    then
 7880:      # The compiler can only warn and ignore the option if not recognized
 7881:      # So say no if there are warnings
 7882:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 7883:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 7884:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 7885:        lt_cv_prog_compiler_c_o=yes
 7886:      fi
 7887:    fi
 7888:    chmod u+w . 2>&5
 7889:    $RM conftest*
 7890:    # SGI C++ compiler will create directory out/ii_files/ for
 7891:    # template instantiation
 7892:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 7893:    $RM out/* && rmdir out
 7894:    cd ..
 7895:    $RM -r conftest
 7896:    $RM conftest*
 7897: 
 7898: fi
 7899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 7900: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 7901: 
 7902: 
 7903: 
 7904: 
 7905: 
 7906: 
 7907:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 7908: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 7909: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 7910:   $as_echo_n "(cached) " >&6
 7911: else
 7912:   lt_cv_prog_compiler_c_o=no
 7913:    $RM -r conftest 2>/dev/null
 7914:    mkdir conftest
 7915:    cd conftest
 7916:    mkdir out
 7917:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 7918: 
 7919:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 7920:    # Insert the option either (1) after the last *FLAGS variable, or
 7921:    # (2) before a word containing "conftest.", or (3) at the end.
 7922:    # Note that $ac_compile itself does not contain backslashes and begins
 7923:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 7924:    lt_compile=`echo "$ac_compile" | $SED \
 7925:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 7926:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 7927:    -e 's:$: $lt_compiler_flag:'`
 7928:    (eval echo "\"\$as_me:7928: $lt_compile\"" >&5)
 7929:    (eval "$lt_compile" 2>out/conftest.err)
 7930:    ac_status=$?
 7931:    cat out/conftest.err >&5
 7932:    echo "$as_me:7932: \$? = $ac_status" >&5
 7933:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 7934:    then
 7935:      # The compiler can only warn and ignore the option if not recognized
 7936:      # So say no if there are warnings
 7937:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 7938:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 7939:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 7940:        lt_cv_prog_compiler_c_o=yes
 7941:      fi
 7942:    fi
 7943:    chmod u+w . 2>&5
 7944:    $RM conftest*
 7945:    # SGI C++ compiler will create directory out/ii_files/ for
 7946:    # template instantiation
 7947:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 7948:    $RM out/* && rmdir out
 7949:    cd ..
 7950:    $RM -r conftest
 7951:    $RM conftest*
 7952: 
 7953: fi
 7954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 7955: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 7956: 
 7957: 
 7958: 
 7959: 
 7960: hard_links="nottested"
 7961: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 7962:   # do not overwrite the value of need_locks provided by the user
 7963:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 7964: $as_echo_n "checking if we can lock with hard links... " >&6; }
 7965:   hard_links=yes
 7966:   $RM conftest*
 7967:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 7968:   touch conftest.a
 7969:   ln conftest.a conftest.b 2>&5 || hard_links=no
 7970:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 7971:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 7972: $as_echo "$hard_links" >&6; }
 7973:   if test "$hard_links" = no; then
 7974:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 7975: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 7976:     need_locks=warn
 7977:   fi
 7978: else
 7979:   need_locks=no
 7980: fi
 7981: 
 7982: 
 7983: 
 7984: 
 7985: 
 7986: 
 7987:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 7988: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 7989: 
 7990:   runpath_var=
 7991:   allow_undefined_flag=
 7992:   always_export_symbols=no
 7993:   archive_cmds=
 7994:   archive_expsym_cmds=
 7995:   compiler_needs_object=no
 7996:   enable_shared_with_static_runtimes=no
 7997:   export_dynamic_flag_spec=
 7998:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 7999:   hardcode_automatic=no
 8000:   hardcode_direct=no
 8001:   hardcode_direct_absolute=no
 8002:   hardcode_libdir_flag_spec=
 8003:   hardcode_libdir_flag_spec_ld=
 8004:   hardcode_libdir_separator=
 8005:   hardcode_minus_L=no
 8006:   hardcode_shlibpath_var=unsupported
 8007:   inherit_rpath=no
 8008:   link_all_deplibs=unknown
 8009:   module_cmds=
 8010:   module_expsym_cmds=
 8011:   old_archive_from_new_cmds=
 8012:   old_archive_from_expsyms_cmds=
 8013:   thread_safe_flag_spec=
 8014:   whole_archive_flag_spec=
 8015:   # include_expsyms should be a list of space-separated symbols to be *always*
 8016:   # included in the symbol list
 8017:   include_expsyms=
 8018:   # exclude_expsyms can be an extended regexp of symbols to exclude
 8019:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 8020:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 8021:   # as well as any symbol that contains `d'.
 8022:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 8023:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 8024:   # platforms (ab)use it in PIC code, but their linkers get confused if
 8025:   # the symbol is explicitly referenced.  Since portable code cannot
 8026:   # rely on this symbol name, it's probably fine to never include it in
 8027:   # preloaded symbol tables.
 8028:   # Exclude shared library initialization/finalization symbols.
 8029:   extract_expsyms_cmds=
 8030: 
 8031:   case $host_os in
 8032:   cygwin* | mingw* | pw32* | cegcc*)
 8033:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 8034:     # When not using gcc, we currently assume that we are using
 8035:     # Microsoft Visual C++.
 8036:     if test "$GCC" != yes; then
 8037:       with_gnu_ld=no
 8038:     fi
 8039:     ;;
 8040:   interix*)
 8041:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 8042:     with_gnu_ld=yes
 8043:     ;;
 8044:   openbsd*)
 8045:     with_gnu_ld=no
 8046:     ;;
 8047:   linux* | k*bsd*-gnu)
 8048:     link_all_deplibs=no
 8049:     ;;
 8050:   esac
 8051: 
 8052:   ld_shlibs=yes
 8053:   if test "$with_gnu_ld" = yes; then
 8054:     # If archive_cmds runs LD, not CC, wlarc should be empty
 8055:     wlarc='${wl}'
 8056: 
 8057:     # Set some defaults for GNU ld with shared library support. These
 8058:     # are reset later if shared libraries are not supported. Putting them
 8059:     # here allows them to be overridden if necessary.
 8060:     runpath_var=LD_RUN_PATH
 8061:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8062:     export_dynamic_flag_spec='${wl}--export-dynamic'
 8063:     # ancient GNU ld didn't support --whole-archive et. al.
 8064:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 8065:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 8066:     else
 8067:       whole_archive_flag_spec=
 8068:     fi
 8069:     supports_anon_versioning=no
 8070:     case `$LD -v 2>&1` in
 8071:       *GNU\ gold*) supports_anon_versioning=yes ;;
 8072:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 8073:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 8074:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 8075:       *\ 2.11.*) ;; # other 2.11 versions
 8076:       *) supports_anon_versioning=yes ;;
 8077:     esac
 8078: 
 8079:     # See if GNU ld supports shared libraries.
 8080:     case $host_os in
 8081:     aix[3-9]*)
 8082:       # On AIX/PPC, the GNU linker is very broken
 8083:       if test "$host_cpu" != ia64; then
 8084: 	ld_shlibs=no
 8085: 	cat <<_LT_EOF 1>&2
 8086: 
 8087: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 8088: *** to be unable to reliably create shared libraries on AIX.
 8089: *** Therefore, libtool is disabling shared libraries support.  If you
 8090: *** really care for shared libraries, you may want to modify your PATH
 8091: *** so that a non-GNU linker is found, and then restart.
 8092: 
 8093: _LT_EOF
 8094:       fi
 8095:       ;;
 8096: 
 8097:     amigaos*)
 8098:       case $host_cpu in
 8099:       powerpc)
 8100:             # see comment about AmigaOS4 .so support
 8101:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8102:             archive_expsym_cmds=''
 8103:         ;;
 8104:       m68k)
 8105:             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)'
 8106:             hardcode_libdir_flag_spec='-L$libdir'
 8107:             hardcode_minus_L=yes
 8108:         ;;
 8109:       esac
 8110:       ;;
 8111: 
 8112:     beos*)
 8113:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8114: 	allow_undefined_flag=unsupported
 8115: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 8116: 	# support --undefined.  This deserves some investigation.  FIXME
 8117: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8118:       else
 8119: 	ld_shlibs=no
 8120:       fi
 8121:       ;;
 8122: 
 8123:     cygwin* | mingw* | pw32* | cegcc*)
 8124:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 8125:       # as there is no search path for DLLs.
 8126:       hardcode_libdir_flag_spec='-L$libdir'
 8127:       allow_undefined_flag=unsupported
 8128:       always_export_symbols=no
 8129:       enable_shared_with_static_runtimes=yes
 8130:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 8131: 
 8132:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 8133:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 8134: 	# If the export-symbols file already is a .def file (1st line
 8135: 	# is EXPORTS), use it as is; otherwise, prepend...
 8136: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 8137: 	  cp $export_symbols $output_objdir/$soname.def;
 8138: 	else
 8139: 	  echo EXPORTS > $output_objdir/$soname.def;
 8140: 	  cat $export_symbols >> $output_objdir/$soname.def;
 8141: 	fi~
 8142: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 8143:       else
 8144: 	ld_shlibs=no
 8145:       fi
 8146:       ;;
 8147: 
 8148:     interix[3-9]*)
 8149:       hardcode_direct=no
 8150:       hardcode_shlibpath_var=no
 8151:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8152:       export_dynamic_flag_spec='${wl}-E'
 8153:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 8154:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 8155:       # default) and relocated if they conflict, which is a slow very memory
 8156:       # consuming and fragmenting process.  To avoid this, we pick a random,
 8157:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 8158:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 8159:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 8160:       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'
 8161:       ;;
 8162: 
 8163:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 8164:       tmp_diet=no
 8165:       if test "$host_os" = linux-dietlibc; then
 8166: 	case $cc_basename in
 8167: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 8168: 	esac
 8169:       fi
 8170:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 8171: 	 && test "$tmp_diet" = no
 8172:       then
 8173: 	tmp_addflag=
 8174: 	tmp_sharedflag='-shared'
 8175: 	case $cc_basename,$host_cpu in
 8176:         pgcc*)				# Portland Group C compiler
 8177: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 8178: 	  tmp_addflag=' $pic_flag'
 8179: 	  ;;
 8180: 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 8181: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 8182: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 8183: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 8184: 	  tmp_addflag=' -i_dynamic' ;;
 8185: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 8186: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 8187: 	ifc* | ifort*)			# Intel Fortran compiler
 8188: 	  tmp_addflag=' -nofor_main' ;;
 8189: 	lf95*)				# Lahey Fortran 8.1
 8190: 	  whole_archive_flag_spec=
 8191: 	  tmp_sharedflag='--shared' ;;
 8192: 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
 8193: 	  tmp_sharedflag='-qmkshrobj'
 8194: 	  tmp_addflag= ;;
 8195: 	esac
 8196: 	case `$CC -V 2>&1 | sed 5q` in
 8197: 	*Sun\ C*)			# Sun C 5.9
 8198: 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 8199: 	  compiler_needs_object=yes
 8200: 	  tmp_sharedflag='-G' ;;
 8201: 	*Sun\ F*)			# Sun Fortran 8.3
 8202: 	  tmp_sharedflag='-G' ;;
 8203: 	esac
 8204: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8205: 
 8206:         if test "x$supports_anon_versioning" = xyes; then
 8207:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 8208: 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 8209: 	    echo "local: *; };" >> $output_objdir/$libname.ver~
 8210: 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 8211:         fi
 8212: 
 8213: 	case $cc_basename in
 8214: 	xlf*)
 8215: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 8216: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 8217: 	  hardcode_libdir_flag_spec=
 8218: 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
 8219: 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 8220: 	  if test "x$supports_anon_versioning" = xyes; then
 8221: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 8222: 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 8223: 	      echo "local: *; };" >> $output_objdir/$libname.ver~
 8224: 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 8225: 	  fi
 8226: 	  ;;
 8227: 	esac
 8228:       else
 8229:         ld_shlibs=no
 8230:       fi
 8231:       ;;
 8232: 
 8233:     netbsd* | netbsdelf*-gnu)
 8234:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 8235: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 8236: 	wlarc=
 8237:       else
 8238: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8239: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8240:       fi
 8241:       ;;
 8242: 
 8243:     solaris*)
 8244:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 8245: 	ld_shlibs=no
 8246: 	cat <<_LT_EOF 1>&2
 8247: 
 8248: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 8249: *** create shared libraries on Solaris systems.  Therefore, libtool
 8250: *** is disabling shared libraries support.  We urge you to upgrade GNU
 8251: *** binutils to release 2.9.1 or newer.  Another option is to modify
 8252: *** your PATH or compiler configuration so that the native linker is
 8253: *** used, and then restart.
 8254: 
 8255: _LT_EOF
 8256:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8257: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8258: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8259:       else
 8260: 	ld_shlibs=no
 8261:       fi
 8262:       ;;
 8263: 
 8264:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 8265:       case `$LD -v 2>&1` in
 8266:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 8267: 	ld_shlibs=no
 8268: 	cat <<_LT_EOF 1>&2
 8269: 
 8270: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 8271: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 8272: *** is disabling shared libraries support.  We urge you to upgrade GNU
 8273: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 8274: *** your PATH or compiler configuration so that the native linker is
 8275: *** used, and then restart.
 8276: 
 8277: _LT_EOF
 8278: 	;;
 8279: 	*)
 8280: 	  # For security reasons, it is highly recommended that you always
 8281: 	  # use absolute paths for naming shared libraries, and exclude the
 8282: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 8283: 	  # requires that you compile everything twice, which is a pain.
 8284: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8285: 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8286: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8287: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8288: 	  else
 8289: 	    ld_shlibs=no
 8290: 	  fi
 8291: 	;;
 8292:       esac
 8293:       ;;
 8294: 
 8295:     sunos4*)
 8296:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8297:       wlarc=
 8298:       hardcode_direct=yes
 8299:       hardcode_shlibpath_var=no
 8300:       ;;
 8301: 
 8302:     *)
 8303:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 8304: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8305: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 8306:       else
 8307: 	ld_shlibs=no
 8308:       fi
 8309:       ;;
 8310:     esac
 8311: 
 8312:     if test "$ld_shlibs" = no; then
 8313:       runpath_var=
 8314:       hardcode_libdir_flag_spec=
 8315:       export_dynamic_flag_spec=
 8316:       whole_archive_flag_spec=
 8317:     fi
 8318:   else
 8319:     # PORTME fill in a description of your system's linker (not GNU ld)
 8320:     case $host_os in
 8321:     aix3*)
 8322:       allow_undefined_flag=unsupported
 8323:       always_export_symbols=yes
 8324:       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'
 8325:       # Note: this linker hardcodes the directories in LIBPATH if there
 8326:       # are no directories specified by -L.
 8327:       hardcode_minus_L=yes
 8328:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 8329: 	# Neither direct hardcoding nor static linking is supported with a
 8330: 	# broken collect2.
 8331: 	hardcode_direct=unsupported
 8332:       fi
 8333:       ;;
 8334: 
 8335:     aix[4-9]*)
 8336:       if test "$host_cpu" = ia64; then
 8337: 	# On IA64, the linker does run time linking by default, so we don't
 8338: 	# have to do anything special.
 8339: 	aix_use_runtimelinking=no
 8340: 	exp_sym_flag='-Bexport'
 8341: 	no_entry_flag=""
 8342:       else
 8343: 	# If we're using GNU nm, then we don't want the "-C" option.
 8344: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 8345: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 8346: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 8347: 	else
 8348: 	  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'
 8349: 	fi
 8350: 	aix_use_runtimelinking=no
 8351: 
 8352: 	# Test if we are trying to use run time linking or normal
 8353: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 8354: 	# need to do runtime linking.
 8355: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 8356: 	  for ld_flag in $LDFLAGS; do
 8357: 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 8358: 	    aix_use_runtimelinking=yes
 8359: 	    break
 8360: 	  fi
 8361: 	  done
 8362: 	  ;;
 8363: 	esac
 8364: 
 8365: 	exp_sym_flag='-bexport'
 8366: 	no_entry_flag='-bnoentry'
 8367:       fi
 8368: 
 8369:       # When large executables or shared objects are built, AIX ld can
 8370:       # have problems creating the table of contents.  If linking a library
 8371:       # or program results in "error TOC overflow" add -mminimal-toc to
 8372:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 8373:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 8374: 
 8375:       archive_cmds=''
 8376:       hardcode_direct=yes
 8377:       hardcode_direct_absolute=yes
 8378:       hardcode_libdir_separator=':'
 8379:       link_all_deplibs=yes
 8380:       file_list_spec='${wl}-f,'
 8381: 
 8382:       if test "$GCC" = yes; then
 8383: 	case $host_os in aix4.[012]|aix4.[012].*)
 8384: 	# We only want to do this on AIX 4.2 and lower, the check
 8385: 	# below for broken collect2 doesn't work under 4.3+
 8386: 	  collect2name=`${CC} -print-prog-name=collect2`
 8387: 	  if test -f "$collect2name" &&
 8388: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 8389: 	  then
 8390: 	  # We have reworked collect2
 8391: 	  :
 8392: 	  else
 8393: 	  # We have old collect2
 8394: 	  hardcode_direct=unsupported
 8395: 	  # It fails to find uninstalled libraries when the uninstalled
 8396: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 8397: 	  # to unsupported forces relinking
 8398: 	  hardcode_minus_L=yes
 8399: 	  hardcode_libdir_flag_spec='-L$libdir'
 8400: 	  hardcode_libdir_separator=
 8401: 	  fi
 8402: 	  ;;
 8403: 	esac
 8404: 	shared_flag='-shared'
 8405: 	if test "$aix_use_runtimelinking" = yes; then
 8406: 	  shared_flag="$shared_flag "'${wl}-G'
 8407: 	fi
 8408: 	link_all_deplibs=no
 8409:       else
 8410: 	# not using gcc
 8411: 	if test "$host_cpu" = ia64; then
 8412: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 8413: 	# chokes on -Wl,-G. The following line is correct:
 8414: 	  shared_flag='-G'
 8415: 	else
 8416: 	  if test "$aix_use_runtimelinking" = yes; then
 8417: 	    shared_flag='${wl}-G'
 8418: 	  else
 8419: 	    shared_flag='${wl}-bM:SRE'
 8420: 	  fi
 8421: 	fi
 8422:       fi
 8423: 
 8424:       export_dynamic_flag_spec='${wl}-bexpall'
 8425:       # It seems that -bexpall does not export symbols beginning with
 8426:       # underscore (_), so it is better to generate a list of symbols to export.
 8427:       always_export_symbols=yes
 8428:       if test "$aix_use_runtimelinking" = yes; then
 8429: 	# Warning - without using the other runtime loading flags (-brtl),
 8430: 	# -berok will link without error, but may produce a broken library.
 8431: 	allow_undefined_flag='-berok'
 8432:         # Determine the default libpath from the value encoded in an
 8433:         # empty executable.
 8434:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8435: /* end confdefs.h.  */
 8436: 
 8437: int
 8438: main ()
 8439: {
 8440: 
 8441:   ;
 8442:   return 0;
 8443: }
 8444: _ACEOF
 8445: if ac_fn_c_try_link "$LINENO"; then :
 8446: 
 8447: lt_aix_libpath_sed='
 8448:     /Import File Strings/,/^$/ {
 8449: 	/^0/ {
 8450: 	    s/^0  *\(.*\)$/\1/
 8451: 	    p
 8452: 	}
 8453:     }'
 8454: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 8455: # Check for a 64-bit object if we didn't find anything.
 8456: if test -z "$aix_libpath"; then
 8457:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 8458: fi
 8459: fi
 8460: rm -f core conftest.err conftest.$ac_objext \
 8461:     conftest$ac_exeext conftest.$ac_ext
 8462: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 8463: 
 8464:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 8465:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 8466:       else
 8467: 	if test "$host_cpu" = ia64; then
 8468: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 8469: 	  allow_undefined_flag="-z nodefs"
 8470: 	  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"
 8471: 	else
 8472: 	 # Determine the default libpath from the value encoded in an
 8473: 	 # empty executable.
 8474: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8475: /* end confdefs.h.  */
 8476: 
 8477: int
 8478: main ()
 8479: {
 8480: 
 8481:   ;
 8482:   return 0;
 8483: }
 8484: _ACEOF
 8485: if ac_fn_c_try_link "$LINENO"; then :
 8486: 
 8487: lt_aix_libpath_sed='
 8488:     /Import File Strings/,/^$/ {
 8489: 	/^0/ {
 8490: 	    s/^0  *\(.*\)$/\1/
 8491: 	    p
 8492: 	}
 8493:     }'
 8494: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 8495: # Check for a 64-bit object if we didn't find anything.
 8496: if test -z "$aix_libpath"; then
 8497:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 8498: fi
 8499: fi
 8500: rm -f core conftest.err conftest.$ac_objext \
 8501:     conftest$ac_exeext conftest.$ac_ext
 8502: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 8503: 
 8504: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 8505: 	  # Warning - without using the other run time loading flags,
 8506: 	  # -berok will link without error, but may produce a broken library.
 8507: 	  no_undefined_flag=' ${wl}-bernotok'
 8508: 	  allow_undefined_flag=' ${wl}-berok'
 8509: 	  # Exported symbols can be pulled into shared objects from archives
 8510: 	  whole_archive_flag_spec='$convenience'
 8511: 	  archive_cmds_need_lc=yes
 8512: 	  # This is similar to how AIX traditionally builds its shared libraries.
 8513: 	  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'
 8514: 	fi
 8515:       fi
 8516:       ;;
 8517: 
 8518:     amigaos*)
 8519:       case $host_cpu in
 8520:       powerpc)
 8521:             # see comment about AmigaOS4 .so support
 8522:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 8523:             archive_expsym_cmds=''
 8524:         ;;
 8525:       m68k)
 8526:             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)'
 8527:             hardcode_libdir_flag_spec='-L$libdir'
 8528:             hardcode_minus_L=yes
 8529:         ;;
 8530:       esac
 8531:       ;;
 8532: 
 8533:     bsdi[45]*)
 8534:       export_dynamic_flag_spec=-rdynamic
 8535:       ;;
 8536: 
 8537:     cygwin* | mingw* | pw32* | cegcc*)
 8538:       # When not using gcc, we currently assume that we are using
 8539:       # Microsoft Visual C++.
 8540:       # hardcode_libdir_flag_spec is actually meaningless, as there is
 8541:       # no search path for DLLs.
 8542:       hardcode_libdir_flag_spec=' '
 8543:       allow_undefined_flag=unsupported
 8544:       # Tell ltmain to make .lib files, not .a files.
 8545:       libext=lib
 8546:       # Tell ltmain to make .dll files, not .so files.
 8547:       shrext_cmds=".dll"
 8548:       # FIXME: Setting linknames here is a bad hack.
 8549:       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 8550:       # The linker will automatically build a .lib file if we build a DLL.
 8551:       old_archive_from_new_cmds='true'
 8552:       # FIXME: Should let the user specify the lib program.
 8553:       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 8554:       fix_srcfile_path='`cygpath -w "$srcfile"`'
 8555:       enable_shared_with_static_runtimes=yes
 8556:       ;;
 8557: 
 8558:     darwin* | rhapsody*)
 8559: 
 8560: 
 8561:   archive_cmds_need_lc=no
 8562:   hardcode_direct=no
 8563:   hardcode_automatic=yes
 8564:   hardcode_shlibpath_var=unsupported
 8565:   whole_archive_flag_spec=''
 8566:   link_all_deplibs=yes
 8567:   allow_undefined_flag="$_lt_dar_allow_undefined"
 8568:   case $cc_basename in
 8569:      ifort*) _lt_dar_can_shared=yes ;;
 8570:      *) _lt_dar_can_shared=$GCC ;;
 8571:   esac
 8572:   if test "$_lt_dar_can_shared" = "yes"; then
 8573:     output_verbose_link_cmd=echo
 8574:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 8575:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 8576:     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}"
 8577:     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}"
 8578: 
 8579:   else
 8580:   ld_shlibs=no
 8581:   fi
 8582: 
 8583:       ;;
 8584: 
 8585:     dgux*)
 8586:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8587:       hardcode_libdir_flag_spec='-L$libdir'
 8588:       hardcode_shlibpath_var=no
 8589:       ;;
 8590: 
 8591:     freebsd1*)
 8592:       ld_shlibs=no
 8593:       ;;
 8594: 
 8595:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 8596:     # support.  Future versions do this automatically, but an explicit c++rt0.o
 8597:     # does not break anything, and helps significantly (at the cost of a little
 8598:     # extra space).
 8599:     freebsd2.2*)
 8600:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 8601:       hardcode_libdir_flag_spec='-R$libdir'
 8602:       hardcode_direct=yes
 8603:       hardcode_shlibpath_var=no
 8604:       ;;
 8605: 
 8606:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 8607:     freebsd2*)
 8608:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8609:       hardcode_direct=yes
 8610:       hardcode_minus_L=yes
 8611:       hardcode_shlibpath_var=no
 8612:       ;;
 8613: 
 8614:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 8615:     freebsd* | dragonfly*)
 8616:       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 8617:       hardcode_libdir_flag_spec='-R$libdir'
 8618:       hardcode_direct=yes
 8619:       hardcode_shlibpath_var=no
 8620:       ;;
 8621: 
 8622:     hpux9*)
 8623:       if test "$GCC" = yes; then
 8624: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 8625:       else
 8626: 	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'
 8627:       fi
 8628:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8629:       hardcode_libdir_separator=:
 8630:       hardcode_direct=yes
 8631: 
 8632:       # hardcode_minus_L: Not really in the search PATH,
 8633:       # but as the default location of the library.
 8634:       hardcode_minus_L=yes
 8635:       export_dynamic_flag_spec='${wl}-E'
 8636:       ;;
 8637: 
 8638:     hpux10*)
 8639:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 8640: 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8641:       else
 8642: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 8643:       fi
 8644:       if test "$with_gnu_ld" = no; then
 8645: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8646: 	hardcode_libdir_flag_spec_ld='+b $libdir'
 8647: 	hardcode_libdir_separator=:
 8648: 	hardcode_direct=yes
 8649: 	hardcode_direct_absolute=yes
 8650: 	export_dynamic_flag_spec='${wl}-E'
 8651: 	# hardcode_minus_L: Not really in the search PATH,
 8652: 	# but as the default location of the library.
 8653: 	hardcode_minus_L=yes
 8654:       fi
 8655:       ;;
 8656: 
 8657:     hpux11*)
 8658:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 8659: 	case $host_cpu in
 8660: 	hppa*64*)
 8661: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8662: 	  ;;
 8663: 	ia64*)
 8664: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 8665: 	  ;;
 8666: 	*)
 8667: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8668: 	  ;;
 8669: 	esac
 8670:       else
 8671: 	case $host_cpu in
 8672: 	hppa*64*)
 8673: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8674: 	  ;;
 8675: 	ia64*)
 8676: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 8677: 	  ;;
 8678: 	*)
 8679: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 8680: 	  ;;
 8681: 	esac
 8682:       fi
 8683:       if test "$with_gnu_ld" = no; then
 8684: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 8685: 	hardcode_libdir_separator=:
 8686: 
 8687: 	case $host_cpu in
 8688: 	hppa*64*|ia64*)
 8689: 	  hardcode_direct=no
 8690: 	  hardcode_shlibpath_var=no
 8691: 	  ;;
 8692: 	*)
 8693: 	  hardcode_direct=yes
 8694: 	  hardcode_direct_absolute=yes
 8695: 	  export_dynamic_flag_spec='${wl}-E'
 8696: 
 8697: 	  # hardcode_minus_L: Not really in the search PATH,
 8698: 	  # but as the default location of the library.
 8699: 	  hardcode_minus_L=yes
 8700: 	  ;;
 8701: 	esac
 8702:       fi
 8703:       ;;
 8704: 
 8705:     irix5* | irix6* | nonstopux*)
 8706:       if test "$GCC" = yes; then
 8707: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8708: 	# Try to use the -exported_symbol ld option, if it does not
 8709: 	# work, assume that -exports_file does not work either and
 8710: 	# implicitly export all symbols.
 8711:         save_LDFLAGS="$LDFLAGS"
 8712:         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 8713:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8714: /* end confdefs.h.  */
 8715: int foo(void) {}
 8716: _ACEOF
 8717: if ac_fn_c_try_link "$LINENO"; then :
 8718:   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 8719: 
 8720: fi
 8721: rm -f core conftest.err conftest.$ac_objext \
 8722:     conftest$ac_exeext conftest.$ac_ext
 8723:         LDFLAGS="$save_LDFLAGS"
 8724:       else
 8725: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8726: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 8727:       fi
 8728:       archive_cmds_need_lc='no'
 8729:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8730:       hardcode_libdir_separator=:
 8731:       inherit_rpath=yes
 8732:       link_all_deplibs=yes
 8733:       ;;
 8734: 
 8735:     netbsd* | netbsdelf*-gnu)
 8736:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 8737: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 8738:       else
 8739: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 8740:       fi
 8741:       hardcode_libdir_flag_spec='-R$libdir'
 8742:       hardcode_direct=yes
 8743:       hardcode_shlibpath_var=no
 8744:       ;;
 8745: 
 8746:     newsos6)
 8747:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8748:       hardcode_direct=yes
 8749:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8750:       hardcode_libdir_separator=:
 8751:       hardcode_shlibpath_var=no
 8752:       ;;
 8753: 
 8754:     *nto* | *qnx*)
 8755:       ;;
 8756: 
 8757:     openbsd*)
 8758:       if test -f /usr/libexec/ld.so; then
 8759: 	hardcode_direct=yes
 8760: 	hardcode_shlibpath_var=no
 8761: 	hardcode_direct_absolute=yes
 8762: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 8763: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 8764: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 8765: 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8766: 	  export_dynamic_flag_spec='${wl}-E'
 8767: 	else
 8768: 	  case $host_os in
 8769: 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 8770: 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 8771: 	     hardcode_libdir_flag_spec='-R$libdir'
 8772: 	     ;;
 8773: 	   *)
 8774: 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 8775: 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 8776: 	     ;;
 8777: 	  esac
 8778: 	fi
 8779:       else
 8780: 	ld_shlibs=no
 8781:       fi
 8782:       ;;
 8783: 
 8784:     os2*)
 8785:       hardcode_libdir_flag_spec='-L$libdir'
 8786:       hardcode_minus_L=yes
 8787:       allow_undefined_flag=unsupported
 8788:       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'
 8789:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 8790:       ;;
 8791: 
 8792:     osf3*)
 8793:       if test "$GCC" = yes; then
 8794: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 8795: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8796:       else
 8797: 	allow_undefined_flag=' -expect_unresolved \*'
 8798: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8799:       fi
 8800:       archive_cmds_need_lc='no'
 8801:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8802:       hardcode_libdir_separator=:
 8803:       ;;
 8804: 
 8805:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 8806:       if test "$GCC" = yes; then
 8807: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 8808: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 8809: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 8810:       else
 8811: 	allow_undefined_flag=' -expect_unresolved \*'
 8812: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 8813: 	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~
 8814: 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 8815: 
 8816: 	# Both c and cxx compiler support -rpath directly
 8817: 	hardcode_libdir_flag_spec='-rpath $libdir'
 8818:       fi
 8819:       archive_cmds_need_lc='no'
 8820:       hardcode_libdir_separator=:
 8821:       ;;
 8822: 
 8823:     solaris*)
 8824:       no_undefined_flag=' -z defs'
 8825:       if test "$GCC" = yes; then
 8826: 	wlarc='${wl}'
 8827: 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 8828: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8829: 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 8830:       else
 8831: 	case `$CC -V 2>&1` in
 8832: 	*"Compilers 5.0"*)
 8833: 	  wlarc=''
 8834: 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8835: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8836: 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 8837: 	  ;;
 8838: 	*)
 8839: 	  wlarc='${wl}'
 8840: 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 8841: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 8842: 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 8843: 	  ;;
 8844: 	esac
 8845:       fi
 8846:       hardcode_libdir_flag_spec='-R$libdir'
 8847:       hardcode_shlibpath_var=no
 8848:       case $host_os in
 8849:       solaris2.[0-5] | solaris2.[0-5].*) ;;
 8850:       *)
 8851: 	# The compiler driver will combine and reorder linker options,
 8852: 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 8853: 	# but is careful enough not to reorder.
 8854: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 8855: 	if test "$GCC" = yes; then
 8856: 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 8857: 	else
 8858: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 8859: 	fi
 8860: 	;;
 8861:       esac
 8862:       link_all_deplibs=yes
 8863:       ;;
 8864: 
 8865:     sunos4*)
 8866:       if test "x$host_vendor" = xsequent; then
 8867: 	# Use $CC to link under sequent, because it throws in some extra .o
 8868: 	# files that make .init and .fini sections work.
 8869: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 8870:       else
 8871: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 8872:       fi
 8873:       hardcode_libdir_flag_spec='-L$libdir'
 8874:       hardcode_direct=yes
 8875:       hardcode_minus_L=yes
 8876:       hardcode_shlibpath_var=no
 8877:       ;;
 8878: 
 8879:     sysv4)
 8880:       case $host_vendor in
 8881: 	sni)
 8882: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8883: 	  hardcode_direct=yes # is this really true???
 8884: 	;;
 8885: 	siemens)
 8886: 	  ## LD is ld it makes a PLAMLIB
 8887: 	  ## CC just makes a GrossModule.
 8888: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 8889: 	  reload_cmds='$CC -r -o $output$reload_objs'
 8890: 	  hardcode_direct=no
 8891:         ;;
 8892: 	motorola)
 8893: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8894: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 8895: 	;;
 8896:       esac
 8897:       runpath_var='LD_RUN_PATH'
 8898:       hardcode_shlibpath_var=no
 8899:       ;;
 8900: 
 8901:     sysv4.3*)
 8902:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8903:       hardcode_shlibpath_var=no
 8904:       export_dynamic_flag_spec='-Bexport'
 8905:       ;;
 8906: 
 8907:     sysv4*MP*)
 8908:       if test -d /usr/nec; then
 8909: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8910: 	hardcode_shlibpath_var=no
 8911: 	runpath_var=LD_RUN_PATH
 8912: 	hardcode_runpath_var=yes
 8913: 	ld_shlibs=yes
 8914:       fi
 8915:       ;;
 8916: 
 8917:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 8918:       no_undefined_flag='${wl}-z,text'
 8919:       archive_cmds_need_lc=no
 8920:       hardcode_shlibpath_var=no
 8921:       runpath_var='LD_RUN_PATH'
 8922: 
 8923:       if test "$GCC" = yes; then
 8924: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8925: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8926:       else
 8927: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8928: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8929:       fi
 8930:       ;;
 8931: 
 8932:     sysv5* | sco3.2v5* | sco5v6*)
 8933:       # Note: We can NOT use -z defs as we might desire, because we do not
 8934:       # link with -lc, and that would cause any symbols used from libc to
 8935:       # always be unresolved, which means just about no library would
 8936:       # ever link correctly.  If we're not using GNU ld we use -z text
 8937:       # though, which does catch some bad symbols but isn't as heavy-handed
 8938:       # as -z defs.
 8939:       no_undefined_flag='${wl}-z,text'
 8940:       allow_undefined_flag='${wl}-z,nodefs'
 8941:       archive_cmds_need_lc=no
 8942:       hardcode_shlibpath_var=no
 8943:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
 8944:       hardcode_libdir_separator=':'
 8945:       link_all_deplibs=yes
 8946:       export_dynamic_flag_spec='${wl}-Bexport'
 8947:       runpath_var='LD_RUN_PATH'
 8948: 
 8949:       if test "$GCC" = yes; then
 8950: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8951: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8952:       else
 8953: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8954: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 8955:       fi
 8956:       ;;
 8957: 
 8958:     uts4*)
 8959:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 8960:       hardcode_libdir_flag_spec='-L$libdir'
 8961:       hardcode_shlibpath_var=no
 8962:       ;;
 8963: 
 8964:     *)
 8965:       ld_shlibs=no
 8966:       ;;
 8967:     esac
 8968: 
 8969:     if test x$host_vendor = xsni; then
 8970:       case $host in
 8971:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 8972: 	export_dynamic_flag_spec='${wl}-Blargedynsym'
 8973: 	;;
 8974:       esac
 8975:     fi
 8976:   fi
 8977: 
 8978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 8979: $as_echo "$ld_shlibs" >&6; }
 8980: test "$ld_shlibs" = no && can_build_shared=no
 8981: 
 8982: with_gnu_ld=$with_gnu_ld
 8983: 
 8984: 
 8985: 
 8986: 
 8987: 
 8988: 
 8989: 
 8990: 
 8991: 
 8992: 
 8993: 
 8994: 
 8995: 
 8996: 
 8997: 
 8998: #
 8999: # Do we need to explicitly link libc?
 9000: #
 9001: case "x$archive_cmds_need_lc" in
 9002: x|xyes)
 9003:   # Assume -lc should be added
 9004:   archive_cmds_need_lc=yes
 9005: 
 9006:   if test "$enable_shared" = yes && test "$GCC" = yes; then
 9007:     case $archive_cmds in
 9008:     *'~'*)
 9009:       # FIXME: we may have to deal with multi-command sequences.
 9010:       ;;
 9011:     '$CC '*)
 9012:       # Test whether the compiler implicitly links with -lc since on some
 9013:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 9014:       # to ld, don't add -lc before -lgcc.
 9015:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 9016: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 9017:       $RM conftest*
 9018:       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9019: 
 9020:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 9021:   (eval $ac_compile) 2>&5
 9022:   ac_status=$?
 9023:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 9024:   test $ac_status = 0; } 2>conftest.err; then
 9025:         soname=conftest
 9026:         lib=conftest
 9027:         libobjs=conftest.$ac_objext
 9028:         deplibs=
 9029:         wl=$lt_prog_compiler_wl
 9030: 	pic_flag=$lt_prog_compiler_pic
 9031:         compiler_flags=-v
 9032:         linker_flags=-v
 9033:         verstring=
 9034:         output_objdir=.
 9035:         libname=conftest
 9036:         lt_save_allow_undefined_flag=$allow_undefined_flag
 9037:         allow_undefined_flag=
 9038:         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 9039:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 9040:   ac_status=$?
 9041:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 9042:   test $ac_status = 0; }
 9043:         then
 9044: 	  archive_cmds_need_lc=no
 9045:         else
 9046: 	  archive_cmds_need_lc=yes
 9047:         fi
 9048:         allow_undefined_flag=$lt_save_allow_undefined_flag
 9049:       else
 9050:         cat conftest.err 1>&5
 9051:       fi
 9052:       $RM conftest*
 9053:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 9054: $as_echo "$archive_cmds_need_lc" >&6; }
 9055:       ;;
 9056:     esac
 9057:   fi
 9058:   ;;
 9059: esac
 9060: 
 9061: 
 9062: 
 9063: 
 9064: 
 9065: 
 9066: 
 9067: 
 9068: 
 9069: 
 9070: 
 9071: 
 9072: 
 9073: 
 9074: 
 9075: 
 9076: 
 9077: 
 9078: 
 9079: 
 9080: 
 9081: 
 9082: 
 9083: 
 9084: 
 9085: 
 9086: 
 9087: 
 9088: 
 9089: 
 9090: 
 9091: 
 9092: 
 9093: 
 9094: 
 9095: 
 9096: 
 9097: 
 9098: 
 9099: 
 9100: 
 9101: 
 9102: 
 9103: 
 9104: 
 9105: 
 9106: 
 9107: 
 9108: 
 9109: 
 9110: 
 9111: 
 9112: 
 9113: 
 9114: 
 9115: 
 9116: 
 9117: 
 9118: 
 9119: 
 9120: 
 9121: 
 9122: 
 9123: 
 9124: 
 9125: 
 9126: 
 9127: 
 9128: 
 9129: 
 9130: 
 9131: 
 9132: 
 9133: 
 9134: 
 9135: 
 9136: 
 9137: 
 9138: 
 9139: 
 9140: 
 9141: 
 9142: 
 9143: 
 9144: 
 9145: 
 9146: 
 9147: 
 9148: 
 9149: 
 9150: 
 9151: 
 9152: 
 9153: 
 9154: 
 9155: 
 9156: 
 9157: 
 9158: 
 9159: 
 9160: 
 9161: 
 9162: 
 9163: 
 9164: 
 9165: 
 9166: 
 9167: 
 9168: 
 9169: 
 9170: 
 9171: 
 9172: 
 9173: 
 9174: 
 9175: 
 9176: 
 9177: 
 9178: 
 9179: 
 9180: 
 9181: 
 9182: 
 9183: 
 9184: 
 9185: 
 9186: 
 9187: 
 9188: 
 9189: 
 9190: 
 9191: 
 9192: 
 9193: 
 9194: 
 9195: 
 9196: 
 9197: 
 9198: 
 9199: 
 9200: 
 9201: 
 9202: 
 9203: 
 9204: 
 9205: 
 9206: 
 9207: 
 9208: 
 9209: 
 9210: 
 9211: 
 9212: 
 9213: 
 9214: 
 9215: 
 9216: 
 9217:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 9218: $as_echo_n "checking dynamic linker characteristics... " >&6; }
 9219: 
 9220: if test "$GCC" = yes; then
 9221:   case $host_os in
 9222:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 9223:     *) lt_awk_arg="/^libraries:/" ;;
 9224:   esac
 9225:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 9226:   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 9227:     # if the path contains ";" then we assume it to be the separator
 9228:     # otherwise default to the standard path separator (i.e. ":") - it is
 9229:     # assumed that no part of a normal pathname contains ";" but that should
 9230:     # okay in the real world where ";" in dirpaths is itself problematic.
 9231:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 9232:   else
 9233:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 9234:   fi
 9235:   # Ok, now we have the path, separated by spaces, we can step through it
 9236:   # and add multilib dir if necessary.
 9237:   lt_tmp_lt_search_path_spec=
 9238:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 9239:   for lt_sys_path in $lt_search_path_spec; do
 9240:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 9241:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 9242:     else
 9243:       test -d "$lt_sys_path" && \
 9244: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 9245:     fi
 9246:   done
 9247:   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 9248: BEGIN {RS=" "; FS="/|\n";} {
 9249:   lt_foo="";
 9250:   lt_count=0;
 9251:   for (lt_i = NF; lt_i > 0; lt_i--) {
 9252:     if ($lt_i != "" && $lt_i != ".") {
 9253:       if ($lt_i == "..") {
 9254:         lt_count++;
 9255:       } else {
 9256:         if (lt_count == 0) {
 9257:           lt_foo="/" $lt_i lt_foo;
 9258:         } else {
 9259:           lt_count--;
 9260:         }
 9261:       }
 9262:     }
 9263:   }
 9264:   if (lt_foo != "") { lt_freq[lt_foo]++; }
 9265:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 9266: }'`
 9267:   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 9268: else
 9269:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 9270: fi
 9271: library_names_spec=
 9272: libname_spec='lib$name'
 9273: soname_spec=
 9274: shrext_cmds=".so"
 9275: postinstall_cmds=
 9276: postuninstall_cmds=
 9277: finish_cmds=
 9278: finish_eval=
 9279: shlibpath_var=
 9280: shlibpath_overrides_runpath=unknown
 9281: version_type=none
 9282: dynamic_linker="$host_os ld.so"
 9283: sys_lib_dlsearch_path_spec="/lib /usr/lib"
 9284: need_lib_prefix=unknown
 9285: hardcode_into_libs=no
 9286: 
 9287: # when you set need_version to no, make sure it does not cause -set_version
 9288: # flags to be left without arguments
 9289: need_version=unknown
 9290: 
 9291: case $host_os in
 9292: aix3*)
 9293:   version_type=linux
 9294:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 9295:   shlibpath_var=LIBPATH
 9296: 
 9297:   # AIX 3 has no versioning support, so we append a major version to the name.
 9298:   soname_spec='${libname}${release}${shared_ext}$major'
 9299:   ;;
 9300: 
 9301: aix[4-9]*)
 9302:   version_type=linux
 9303:   need_lib_prefix=no
 9304:   need_version=no
 9305:   hardcode_into_libs=yes
 9306:   if test "$host_cpu" = ia64; then
 9307:     # AIX 5 supports IA64
 9308:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 9309:     shlibpath_var=LD_LIBRARY_PATH
 9310:   else
 9311:     # With GCC up to 2.95.x, collect2 would create an import file
 9312:     # for dependence libraries.  The import file would start with
 9313:     # the line `#! .'.  This would cause the generated library to
 9314:     # depend on `.', always an invalid library.  This was fixed in
 9315:     # development snapshots of GCC prior to 3.0.
 9316:     case $host_os in
 9317:       aix4 | aix4.[01] | aix4.[01].*)
 9318:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 9319: 	   echo ' yes '
 9320: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 9321: 	:
 9322:       else
 9323: 	can_build_shared=no
 9324:       fi
 9325:       ;;
 9326:     esac
 9327:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 9328:     # soname into executable. Probably we can add versioning support to
 9329:     # collect2, so additional links can be useful in future.
 9330:     if test "$aix_use_runtimelinking" = yes; then
 9331:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 9332:       # instead of lib<name>.a to let people know that these are not
 9333:       # typical AIX shared libraries.
 9334:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9335:     else
 9336:       # We preserve .a as extension for shared libraries through AIX4.2
 9337:       # and later when we are not doing run time linking.
 9338:       library_names_spec='${libname}${release}.a $libname.a'
 9339:       soname_spec='${libname}${release}${shared_ext}$major'
 9340:     fi
 9341:     shlibpath_var=LIBPATH
 9342:   fi
 9343:   ;;
 9344: 
 9345: amigaos*)
 9346:   case $host_cpu in
 9347:   powerpc)
 9348:     # Since July 2007 AmigaOS4 officially supports .so libraries.
 9349:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 9350:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9351:     ;;
 9352:   m68k)
 9353:     library_names_spec='$libname.ixlibrary $libname.a'
 9354:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
 9355:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 9356:     ;;
 9357:   esac
 9358:   ;;
 9359: 
 9360: beos*)
 9361:   library_names_spec='${libname}${shared_ext}'
 9362:   dynamic_linker="$host_os ld.so"
 9363:   shlibpath_var=LIBRARY_PATH
 9364:   ;;
 9365: 
 9366: bsdi[45]*)
 9367:   version_type=linux
 9368:   need_version=no
 9369:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9370:   soname_spec='${libname}${release}${shared_ext}$major'
 9371:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 9372:   shlibpath_var=LD_LIBRARY_PATH
 9373:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 9374:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 9375:   # the default ld.so.conf also contains /usr/contrib/lib and
 9376:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 9377:   # libtool to hard-code these into programs
 9378:   ;;
 9379: 
 9380: cygwin* | mingw* | pw32* | cegcc*)
 9381:   version_type=windows
 9382:   shrext_cmds=".dll"
 9383:   need_version=no
 9384:   need_lib_prefix=no
 9385: 
 9386:   case $GCC,$host_os in
 9387:   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 9388:     library_names_spec='$libname.dll.a'
 9389:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 9390:     postinstall_cmds='base_file=`basename \${file}`~
 9391:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 9392:       dldir=$destdir/`dirname \$dlpath`~
 9393:       test -d \$dldir || mkdir -p \$dldir~
 9394:       $install_prog $dir/$dlname \$dldir/$dlname~
 9395:       chmod a+x \$dldir/$dlname~
 9396:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 9397:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 9398:       fi'
 9399:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 9400:       dlpath=$dir/\$dldll~
 9401:        $RM \$dlpath'
 9402:     shlibpath_overrides_runpath=yes
 9403: 
 9404:     case $host_os in
 9405:     cygwin*)
 9406:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 9407:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 9408:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 9409:       ;;
 9410:     mingw* | cegcc*)
 9411:       # MinGW DLLs use traditional 'lib' prefix
 9412:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 9413:       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 9414:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 9415:         # It is most probably a Windows format PATH printed by
 9416:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 9417:         # path with ; separators, and with drive letters. We can handle the
 9418:         # drive letters (cygwin fileutils understands them), so leave them,
 9419:         # especially as we might pass files found there to a mingw objdump,
 9420:         # which wouldn't understand a cygwinified path. Ahh.
 9421:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 9422:       else
 9423:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 9424:       fi
 9425:       ;;
 9426:     pw32*)
 9427:       # pw32 DLLs use 'pw' prefix rather than 'lib'
 9428:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 9429:       ;;
 9430:     esac
 9431:     ;;
 9432: 
 9433:   *)
 9434:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 9435:     ;;
 9436:   esac
 9437:   dynamic_linker='Win32 ld.exe'
 9438:   # FIXME: first we should search . and the directory the executable is in
 9439:   shlibpath_var=PATH
 9440:   ;;
 9441: 
 9442: darwin* | rhapsody*)
 9443:   dynamic_linker="$host_os dyld"
 9444:   version_type=darwin
 9445:   need_lib_prefix=no
 9446:   need_version=no
 9447:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 9448:   soname_spec='${libname}${release}${major}$shared_ext'
 9449:   shlibpath_overrides_runpath=yes
 9450:   shlibpath_var=DYLD_LIBRARY_PATH
 9451:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 9452: 
 9453:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 9454:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 9455:   ;;
 9456: 
 9457: dgux*)
 9458:   version_type=linux
 9459:   need_lib_prefix=no
 9460:   need_version=no
 9461:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 9462:   soname_spec='${libname}${release}${shared_ext}$major'
 9463:   shlibpath_var=LD_LIBRARY_PATH
 9464:   ;;
 9465: 
 9466: freebsd1*)
 9467:   dynamic_linker=no
 9468:   ;;
 9469: 
 9470: freebsd* | dragonfly*)
 9471:   # DragonFly does not have aout.  When/if they implement a new
 9472:   # versioning mechanism, adjust this.
 9473:   if test -x /usr/bin/objformat; then
 9474:     objformat=`/usr/bin/objformat`
 9475:   else
 9476:     case $host_os in
 9477:     freebsd[123]*) objformat=aout ;;
 9478:     *) objformat=elf ;;
 9479:     esac
 9480:   fi
 9481:   version_type=freebsd-$objformat
 9482:   case $version_type in
 9483:     freebsd-elf*)
 9484:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 9485:       need_version=no
 9486:       need_lib_prefix=no
 9487:       ;;
 9488:     freebsd-*)
 9489:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 9490:       need_version=yes
 9491:       ;;
 9492:   esac
 9493:   shlibpath_var=LD_LIBRARY_PATH
 9494:   case $host_os in
 9495:   freebsd2*)
 9496:     shlibpath_overrides_runpath=yes
 9497:     ;;
 9498:   freebsd3.[01]* | freebsdelf3.[01]*)
 9499:     shlibpath_overrides_runpath=yes
 9500:     hardcode_into_libs=yes
 9501:     ;;
 9502:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 9503:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 9504:     shlibpath_overrides_runpath=no
 9505:     hardcode_into_libs=yes
 9506:     ;;
 9507:   *) # from 4.6 on, and DragonFly
 9508:     shlibpath_overrides_runpath=yes
 9509:     hardcode_into_libs=yes
 9510:     ;;
 9511:   esac
 9512:   ;;
 9513: 
 9514: gnu*)
 9515:   version_type=linux
 9516:   need_lib_prefix=no
 9517:   need_version=no
 9518:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 9519:   soname_spec='${libname}${release}${shared_ext}$major'
 9520:   shlibpath_var=LD_LIBRARY_PATH
 9521:   hardcode_into_libs=yes
 9522:   ;;
 9523: 
 9524: hpux9* | hpux10* | hpux11*)
 9525:   # Give a soname corresponding to the major version so that dld.sl refuses to
 9526:   # link against other versions.
 9527:   version_type=sunos
 9528:   need_lib_prefix=no
 9529:   need_version=no
 9530:   case $host_cpu in
 9531:   ia64*)
 9532:     shrext_cmds='.so'
 9533:     hardcode_into_libs=yes
 9534:     dynamic_linker="$host_os dld.so"
 9535:     shlibpath_var=LD_LIBRARY_PATH
 9536:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 9537:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9538:     soname_spec='${libname}${release}${shared_ext}$major'
 9539:     if test "X$HPUX_IA64_MODE" = X32; then
 9540:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 9541:     else
 9542:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 9543:     fi
 9544:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 9545:     ;;
 9546:   hppa*64*)
 9547:     shrext_cmds='.sl'
 9548:     hardcode_into_libs=yes
 9549:     dynamic_linker="$host_os dld.sl"
 9550:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 9551:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 9552:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9553:     soname_spec='${libname}${release}${shared_ext}$major'
 9554:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 9555:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 9556:     ;;
 9557:   *)
 9558:     shrext_cmds='.sl'
 9559:     dynamic_linker="$host_os dld.sl"
 9560:     shlibpath_var=SHLIB_PATH
 9561:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 9562:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9563:     soname_spec='${libname}${release}${shared_ext}$major'
 9564:     ;;
 9565:   esac
 9566:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 9567:   postinstall_cmds='chmod 555 $lib'
 9568:   ;;
 9569: 
 9570: interix[3-9]*)
 9571:   version_type=linux
 9572:   need_lib_prefix=no
 9573:   need_version=no
 9574:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 9575:   soname_spec='${libname}${release}${shared_ext}$major'
 9576:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 9577:   shlibpath_var=LD_LIBRARY_PATH
 9578:   shlibpath_overrides_runpath=no
 9579:   hardcode_into_libs=yes
 9580:   ;;
 9581: 
 9582: irix5* | irix6* | nonstopux*)
 9583:   case $host_os in
 9584:     nonstopux*) version_type=nonstopux ;;
 9585:     *)
 9586: 	if test "$lt_cv_prog_gnu_ld" = yes; then
 9587: 		version_type=linux
 9588: 	else
 9589: 		version_type=irix
 9590: 	fi ;;
 9591:   esac
 9592:   need_lib_prefix=no
 9593:   need_version=no
 9594:   soname_spec='${libname}${release}${shared_ext}$major'
 9595:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 9596:   case $host_os in
 9597:   irix5* | nonstopux*)
 9598:     libsuff= shlibsuff=
 9599:     ;;
 9600:   *)
 9601:     case $LD in # libtool.m4 will add one of these switches to LD
 9602:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 9603:       libsuff= shlibsuff= libmagic=32-bit;;
 9604:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 9605:       libsuff=32 shlibsuff=N32 libmagic=N32;;
 9606:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 9607:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 9608:     *) libsuff= shlibsuff= libmagic=never-match;;
 9609:     esac
 9610:     ;;
 9611:   esac
 9612:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 9613:   shlibpath_overrides_runpath=no
 9614:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 9615:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 9616:   hardcode_into_libs=yes
 9617:   ;;
 9618: 
 9619: # No shared lib support for Linux oldld, aout, or coff.
 9620: linux*oldld* | linux*aout* | linux*coff*)
 9621:   dynamic_linker=no
 9622:   ;;
 9623: 
 9624: # This must be Linux ELF.
 9625: linux* | k*bsd*-gnu | kopensolaris*-gnu)
 9626:   version_type=linux
 9627:   need_lib_prefix=no
 9628:   need_version=no
 9629:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9630:   soname_spec='${libname}${release}${shared_ext}$major'
 9631:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 9632:   shlibpath_var=LD_LIBRARY_PATH
 9633:   shlibpath_overrides_runpath=no
 9634:   # Some binutils ld are patched to set DT_RUNPATH
 9635:   save_LDFLAGS=$LDFLAGS
 9636:   save_libdir=$libdir
 9637:   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 9638:        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 9639:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9640: /* end confdefs.h.  */
 9641: 
 9642: int
 9643: main ()
 9644: {
 9645: 
 9646:   ;
 9647:   return 0;
 9648: }
 9649: _ACEOF
 9650: if ac_fn_c_try_link "$LINENO"; then :
 9651:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 9652:   shlibpath_overrides_runpath=yes
 9653: fi
 9654: fi
 9655: rm -f core conftest.err conftest.$ac_objext \
 9656:     conftest$ac_exeext conftest.$ac_ext
 9657:   LDFLAGS=$save_LDFLAGS
 9658:   libdir=$save_libdir
 9659: 
 9660:   # This implies no fast_install, which is unacceptable.
 9661:   # Some rework will be needed to allow for fast_install
 9662:   # before this can be enabled.
 9663:   hardcode_into_libs=yes
 9664: 
 9665:   # Append ld.so.conf contents to the search path
 9666:   if test -f /etc/ld.so.conf; then
 9667:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 9668:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 9669:   fi
 9670: 
 9671:   # We used to test for /lib/ld.so.1 and disable shared libraries on
 9672:   # powerpc, because MkLinux only supported shared libraries with the
 9673:   # GNU dynamic linker.  Since this was broken with cross compilers,
 9674:   # most powerpc-linux boxes support dynamic linking these days and
 9675:   # people can always --disable-shared, the test was removed, and we
 9676:   # assume the GNU/Linux dynamic linker is in use.
 9677:   dynamic_linker='GNU/Linux ld.so'
 9678:   ;;
 9679: 
 9680: netbsdelf*-gnu)
 9681:   version_type=linux
 9682:   need_lib_prefix=no
 9683:   need_version=no
 9684:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 9685:   soname_spec='${libname}${release}${shared_ext}$major'
 9686:   shlibpath_var=LD_LIBRARY_PATH
 9687:   shlibpath_overrides_runpath=no
 9688:   hardcode_into_libs=yes
 9689:   dynamic_linker='NetBSD ld.elf_so'
 9690:   ;;
 9691: 
 9692: netbsd*)
 9693:   version_type=sunos
 9694:   need_lib_prefix=no
 9695:   need_version=no
 9696:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9697:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9698:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 9699:     dynamic_linker='NetBSD (a.out) ld.so'
 9700:   else
 9701:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 9702:     soname_spec='${libname}${release}${shared_ext}$major'
 9703:     dynamic_linker='NetBSD ld.elf_so'
 9704:   fi
 9705:   shlibpath_var=LD_LIBRARY_PATH
 9706:   shlibpath_overrides_runpath=yes
 9707:   hardcode_into_libs=yes
 9708:   ;;
 9709: 
 9710: newsos6)
 9711:   version_type=linux
 9712:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9713:   shlibpath_var=LD_LIBRARY_PATH
 9714:   shlibpath_overrides_runpath=yes
 9715:   ;;
 9716: 
 9717: *nto* | *qnx*)
 9718:   version_type=qnx
 9719:   need_lib_prefix=no
 9720:   need_version=no
 9721:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9722:   soname_spec='${libname}${release}${shared_ext}$major'
 9723:   shlibpath_var=LD_LIBRARY_PATH
 9724:   shlibpath_overrides_runpath=no
 9725:   hardcode_into_libs=yes
 9726:   dynamic_linker='ldqnx.so'
 9727:   ;;
 9728: 
 9729: openbsd*)
 9730:   version_type=sunos
 9731:   sys_lib_dlsearch_path_spec="/usr/lib"
 9732:   need_lib_prefix=no
 9733:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 9734:   case $host_os in
 9735:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 9736:     *)				need_version=no  ;;
 9737:   esac
 9738:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9739:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 9740:   shlibpath_var=LD_LIBRARY_PATH
 9741:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 9742:     case $host_os in
 9743:       openbsd2.[89] | openbsd2.[89].*)
 9744: 	shlibpath_overrides_runpath=no
 9745: 	;;
 9746:       *)
 9747: 	shlibpath_overrides_runpath=yes
 9748: 	;;
 9749:       esac
 9750:   else
 9751:     shlibpath_overrides_runpath=yes
 9752:   fi
 9753:   ;;
 9754: 
 9755: os2*)
 9756:   libname_spec='$name'
 9757:   shrext_cmds=".dll"
 9758:   need_lib_prefix=no
 9759:   library_names_spec='$libname${shared_ext} $libname.a'
 9760:   dynamic_linker='OS/2 ld.exe'
 9761:   shlibpath_var=LIBPATH
 9762:   ;;
 9763: 
 9764: osf3* | osf4* | osf5*)
 9765:   version_type=osf
 9766:   need_lib_prefix=no
 9767:   need_version=no
 9768:   soname_spec='${libname}${release}${shared_ext}$major'
 9769:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9770:   shlibpath_var=LD_LIBRARY_PATH
 9771:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 9772:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 9773:   ;;
 9774: 
 9775: rdos*)
 9776:   dynamic_linker=no
 9777:   ;;
 9778: 
 9779: solaris*)
 9780:   version_type=linux
 9781:   need_lib_prefix=no
 9782:   need_version=no
 9783:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9784:   soname_spec='${libname}${release}${shared_ext}$major'
 9785:   shlibpath_var=LD_LIBRARY_PATH
 9786:   shlibpath_overrides_runpath=yes
 9787:   hardcode_into_libs=yes
 9788:   # ldd complains unless libraries are executable
 9789:   postinstall_cmds='chmod +x $lib'
 9790:   ;;
 9791: 
 9792: sunos4*)
 9793:   version_type=sunos
 9794:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 9795:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 9796:   shlibpath_var=LD_LIBRARY_PATH
 9797:   shlibpath_overrides_runpath=yes
 9798:   if test "$with_gnu_ld" = yes; then
 9799:     need_lib_prefix=no
 9800:   fi
 9801:   need_version=yes
 9802:   ;;
 9803: 
 9804: sysv4 | sysv4.3*)
 9805:   version_type=linux
 9806:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9807:   soname_spec='${libname}${release}${shared_ext}$major'
 9808:   shlibpath_var=LD_LIBRARY_PATH
 9809:   case $host_vendor in
 9810:     sni)
 9811:       shlibpath_overrides_runpath=no
 9812:       need_lib_prefix=no
 9813:       runpath_var=LD_RUN_PATH
 9814:       ;;
 9815:     siemens)
 9816:       need_lib_prefix=no
 9817:       ;;
 9818:     motorola)
 9819:       need_lib_prefix=no
 9820:       need_version=no
 9821:       shlibpath_overrides_runpath=no
 9822:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 9823:       ;;
 9824:   esac
 9825:   ;;
 9826: 
 9827: sysv4*MP*)
 9828:   if test -d /usr/nec ;then
 9829:     version_type=linux
 9830:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 9831:     soname_spec='$libname${shared_ext}.$major'
 9832:     shlibpath_var=LD_LIBRARY_PATH
 9833:   fi
 9834:   ;;
 9835: 
 9836: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 9837:   version_type=freebsd-elf
 9838:   need_lib_prefix=no
 9839:   need_version=no
 9840:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 9841:   soname_spec='${libname}${release}${shared_ext}$major'
 9842:   shlibpath_var=LD_LIBRARY_PATH
 9843:   shlibpath_overrides_runpath=yes
 9844:   hardcode_into_libs=yes
 9845:   if test "$with_gnu_ld" = yes; then
 9846:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 9847:   else
 9848:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 9849:     case $host_os in
 9850:       sco3.2v5*)
 9851:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 9852: 	;;
 9853:     esac
 9854:   fi
 9855:   sys_lib_dlsearch_path_spec='/usr/lib'
 9856:   ;;
 9857: 
 9858: tpf*)
 9859:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 9860:   version_type=linux
 9861:   need_lib_prefix=no
 9862:   need_version=no
 9863:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9864:   shlibpath_var=LD_LIBRARY_PATH
 9865:   shlibpath_overrides_runpath=no
 9866:   hardcode_into_libs=yes
 9867:   ;;
 9868: 
 9869: uts4*)
 9870:   version_type=linux
 9871:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 9872:   soname_spec='${libname}${release}${shared_ext}$major'
 9873:   shlibpath_var=LD_LIBRARY_PATH
 9874:   ;;
 9875: 
 9876: *)
 9877:   dynamic_linker=no
 9878:   ;;
 9879: esac
 9880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 9881: $as_echo "$dynamic_linker" >&6; }
 9882: test "$dynamic_linker" = no && can_build_shared=no
 9883: 
 9884: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 9885: if test "$GCC" = yes; then
 9886:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 9887: fi
 9888: 
 9889: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 9890:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 9891: fi
 9892: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 9893:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 9894: fi
 9895: 
 9896: 
 9897: 
 9898: 
 9899: 
 9900: 
 9901: 
 9902: 
 9903: 
 9904: 
 9905: 
 9906: 
 9907: 
 9908: 
 9909: 
 9910: 
 9911: 
 9912: 
 9913: 
 9914: 
 9915: 
 9916: 
 9917: 
 9918: 
 9919: 
 9920: 
 9921: 
 9922: 
 9923: 
 9924: 
 9925: 
 9926: 
 9927: 
 9928: 
 9929: 
 9930: 
 9931: 
 9932: 
 9933: 
 9934: 
 9935: 
 9936: 
 9937: 
 9938: 
 9939: 
 9940: 
 9941: 
 9942: 
 9943: 
 9944: 
 9945: 
 9946: 
 9947: 
 9948: 
 9949: 
 9950: 
 9951: 
 9952: 
 9953: 
 9954: 
 9955: 
 9956: 
 9957: 
 9958: 
 9959: 
 9960: 
 9961: 
 9962: 
 9963: 
 9964: 
 9965: 
 9966: 
 9967: 
 9968: 
 9969: 
 9970: 
 9971: 
 9972: 
 9973: 
 9974: 
 9975: 
 9976: 
 9977: 
 9978: 
 9979: 
 9980: 
 9981: 
 9982:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 9983: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 9984: hardcode_action=
 9985: if test -n "$hardcode_libdir_flag_spec" ||
 9986:    test -n "$runpath_var" ||
 9987:    test "X$hardcode_automatic" = "Xyes" ; then
 9988: 
 9989:   # We can hardcode non-existent directories.
 9990:   if test "$hardcode_direct" != no &&
 9991:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 9992:      # have to relink, otherwise we might link with an installed library
 9993:      # when we should be linking with a yet-to-be-installed one
 9994:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 9995:      test "$hardcode_minus_L" != no; then
 9996:     # Linking always hardcodes the temporary library directory.
 9997:     hardcode_action=relink
 9998:   else
 9999:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10000:     hardcode_action=immediate
10001:   fi
10002: else
10003:   # We cannot hardcode anything, or else we can only hardcode existing
10004:   # directories.
10005:   hardcode_action=unsupported
10006: fi
10007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10008: $as_echo "$hardcode_action" >&6; }
10009: 
10010: if test "$hardcode_action" = relink ||
10011:    test "$inherit_rpath" = yes; then
10012:   # Fast installation is not supported
10013:   enable_fast_install=no
10014: elif test "$shlibpath_overrides_runpath" = yes ||
10015:      test "$enable_shared" = no; then
10016:   # Fast installation is not necessary
10017:   enable_fast_install=needless
10018: fi
10019: 
10020: 
10021: 
10022: 
10023: 
10024: 
10025:   if test "x$enable_dlopen" != xyes; then
10026:   enable_dlopen=unknown
10027:   enable_dlopen_self=unknown
10028:   enable_dlopen_self_static=unknown
10029: else
10030:   lt_cv_dlopen=no
10031:   lt_cv_dlopen_libs=
10032: 
10033:   case $host_os in
10034:   beos*)
10035:     lt_cv_dlopen="load_add_on"
10036:     lt_cv_dlopen_libs=
10037:     lt_cv_dlopen_self=yes
10038:     ;;
10039: 
10040:   mingw* | pw32* | cegcc*)
10041:     lt_cv_dlopen="LoadLibrary"
10042:     lt_cv_dlopen_libs=
10043:     ;;
10044: 
10045:   cygwin*)
10046:     lt_cv_dlopen="dlopen"
10047:     lt_cv_dlopen_libs=
10048:     ;;
10049: 
10050:   darwin*)
10051:   # if libdl is installed we need to link against it
10052:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10053: $as_echo_n "checking for dlopen in -ldl... " >&6; }
10054: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10055:   $as_echo_n "(cached) " >&6
10056: else
10057:   ac_check_lib_save_LIBS=$LIBS
10058: LIBS="-ldl  $LIBS"
10059: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060: /* end confdefs.h.  */
10061: 
10062: /* Override any GCC internal prototype to avoid an error.
10063:    Use char because int might match the return type of a GCC
10064:    builtin and then its argument prototype would still apply.  */
10065: #ifdef __cplusplus
10066: extern "C"
10067: #endif
10068: char dlopen ();
10069: int
10070: main ()
10071: {
10072: return dlopen ();
10073:   ;
10074:   return 0;
10075: }
10076: _ACEOF
10077: if ac_fn_c_try_link "$LINENO"; then :
10078:   ac_cv_lib_dl_dlopen=yes
10079: else
10080:   ac_cv_lib_dl_dlopen=no
10081: fi
10082: rm -f core conftest.err conftest.$ac_objext \
10083:     conftest$ac_exeext conftest.$ac_ext
10084: LIBS=$ac_check_lib_save_LIBS
10085: fi
10086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10087: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10088: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10089:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10090: else
10091: 
10092:     lt_cv_dlopen="dyld"
10093:     lt_cv_dlopen_libs=
10094:     lt_cv_dlopen_self=yes
10095: 
10096: fi
10097: 
10098:     ;;
10099: 
10100:   *)
10101:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10102: if test "x$ac_cv_func_shl_load" = x""yes; then :
10103:   lt_cv_dlopen="shl_load"
10104: else
10105:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10106: $as_echo_n "checking for shl_load in -ldld... " >&6; }
10107: if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10108:   $as_echo_n "(cached) " >&6
10109: else
10110:   ac_check_lib_save_LIBS=$LIBS
10111: LIBS="-ldld  $LIBS"
10112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113: /* end confdefs.h.  */
10114: 
10115: /* Override any GCC internal prototype to avoid an error.
10116:    Use char because int might match the return type of a GCC
10117:    builtin and then its argument prototype would still apply.  */
10118: #ifdef __cplusplus
10119: extern "C"
10120: #endif
10121: char shl_load ();
10122: int
10123: main ()
10124: {
10125: return shl_load ();
10126:   ;
10127:   return 0;
10128: }
10129: _ACEOF
10130: if ac_fn_c_try_link "$LINENO"; then :
10131:   ac_cv_lib_dld_shl_load=yes
10132: else
10133:   ac_cv_lib_dld_shl_load=no
10134: fi
10135: rm -f core conftest.err conftest.$ac_objext \
10136:     conftest$ac_exeext conftest.$ac_ext
10137: LIBS=$ac_check_lib_save_LIBS
10138: fi
10139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10140: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10141: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10142:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10143: else
10144:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10145: if test "x$ac_cv_func_dlopen" = x""yes; then :
10146:   lt_cv_dlopen="dlopen"
10147: else
10148:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10149: $as_echo_n "checking for dlopen in -ldl... " >&6; }
10150: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10151:   $as_echo_n "(cached) " >&6
10152: else
10153:   ac_check_lib_save_LIBS=$LIBS
10154: LIBS="-ldl  $LIBS"
10155: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156: /* end confdefs.h.  */
10157: 
10158: /* Override any GCC internal prototype to avoid an error.
10159:    Use char because int might match the return type of a GCC
10160:    builtin and then its argument prototype would still apply.  */
10161: #ifdef __cplusplus
10162: extern "C"
10163: #endif
10164: char dlopen ();
10165: int
10166: main ()
10167: {
10168: return dlopen ();
10169:   ;
10170:   return 0;
10171: }
10172: _ACEOF
10173: if ac_fn_c_try_link "$LINENO"; then :
10174:   ac_cv_lib_dl_dlopen=yes
10175: else
10176:   ac_cv_lib_dl_dlopen=no
10177: fi
10178: rm -f core conftest.err conftest.$ac_objext \
10179:     conftest$ac_exeext conftest.$ac_ext
10180: LIBS=$ac_check_lib_save_LIBS
10181: fi
10182: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10183: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10184: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10185:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10186: else
10187:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10188: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10189: if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10190:   $as_echo_n "(cached) " >&6
10191: else
10192:   ac_check_lib_save_LIBS=$LIBS
10193: LIBS="-lsvld  $LIBS"
10194: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195: /* end confdefs.h.  */
10196: 
10197: /* Override any GCC internal prototype to avoid an error.
10198:    Use char because int might match the return type of a GCC
10199:    builtin and then its argument prototype would still apply.  */
10200: #ifdef __cplusplus
10201: extern "C"
10202: #endif
10203: char dlopen ();
10204: int
10205: main ()
10206: {
10207: return dlopen ();
10208:   ;
10209:   return 0;
10210: }
10211: _ACEOF
10212: if ac_fn_c_try_link "$LINENO"; then :
10213:   ac_cv_lib_svld_dlopen=yes
10214: else
10215:   ac_cv_lib_svld_dlopen=no
10216: fi
10217: rm -f core conftest.err conftest.$ac_objext \
10218:     conftest$ac_exeext conftest.$ac_ext
10219: LIBS=$ac_check_lib_save_LIBS
10220: fi
10221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10222: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10223: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10224:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10225: else
10226:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10227: $as_echo_n "checking for dld_link in -ldld... " >&6; }
10228: if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10229:   $as_echo_n "(cached) " >&6
10230: else
10231:   ac_check_lib_save_LIBS=$LIBS
10232: LIBS="-ldld  $LIBS"
10233: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234: /* end confdefs.h.  */
10235: 
10236: /* Override any GCC internal prototype to avoid an error.
10237:    Use char because int might match the return type of a GCC
10238:    builtin and then its argument prototype would still apply.  */
10239: #ifdef __cplusplus
10240: extern "C"
10241: #endif
10242: char dld_link ();
10243: int
10244: main ()
10245: {
10246: return dld_link ();
10247:   ;
10248:   return 0;
10249: }
10250: _ACEOF
10251: if ac_fn_c_try_link "$LINENO"; then :
10252:   ac_cv_lib_dld_dld_link=yes
10253: else
10254:   ac_cv_lib_dld_dld_link=no
10255: fi
10256: rm -f core conftest.err conftest.$ac_objext \
10257:     conftest$ac_exeext conftest.$ac_ext
10258: LIBS=$ac_check_lib_save_LIBS
10259: fi
10260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10261: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10262: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10263:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10264: fi
10265: 
10266: 
10267: fi
10268: 
10269: 
10270: fi
10271: 
10272: 
10273: fi
10274: 
10275: 
10276: fi
10277: 
10278: 
10279: fi
10280: 
10281:     ;;
10282:   esac
10283: 
10284:   if test "x$lt_cv_dlopen" != xno; then
10285:     enable_dlopen=yes
10286:   else
10287:     enable_dlopen=no
10288:   fi
10289: 
10290:   case $lt_cv_dlopen in
10291:   dlopen)
10292:     save_CPPFLAGS="$CPPFLAGS"
10293:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10294: 
10295:     save_LDFLAGS="$LDFLAGS"
10296:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10297: 
10298:     save_LIBS="$LIBS"
10299:     LIBS="$lt_cv_dlopen_libs $LIBS"
10300: 
10301:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10302: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10303: if test "${lt_cv_dlopen_self+set}" = set; then :
10304:   $as_echo_n "(cached) " >&6
10305: else
10306:   	  if test "$cross_compiling" = yes; then :
10307:   lt_cv_dlopen_self=cross
10308: else
10309:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10310:   lt_status=$lt_dlunknown
10311:   cat > conftest.$ac_ext <<_LT_EOF
10312: #line 10312 "configure"
10313: #include "confdefs.h"
10314: 
10315: #if HAVE_DLFCN_H
10316: #include <dlfcn.h>
10317: #endif
10318: 
10319: #include <stdio.h>
10320: 
10321: #ifdef RTLD_GLOBAL
10322: #  define LT_DLGLOBAL		RTLD_GLOBAL
10323: #else
10324: #  ifdef DL_GLOBAL
10325: #    define LT_DLGLOBAL		DL_GLOBAL
10326: #  else
10327: #    define LT_DLGLOBAL		0
10328: #  endif
10329: #endif
10330: 
10331: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10332:    find out it does not work in some platform. */
10333: #ifndef LT_DLLAZY_OR_NOW
10334: #  ifdef RTLD_LAZY
10335: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10336: #  else
10337: #    ifdef DL_LAZY
10338: #      define LT_DLLAZY_OR_NOW		DL_LAZY
10339: #    else
10340: #      ifdef RTLD_NOW
10341: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
10342: #      else
10343: #        ifdef DL_NOW
10344: #          define LT_DLLAZY_OR_NOW	DL_NOW
10345: #        else
10346: #          define LT_DLLAZY_OR_NOW	0
10347: #        endif
10348: #      endif
10349: #    endif
10350: #  endif
10351: #endif
10352: 
10353: void fnord() { int i=42;}
10354: int main ()
10355: {
10356:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10357:   int status = $lt_dlunknown;
10358: 
10359:   if (self)
10360:     {
10361:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10362:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10363:       /* dlclose (self); */
10364:     }
10365:   else
10366:     puts (dlerror ());
10367: 
10368:   return status;
10369: }
10370: _LT_EOF
10371:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10372:   (eval $ac_link) 2>&5
10373:   ac_status=$?
10374:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10375:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10376:     (./conftest; exit; ) >&5 2>/dev/null
10377:     lt_status=$?
10378:     case x$lt_status in
10379:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10380:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10381:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10382:     esac
10383:   else :
10384:     # compilation failed
10385:     lt_cv_dlopen_self=no
10386:   fi
10387: fi
10388: rm -fr conftest*
10389: 
10390: 
10391: fi
10392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10393: $as_echo "$lt_cv_dlopen_self" >&6; }
10394: 
10395:     if test "x$lt_cv_dlopen_self" = xyes; then
10396:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10397:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10398: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10399: if test "${lt_cv_dlopen_self_static+set}" = set; then :
10400:   $as_echo_n "(cached) " >&6
10401: else
10402:   	  if test "$cross_compiling" = yes; then :
10403:   lt_cv_dlopen_self_static=cross
10404: else
10405:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10406:   lt_status=$lt_dlunknown
10407:   cat > conftest.$ac_ext <<_LT_EOF
10408: #line 10408 "configure"
10409: #include "confdefs.h"
10410: 
10411: #if HAVE_DLFCN_H
10412: #include <dlfcn.h>
10413: #endif
10414: 
10415: #include <stdio.h>
10416: 
10417: #ifdef RTLD_GLOBAL
10418: #  define LT_DLGLOBAL		RTLD_GLOBAL
10419: #else
10420: #  ifdef DL_GLOBAL
10421: #    define LT_DLGLOBAL		DL_GLOBAL
10422: #  else
10423: #    define LT_DLGLOBAL		0
10424: #  endif
10425: #endif
10426: 
10427: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10428:    find out it does not work in some platform. */
10429: #ifndef LT_DLLAZY_OR_NOW
10430: #  ifdef RTLD_LAZY
10431: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10432: #  else
10433: #    ifdef DL_LAZY
10434: #      define LT_DLLAZY_OR_NOW		DL_LAZY
10435: #    else
10436: #      ifdef RTLD_NOW
10437: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
10438: #      else
10439: #        ifdef DL_NOW
10440: #          define LT_DLLAZY_OR_NOW	DL_NOW
10441: #        else
10442: #          define LT_DLLAZY_OR_NOW	0
10443: #        endif
10444: #      endif
10445: #    endif
10446: #  endif
10447: #endif
10448: 
10449: void fnord() { int i=42;}
10450: int main ()
10451: {
10452:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10453:   int status = $lt_dlunknown;
10454: 
10455:   if (self)
10456:     {
10457:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10458:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10459:       /* dlclose (self); */
10460:     }
10461:   else
10462:     puts (dlerror ());
10463: 
10464:   return status;
10465: }
10466: _LT_EOF
10467:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10468:   (eval $ac_link) 2>&5
10469:   ac_status=$?
10470:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10471:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10472:     (./conftest; exit; ) >&5 2>/dev/null
10473:     lt_status=$?
10474:     case x$lt_status in
10475:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10476:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10477:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10478:     esac
10479:   else :
10480:     # compilation failed
10481:     lt_cv_dlopen_self_static=no
10482:   fi
10483: fi
10484: rm -fr conftest*
10485: 
10486: 
10487: fi
10488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10489: $as_echo "$lt_cv_dlopen_self_static" >&6; }
10490:     fi
10491: 
10492:     CPPFLAGS="$save_CPPFLAGS"
10493:     LDFLAGS="$save_LDFLAGS"
10494:     LIBS="$save_LIBS"
10495:     ;;
10496:   esac
10497: 
10498:   case $lt_cv_dlopen_self in
10499:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10500:   *) enable_dlopen_self=unknown ;;
10501:   esac
10502: 
10503:   case $lt_cv_dlopen_self_static in
10504:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10505:   *) enable_dlopen_self_static=unknown ;;
10506:   esac
10507: fi
10508: 
10509: 
10510: 
10511: 
10512: 
10513: 
10514: 
10515: 
10516: 
10517: 
10518: 
10519: 
10520: 
10521: 
10522: 
10523: 
10524: 
10525: striplib=
10526: old_striplib=
10527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10528: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10529: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10530:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10531:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10532:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10533: $as_echo "yes" >&6; }
10534: else
10535: # FIXME - insert some real tests, host_os isn't really good enough
10536:   case $host_os in
10537:   darwin*)
10538:     if test -n "$STRIP" ; then
10539:       striplib="$STRIP -x"
10540:       old_striplib="$STRIP -S"
10541:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10542: $as_echo "yes" >&6; }
10543:     else
10544:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545: $as_echo "no" >&6; }
10546:     fi
10547:     ;;
10548:   *)
10549:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10550: $as_echo "no" >&6; }
10551:     ;;
10552:   esac
10553: fi
10554: 
10555: 
10556: 
10557: 
10558: 
10559: 
10560: 
10561: 
10562: 
10563: 
10564: 
10565: 
10566:   # Report which library types will actually be built
10567:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10568: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10570: $as_echo "$can_build_shared" >&6; }
10571: 
10572:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10573: $as_echo_n "checking whether to build shared libraries... " >&6; }
10574:   test "$can_build_shared" = "no" && enable_shared=no
10575: 
10576:   # On AIX, shared libraries and static libraries use the same namespace, and
10577:   # are all built from PIC.
10578:   case $host_os in
10579:   aix3*)
10580:     test "$enable_shared" = yes && enable_static=no
10581:     if test -n "$RANLIB"; then
10582:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10583:       postinstall_cmds='$RANLIB $lib'
10584:     fi
10585:     ;;
10586: 
10587:   aix[4-9]*)
10588:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10589:       test "$enable_shared" = yes && enable_static=no
10590:     fi
10591:     ;;
10592:   esac
10593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10594: $as_echo "$enable_shared" >&6; }
10595: 
10596:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10597: $as_echo_n "checking whether to build static libraries... " >&6; }
10598:   # Make sure either enable_shared or enable_static is yes.
10599:   test "$enable_shared" = yes || enable_static=yes
10600:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10601: $as_echo "$enable_static" >&6; }
10602: 
10603: 
10604: 
10605: 
10606: fi
10607: ac_ext=c
10608: ac_cpp='$CPP $CPPFLAGS'
10609: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10610: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10611: ac_compiler_gnu=$ac_cv_c_compiler_gnu
10612: 
10613: CC="$lt_save_CC"
10614: 
10615: 
10616: 
10617: 
10618: 
10619: 
10620: 
10621: 
10622: 
10623: 
10624: 
10625: 
10626: 
10627:         ac_config_commands="$ac_config_commands libtool"
10628: 
10629: 
10630: 
10631: 
10632: # Only expand once:
10633: 
10634: 
10635: 
10636: # check type sizes
10637: # The cast to long int works around a bug in the HP C Compiler
10638: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10639: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10640: # This bug is HP SR number 8606223364.
10641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
10642: $as_echo_n "checking size of long... " >&6; }
10643: if test "${ac_cv_sizeof_long+set}" = set; then :
10644:   $as_echo_n "(cached) " >&6
10645: else
10646:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
10647: 
10648: else
10649:   if test "$ac_cv_type_long" = yes; then
10650:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10651: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10652: as_fn_error 77 "cannot compute sizeof (long)
10653: See \`config.log' for more details" "$LINENO" 5 ; }
10654:    else
10655:      ac_cv_sizeof_long=0
10656:    fi
10657: fi
10658: 
10659: fi
10660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
10661: $as_echo "$ac_cv_sizeof_long" >&6; }
10662: 
10663: 
10664: 
10665: cat >>confdefs.h <<_ACEOF
10666: #define SIZEOF_LONG $ac_cv_sizeof_long
10667: _ACEOF
10668: 
10669: 
10670: # The cast to long int works around a bug in the HP C Compiler
10671: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10672: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10673: # This bug is HP SR number 8606223364.
10674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
10675: $as_echo_n "checking size of int... " >&6; }
10676: if test "${ac_cv_sizeof_int+set}" = set; then :
10677:   $as_echo_n "(cached) " >&6
10678: else
10679:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
10680: 
10681: else
10682:   if test "$ac_cv_type_int" = yes; then
10683:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10684: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10685: as_fn_error 77 "cannot compute sizeof (int)
10686: See \`config.log' for more details" "$LINENO" 5 ; }
10687:    else
10688:      ac_cv_sizeof_int=0
10689:    fi
10690: fi
10691: 
10692: fi
10693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
10694: $as_echo "$ac_cv_sizeof_int" >&6; }
10695: 
10696: 
10697: 
10698: cat >>confdefs.h <<_ACEOF
10699: #define SIZEOF_INT $ac_cv_sizeof_int
10700: _ACEOF
10701: 
10702: 
10703: # The cast to long int works around a bug in the HP C Compiler
10704: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10705: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10706: # This bug is HP SR number 8606223364.
10707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
10708: $as_echo_n "checking size of void *... " >&6; }
10709: if test "${ac_cv_sizeof_void_p+set}" = set; then :
10710:   $as_echo_n "(cached) " >&6
10711: else
10712:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
10713: 
10714: else
10715:   if test "$ac_cv_type_void_p" = yes; then
10716:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10717: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10718: as_fn_error 77 "cannot compute sizeof (void *)
10719: See \`config.log' for more details" "$LINENO" 5 ; }
10720:    else
10721:      ac_cv_sizeof_void_p=0
10722:    fi
10723: fi
10724: 
10725: fi
10726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
10727: $as_echo "$ac_cv_sizeof_void_p" >&6; }
10728: 
10729: 
10730: 
10731: cat >>confdefs.h <<_ACEOF
10732: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10733: _ACEOF
10734: 
10735: 
10736: 
10737: # Check whether --enable-py-axl was given.
10738: if test "${enable_py_axl+set}" = set; then :
10739:   enableval=$enable_py_axl; enable_py_axl_support="$enableval"
10740: else
10741:   enable_py_axl_support=yes
10742: fi
10743: 
10744:  if test "x$enable_py_axl_support" = "xyes"; then
10745:   ENABLE_PY_AXL_SUPPORT_TRUE=
10746:   ENABLE_PY_AXL_SUPPORT_FALSE='#'
10747: else
10748:   ENABLE_PY_AXL_SUPPORT_TRUE='#'
10749:   ENABLE_PY_AXL_SUPPORT_FALSE=
10750: fi
10751: 
10752: if test "$enable_py_axl_support" = "yes" ; then
10753: 
10754: 
10755: 
10756: 
10757:         if test -n "$PYTHON"; then
10758:       # If the user set $PYTHON, use it and don't search something else.
10759:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.3" >&5
10760: $as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
10761:       prog="import sys
10762: # split strings by '.' and convert to numeric.  Append some zeros
10763: # because we need at least 4 digits for the hex conversion.
10764: # map returns an iterator in Python 3.0 and a list in 2.x
10765: minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
10766: minverhex = 0
10767: # xrange is not present in Python 3.0 and range returns an iterator
10768: for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
10769: sys.exit(sys.hexversion < minverhex)"
10770:   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
10771:    ($PYTHON -c "$prog") >&5 2>&5
10772:    ac_status=$?
10773:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774:    (exit $ac_status); }; then :
10775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10776: $as_echo "yes" >&6; }
10777: else
10778:   as_fn_error $? "too old" "$LINENO" 5
10779: fi
10780:       am_display_PYTHON=$PYTHON
10781:     else
10782:       # Otherwise, try each interpreter until we find one that satisfies
10783:       # VERSION.
10784:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.3" >&5
10785: $as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
10786: if test "${am_cv_pathless_PYTHON+set}" = set; then :
10787:   $as_echo_n "(cached) " >&6
10788: else
10789: 
10790: 	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
10791: 	  test "$am_cv_pathless_PYTHON" = none && break
10792: 	  prog="import sys
10793: # split strings by '.' and convert to numeric.  Append some zeros
10794: # because we need at least 4 digits for the hex conversion.
10795: # map returns an iterator in Python 3.0 and a list in 2.x
10796: minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
10797: minverhex = 0
10798: # xrange is not present in Python 3.0 and range returns an iterator
10799: for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
10800: sys.exit(sys.hexversion < minverhex)"
10801:   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
10802:    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
10803:    ac_status=$?
10804:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805:    (exit $ac_status); }; then :
10806:   break
10807: fi
10808: 	done
10809: fi
10810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
10811: $as_echo "$am_cv_pathless_PYTHON" >&6; }
10812:       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
10813:       if test "$am_cv_pathless_PYTHON" = none; then
10814: 	PYTHON=:
10815:       else
10816:         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
10817: set dummy $am_cv_pathless_PYTHON; ac_word=$2
10818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10819: $as_echo_n "checking for $ac_word... " >&6; }
10820: if test "${ac_cv_path_PYTHON+set}" = set; then :
10821:   $as_echo_n "(cached) " >&6
10822: else
10823:   case $PYTHON in
10824:   [\\/]* | ?:[\\/]*)
10825:   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
10826:   ;;
10827:   *)
10828:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829: for as_dir in $PATH
10830: do
10831:   IFS=$as_save_IFS
10832:   test -z "$as_dir" && as_dir=.
10833:     for ac_exec_ext in '' $ac_executable_extensions; do
10834:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10835:     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
10836:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10837:     break 2
10838:   fi
10839: done
10840:   done
10841: IFS=$as_save_IFS
10842: 
10843:   ;;
10844: esac
10845: fi
10846: PYTHON=$ac_cv_path_PYTHON
10847: if test -n "$PYTHON"; then
10848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
10849: $as_echo "$PYTHON" >&6; }
10850: else
10851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852: $as_echo "no" >&6; }
10853: fi
10854: 
10855: 
10856:       fi
10857:       am_display_PYTHON=$am_cv_pathless_PYTHON
10858:     fi
10859: 
10860: 
10861:   if test "$PYTHON" = :; then
10862:       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
10863:   else
10864: 
10865: 
10866:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
10867: $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
10868: if test "${am_cv_python_version+set}" = set; then :
10869:   $as_echo_n "(cached) " >&6
10870: else
10871:   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
10872: fi
10873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
10874: $as_echo "$am_cv_python_version" >&6; }
10875:   PYTHON_VERSION=$am_cv_python_version
10876: 
10877: 
10878: 
10879:   PYTHON_PREFIX='${prefix}'
10880: 
10881:   PYTHON_EXEC_PREFIX='${exec_prefix}'
10882: 
10883: 
10884: 
10885:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
10886: $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
10887: if test "${am_cv_python_platform+set}" = set; then :
10888:   $as_echo_n "(cached) " >&6
10889: else
10890:   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
10891: fi
10892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
10893: $as_echo "$am_cv_python_platform" >&6; }
10894:   PYTHON_PLATFORM=$am_cv_python_platform
10895: 
10896: 
10897: 
10898: 
10899:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
10900: $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
10901: if test "${am_cv_python_pythondir+set}" = set; then :
10902:   $as_echo_n "(cached) " >&6
10903: else
10904:   if test "x$prefix" = xNONE
10905:      then
10906:        am_py_prefix=$ac_default_prefix
10907:      else
10908:        am_py_prefix=$prefix
10909:      fi
10910:      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
10911:      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
10912:      case $am_cv_python_pythondir in
10913:      $am_py_prefix*)
10914:        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
10915:        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
10916:        ;;
10917:      *)
10918:        case $am_py_prefix in
10919:          /usr|/System*) ;;
10920:          *)
10921: 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
10922: 	  ;;
10923:        esac
10924:        ;;
10925:      esac
10926: 
10927: fi
10928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
10929: $as_echo "$am_cv_python_pythondir" >&6; }
10930:   pythondir=$am_cv_python_pythondir
10931: 
10932: 
10933: 
10934:   pkgpythondir=\${pythondir}/$PACKAGE
10935: 
10936: 
10937:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
10938: $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
10939: if test "${am_cv_python_pyexecdir+set}" = set; then :
10940:   $as_echo_n "(cached) " >&6
10941: else
10942:   if test "x$exec_prefix" = xNONE
10943:      then
10944:        am_py_exec_prefix=$am_py_prefix
10945:      else
10946:        am_py_exec_prefix=$exec_prefix
10947:      fi
10948:      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
10949:      echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
10950:      case $am_cv_python_pyexecdir in
10951:      $am_py_exec_prefix*)
10952:        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
10953:        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
10954:        ;;
10955:      *)
10956:        case $am_py_exec_prefix in
10957:          /usr|/System*) ;;
10958:          *)
10959: 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
10960: 	   ;;
10961:        esac
10962:        ;;
10963:      esac
10964: 
10965: fi
10966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
10967: $as_echo "$am_cv_python_pyexecdir" >&6; }
10968:   pyexecdir=$am_cv_python_pyexecdir
10969: 
10970: 
10971: 
10972:   pkgpyexecdir=\${pyexecdir}/$PACKAGE
10973: 
10974: 
10975: 
10976:   fi
10977: 
10978: 
10979: 
10980:    # find python-config
10981:    PYTHON_CONFIG=`./get-python-config`
10982: 
10983:    # get site_packages
10984:    python_dir_check=`eval ./check-python-dir.py ${pythondir}`
10985: 
10986:    # get python includes
10987:    PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
10988:    old_CPPFLAGS=$CPPFLAGS
10989:    CPPFLAGS="$PYTHON_INCLUDES"
10990:    echo "Python includes: $PYTHON_INCLUDES"
10991: 
10992: 
10993:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994: /* end confdefs.h.  */
10995: #include <Python.h>
10996: int
10997: main ()
10998: {
10999: Py_InitModule3(NULL, NULL, NULL);
11000:   ;
11001:   return 0;
11002: }
11003: _ACEOF
11004: if ac_fn_c_try_compile "$LINENO"; then :
11005:   python_devel_found=yes
11006: else
11007:   python_devel_found=no
11008: fi
11009: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11010:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python development headers status: $python_devel_found" >&5
11011: $as_echo "Python development headers status: $python_devel_found" >&6; }
11012:    if test "x$python_devel_found" = "xno"; then
11013:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Python.h header or current python development environment do not compile symbols required. On debian try to install python-dev package." >&5
11014: $as_echo "$as_me: WARNING: Cannot find Python.h header or current python development environment do not compile symbols required. On debian try to install python-dev package." >&2;}
11015:    fi
11016: 
11017:    # get python flags and libs
11018:    PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags 2>/dev/null | sed -r 's/\-arch (\d|\w)+ //g'`
11019:    PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
11020: 
11021: 
11022: 
11023:    # check python_install_dir and pythondir maches
11024:    python_dir_temp=`eval echo ${pythondir}`
11025:    # check python_install_dir and pythondir maches
11026:    if test "$python_dir_check" != "ok" ; then
11027:       as_fn_error $? "ERROR: pythondir variable is poiting to an unusable location: $python_dir_temp. Error detected: $python_dir_check. Fix your autoconf install or disable python building, for that, pass --disable-py-vortex to configure. This usually indicates a problem with automake package which provides the _AM_PATH_PYTHON_ macro." "$LINENO" 5
11028:    fi
11029:    echo "Python install dir OK: $python_dir_temp"
11030: fi
11031:  if test "x$python_devel_found" = "xyes"; then
11032:   ENABLE_PY_AXL_TRUE=
11033:   ENABLE_PY_AXL_FALSE='#'
11034: else
11035:   ENABLE_PY_AXL_TRUE='#'
11036:   ENABLE_PY_AXL_FALSE=
11037: fi
11038: 
11039: 
11040: compiler_options=""
11041: STRICT_PROTOTYPES=""
11042: if test "$compiler" = "gcc" ; then
11043:    compiler_options="-Wstrict-prototypes -Wall -Werror -g -ansi"
11044:    echo "Detected gcc compiler: $compiler, adding options: $compiler_options"
11045: fi
11046: 
11047: 
11048: # Extract the first word of "pkg-config", so it can be a program name with args.
11049: set dummy pkg-config; ac_word=$2
11050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11051: $as_echo_n "checking for $ac_word... " >&6; }
11052: if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
11053:   $as_echo_n "(cached) " >&6
11054: else
11055:   if test -n "$PKG_CONFIG"; then
11056:   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
11057: else
11058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11059: for as_dir in $PATH
11060: do
11061:   IFS=$as_save_IFS
11062:   test -z "$as_dir" && as_dir=.
11063:     for ac_exec_ext in '' $ac_executable_extensions; do
11064:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11065:     ac_cv_prog_PKG_CONFIG=""yes""
11066:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11067:     break 2
11068:   fi
11069: done
11070:   done
11071: IFS=$as_save_IFS
11072: 
11073:   test -z "$ac_cv_prog_PKG_CONFIG" && ac_cv_prog_PKG_CONFIG=""no""
11074: fi
11075: fi
11076: PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
11077: if test -n "$PKG_CONFIG"; then
11078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11079: $as_echo "$PKG_CONFIG" >&6; }
11080: else
11081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11082: $as_echo "no" >&6; }
11083: fi
11084: 
11085: 
11086: if test "$PKG_CONFIG" = "no" ; then
11087:   as_fn_error $? "You need to install pkg-config to compile Vortex 1.1. See: http://pkgconfig.freedesktop.org/releases/" "$LINENO" 5
11088: fi
11089: 
11090: 
11091: ##########################
11092: # Check for doxygen tool #
11093: ##########################
11094: # Check whether --enable-axl-doc was given.
11095: if test "${enable_axl_doc+set}" = set; then :
11096:   enableval=$enable_axl_doc; enable_axl_doc="$enableval"
11097: else
11098:   enable_axl_doc=yes
11099: fi
11100: 
11101: if test x$enable_axl_doc = xyes ; then
11102:         # Extract the first word of "doxygen", so it can be a program name with args.
11103: set dummy doxygen; ac_word=$2
11104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11105: $as_echo_n "checking for $ac_word... " >&6; }
11106: if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
11107:   $as_echo_n "(cached) " >&6
11108: else
11109:   if test -n "$DOXYGEN"; then
11110:   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
11111: else
11112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11113: for as_dir in $PATH
11114: do
11115:   IFS=$as_save_IFS
11116:   test -z "$as_dir" && as_dir=.
11117:     for ac_exec_ext in '' $ac_executable_extensions; do
11118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11119:     ac_cv_prog_DOXYGEN=""yes""
11120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11121:     break 2
11122:   fi
11123: done
11124:   done
11125: IFS=$as_save_IFS
11126: 
11127:   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""no""
11128: fi
11129: fi
11130: DOXYGEN=$ac_cv_prog_DOXYGEN
11131: if test -n "$DOXYGEN"; then
11132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11133: $as_echo "$DOXYGEN" >&6; }
11134: else
11135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11136: $as_echo "no" >&6; }
11137: fi
11138: 
11139: 
11140: fi
11141:  if test "x$DOXYGEN" = "xyes"; then
11142:   ENABLE_AF_ARCH_DOC_TRUE=
11143:   ENABLE_AF_ARCH_DOC_FALSE='#'
11144: else
11145:   ENABLE_AF_ARCH_DOC_TRUE='#'
11146:   ENABLE_AF_ARCH_DOC_FALSE=
11147: fi
11148: 
11149: 
11150: # Check whether --enable-axl-test was given.
11151: if test "${enable_axl_test+set}" = set; then :
11152:   enableval=$enable_axl_test; enable_axl_test="$enableval"
11153: else
11154:   enable_axl_test=yes
11155: fi
11156: 
11157:  if test "x$enable_axl_test" = "xyes"; then
11158:   ENABLE_AXL_TESTS_TRUE=
11159:   ENABLE_AXL_TESTS_FALSE='#'
11160: else
11161:   ENABLE_AXL_TESTS_TRUE='#'
11162:   ENABLE_AXL_TESTS_FALSE=
11163: fi
11164: 
11165: 
11166: # Check whether --enable-axl-ns was given.
11167: if test "${enable_axl_ns+set}" = set; then :
11168:   enableval=$enable_axl_ns; enable_axl_ns="$enableval"
11169: else
11170:   enable_axl_ns=yes
11171: fi
11172: 
11173:  if test "x$enable_axl_ns" = "xyes"; then
11174:   ENABLE_AXL_NS_TRUE=
11175:   ENABLE_AXL_NS_FALSE='#'
11176: else
11177:   ENABLE_AXL_NS_TRUE='#'
11178:   ENABLE_AXL_NS_FALSE=
11179: fi
11180: 
11181: 
11182: # Check whether --enable-axl-log was given.
11183: if test "${enable_axl_log+set}" = set; then :
11184:   enableval=$enable_axl_log; enable_axl_log="$enableval"
11185: else
11186:   enable_axl_log=yes
11187: fi
11188: 
11189:  if test "x$enable_axl_log" = "xyes"; then
11190:   ENABLE_AXL_LOG_TRUE=
11191:   ENABLE_AXL_LOG_FALSE='#'
11192: else
11193:   ENABLE_AXL_LOG_TRUE='#'
11194:   ENABLE_AXL_LOG_FALSE=
11195: fi
11196: 
11197: 
11198: # Check whether --enable-axl-knife was given.
11199: if test "${enable_axl_knife+set}" = set; then :
11200:   enableval=$enable_axl_knife; enable_axl_knife="$enableval"
11201: else
11202:   enable_axl_knife=yes
11203: fi
11204: 
11205:  if test "x$enable_axl_knife" = "xyes"; then
11206:   ENABLE_AXL_KNIFE_TRUE=
11207:   ENABLE_AXL_KNIFE_FALSE='#'
11208: else
11209:   ENABLE_AXL_KNIFE_TRUE='#'
11210:   ENABLE_AXL_KNIFE_FALSE=
11211: fi
11212: 
11213: 
11214: # Check whether --enable-axl-babel was given.
11215: if test "${enable_axl_babel+set}" = set; then :
11216:   enableval=$enable_axl_babel; enable_axl_babel="$enableval"
11217: else
11218:   enable_axl_babel=yes
11219: fi
11220: 
11221:  if test "x$enable_axl_babel" = "xyes"; then
11222:   ENABLE_AXL_BABEL_TRUE=
11223:   ENABLE_AXL_BABEL_FALSE='#'
11224: else
11225:   ENABLE_AXL_BABEL_TRUE='#'
11226:   ENABLE_AXL_BABEL_FALSE=
11227: fi
11228: 
11229: 
11230: # The following command also comes to produce the axl_config.h file
11231: # required by the tool. If you update this, remember to update the
11232: # af-arch main configure.ac
11233: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234: /* end confdefs.h.  */
11235: #define _GNU_SOURCE
11236: #include <stdio.h>
11237: int
11238: main ()
11239: {
11240: 
11241:   char * result;
11242:   return vasprintf (&result, "This is a test: %d", NULL);
11243: 
11244:   ;
11245:   return 0;
11246: }
11247: _ACEOF
11248: if ac_fn_c_try_link "$LINENO"; then :
11249:   have_vasprintf=yes
11250: else
11251:   have_vasprintf=no
11252: fi
11253: rm -f core conftest.err conftest.$ac_objext \
11254:     conftest$ac_exeext conftest.$ac_ext
11255: echo "Checking vasprintf support: $have_vasprintf"
11256: 
11257: # produce axl_config.h file this section will only be run if
11258: # config.status is invoked with no arguments, or with "axl_config.h"
11259: # as an argument. Remember to update af-arch configure.ac file to
11260: # include the same script building as the following.
11261: ac_config_commands="$ac_config_commands axl_config.h"
11262: 
11263: 
11264: case $have_vasprintf in
11265: yes)
11266: 	EXARG_FLAGS="-DHAVE_VASPRINTF $EXARG_FLAGS"
11267: 	echo "vasprintf support found"
11268:      ;;
11269: esac
11270: 
11271: case $host in
11272: *-*-mingw*)
11273: 	EXARG_FLAGS="-DOS_WIN32 $EXARG_FLAGS"
11274: 	echo "windows platform found"
11275: 	;;
11276: *)
11277: 	echo "platform found: $host"
11278:     ;;
11279: esac
11280: 
11281: 
11282: SHARED_EXTENSION=$shrext_cmds
11283: 
11284: 
11285: 
11286: ac_config_files="$ac_config_files Makefile Makefile.win src/Makefile ns/Makefile doc/Makefile doc/axl-doc.doxygen babel/Makefile test/Makefile knife/Makefile py-axl/Makefile py-axl/__init__.py py-axl/doc/conf.py py-axl/doc/Makefile axl.pc axl-ns.pc axl-babel.pc"
11287: 
11288: cat >confcache <<\_ACEOF
11289: # This file is a shell script that caches the results of configure
11290: # tests run on this system so they can be shared between configure
11291: # scripts and configure runs, see configure's option --config-cache.
11292: # It is not useful on other systems.  If it contains results you don't
11293: # want to keep, you may remove or edit it.
11294: #
11295: # config.status only pays attention to the cache file if you give it
11296: # the --recheck option to rerun configure.
11297: #
11298: # `ac_cv_env_foo' variables (set or unset) will be overridden when
11299: # loading this file, other *unset* `ac_cv_foo' will be assigned the
11300: # following values.
11301: 
11302: _ACEOF
11303: 
11304: # The following way of writing the cache mishandles newlines in values,
11305: # but we know of no workaround that is simple, portable, and efficient.
11306: # So, we kill variables containing newlines.
11307: # Ultrix sh set writes to stderr and can't be redirected directly,
11308: # and sets the high bit in the cache file unless we assign to the vars.
11309: (
11310:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11311:     eval ac_val=\$$ac_var
11312:     case $ac_val in #(
11313:     *${as_nl}*)
11314:       case $ac_var in #(
11315:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11316: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11317:       esac
11318:       case $ac_var in #(
11319:       _ | IFS | as_nl) ;; #(
11320:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11321:       *) { eval $ac_var=; unset $ac_var;} ;;
11322:       esac ;;
11323:     esac
11324:   done
11325: 
11326:   (set) 2>&1 |
11327:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11328:     *${as_nl}ac_space=\ *)
11329:       # `set' does not quote correctly, so add quotes: double-quote
11330:       # substitution turns \\\\ into \\, and sed turns \\ into \.
11331:       sed -n \
11332: 	"s/'/'\\\\''/g;
11333: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11334:       ;; #(
11335:     *)
11336:       # `set' quotes correctly as required by POSIX, so do not add quotes.
11337:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11338:       ;;
11339:     esac |
11340:     sort
11341: ) |
11342:   sed '
11343:      /^ac_cv_env_/b end
11344:      t clear
11345:      :clear
11346:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11347:      t end
11348:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11349:      :end' >>confcache
11350: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11351:   if test -w "$cache_file"; then
11352:     test "x$cache_file" != "x/dev/null" &&
11353:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11354: $as_echo "$as_me: updating cache $cache_file" >&6;}
11355:     cat confcache >$cache_file
11356:   else
11357:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11358: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11359:   fi
11360: fi
11361: rm -f confcache
11362: 
11363: test "x$prefix" = xNONE && prefix=$ac_default_prefix
11364: # Let make expand exec_prefix.
11365: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11366: 
11367: DEFS=-DHAVE_CONFIG_H
11368: 
11369: ac_libobjs=
11370: ac_ltlibobjs=
11371: U=
11372: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11373:   # 1. Remove the extension, and $U if already installed.
11374:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11375:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11376:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11377:   #    will be set to the directory where LIBOBJS objects are built.
11378:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11379:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11380: done
11381: LIBOBJS=$ac_libobjs
11382: 
11383: LTLIBOBJS=$ac_ltlibobjs
11384: 
11385: 
11386:  if test -n "$EXEEXT"; then
11387:   am__EXEEXT_TRUE=
11388:   am__EXEEXT_FALSE='#'
11389: else
11390:   am__EXEEXT_TRUE='#'
11391:   am__EXEEXT_FALSE=
11392: fi
11393: 
11394: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11395:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11396: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11397: fi
11398: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11399:   as_fn_error $? "conditional \"AMDEP\" was never defined.
11400: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11401: fi
11402: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11403:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11404: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11405: fi
11406: if test -z "${ENABLE_PY_AXL_SUPPORT_TRUE}" && test -z "${ENABLE_PY_AXL_SUPPORT_FALSE}"; then
11407:   as_fn_error $? "conditional \"ENABLE_PY_AXL_SUPPORT\" was never defined.
11408: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11409: fi
11410: if test -z "${ENABLE_PY_AXL_TRUE}" && test -z "${ENABLE_PY_AXL_FALSE}"; then
11411:   as_fn_error $? "conditional \"ENABLE_PY_AXL\" was never defined.
11412: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11413: fi
11414: if test -z "${ENABLE_AF_ARCH_DOC_TRUE}" && test -z "${ENABLE_AF_ARCH_DOC_FALSE}"; then
11415:   as_fn_error $? "conditional \"ENABLE_AF_ARCH_DOC\" was never defined.
11416: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11417: fi
11418: if test -z "${ENABLE_AXL_TESTS_TRUE}" && test -z "${ENABLE_AXL_TESTS_FALSE}"; then
11419:   as_fn_error $? "conditional \"ENABLE_AXL_TESTS\" was never defined.
11420: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11421: fi
11422: if test -z "${ENABLE_AXL_NS_TRUE}" && test -z "${ENABLE_AXL_NS_FALSE}"; then
11423:   as_fn_error $? "conditional \"ENABLE_AXL_NS\" was never defined.
11424: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11425: fi
11426: if test -z "${ENABLE_AXL_LOG_TRUE}" && test -z "${ENABLE_AXL_LOG_FALSE}"; then
11427:   as_fn_error $? "conditional \"ENABLE_AXL_LOG\" was never defined.
11428: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11429: fi
11430: if test -z "${ENABLE_AXL_KNIFE_TRUE}" && test -z "${ENABLE_AXL_KNIFE_FALSE}"; then
11431:   as_fn_error $? "conditional \"ENABLE_AXL_KNIFE\" was never defined.
11432: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11433: fi
11434: if test -z "${ENABLE_AXL_BABEL_TRUE}" && test -z "${ENABLE_AXL_BABEL_FALSE}"; then
11435:   as_fn_error $? "conditional \"ENABLE_AXL_BABEL\" was never defined.
11436: Usually this means the macro was only invoked conditionally." "$LINENO" 5
11437: fi
11438: 
11439: : ${CONFIG_STATUS=./config.status}
11440: ac_write_fail=0
11441: ac_clean_files_save=$ac_clean_files
11442: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11443: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11444: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11445: as_write_fail=0
11446: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11447: #! $SHELL
11448: # Generated by $as_me.
11449: # Run this file to recreate the current configuration.
11450: # Compiler output produced by configure, useful for debugging
11451: # configure, is in config.log if it exists.
11452: 
11453: debug=false
11454: ac_cs_recheck=false
11455: ac_cs_silent=false
11456: 
11457: SHELL=\${CONFIG_SHELL-$SHELL}
11458: export SHELL
11459: _ASEOF
11460: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11461: ## -------------------- ##
11462: ## M4sh Initialization. ##
11463: ## -------------------- ##
11464: 
11465: # Be more Bourne compatible
11466: DUALCASE=1; export DUALCASE # for MKS sh
11467: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11468:   emulate sh
11469:   NULLCMD=:
11470:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11471:   # is contrary to our usage.  Disable this feature.
11472:   alias -g '${1+"$@"}'='"$@"'
11473:   setopt NO_GLOB_SUBST
11474: else
11475:   case `(set -o) 2>/dev/null` in #(
11476:   *posix*) :
11477:     set -o posix ;; #(
11478:   *) :
11479:      ;;
11480: esac
11481: fi
11482: 
11483: 
11484: as_nl='
11485: '
11486: export as_nl
11487: # Printing a long string crashes Solaris 7 /usr/bin/printf.
11488: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11489: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11490: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11491: # Prefer a ksh shell builtin over an external printf program on Solaris,
11492: # but without wasting forks for bash or zsh.
11493: if test -z "$BASH_VERSION$ZSH_VERSION" \
11494:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11495:   as_echo='print -r --'
11496:   as_echo_n='print -rn --'
11497: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11498:   as_echo='printf %s\n'
11499:   as_echo_n='printf %s'
11500: else
11501:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11502:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11503:     as_echo_n='/usr/ucb/echo -n'
11504:   else
11505:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11506:     as_echo_n_body='eval
11507:       arg=$1;
11508:       case $arg in #(
11509:       *"$as_nl"*)
11510: 	expr "X$arg" : "X\\(.*\\)$as_nl";
11511: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11512:       esac;
11513:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11514:     '
11515:     export as_echo_n_body
11516:     as_echo_n='sh -c $as_echo_n_body as_echo'
11517:   fi
11518:   export as_echo_body
11519:   as_echo='sh -c $as_echo_body as_echo'
11520: fi
11521: 
11522: # The user is always right.
11523: if test "${PATH_SEPARATOR+set}" != set; then
11524:   PATH_SEPARATOR=:
11525:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11526:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11527:       PATH_SEPARATOR=';'
11528:   }
11529: fi
11530: 
11531: 
11532: # IFS
11533: # We need space, tab and new line, in precisely that order.  Quoting is
11534: # there to prevent editors from complaining about space-tab.
11535: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11536: # splitting by setting IFS to empty value.)
11537: IFS=" ""	$as_nl"
11538: 
11539: # Find who we are.  Look in the path if we contain no directory separator.
11540: case $0 in #((
11541:   *[\\/]* ) as_myself=$0 ;;
11542:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543: for as_dir in $PATH
11544: do
11545:   IFS=$as_save_IFS
11546:   test -z "$as_dir" && as_dir=.
11547:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11548:   done
11549: IFS=$as_save_IFS
11550: 
11551:      ;;
11552: esac
11553: # We did not find ourselves, most probably we were run as `sh COMMAND'
11554: # in which case we are not to be found in the path.
11555: if test "x$as_myself" = x; then
11556:   as_myself=$0
11557: fi
11558: if test ! -f "$as_myself"; then
11559:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11560:   exit 1
11561: fi
11562: 
11563: # Unset variables that we do not need and which cause bugs (e.g. in
11564: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11565: # suppresses any "Segmentation fault" message there.  '((' could
11566: # trigger a bug in pdksh 5.2.14.
11567: for as_var in BASH_ENV ENV MAIL MAILPATH
11568: do eval test x\${$as_var+set} = xset \
11569:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11570: done
11571: PS1='$ '
11572: PS2='> '
11573: PS4='+ '
11574: 
11575: # NLS nuisances.
11576: LC_ALL=C
11577: export LC_ALL
11578: LANGUAGE=C
11579: export LANGUAGE
11580: 
11581: # CDPATH.
11582: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11583: 
11584: 
11585: # as_fn_error STATUS ERROR [LINENO LOG_FD]
11586: # ----------------------------------------
11587: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11588: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11589: # script with STATUS, using 1 if that was 0.
11590: as_fn_error ()
11591: {
11592:   as_status=$1; test $as_status -eq 0 && as_status=1
11593:   if test "$4"; then
11594:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11595:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11596:   fi
11597:   $as_echo "$as_me: error: $2" >&2
11598:   as_fn_exit $as_status
11599: } # as_fn_error
11600: 
11601: 
11602: # as_fn_set_status STATUS
11603: # -----------------------
11604: # Set $? to STATUS, without forking.
11605: as_fn_set_status ()
11606: {
11607:   return $1
11608: } # as_fn_set_status
11609: 
11610: # as_fn_exit STATUS
11611: # -----------------
11612: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11613: as_fn_exit ()
11614: {
11615:   set +e
11616:   as_fn_set_status $1
11617:   exit $1
11618: } # as_fn_exit
11619: 
11620: # as_fn_unset VAR
11621: # ---------------
11622: # Portably unset VAR.
11623: as_fn_unset ()
11624: {
11625:   { eval $1=; unset $1;}
11626: }
11627: as_unset=as_fn_unset
11628: # as_fn_append VAR VALUE
11629: # ----------------------
11630: # Append the text in VALUE to the end of the definition contained in VAR. Take
11631: # advantage of any shell optimizations that allow amortized linear growth over
11632: # repeated appends, instead of the typical quadratic growth present in naive
11633: # implementations.
11634: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11635:   eval 'as_fn_append ()
11636:   {
11637:     eval $1+=\$2
11638:   }'
11639: else
11640:   as_fn_append ()
11641:   {
11642:     eval $1=\$$1\$2
11643:   }
11644: fi # as_fn_append
11645: 
11646: # as_fn_arith ARG...
11647: # ------------------
11648: # Perform arithmetic evaluation on the ARGs, and store the result in the
11649: # global $as_val. Take advantage of shells that can avoid forks. The arguments
11650: # must be portable across $(()) and expr.
11651: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11652:   eval 'as_fn_arith ()
11653:   {
11654:     as_val=$(( $* ))
11655:   }'
11656: else
11657:   as_fn_arith ()
11658:   {
11659:     as_val=`expr "$@" || test $? -eq 1`
11660:   }
11661: fi # as_fn_arith
11662: 
11663: 
11664: if expr a : '\(a\)' >/dev/null 2>&1 &&
11665:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11666:   as_expr=expr
11667: else
11668:   as_expr=false
11669: fi
11670: 
11671: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11672:   as_basename=basename
11673: else
11674:   as_basename=false
11675: fi
11676: 
11677: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11678:   as_dirname=dirname
11679: else
11680:   as_dirname=false
11681: fi
11682: 
11683: as_me=`$as_basename -- "$0" ||
11684: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11685: 	 X"$0" : 'X\(//\)$' \| \
11686: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11687: $as_echo X/"$0" |
11688:     sed '/^.*\/\([^/][^/]*\)\/*$/{
11689: 	    s//\1/
11690: 	    q
11691: 	  }
11692: 	  /^X\/\(\/\/\)$/{
11693: 	    s//\1/
11694: 	    q
11695: 	  }
11696: 	  /^X\/\(\/\).*/{
11697: 	    s//\1/
11698: 	    q
11699: 	  }
11700: 	  s/.*/./; q'`
11701: 
11702: # Avoid depending upon Character Ranges.
11703: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11704: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11705: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11706: as_cr_digits='0123456789'
11707: as_cr_alnum=$as_cr_Letters$as_cr_digits
11708: 
11709: ECHO_C= ECHO_N= ECHO_T=
11710: case `echo -n x` in #(((((
11711: -n*)
11712:   case `echo 'xy\c'` in
11713:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11714:   xy)  ECHO_C='\c';;
11715:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11716:        ECHO_T='	';;
11717:   esac;;
11718: *)
11719:   ECHO_N='-n';;
11720: esac
11721: 
11722: rm -f conf$$ conf$$.exe conf$$.file
11723: if test -d conf$$.dir; then
11724:   rm -f conf$$.dir/conf$$.file
11725: else
11726:   rm -f conf$$.dir
11727:   mkdir conf$$.dir 2>/dev/null
11728: fi
11729: if (echo >conf$$.file) 2>/dev/null; then
11730:   if ln -s conf$$.file conf$$ 2>/dev/null; then
11731:     as_ln_s='ln -s'
11732:     # ... but there are two gotchas:
11733:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11734:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11735:     # In both cases, we have to default to `cp -p'.
11736:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11737:       as_ln_s='cp -p'
11738:   elif ln conf$$.file conf$$ 2>/dev/null; then
11739:     as_ln_s=ln
11740:   else
11741:     as_ln_s='cp -p'
11742:   fi
11743: else
11744:   as_ln_s='cp -p'
11745: fi
11746: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11747: rmdir conf$$.dir 2>/dev/null
11748: 
11749: 
11750: # as_fn_mkdir_p
11751: # -------------
11752: # Create "$as_dir" as a directory, including parents if necessary.
11753: as_fn_mkdir_p ()
11754: {
11755: 
11756:   case $as_dir in #(
11757:   -*) as_dir=./$as_dir;;
11758:   esac
11759:   test -d "$as_dir" || eval $as_mkdir_p || {
11760:     as_dirs=
11761:     while :; do
11762:       case $as_dir in #(
11763:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11764:       *) as_qdir=$as_dir;;
11765:       esac
11766:       as_dirs="'$as_qdir' $as_dirs"
11767:       as_dir=`$as_dirname -- "$as_dir" ||
11768: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11769: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
11770: 	 X"$as_dir" : 'X\(//\)$' \| \
11771: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11772: $as_echo X"$as_dir" |
11773:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11774: 	    s//\1/
11775: 	    q
11776: 	  }
11777: 	  /^X\(\/\/\)[^/].*/{
11778: 	    s//\1/
11779: 	    q
11780: 	  }
11781: 	  /^X\(\/\/\)$/{
11782: 	    s//\1/
11783: 	    q
11784: 	  }
11785: 	  /^X\(\/\).*/{
11786: 	    s//\1/
11787: 	    q
11788: 	  }
11789: 	  s/.*/./; q'`
11790:       test -d "$as_dir" && break
11791:     done
11792:     test -z "$as_dirs" || eval "mkdir $as_dirs"
11793:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11794: 
11795: 
11796: } # as_fn_mkdir_p
11797: if mkdir -p . 2>/dev/null; then
11798:   as_mkdir_p='mkdir -p "$as_dir"'
11799: else
11800:   test -d ./-p && rmdir ./-p
11801:   as_mkdir_p=false
11802: fi
11803: 
11804: if test -x / >/dev/null 2>&1; then
11805:   as_test_x='test -x'
11806: else
11807:   if ls -dL / >/dev/null 2>&1; then
11808:     as_ls_L_option=L
11809:   else
11810:     as_ls_L_option=
11811:   fi
11812:   as_test_x='
11813:     eval sh -c '\''
11814:       if test -d "$1"; then
11815: 	test -d "$1/.";
11816:       else
11817: 	case $1 in #(
11818: 	-*)set "./$1";;
11819: 	esac;
11820: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11821: 	???[sx]*):;;*)false;;esac;fi
11822:     '\'' sh
11823:   '
11824: fi
11825: as_executable_p=$as_test_x
11826: 
11827: # Sed expression to map a string onto a valid CPP name.
11828: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11829: 
11830: # Sed expression to map a string onto a valid variable name.
11831: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11832: 
11833: 
11834: exec 6>&1
11835: ## ----------------------------------- ##
11836: ## Main body of $CONFIG_STATUS script. ##
11837: ## ----------------------------------- ##
11838: _ASEOF
11839: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11840: 
11841: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11842: # Save the log message, to keep $0 and so on meaningful, and to
11843: # report actual input values of CONFIG_FILES etc. instead of their
11844: # values after options handling.
11845: ac_log="
11846: This file was extended by $as_me, which was
11847: generated by GNU Autoconf 2.67.  Invocation command line was
11848: 
11849:   CONFIG_FILES    = $CONFIG_FILES
11850:   CONFIG_HEADERS  = $CONFIG_HEADERS
11851:   CONFIG_LINKS    = $CONFIG_LINKS
11852:   CONFIG_COMMANDS = $CONFIG_COMMANDS
11853:   $ $0 $@
11854: 
11855: on `(hostname || uname -n) 2>/dev/null | sed 1q`
11856: "
11857: 
11858: _ACEOF
11859: 
11860: case $ac_config_files in *"
11861: "*) set x $ac_config_files; shift; ac_config_files=$*;;
11862: esac
11863: 
11864: case $ac_config_headers in *"
11865: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11866: esac
11867: 
11868: 
11869: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11870: # Files that config.status was made for.
11871: config_files="$ac_config_files"
11872: config_headers="$ac_config_headers"
11873: config_commands="$ac_config_commands"
11874: 
11875: _ACEOF
11876: 
11877: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11878: ac_cs_usage="\
11879: \`$as_me' instantiates files and other configuration actions
11880: from templates according to the current configuration.  Unless the files
11881: and actions are specified as TAGs, all are instantiated by default.
11882: 
11883: Usage: $0 [OPTION]... [TAG]...
11884: 
11885:   -h, --help       print this help, then exit
11886:   -V, --version    print version number and configuration settings, then exit
11887:       --config     print configuration, then exit
11888:   -q, --quiet, --silent
11889:                    do not print progress messages
11890:   -d, --debug      don't remove temporary files
11891:       --recheck    update $as_me by reconfiguring in the same conditions
11892:       --file=FILE[:TEMPLATE]
11893:                    instantiate the configuration file FILE
11894:       --header=FILE[:TEMPLATE]
11895:                    instantiate the configuration header FILE
11896: 
11897: Configuration files:
11898: $config_files
11899: 
11900: Configuration headers:
11901: $config_headers
11902: 
11903: Configuration commands:
11904: $config_commands
11905: 
11906: Report bugs to the package provider."
11907: 
11908: _ACEOF
11909: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11910: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11911: ac_cs_version="\\
11912: config.status
11913: configured by $0, generated by GNU Autoconf 2.67,
11914:   with options \\"\$ac_cs_config\\"
11915: 
11916: Copyright (C) 2010 Free Software Foundation, Inc.
11917: This config.status script is free software; the Free Software Foundation
11918: gives unlimited permission to copy, distribute and modify it."
11919: 
11920: ac_pwd='$ac_pwd'
11921: srcdir='$srcdir'
11922: INSTALL='$INSTALL'
11923: MKDIR_P='$MKDIR_P'
11924: AWK='$AWK'
11925: test -n "\$AWK" || AWK=awk
11926: _ACEOF
11927: 
11928: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11929: # The default lists apply if the user does not specify any file.
11930: ac_need_defaults=:
11931: while test $# != 0
11932: do
11933:   case $1 in
11934:   --*=?*)
11935:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
11936:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11937:     ac_shift=:
11938:     ;;
11939:   --*=)
11940:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
11941:     ac_optarg=
11942:     ac_shift=:
11943:     ;;
11944:   *)
11945:     ac_option=$1
11946:     ac_optarg=$2
11947:     ac_shift=shift
11948:     ;;
11949:   esac
11950: 
11951:   case $ac_option in
11952:   # Handling of the options.
11953:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11954:     ac_cs_recheck=: ;;
11955:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11956:     $as_echo "$ac_cs_version"; exit ;;
11957:   --config | --confi | --conf | --con | --co | --c )
11958:     $as_echo "$ac_cs_config"; exit ;;
11959:   --debug | --debu | --deb | --de | --d | -d )
11960:     debug=: ;;
11961:   --file | --fil | --fi | --f )
11962:     $ac_shift
11963:     case $ac_optarg in
11964:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11965:     '') as_fn_error $? "missing file argument" ;;
11966:     esac
11967:     as_fn_append CONFIG_FILES " '$ac_optarg'"
11968:     ac_need_defaults=false;;
11969:   --header | --heade | --head | --hea )
11970:     $ac_shift
11971:     case $ac_optarg in
11972:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11973:     esac
11974:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11975:     ac_need_defaults=false;;
11976:   --he | --h)
11977:     # Conflict between --help and --header
11978:     as_fn_error $? "ambiguous option: \`$1'
11979: Try \`$0 --help' for more information.";;
11980:   --help | --hel | -h )
11981:     $as_echo "$ac_cs_usage"; exit ;;
11982:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11983:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
11984:     ac_cs_silent=: ;;
11985: 
11986:   # This is an error.
11987:   -*) as_fn_error $? "unrecognized option: \`$1'
11988: Try \`$0 --help' for more information." ;;
11989: 
11990:   *) as_fn_append ac_config_targets " $1"
11991:      ac_need_defaults=false ;;
11992: 
11993:   esac
11994:   shift
11995: done
11996: 
11997: ac_configure_extra_args=
11998: 
11999: if $ac_cs_silent; then
12000:   exec 6>/dev/null
12001:   ac_configure_extra_args="$ac_configure_extra_args --silent"
12002: fi
12003: 
12004: _ACEOF
12005: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12006: if \$ac_cs_recheck; then
12007:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12008:   shift
12009:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12010:   CONFIG_SHELL='$SHELL'
12011:   export CONFIG_SHELL
12012:   exec "\$@"
12013: fi
12014: 
12015: _ACEOF
12016: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12017: exec 5>>config.log
12018: {
12019:   echo
12020:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12021: ## Running $as_me. ##
12022: _ASBOX
12023:   $as_echo "$ac_log"
12024: } >&5
12025: 
12026: _ACEOF
12027: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12028: #
12029: # INIT-COMMANDS
12030: #
12031: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12032: 
12033: 
12034: # The HP-UX ksh and POSIX shell print the target directory to stdout
12035: # if CDPATH is set.
12036: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12037: 
12038: sed_quote_subst='$sed_quote_subst'
12039: double_quote_subst='$double_quote_subst'
12040: delay_variable_subst='$delay_variable_subst'
12041: macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12042: macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12043: enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12044: enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12045: pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12046: enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12047: host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12048: host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12049: host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12050: build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12051: build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12052: build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12053: SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12054: Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12055: GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12056: EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12057: FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12058: LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12059: NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12060: LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12061: max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12062: ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12063: exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12064: lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12065: lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12066: lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12067: reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12068: reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12069: OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12070: deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12071: file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12072: AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12073: AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12074: STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12075: RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12076: old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12077: old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12078: old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12079: CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12080: CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12081: compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12082: GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12083: lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12084: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12085: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12086: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12087: objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12088: SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12089: ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12090: MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12091: lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12092: lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12093: lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12094: lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12095: lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12096: need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12097: DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12098: NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12099: LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12100: OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12101: OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12102: libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12103: shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12104: extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12105: archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12106: enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12107: export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12108: whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12109: compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12110: old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12111: old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12112: archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12113: archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12114: module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12115: module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12116: with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12117: allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12118: no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12119: hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12120: hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12121: hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12122: hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12123: hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12124: hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12125: hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12126: hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12127: inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12128: link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12129: fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12130: always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12131: export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12132: exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12133: include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12134: prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12135: file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12136: variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12137: need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12138: need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12139: version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12140: runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12141: shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12142: shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12143: libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12144: library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12145: soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12146: postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12147: postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12148: finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12149: finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12150: hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12151: sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12152: sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12153: hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12154: enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12155: enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12156: enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12157: old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12158: striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12159: 
12160: LTCC='$LTCC'
12161: LTCFLAGS='$LTCFLAGS'
12162: compiler='$compiler_DEFAULT'
12163: 
12164: # Quote evaled strings.
12165: for var in SED \
12166: GREP \
12167: EGREP \
12168: FGREP \
12169: LD \
12170: NM \
12171: LN_S \
12172: lt_SP2NL \
12173: lt_NL2SP \
12174: reload_flag \
12175: OBJDUMP \
12176: deplibs_check_method \
12177: file_magic_cmd \
12178: AR \
12179: AR_FLAGS \
12180: STRIP \
12181: RANLIB \
12182: CC \
12183: CFLAGS \
12184: compiler \
12185: lt_cv_sys_global_symbol_pipe \
12186: lt_cv_sys_global_symbol_to_cdecl \
12187: lt_cv_sys_global_symbol_to_c_name_address \
12188: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12189: SHELL \
12190: ECHO \
12191: lt_prog_compiler_no_builtin_flag \
12192: lt_prog_compiler_wl \
12193: lt_prog_compiler_pic \
12194: lt_prog_compiler_static \
12195: lt_cv_prog_compiler_c_o \
12196: need_locks \
12197: DSYMUTIL \
12198: NMEDIT \
12199: LIPO \
12200: OTOOL \
12201: OTOOL64 \
12202: shrext_cmds \
12203: export_dynamic_flag_spec \
12204: whole_archive_flag_spec \
12205: compiler_needs_object \
12206: with_gnu_ld \
12207: allow_undefined_flag \
12208: no_undefined_flag \
12209: hardcode_libdir_flag_spec \
12210: hardcode_libdir_flag_spec_ld \
12211: hardcode_libdir_separator \
12212: fix_srcfile_path \
12213: exclude_expsyms \
12214: include_expsyms \
12215: file_list_spec \
12216: variables_saved_for_relink \
12217: libname_spec \
12218: library_names_spec \
12219: soname_spec \
12220: finish_eval \
12221: old_striplib \
12222: striplib; do
12223:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12224:     *[\\\\\\\`\\"\\\$]*)
12225:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12226:       ;;
12227:     *)
12228:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12229:       ;;
12230:     esac
12231: done
12232: 
12233: # Double-quote double-evaled strings.
12234: for var in reload_cmds \
12235: old_postinstall_cmds \
12236: old_postuninstall_cmds \
12237: old_archive_cmds \
12238: extract_expsyms_cmds \
12239: old_archive_from_new_cmds \
12240: old_archive_from_expsyms_cmds \
12241: archive_cmds \
12242: archive_expsym_cmds \
12243: module_cmds \
12244: module_expsym_cmds \
12245: export_symbols_cmds \
12246: prelink_cmds \
12247: postinstall_cmds \
12248: postuninstall_cmds \
12249: finish_cmds \
12250: sys_lib_search_path_spec \
12251: sys_lib_dlsearch_path_spec; do
12252:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12253:     *[\\\\\\\`\\"\\\$]*)
12254:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12255:       ;;
12256:     *)
12257:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12258:       ;;
12259:     esac
12260: done
12261: 
12262: # Fix-up fallback echo if it was mangled by the above quoting rules.
12263: case \$lt_ECHO in
12264: *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12265:   ;;
12266: esac
12267: 
12268: ac_aux_dir='$ac_aux_dir'
12269: xsi_shell='$xsi_shell'
12270: lt_shell_append='$lt_shell_append'
12271: 
12272: # See if we are running on zsh, and set the options which allow our
12273: # commands through without removal of \ escapes INIT.
12274: if test -n "\${ZSH_VERSION+set}" ; then
12275:    setopt NO_GLOB_SUBST
12276: fi
12277: 
12278: 
12279:     PACKAGE='$PACKAGE'
12280:     VERSION='$VERSION'
12281:     TIMESTAMP='$TIMESTAMP'
12282:     RM='$RM'
12283:     ofile='$ofile'
12284: 
12285: 
12286: 
12287: 
12288: 
12289: # Check size of void pointer against the size of a single
12290: # integer. This will allow us to know if we can cast directly a
12291: # integer to pointer and viceversa.
12292: case $ac_cv_sizeof_void_p in
12293: $ac_cv_sizeof_int)  	pti_cast=''        ptui_cast=''                ;;
12294: $ac_cv_sizeof_long) 	pti_cast='(long)'  ptui_cast='(unsigned long)' ;;
12295: *) 			pti_unknown_void_p=yes                         ;;
12296: esac
12297: 
12298: # Get current configure for the platform and the os we are running.
12299: echo "Host detected: $host"
12300: case $host in
12301:   *-*-beos*)
12302:     axl_platform="#define AXL_OS_BEOS (1)"
12303:     ;;
12304:   *-*-cygwin*)
12305:     axl_platform="#define AXL_OS_UNIX (1)
12306: #define AXL_PLATFORM_WIN32 (1)
12307: #define AXL_WITH_CYGWIN (1)"
12308:     ;;
12309:   *-*-mingw*)
12310:     axl_platform="#define AXL_OS_WIN32 (1)
12311: #define AXL_PLATFORM_WIN32 (1)"
12312:     ;;
12313:   *)
12314:     axl_platform="#define AXL_OS_UNIX (1)"
12315:     ;;
12316: esac
12317: 
12318: case $have_vasprintf in
12319: yes)
12320:      vasprintf_status="/**
12321:  * @internal Allows to now if the platform support vasprintf
12322:  * function. Do not use this macro as it is supposed to be for
12323:  * internal use.
12324:  */
12325: #define AXL_HAVE_VASPRINTF (1)"
12326:      ;;
12327: no)
12328:      vasprintf_status=""
12329:      ;;
12330: esac
12331: 
12332: 
12333: 
12334: _ACEOF
12335: 
12336: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12337: 
12338: # Handling of arguments.
12339: for ac_config_target in $ac_config_targets
12340: do
12341:   case $ac_config_target in
12342:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12343:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12344:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12345:     "axl_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS axl_config.h" ;;
12346:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12347:     "Makefile.win") CONFIG_FILES="$CONFIG_FILES Makefile.win" ;;
12348:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12349:     "ns/Makefile") CONFIG_FILES="$CONFIG_FILES ns/Makefile" ;;
12350:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12351:     "doc/axl-doc.doxygen") CONFIG_FILES="$CONFIG_FILES doc/axl-doc.doxygen" ;;
12352:     "babel/Makefile") CONFIG_FILES="$CONFIG_FILES babel/Makefile" ;;
12353:     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12354:     "knife/Makefile") CONFIG_FILES="$CONFIG_FILES knife/Makefile" ;;
12355:     "py-axl/Makefile") CONFIG_FILES="$CONFIG_FILES py-axl/Makefile" ;;
12356:     "py-axl/__init__.py") CONFIG_FILES="$CONFIG_FILES py-axl/__init__.py" ;;
12357:     "py-axl/doc/conf.py") CONFIG_FILES="$CONFIG_FILES py-axl/doc/conf.py" ;;
12358:     "py-axl/doc/Makefile") CONFIG_FILES="$CONFIG_FILES py-axl/doc/Makefile" ;;
12359:     "axl.pc") CONFIG_FILES="$CONFIG_FILES axl.pc" ;;
12360:     "axl-ns.pc") CONFIG_FILES="$CONFIG_FILES axl-ns.pc" ;;
12361:     "axl-babel.pc") CONFIG_FILES="$CONFIG_FILES axl-babel.pc" ;;
12362: 
12363:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12364:   esac
12365: done
12366: 
12367: 
12368: # If the user did not use the arguments to specify the items to instantiate,
12369: # then the envvar interface is used.  Set only those that are not.
12370: # We use the long form for the default assignment because of an extremely
12371: # bizarre bug on SunOS 4.1.3.
12372: if $ac_need_defaults; then
12373:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12374:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12375:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12376: fi
12377: 
12378: # Have a temporary directory for convenience.  Make it in the build tree
12379: # simply because there is no reason against having it here, and in addition,
12380: # creating and moving files from /tmp can sometimes cause problems.
12381: # Hook for its removal unless debugging.
12382: # Note that there is a small window in which the directory will not be cleaned:
12383: # after its creation but before its name has been assigned to `$tmp'.
12384: $debug ||
12385: {
12386:   tmp=
12387:   trap 'exit_status=$?
12388:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12389: ' 0
12390:   trap 'as_fn_exit 1' 1 2 13 15
12391: }
12392: # Create a (secure) tmp directory for tmp files.
12393: 
12394: {
12395:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12396:   test -n "$tmp" && test -d "$tmp"
12397: }  ||
12398: {
12399:   tmp=./conf$$-$RANDOM
12400:   (umask 077 && mkdir "$tmp")
12401: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12402: 
12403: # Set up the scripts for CONFIG_FILES section.
12404: # No need to generate them if there are no CONFIG_FILES.
12405: # This happens for instance with `./config.status config.h'.
12406: if test -n "$CONFIG_FILES"; then
12407: 
12408: 
12409: ac_cr=`echo X | tr X '\015'`
12410: # On cygwin, bash can eat \r inside `` if the user requested igncr.
12411: # But we know of no other shell where ac_cr would be empty at this
12412: # point, so we can use a bashism as a fallback.
12413: if test "x$ac_cr" = x; then
12414:   eval ac_cr=\$\'\\r\'
12415: fi
12416: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12417: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12418:   ac_cs_awk_cr='\\r'
12419: else
12420:   ac_cs_awk_cr=$ac_cr
12421: fi
12422: 
12423: echo 'BEGIN {' >"$tmp/subs1.awk" &&
12424: _ACEOF
12425: 
12426: 
12427: {
12428:   echo "cat >conf$$subs.awk <<_ACEOF" &&
12429:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12430:   echo "_ACEOF"
12431: } >conf$$subs.sh ||
12432:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12433: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12434: ac_delim='%!_!# '
12435: for ac_last_try in false false false false false :; do
12436:   . ./conf$$subs.sh ||
12437:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12438: 
12439:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12440:   if test $ac_delim_n = $ac_delim_num; then
12441:     break
12442:   elif $ac_last_try; then
12443:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12444:   else
12445:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12446:   fi
12447: done
12448: rm -f conf$$subs.sh
12449: 
12450: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12451: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12452: _ACEOF
12453: sed -n '
12454: h
12455: s/^/S["/; s/!.*/"]=/
12456: p
12457: g
12458: s/^[^!]*!//
12459: :repl
12460: t repl
12461: s/'"$ac_delim"'$//
12462: t delim
12463: :nl
12464: h
12465: s/\(.\{148\}\)..*/\1/
12466: t more1
12467: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12468: p
12469: n
12470: b repl
12471: :more1
12472: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12473: p
12474: g
12475: s/.\{148\}//
12476: t nl
12477: :delim
12478: h
12479: s/\(.\{148\}\)..*/\1/
12480: t more2
12481: s/["\\]/\\&/g; s/^/"/; s/$/"/
12482: p
12483: b
12484: :more2
12485: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12486: p
12487: g
12488: s/.\{148\}//
12489: t delim
12490: ' <conf$$subs.awk | sed '
12491: /^[^""]/{
12492:   N
12493:   s/\n//
12494: }
12495: ' >>$CONFIG_STATUS || ac_write_fail=1
12496: rm -f conf$$subs.awk
12497: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12498: _ACAWK
12499: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12500:   for (key in S) S_is_set[key] = 1
12501:   FS = ""
12502: 
12503: }
12504: {
12505:   line = $ 0
12506:   nfields = split(line, field, "@")
12507:   substed = 0
12508:   len = length(field[1])
12509:   for (i = 2; i < nfields; i++) {
12510:     key = field[i]
12511:     keylen = length(key)
12512:     if (S_is_set[key]) {
12513:       value = S[key]
12514:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12515:       len += length(value) + length(field[++i])
12516:       substed = 1
12517:     } else
12518:       len += 1 + keylen
12519:   }
12520: 
12521:   print line
12522: }
12523: 
12524: _ACAWK
12525: _ACEOF
12526: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12527: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12528:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12529: else
12530:   cat
12531: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12532:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12533: _ACEOF
12534: 
12535: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12536: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12537: # trailing colons and then remove the whole line if VPATH becomes empty
12538: # (actually we leave an empty line to preserve line numbers).
12539: if test "x$srcdir" = x.; then
12540:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
12541: h
12542: s///
12543: s/^/:/
12544: s/[	 ]*$/:/
12545: s/:\$(srcdir):/:/g
12546: s/:\${srcdir}:/:/g
12547: s/:@srcdir@:/:/g
12548: s/^:*//
12549: s/:*$//
12550: x
12551: s/\(=[	 ]*\).*/\1/
12552: G
12553: s/\n//
12554: s/^[^=]*=[	 ]*$//
12555: }'
12556: fi
12557: 
12558: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12559: fi # test -n "$CONFIG_FILES"
12560: 
12561: # Set up the scripts for CONFIG_HEADERS section.
12562: # No need to generate them if there are no CONFIG_HEADERS.
12563: # This happens for instance with `./config.status Makefile'.
12564: if test -n "$CONFIG_HEADERS"; then
12565: cat >"$tmp/defines.awk" <<\_ACAWK ||
12566: BEGIN {
12567: _ACEOF
12568: 
12569: # Transform confdefs.h into an awk script `defines.awk', embedded as
12570: # here-document in config.status, that substitutes the proper values into
12571: # config.h.in to produce config.h.
12572: 
12573: # Create a delimiter string that does not exist in confdefs.h, to ease
12574: # handling of long lines.
12575: ac_delim='%!_!# '
12576: for ac_last_try in false false :; do
12577:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12578:   if test -z "$ac_t"; then
12579:     break
12580:   elif $ac_last_try; then
12581:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12582:   else
12583:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12584:   fi
12585: done
12586: 
12587: # For the awk script, D is an array of macro values keyed by name,
12588: # likewise P contains macro parameters if any.  Preserve backslash
12589: # newline sequences.
12590: 
12591: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12592: sed -n '
12593: s/.\{148\}/&'"$ac_delim"'/g
12594: t rset
12595: :rset
12596: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12597: t def
12598: d
12599: :def
12600: s/\\$//
12601: t bsnl
12602: s/["\\]/\\&/g
12603: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12604: D["\1"]=" \3"/p
12605: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12606: d
12607: :bsnl
12608: s/["\\]/\\&/g
12609: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12610: D["\1"]=" \3\\\\\\n"\\/p
12611: t cont
12612: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12613: t cont
12614: d
12615: :cont
12616: n
12617: s/.\{148\}/&'"$ac_delim"'/g
12618: t clear
12619: :clear
12620: s/\\$//
12621: t bsnlc
12622: s/["\\]/\\&/g; s/^/"/; s/$/"/p
12623: d
12624: :bsnlc
12625: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12626: b cont
12627: ' <confdefs.h | sed '
12628: s/'"$ac_delim"'/"\\\
12629: "/g' >>$CONFIG_STATUS || ac_write_fail=1
12630: 
12631: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12632:   for (key in D) D_is_set[key] = 1
12633:   FS = ""
12634: }
12635: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12636:   line = \$ 0
12637:   split(line, arg, " ")
12638:   if (arg[1] == "#") {
12639:     defundef = arg[2]
12640:     mac1 = arg[3]
12641:   } else {
12642:     defundef = substr(arg[1], 2)
12643:     mac1 = arg[2]
12644:   }
12645:   split(mac1, mac2, "(") #)
12646:   macro = mac2[1]
12647:   prefix = substr(line, 1, index(line, defundef) - 1)
12648:   if (D_is_set[macro]) {
12649:     # Preserve the white space surrounding the "#".
12650:     print prefix "define", macro P[macro] D[macro]
12651:     next
12652:   } else {
12653:     # Replace #undef with comments.  This is necessary, for example,
12654:     # in the case of _POSIX_SOURCE, which is predefined and required
12655:     # on some systems where configure will not decide to define it.
12656:     if (defundef == "undef") {
12657:       print "/*", prefix defundef, macro, "*/"
12658:       next
12659:     }
12660:   }
12661: }
12662: { print }
12663: _ACAWK
12664: _ACEOF
12665: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12666:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12667: fi # test -n "$CONFIG_HEADERS"
12668: 
12669: 
12670: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12671: shift
12672: for ac_tag
12673: do
12674:   case $ac_tag in
12675:   :[FHLC]) ac_mode=$ac_tag; continue;;
12676:   esac
12677:   case $ac_mode$ac_tag in
12678:   :[FHL]*:*);;
12679:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12680:   :[FH]-) ac_tag=-:-;;
12681:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12682:   esac
12683:   ac_save_IFS=$IFS
12684:   IFS=:
12685:   set x $ac_tag
12686:   IFS=$ac_save_IFS
12687:   shift
12688:   ac_file=$1
12689:   shift
12690: 
12691:   case $ac_mode in
12692:   :L) ac_source=$1;;
12693:   :[FH])
12694:     ac_file_inputs=
12695:     for ac_f
12696:     do
12697:       case $ac_f in
12698:       -) ac_f="$tmp/stdin";;
12699:       *) # Look for the file first in the build tree, then in the source tree
12700: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12701: 	 # because $ac_f cannot contain `:'.
12702: 	 test -f "$ac_f" ||
12703: 	   case $ac_f in
12704: 	   [\\/$]*) false;;
12705: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12706: 	   esac ||
12707: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12708:       esac
12709:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12710:       as_fn_append ac_file_inputs " '$ac_f'"
12711:     done
12712: 
12713:     # Let's still pretend it is `configure' which instantiates (i.e., don't
12714:     # use $as_me), people would be surprised to read:
12715:     #    /* config.h.  Generated by config.status.  */
12716:     configure_input='Generated from '`
12717: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12718: 	`' by configure.'
12719:     if test x"$ac_file" != x-; then
12720:       configure_input="$ac_file.  $configure_input"
12721:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12722: $as_echo "$as_me: creating $ac_file" >&6;}
12723:     fi
12724:     # Neutralize special characters interpreted by sed in replacement strings.
12725:     case $configure_input in #(
12726:     *\&* | *\|* | *\\* )
12727:        ac_sed_conf_input=`$as_echo "$configure_input" |
12728:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
12729:     *) ac_sed_conf_input=$configure_input;;
12730:     esac
12731: 
12732:     case $ac_tag in
12733:     *:-:* | *:-) cat >"$tmp/stdin" \
12734:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
12735:     esac
12736:     ;;
12737:   esac
12738: 
12739:   ac_dir=`$as_dirname -- "$ac_file" ||
12740: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12741: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
12742: 	 X"$ac_file" : 'X\(//\)$' \| \
12743: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12744: $as_echo X"$ac_file" |
12745:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12746: 	    s//\1/
12747: 	    q
12748: 	  }
12749: 	  /^X\(\/\/\)[^/].*/{
12750: 	    s//\1/
12751: 	    q
12752: 	  }
12753: 	  /^X\(\/\/\)$/{
12754: 	    s//\1/
12755: 	    q
12756: 	  }
12757: 	  /^X\(\/\).*/{
12758: 	    s//\1/
12759: 	    q
12760: 	  }
12761: 	  s/.*/./; q'`
12762:   as_dir="$ac_dir"; as_fn_mkdir_p
12763:   ac_builddir=.
12764: 
12765: case "$ac_dir" in
12766: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12767: *)
12768:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12769:   # A ".." for each directory in $ac_dir_suffix.
12770:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12771:   case $ac_top_builddir_sub in
12772:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12773:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12774:   esac ;;
12775: esac
12776: ac_abs_top_builddir=$ac_pwd
12777: ac_abs_builddir=$ac_pwd$ac_dir_suffix
12778: # for backward compatibility:
12779: ac_top_builddir=$ac_top_build_prefix
12780: 
12781: case $srcdir in
12782:   .)  # We are building in place.
12783:     ac_srcdir=.
12784:     ac_top_srcdir=$ac_top_builddir_sub
12785:     ac_abs_top_srcdir=$ac_pwd ;;
12786:   [\\/]* | ?:[\\/]* )  # Absolute name.
12787:     ac_srcdir=$srcdir$ac_dir_suffix;
12788:     ac_top_srcdir=$srcdir
12789:     ac_abs_top_srcdir=$srcdir ;;
12790:   *) # Relative name.
12791:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12792:     ac_top_srcdir=$ac_top_build_prefix$srcdir
12793:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12794: esac
12795: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12796: 
12797: 
12798:   case $ac_mode in
12799:   :F)
12800:   #
12801:   # CONFIG_FILE
12802:   #
12803: 
12804:   case $INSTALL in
12805:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12806:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12807:   esac
12808:   ac_MKDIR_P=$MKDIR_P
12809:   case $MKDIR_P in
12810:   [\\/$]* | ?:[\\/]* ) ;;
12811:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12812:   esac
12813: _ACEOF
12814: 
12815: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12816: # If the template does not know about datarootdir, expand it.
12817: # FIXME: This hack should be removed a few years after 2.60.
12818: ac_datarootdir_hack=; ac_datarootdir_seen=
12819: ac_sed_dataroot='
12820: /datarootdir/ {
12821:   p
12822:   q
12823: }
12824: /@datadir@/p
12825: /@docdir@/p
12826: /@infodir@/p
12827: /@localedir@/p
12828: /@mandir@/p'
12829: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12830: *datarootdir*) ac_datarootdir_seen=yes;;
12831: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12832:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12833: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12834: _ACEOF
12835: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12836:   ac_datarootdir_hack='
12837:   s&@datadir@&$datadir&g
12838:   s&@docdir@&$docdir&g
12839:   s&@infodir@&$infodir&g
12840:   s&@localedir@&$localedir&g
12841:   s&@mandir@&$mandir&g
12842:   s&\\\${datarootdir}&$datarootdir&g' ;;
12843: esac
12844: _ACEOF
12845: 
12846: # Neutralize VPATH when `$srcdir' = `.'.
12847: # Shell code in configure.ac might set extrasub.
12848: # FIXME: do we really want to maintain this feature?
12849: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12850: ac_sed_extra="$ac_vpsub
12851: $extrasub
12852: _ACEOF
12853: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12854: :t
12855: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12856: s|@configure_input@|$ac_sed_conf_input|;t t
12857: s&@top_builddir@&$ac_top_builddir_sub&;t t
12858: s&@top_build_prefix@&$ac_top_build_prefix&;t t
12859: s&@srcdir@&$ac_srcdir&;t t
12860: s&@abs_srcdir@&$ac_abs_srcdir&;t t
12861: s&@top_srcdir@&$ac_top_srcdir&;t t
12862: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12863: s&@builddir@&$ac_builddir&;t t
12864: s&@abs_builddir@&$ac_abs_builddir&;t t
12865: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12866: s&@INSTALL@&$ac_INSTALL&;t t
12867: s&@MKDIR_P@&$ac_MKDIR_P&;t t
12868: $ac_datarootdir_hack
12869: "
12870: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12871:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12872: 
12873: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12874:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12875:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12876:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12877: which seems to be undefined.  Please make sure it is defined" >&5
12878: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12879: which seems to be undefined.  Please make sure it is defined" >&2;}
12880: 
12881:   rm -f "$tmp/stdin"
12882:   case $ac_file in
12883:   -) cat "$tmp/out" && rm -f "$tmp/out";;
12884:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12885:   esac \
12886:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12887:  ;;
12888:   :H)
12889:   #
12890:   # CONFIG_HEADER
12891:   #
12892:   if test x"$ac_file" != x-; then
12893:     {
12894:       $as_echo "/* $configure_input  */" \
12895:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12896:     } >"$tmp/config.h" \
12897:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12898:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12899:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12900: $as_echo "$as_me: $ac_file is unchanged" >&6;}
12901:     else
12902:       rm -f "$ac_file"
12903:       mv "$tmp/config.h" "$ac_file" \
12904: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
12905:     fi
12906:   else
12907:     $as_echo "/* $configure_input  */" \
12908:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12909:       || as_fn_error $? "could not create -" "$LINENO" 5
12910:   fi
12911: # Compute "$ac_file"'s index in $config_headers.
12912: _am_arg="$ac_file"
12913: _am_stamp_count=1
12914: for _am_header in $config_headers :; do
12915:   case $_am_header in
12916:     $_am_arg | $_am_arg:* )
12917:       break ;;
12918:     * )
12919:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12920:   esac
12921: done
12922: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12923: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12924: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12925: 	 X"$_am_arg" : 'X\(//\)$' \| \
12926: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12927: $as_echo X"$_am_arg" |
12928:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12929: 	    s//\1/
12930: 	    q
12931: 	  }
12932: 	  /^X\(\/\/\)[^/].*/{
12933: 	    s//\1/
12934: 	    q
12935: 	  }
12936: 	  /^X\(\/\/\)$/{
12937: 	    s//\1/
12938: 	    q
12939: 	  }
12940: 	  /^X\(\/\).*/{
12941: 	    s//\1/
12942: 	    q
12943: 	  }
12944: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
12945:  ;;
12946: 
12947:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12948: $as_echo "$as_me: executing $ac_file commands" >&6;}
12949:  ;;
12950:   esac
12951: 
12952: 
12953:   case $ac_file$ac_mode in
12954:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12955:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
12956:   # are listed without --file.  Let's play safe and only enable the eval
12957:   # if we detect the quoting.
12958:   case $CONFIG_FILES in
12959:   *\'*) eval set x "$CONFIG_FILES" ;;
12960:   *)   set x $CONFIG_FILES ;;
12961:   esac
12962:   shift
12963:   for mf
12964:   do
12965:     # Strip MF so we end up with the name of the file.
12966:     mf=`echo "$mf" | sed -e 's/:.*$//'`
12967:     # Check whether this is an Automake generated Makefile or not.
12968:     # We used to match only the files named `Makefile.in', but
12969:     # some people rename them; so instead we look at the file content.
12970:     # Grep'ing the first line is not enough: some people post-process
12971:     # each Makefile.in and add a new line on top of each file to say so.
12972:     # Grep'ing the whole file is not good either: AIX grep has a line
12973:     # limit of 2048, but all sed's we know have understand at least 4000.
12974:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12975:       dirpart=`$as_dirname -- "$mf" ||
12976: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12977: 	 X"$mf" : 'X\(//\)[^/]' \| \
12978: 	 X"$mf" : 'X\(//\)$' \| \
12979: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12980: $as_echo X"$mf" |
12981:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12982: 	    s//\1/
12983: 	    q
12984: 	  }
12985: 	  /^X\(\/\/\)[^/].*/{
12986: 	    s//\1/
12987: 	    q
12988: 	  }
12989: 	  /^X\(\/\/\)$/{
12990: 	    s//\1/
12991: 	    q
12992: 	  }
12993: 	  /^X\(\/\).*/{
12994: 	    s//\1/
12995: 	    q
12996: 	  }
12997: 	  s/.*/./; q'`
12998:     else
12999:       continue
13000:     fi
13001:     # Extract the definition of DEPDIR, am__include, and am__quote
13002:     # from the Makefile without running `make'.
13003:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13004:     test -z "$DEPDIR" && continue
13005:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13006:     test -z "am__include" && continue
13007:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13008:     # When using ansi2knr, U may be empty or an underscore; expand it
13009:     U=`sed -n 's/^U = //p' < "$mf"`
13010:     # Find all dependency output files, they are included files with
13011:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13012:     # simplest approach to changing $(DEPDIR) to its actual value in the
13013:     # expansion.
13014:     for file in `sed -n "
13015:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13016: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13017:       # Make sure the directory exists.
13018:       test -f "$dirpart/$file" && continue
13019:       fdir=`$as_dirname -- "$file" ||
13020: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13021: 	 X"$file" : 'X\(//\)[^/]' \| \
13022: 	 X"$file" : 'X\(//\)$' \| \
13023: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13024: $as_echo X"$file" |
13025:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13026: 	    s//\1/
13027: 	    q
13028: 	  }
13029: 	  /^X\(\/\/\)[^/].*/{
13030: 	    s//\1/
13031: 	    q
13032: 	  }
13033: 	  /^X\(\/\/\)$/{
13034: 	    s//\1/
13035: 	    q
13036: 	  }
13037: 	  /^X\(\/\).*/{
13038: 	    s//\1/
13039: 	    q
13040: 	  }
13041: 	  s/.*/./; q'`
13042:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13043:       # echo "creating $dirpart/$file"
13044:       echo '# dummy' > "$dirpart/$file"
13045:     done
13046:   done
13047: }
13048:  ;;
13049:     "libtool":C)
13050: 
13051:     # See if we are running on zsh, and set the options which allow our
13052:     # commands through without removal of \ escapes.
13053:     if test -n "${ZSH_VERSION+set}" ; then
13054:       setopt NO_GLOB_SUBST
13055:     fi
13056: 
13057:     cfgfile="${ofile}T"
13058:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13059:     $RM "$cfgfile"
13060: 
13061:     cat <<_LT_EOF >> "$cfgfile"
13062: #! $SHELL
13063: 
13064: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13065: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13066: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13067: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13068: #
13069: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13070: #                 2006, 2007, 2008 Free Software Foundation, Inc.
13071: #   Written by Gordon Matzigkeit, 1996
13072: #
13073: #   This file is part of GNU Libtool.
13074: #
13075: # GNU Libtool is free software; you can redistribute it and/or
13076: # modify it under the terms of the GNU General Public License as
13077: # published by the Free Software Foundation; either version 2 of
13078: # the License, or (at your option) any later version.
13079: #
13080: # As a special exception to the GNU General Public License,
13081: # if you distribute this file as part of a program or library that
13082: # is built using GNU Libtool, you may include this file under the
13083: # same distribution terms that you use for the rest of that program.
13084: #
13085: # GNU Libtool is distributed in the hope that it will be useful,
13086: # but WITHOUT ANY WARRANTY; without even the implied warranty of
13087: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13088: # GNU General Public License for more details.
13089: #
13090: # You should have received a copy of the GNU General Public License
13091: # along with GNU Libtool; see the file COPYING.  If not, a copy
13092: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13093: # obtained by writing to the Free Software Foundation, Inc.,
13094: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13095: 
13096: 
13097: # The names of the tagged configurations supported by this script.
13098: available_tags=""
13099: 
13100: # ### BEGIN LIBTOOL CONFIG
13101: 
13102: # Which release of libtool.m4 was used?
13103: macro_version=$macro_version
13104: macro_revision=$macro_revision
13105: 
13106: # Whether or not to build shared libraries.
13107: build_libtool_libs=$enable_shared
13108: 
13109: # Whether or not to build static libraries.
13110: build_old_libs=$enable_static
13111: 
13112: # What type of objects to build.
13113: pic_mode=$pic_mode
13114: 
13115: # Whether or not to optimize for fast installation.
13116: fast_install=$enable_fast_install
13117: 
13118: # The host system.
13119: host_alias=$host_alias
13120: host=$host
13121: host_os=$host_os
13122: 
13123: # The build system.
13124: build_alias=$build_alias
13125: build=$build
13126: build_os=$build_os
13127: 
13128: # A sed program that does not truncate output.
13129: SED=$lt_SED
13130: 
13131: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13132: Xsed="\$SED -e 1s/^X//"
13133: 
13134: # A grep program that handles long lines.
13135: GREP=$lt_GREP
13136: 
13137: # An ERE matcher.
13138: EGREP=$lt_EGREP
13139: 
13140: # A literal string matcher.
13141: FGREP=$lt_FGREP
13142: 
13143: # A BSD- or MS-compatible name lister.
13144: NM=$lt_NM
13145: 
13146: # Whether we need soft or hard links.
13147: LN_S=$lt_LN_S
13148: 
13149: # What is the maximum length of a command?
13150: max_cmd_len=$max_cmd_len
13151: 
13152: # Object file suffix (normally "o").
13153: objext=$ac_objext
13154: 
13155: # Executable file suffix (normally "").
13156: exeext=$exeext
13157: 
13158: # whether the shell understands "unset".
13159: lt_unset=$lt_unset
13160: 
13161: # turn spaces into newlines.
13162: SP2NL=$lt_lt_SP2NL
13163: 
13164: # turn newlines into spaces.
13165: NL2SP=$lt_lt_NL2SP
13166: 
13167: # How to create reloadable object files.
13168: reload_flag=$lt_reload_flag
13169: reload_cmds=$lt_reload_cmds
13170: 
13171: # An object symbol dumper.
13172: OBJDUMP=$lt_OBJDUMP
13173: 
13174: # Method to check whether dependent libraries are shared objects.
13175: deplibs_check_method=$lt_deplibs_check_method
13176: 
13177: # Command to use when deplibs_check_method == "file_magic".
13178: file_magic_cmd=$lt_file_magic_cmd
13179: 
13180: # The archiver.
13181: AR=$lt_AR
13182: AR_FLAGS=$lt_AR_FLAGS
13183: 
13184: # A symbol stripping program.
13185: STRIP=$lt_STRIP
13186: 
13187: # Commands used to install an old-style archive.
13188: RANLIB=$lt_RANLIB
13189: old_postinstall_cmds=$lt_old_postinstall_cmds
13190: old_postuninstall_cmds=$lt_old_postuninstall_cmds
13191: 
13192: # A C compiler.
13193: LTCC=$lt_CC
13194: 
13195: # LTCC compiler flags.
13196: LTCFLAGS=$lt_CFLAGS
13197: 
13198: # Take the output of nm and produce a listing of raw symbols and C names.
13199: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13200: 
13201: # Transform the output of nm in a proper C declaration.
13202: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13203: 
13204: # Transform the output of nm in a C name address pair.
13205: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13206: 
13207: # Transform the output of nm in a C name address pair when lib prefix is needed.
13208: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13209: 
13210: # The name of the directory that contains temporary libtool files.
13211: objdir=$objdir
13212: 
13213: # Shell to use when invoking shell scripts.
13214: SHELL=$lt_SHELL
13215: 
13216: # An echo program that does not interpret backslashes.
13217: ECHO=$lt_ECHO
13218: 
13219: # Used to examine libraries when file_magic_cmd begins with "file".
13220: MAGIC_CMD=$MAGIC_CMD
13221: 
13222: # Must we lock files when doing compilation?
13223: need_locks=$lt_need_locks
13224: 
13225: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13226: DSYMUTIL=$lt_DSYMUTIL
13227: 
13228: # Tool to change global to local symbols on Mac OS X.
13229: NMEDIT=$lt_NMEDIT
13230: 
13231: # Tool to manipulate fat objects and archives on Mac OS X.
13232: LIPO=$lt_LIPO
13233: 
13234: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13235: OTOOL=$lt_OTOOL
13236: 
13237: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13238: OTOOL64=$lt_OTOOL64
13239: 
13240: # Old archive suffix (normally "a").
13241: libext=$libext
13242: 
13243: # Shared library suffix (normally ".so").
13244: shrext_cmds=$lt_shrext_cmds
13245: 
13246: # The commands to extract the exported symbol list from a shared archive.
13247: extract_expsyms_cmds=$lt_extract_expsyms_cmds
13248: 
13249: # Variables whose values should be saved in libtool wrapper scripts and
13250: # restored at link time.
13251: variables_saved_for_relink=$lt_variables_saved_for_relink
13252: 
13253: # Do we need the "lib" prefix for modules?
13254: need_lib_prefix=$need_lib_prefix
13255: 
13256: # Do we need a version for libraries?
13257: need_version=$need_version
13258: 
13259: # Library versioning type.
13260: version_type=$version_type
13261: 
13262: # Shared library runtime path variable.
13263: runpath_var=$runpath_var
13264: 
13265: # Shared library path variable.
13266: shlibpath_var=$shlibpath_var
13267: 
13268: # Is shlibpath searched before the hard-coded library search path?
13269: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13270: 
13271: # Format of library name prefix.
13272: libname_spec=$lt_libname_spec
13273: 
13274: # List of archive names.  First name is the real one, the rest are links.
13275: # The last name is the one that the linker finds with -lNAME
13276: library_names_spec=$lt_library_names_spec
13277: 
13278: # The coded name of the library, if different from the real name.
13279: soname_spec=$lt_soname_spec
13280: 
13281: # Command to use after installation of a shared archive.
13282: postinstall_cmds=$lt_postinstall_cmds
13283: 
13284: # Command to use after uninstallation of a shared archive.
13285: postuninstall_cmds=$lt_postuninstall_cmds
13286: 
13287: # Commands used to finish a libtool library installation in a directory.
13288: finish_cmds=$lt_finish_cmds
13289: 
13290: # As "finish_cmds", except a single script fragment to be evaled but
13291: # not shown.
13292: finish_eval=$lt_finish_eval
13293: 
13294: # Whether we should hardcode library paths into libraries.
13295: hardcode_into_libs=$hardcode_into_libs
13296: 
13297: # Compile-time system search path for libraries.
13298: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13299: 
13300: # Run-time system search path for libraries.
13301: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13302: 
13303: # Whether dlopen is supported.
13304: dlopen_support=$enable_dlopen
13305: 
13306: # Whether dlopen of programs is supported.
13307: dlopen_self=$enable_dlopen_self
13308: 
13309: # Whether dlopen of statically linked programs is supported.
13310: dlopen_self_static=$enable_dlopen_self_static
13311: 
13312: # Commands to strip libraries.
13313: old_striplib=$lt_old_striplib
13314: striplib=$lt_striplib
13315: 
13316: 
13317: # The linker used to build libraries.
13318: LD=$lt_LD
13319: 
13320: # Commands used to build an old-style archive.
13321: old_archive_cmds=$lt_old_archive_cmds
13322: 
13323: # A language specific compiler.
13324: CC=$lt_compiler
13325: 
13326: # Is the compiler the GNU compiler?
13327: with_gcc=$GCC
13328: 
13329: # Compiler flag to turn off builtin functions.
13330: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13331: 
13332: # How to pass a linker flag through the compiler.
13333: wl=$lt_lt_prog_compiler_wl
13334: 
13335: # Additional compiler flags for building library objects.
13336: pic_flag=$lt_lt_prog_compiler_pic
13337: 
13338: # Compiler flag to prevent dynamic linking.
13339: link_static_flag=$lt_lt_prog_compiler_static
13340: 
13341: # Does compiler simultaneously support -c and -o options?
13342: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13343: 
13344: # Whether or not to add -lc for building shared libraries.
13345: build_libtool_need_lc=$archive_cmds_need_lc
13346: 
13347: # Whether or not to disallow shared libs when runtime libs are static.
13348: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13349: 
13350: # Compiler flag to allow reflexive dlopens.
13351: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13352: 
13353: # Compiler flag to generate shared objects directly from archives.
13354: whole_archive_flag_spec=$lt_whole_archive_flag_spec
13355: 
13356: # Whether the compiler copes with passing no objects directly.
13357: compiler_needs_object=$lt_compiler_needs_object
13358: 
13359: # Create an old-style archive from a shared archive.
13360: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13361: 
13362: # Create a temporary old-style archive to link instead of a shared archive.
13363: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13364: 
13365: # Commands used to build a shared archive.
13366: archive_cmds=$lt_archive_cmds
13367: archive_expsym_cmds=$lt_archive_expsym_cmds
13368: 
13369: # Commands used to build a loadable module if different from building
13370: # a shared archive.
13371: module_cmds=$lt_module_cmds
13372: module_expsym_cmds=$lt_module_expsym_cmds
13373: 
13374: # Whether we are building with GNU ld or not.
13375: with_gnu_ld=$lt_with_gnu_ld
13376: 
13377: # Flag that allows shared libraries with undefined symbols to be built.
13378: allow_undefined_flag=$lt_allow_undefined_flag
13379: 
13380: # Flag that enforces no undefined symbols.
13381: no_undefined_flag=$lt_no_undefined_flag
13382: 
13383: # Flag to hardcode \$libdir into a binary during linking.
13384: # This must work even if \$libdir does not exist
13385: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13386: 
13387: # If ld is used when linking, flag to hardcode \$libdir into a binary
13388: # during linking.  This must work even if \$libdir does not exist.
13389: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13390: 
13391: # Whether we need a single "-rpath" flag with a separated argument.
13392: hardcode_libdir_separator=$lt_hardcode_libdir_separator
13393: 
13394: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13395: # DIR into the resulting binary.
13396: hardcode_direct=$hardcode_direct
13397: 
13398: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13399: # DIR into the resulting binary and the resulting library dependency is
13400: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13401: # library is relocated.
13402: hardcode_direct_absolute=$hardcode_direct_absolute
13403: 
13404: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13405: # into the resulting binary.
13406: hardcode_minus_L=$hardcode_minus_L
13407: 
13408: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13409: # into the resulting binary.
13410: hardcode_shlibpath_var=$hardcode_shlibpath_var
13411: 
13412: # Set to "yes" if building a shared library automatically hardcodes DIR
13413: # into the library and all subsequent libraries and executables linked
13414: # against it.
13415: hardcode_automatic=$hardcode_automatic
13416: 
13417: # Set to yes if linker adds runtime paths of dependent libraries
13418: # to runtime path list.
13419: inherit_rpath=$inherit_rpath
13420: 
13421: # Whether libtool must link a program against all its dependency libraries.
13422: link_all_deplibs=$link_all_deplibs
13423: 
13424: # Fix the shell variable \$srcfile for the compiler.
13425: fix_srcfile_path=$lt_fix_srcfile_path
13426: 
13427: # Set to "yes" if exported symbols are required.
13428: always_export_symbols=$always_export_symbols
13429: 
13430: # The commands to list exported symbols.
13431: export_symbols_cmds=$lt_export_symbols_cmds
13432: 
13433: # Symbols that should not be listed in the preloaded symbols.
13434: exclude_expsyms=$lt_exclude_expsyms
13435: 
13436: # Symbols that must always be exported.
13437: include_expsyms=$lt_include_expsyms
13438: 
13439: # Commands necessary for linking programs (against libraries) with templates.
13440: prelink_cmds=$lt_prelink_cmds
13441: 
13442: # Specify filename containing input files.
13443: file_list_spec=$lt_file_list_spec
13444: 
13445: # How to hardcode a shared library path into an executable.
13446: hardcode_action=$hardcode_action
13447: 
13448: # ### END LIBTOOL CONFIG
13449: 
13450: _LT_EOF
13451: 
13452:   case $host_os in
13453:   aix3*)
13454:     cat <<\_LT_EOF >> "$cfgfile"
13455: # AIX sometimes has problems with the GCC collect2 program.  For some
13456: # reason, if we set the COLLECT_NAMES environment variable, the problems
13457: # vanish in a puff of smoke.
13458: if test "X${COLLECT_NAMES+set}" != Xset; then
13459:   COLLECT_NAMES=
13460:   export COLLECT_NAMES
13461: fi
13462: _LT_EOF
13463:     ;;
13464:   esac
13465: 
13466: 
13467: ltmain="$ac_aux_dir/ltmain.sh"
13468: 
13469: 
13470:   # We use sed instead of cat because bash on DJGPP gets confused if
13471:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13472:   # text mode, it properly converts lines to CR/LF.  This bash problem
13473:   # is reportedly fixed, but why not run on old versions too?
13474:   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13475:     || (rm -f "$cfgfile"; exit 1)
13476: 
13477:   case $xsi_shell in
13478:   yes)
13479:     cat << \_LT_EOF >> "$cfgfile"
13480: 
13481: # func_dirname file append nondir_replacement
13482: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13483: # otherwise set result to NONDIR_REPLACEMENT.
13484: func_dirname ()
13485: {
13486:   case ${1} in
13487:     */*) func_dirname_result="${1%/*}${2}" ;;
13488:     *  ) func_dirname_result="${3}" ;;
13489:   esac
13490: }
13491: 
13492: # func_basename file
13493: func_basename ()
13494: {
13495:   func_basename_result="${1##*/}"
13496: }
13497: 
13498: # func_dirname_and_basename file append nondir_replacement
13499: # perform func_basename and func_dirname in a single function
13500: # call:
13501: #   dirname:  Compute the dirname of FILE.  If nonempty,
13502: #             add APPEND to the result, otherwise set result
13503: #             to NONDIR_REPLACEMENT.
13504: #             value returned in "$func_dirname_result"
13505: #   basename: Compute filename of FILE.
13506: #             value retuned in "$func_basename_result"
13507: # Implementation must be kept synchronized with func_dirname
13508: # and func_basename. For efficiency, we do not delegate to
13509: # those functions but instead duplicate the functionality here.
13510: func_dirname_and_basename ()
13511: {
13512:   case ${1} in
13513:     */*) func_dirname_result="${1%/*}${2}" ;;
13514:     *  ) func_dirname_result="${3}" ;;
13515:   esac
13516:   func_basename_result="${1##*/}"
13517: }
13518: 
13519: # func_stripname prefix suffix name
13520: # strip PREFIX and SUFFIX off of NAME.
13521: # PREFIX and SUFFIX must not contain globbing or regex special
13522: # characters, hashes, percent signs, but SUFFIX may contain a leading
13523: # dot (in which case that matches only a dot).
13524: func_stripname ()
13525: {
13526:   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13527:   # positional parameters, so assign one to ordinary parameter first.
13528:   func_stripname_result=${3}
13529:   func_stripname_result=${func_stripname_result#"${1}"}
13530:   func_stripname_result=${func_stripname_result%"${2}"}
13531: }
13532: 
13533: # func_opt_split
13534: func_opt_split ()
13535: {
13536:   func_opt_split_opt=${1%%=*}
13537:   func_opt_split_arg=${1#*=}
13538: }
13539: 
13540: # func_lo2o object
13541: func_lo2o ()
13542: {
13543:   case ${1} in
13544:     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13545:     *)    func_lo2o_result=${1} ;;
13546:   esac
13547: }
13548: 
13549: # func_xform libobj-or-source
13550: func_xform ()
13551: {
13552:   func_xform_result=${1%.*}.lo
13553: }
13554: 
13555: # func_arith arithmetic-term...
13556: func_arith ()
13557: {
13558:   func_arith_result=$(( $* ))
13559: }
13560: 
13561: # func_len string
13562: # STRING may not start with a hyphen.
13563: func_len ()
13564: {
13565:   func_len_result=${#1}
13566: }
13567: 
13568: _LT_EOF
13569:     ;;
13570:   *) # Bourne compatible functions.
13571:     cat << \_LT_EOF >> "$cfgfile"
13572: 
13573: # func_dirname file append nondir_replacement
13574: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13575: # otherwise set result to NONDIR_REPLACEMENT.
13576: func_dirname ()
13577: {
13578:   # Extract subdirectory from the argument.
13579:   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13580:   if test "X$func_dirname_result" = "X${1}"; then
13581:     func_dirname_result="${3}"
13582:   else
13583:     func_dirname_result="$func_dirname_result${2}"
13584:   fi
13585: }
13586: 
13587: # func_basename file
13588: func_basename ()
13589: {
13590:   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13591: }
13592: 
13593: 
13594: # func_stripname prefix suffix name
13595: # strip PREFIX and SUFFIX off of NAME.
13596: # PREFIX and SUFFIX must not contain globbing or regex special
13597: # characters, hashes, percent signs, but SUFFIX may contain a leading
13598: # dot (in which case that matches only a dot).
13599: # func_strip_suffix prefix name
13600: func_stripname ()
13601: {
13602:   case ${2} in
13603:     .*) func_stripname_result=`$ECHO "X${3}" \
13604:            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13605:     *)  func_stripname_result=`$ECHO "X${3}" \
13606:            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13607:   esac
13608: }
13609: 
13610: # sed scripts:
13611: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13612: my_sed_long_arg='1s/^-[^=]*=//'
13613: 
13614: # func_opt_split
13615: func_opt_split ()
13616: {
13617:   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13618:   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13619: }
13620: 
13621: # func_lo2o object
13622: func_lo2o ()
13623: {
13624:   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13625: }
13626: 
13627: # func_xform libobj-or-source
13628: func_xform ()
13629: {
13630:   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13631: }
13632: 
13633: # func_arith arithmetic-term...
13634: func_arith ()
13635: {
13636:   func_arith_result=`expr "$@"`
13637: }
13638: 
13639: # func_len string
13640: # STRING may not start with a hyphen.
13641: func_len ()
13642: {
13643:   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13644: }
13645: 
13646: _LT_EOF
13647: esac
13648: 
13649: case $lt_shell_append in
13650:   yes)
13651:     cat << \_LT_EOF >> "$cfgfile"
13652: 
13653: # func_append var value
13654: # Append VALUE to the end of shell variable VAR.
13655: func_append ()
13656: {
13657:   eval "$1+=\$2"
13658: }
13659: _LT_EOF
13660:     ;;
13661:   *)
13662:     cat << \_LT_EOF >> "$cfgfile"
13663: 
13664: # func_append var value
13665: # Append VALUE to the end of shell variable VAR.
13666: func_append ()
13667: {
13668:   eval "$1=\$$1\$2"
13669: }
13670: 
13671: _LT_EOF
13672:     ;;
13673:   esac
13674: 
13675: 
13676:   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13677:     || (rm -f "$cfgfile"; exit 1)
13678: 
13679:   mv -f "$cfgfile" "$ofile" ||
13680:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13681:   chmod +x "$ofile"
13682: 
13683:  ;;
13684:     "axl_config.h":C)
13685: 	outfile=axl_config.h-tmp
13686: 	cat > $outfile <<_______EOF
13687: /*
13688:  * Axl Library axl_config.h
13689:  * Platform dependant definitions.
13690:  *
13691:  * This is a generated file.  Please modify 'configure.in'
13692:  */
13693: 
13694: #ifndef __AXL_CONFIG_H__
13695: #define __AXL_CONFIG_H__
13696: 
13697: /**
13698:  * \addtogroup axl_decl_module
13699:  * @{
13700:  */
13701: 
13702: /**
13703:  * @brief Allows to convert integer value (including constant values)
13704:  * into a pointer representation.
13705:  *
13706:  * Use the oposite function to restore the value from a pointer to a
13707:  * integer: \ref PTR_TO_INT.
13708:  *
13709:  * @param integer The integer value to cast to pointer.
13710:  *
13711:  * @return A \ref axlPointer reference.
13712:  */
13713: #define INT_TO_PTR(integer)   ((axlPointer) ${pti_cast} ((int)integer))
13714: 
13715: /**
13716:  * @brief Allows to convert a pointer reference (\ref axlPointer),
13717:  * which stores an integer that was stored using \ref INT_TO_PTR.
13718:  *
13719:  * Use the oposite function to restore the pointer value stored in the
13720:  * integer value.
13721:  *
13722:  * @param ptr The pointer to cast to a integer value.
13723:  *
13724:  * @return A int value.
13725:  */
13726: #define PTR_TO_INT(ptr) ((int) ${pti_cast} (ptr))
13727: 
13728: /**
13729:  * @brief Allows to get current platform configuration. This is used
13730:  * by Axl library but could be used by applications built on top of
13731:  * Axl to change its configuration based on the platform information.
13732:  */
13733: $axl_platform
13734: 
13735: $vasprintf_status
13736: 
13737: /* @} */
13738: 
13739: #endif
13740: _______EOF
13741: 
13742: 	# Check if the file exists and it is equal, if not, overwrite it
13743: 	if cmp -s $outfile src/axl_config.h; then
13744: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: axl_config.h is unchanged" >&5
13745: $as_echo "$as_me: axl_config.h is unchanged" >&6;}
13746: 	  rm -f $outfile
13747: 	else
13748: 	  mv $outfile src/axl_config.h
13749: 	fi
13750:  ;;
13751: 
13752:   esac
13753: done # for ac_tag
13754: 
13755: 
13756: as_fn_exit 0
13757: _ACEOF
13758: ac_clean_files=$ac_clean_files_save
13759: 
13760: test $ac_write_fail = 0 ||
13761:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13762: 
13763: 
13764: # configure is writing to config.log, and then calls config.status.
13765: # config.status does its own redirection, appending to config.log.
13766: # Unfortunately, on DOS this fails, as config.log is still kept open
13767: # by configure, so config.status won't be able to write to it; its
13768: # output is simply discarded.  So we exec the FD to /dev/null,
13769: # effectively closing config.log, so it can be properly (re)opened and
13770: # appended to by config.status.  When coming back to configure, we
13771: # need to make the FD available again.
13772: if test "$no_create" != yes; then
13773:   ac_cs_success=:
13774:   ac_config_status_args=
13775:   test "$silent" = yes &&
13776:     ac_config_status_args="$ac_config_status_args --quiet"
13777:   exec 5>/dev/null
13778:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13779:   exec 5>>config.log
13780:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13781:   # would make configure fail if this is the last instruction.
13782:   $ac_cs_success || as_fn_exit 1
13783: fi
13784: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13785:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13786: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13787: fi
13788: 
13789: 
13790: echo "------------------------------------------"
13791: echo "--       LibAXL LIBRARY SETTINGS        --"
13792: echo "------------------------------------------"
13793: echo "   Installation prefix:          $prefix"
13794: echo "   Compiler:                     $compiler"
13795: echo "   Build Axl Namespace support:  $enable_axl_ns"
13796: echo "   Build Axl Library tests:      $enable_axl_test"
13797: echo "   Build Axl Knife:              $enable_axl_knife"
13798: echo "   Build Axl Library debug log:  $enable_axl_log"
13799: echo "   Build PyAxl:                  $enable_py_axl_support"
13800: if test x$DOXYGEN = xyes ; then
13801:    echo "   Build Axl Library doc:        enabled"
13802: else
13803:    echo "   Build Axl Library doc:        disabled"
13804:    echo "     NOTE: To enable Axl documentation you will"
13805:    echo "     have to install doxygen tool. Then run again"
13806:    echo "     configure process."
13807: fi
13808: echo "   vasprintf support:            $have_vasprintf"
13809: echo "------------------------------------------"
13810: echo "--     NOW TYPE: make; make install     --"
13811: echo "------------------------------------------"

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