lac : 514000dbcfdde369d17e3328c27093ab0314ead4

     1: #! /bin/sh
     2: # Guess values for system-dependent variables and create Makefiles.
     3: # Generated by GNU Autoconf 2.69 for lac 0.1.0.
     4: #
     5: # Report bugs to <lac@tlbflush.org>.
     6: #
     7: #
     8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9: #
    10: #
    11: # This configure script is free software; the Free Software Foundation
    12: # gives unlimited permission to copy, distribute and modify it.
    13: ## -------------------- ##
    14: ## M4sh Initialization. ##
    15: ## -------------------- ##
    16: 
    17: # Be more Bourne compatible
    18: DUALCASE=1; export DUALCASE # for MKS sh
    19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    20:   emulate sh
    21:   NULLCMD=:
    22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    23:   # is contrary to our usage.  Disable this feature.
    24:   alias -g '${1+"$@"}'='"$@"'
    25:   setopt NO_GLOB_SUBST
    26: else
    27:   case `(set -o) 2>/dev/null` in #(
    28:   *posix*) :
    29:     set -o posix ;; #(
    30:   *) :
    31:      ;;
    32: esac
    33: fi
    34: 
    35: 
    36: as_nl='
    37: '
    38: export as_nl
    39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43: # Prefer a ksh shell builtin over an external printf program on Solaris,
    44: # but without wasting forks for bash or zsh.
    45: if test -z "$BASH_VERSION$ZSH_VERSION" \
    46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47:   as_echo='print -r --'
    48:   as_echo_n='print -rn --'
    49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50:   as_echo='printf %s\n'
    51:   as_echo_n='printf %s'
    52: else
    53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55:     as_echo_n='/usr/ucb/echo -n'
    56:   else
    57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58:     as_echo_n_body='eval
    59:       arg=$1;
    60:       case $arg in #(
    61:       *"$as_nl"*)
    62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
    63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64:       esac;
    65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66:     '
    67:     export as_echo_n_body
    68:     as_echo_n='sh -c $as_echo_n_body as_echo'
    69:   fi
    70:   export as_echo_body
    71:   as_echo='sh -c $as_echo_body as_echo'
    72: fi
    73: 
    74: # The user is always right.
    75: if test "${PATH_SEPARATOR+set}" != set; then
    76:   PATH_SEPARATOR=:
    77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79:       PATH_SEPARATOR=';'
    80:   }
    81: fi
    82: 
    83: 
    84: # IFS
    85: # We need space, tab and new line, in precisely that order.  Quoting is
    86: # there to prevent editors from complaining about space-tab.
    87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88: # splitting by setting IFS to empty value.)
    89: IFS=" ""	$as_nl"
    90: 
    91: # Find who we are.  Look in the path if we contain no directory separator.
    92: as_myself=
    93: case $0 in #((
    94:   *[\\/]* ) as_myself=$0 ;;
    95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    96: for as_dir in $PATH
    97: do
    98:   IFS=$as_save_IFS
    99:   test -z "$as_dir" && as_dir=.
   100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   101:   done
   102: IFS=$as_save_IFS
   103: 
   104:      ;;
   105: esac
   106: # We did not find ourselves, most probably we were run as `sh COMMAND'
   107: # in which case we are not to be found in the path.
   108: if test "x$as_myself" = x; then
   109:   as_myself=$0
   110: fi
   111: if test ! -f "$as_myself"; then
   112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   113:   exit 1
   114: fi
   115: 
   116: # Unset variables that we do not need and which cause bugs (e.g. in
   117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   118: # suppresses any "Segmentation fault" message there.  '((' could
   119: # trigger a bug in pdksh 5.2.14.
   120: for as_var in BASH_ENV ENV MAIL MAILPATH
   121: do eval test x\${$as_var+set} = xset \
   122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   123: done
   124: PS1='$ '
   125: PS2='> '
   126: PS4='+ '
   127: 
   128: # NLS nuisances.
   129: LC_ALL=C
   130: export LC_ALL
   131: LANGUAGE=C
   132: export LANGUAGE
   133: 
   134: # CDPATH.
   135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   136: 
   137: # Use a proper internal environment variable to ensure we don't fall
   138:   # into an infinite loop, continuously re-executing ourselves.
   139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   140:     _as_can_reexec=no; export _as_can_reexec;
   141:     # We cannot yet assume a decent shell, so we have to provide a
   142: # neutralization value for shells without unset; and this also
   143: # works around shells that cannot unset nonexistent variables.
   144: # Preserve -v and -x to the replacement shell.
   145: BASH_ENV=/dev/null
   146: ENV=/dev/null
   147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   148: case $- in # ((((
   149:   *v*x* | *x*v* ) as_opts=-vx ;;
   150:   *v* ) as_opts=-v ;;
   151:   *x* ) as_opts=-x ;;
   152:   * ) as_opts= ;;
   153: esac
   154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   155: # Admittedly, this is quite paranoid, since all the known shells bail
   156: # out after a failed `exec'.
   157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   158: as_fn_exit 255
   159:   fi
   160:   # We don't want this to propagate to other subprocesses.
   161:           { _as_can_reexec=; unset _as_can_reexec;}
   162: if test "x$CONFIG_SHELL" = x; then
   163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   164:   emulate sh
   165:   NULLCMD=:
   166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   167:   # is contrary to our usage.  Disable this feature.
   168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
   169:   setopt NO_GLOB_SUBST
   170: else
   171:   case \`(set -o) 2>/dev/null\` in #(
   172:   *posix*) :
   173:     set -o posix ;; #(
   174:   *) :
   175:      ;;
   176: esac
   177: fi
   178: "
   179:   as_required="as_fn_return () { (exit \$1); }
   180: as_fn_success () { as_fn_return 0; }
   181: as_fn_failure () { as_fn_return 1; }
   182: as_fn_ret_success () { return 0; }
   183: as_fn_ret_failure () { return 1; }
   184: 
   185: exitcode=0
   186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   191: 
   192: else
   193:   exitcode=1; echo positional parameters were not saved.
   194: fi
   195: test x\$exitcode = x0 || exit 1
   196: test -x / || exit 1"
   197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   201: test \$(( 1 + 1 )) = 2 || exit 1
   202: 
   203:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   204:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   205:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   206:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   207:     PATH=/empty FPATH=/empty; export PATH FPATH
   208:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   209:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
   210:   if (eval "$as_required") 2>/dev/null; then :
   211:   as_have_required=yes
   212: else
   213:   as_have_required=no
   214: fi
   215:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   216: 
   217: else
   218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   219: as_found=false
   220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   221: do
   222:   IFS=$as_save_IFS
   223:   test -z "$as_dir" && as_dir=.
   224:   as_found=:
   225:   case $as_dir in #(
   226: 	 /*)
   227: 	   for as_base in sh bash ksh sh5; do
   228: 	     # Try only shells that exist, to save several forks.
   229: 	     as_shell=$as_dir/$as_base
   230: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   231: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   232:   CONFIG_SHELL=$as_shell as_have_required=yes
   233: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   234:   break 2
   235: fi
   236: fi
   237: 	   done;;
   238:        esac
   239:   as_found=false
   240: done
   241: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   242: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   243:   CONFIG_SHELL=$SHELL as_have_required=yes
   244: fi; }
   245: IFS=$as_save_IFS
   246: 
   247: 
   248:       if test "x$CONFIG_SHELL" != x; then :
   249:   export CONFIG_SHELL
   250:              # We cannot yet assume a decent shell, so we have to provide a
   251: # neutralization value for shells without unset; and this also
   252: # works around shells that cannot unset nonexistent variables.
   253: # Preserve -v and -x to the replacement shell.
   254: BASH_ENV=/dev/null
   255: ENV=/dev/null
   256: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   257: case $- in # ((((
   258:   *v*x* | *x*v* ) as_opts=-vx ;;
   259:   *v* ) as_opts=-v ;;
   260:   *x* ) as_opts=-x ;;
   261:   * ) as_opts= ;;
   262: esac
   263: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   264: # Admittedly, this is quite paranoid, since all the known shells bail
   265: # out after a failed `exec'.
   266: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   267: exit 255
   268: fi
   269: 
   270:     if test x$as_have_required = xno; then :
   271:   $as_echo "$0: This script requires a shell more modern than all"
   272:   $as_echo "$0: the shells that I found on your system."
   273:   if test x${ZSH_VERSION+set} = xset ; then
   274:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   275:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   276:   else
   277:     $as_echo "$0: Please tell bug-autoconf@gnu.org and lac@tlbflush.org
   278: $0: about your system, including any error possibly output
   279: $0: before this message. Then install a modern shell, or
   280: $0: manually run the script under such a shell if you do
   281: $0: have one."
   282:   fi
   283:   exit 1
   284: fi
   285: fi
   286: fi
   287: SHELL=${CONFIG_SHELL-/bin/sh}
   288: export SHELL
   289: # Unset more variables known to interfere with behavior of common tools.
   290: CLICOLOR_FORCE= GREP_OPTIONS=
   291: unset CLICOLOR_FORCE GREP_OPTIONS
   292: 
   293: ## --------------------- ##
   294: ## M4sh Shell Functions. ##
   295: ## --------------------- ##
   296: # as_fn_unset VAR
   297: # ---------------
   298: # Portably unset VAR.
   299: as_fn_unset ()
   300: {
   301:   { eval $1=; unset $1;}
   302: }
   303: as_unset=as_fn_unset
   304: 
   305: # as_fn_set_status STATUS
   306: # -----------------------
   307: # Set $? to STATUS, without forking.
   308: as_fn_set_status ()
   309: {
   310:   return $1
   311: } # as_fn_set_status
   312: 
   313: # as_fn_exit STATUS
   314: # -----------------
   315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   316: as_fn_exit ()
   317: {
   318:   set +e
   319:   as_fn_set_status $1
   320:   exit $1
   321: } # as_fn_exit
   322: 
   323: # as_fn_mkdir_p
   324: # -------------
   325: # Create "$as_dir" as a directory, including parents if necessary.
   326: as_fn_mkdir_p ()
   327: {
   328: 
   329:   case $as_dir in #(
   330:   -*) as_dir=./$as_dir;;
   331:   esac
   332:   test -d "$as_dir" || eval $as_mkdir_p || {
   333:     as_dirs=
   334:     while :; do
   335:       case $as_dir in #(
   336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   337:       *) as_qdir=$as_dir;;
   338:       esac
   339:       as_dirs="'$as_qdir' $as_dirs"
   340:       as_dir=`$as_dirname -- "$as_dir" ||
   341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   342: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   343: 	 X"$as_dir" : 'X\(//\)$' \| \
   344: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   345: $as_echo X"$as_dir" |
   346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   347: 	    s//\1/
   348: 	    q
   349: 	  }
   350: 	  /^X\(\/\/\)[^/].*/{
   351: 	    s//\1/
   352: 	    q
   353: 	  }
   354: 	  /^X\(\/\/\)$/{
   355: 	    s//\1/
   356: 	    q
   357: 	  }
   358: 	  /^X\(\/\).*/{
   359: 	    s//\1/
   360: 	    q
   361: 	  }
   362: 	  s/.*/./; q'`
   363:       test -d "$as_dir" && break
   364:     done
   365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
   366:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   367: 
   368: 
   369: } # as_fn_mkdir_p
   370: 
   371: # as_fn_executable_p FILE
   372: # -----------------------
   373: # Test if FILE is an executable regular file.
   374: as_fn_executable_p ()
   375: {
   376:   test -f "$1" && test -x "$1"
   377: } # as_fn_executable_p
   378: # as_fn_append VAR VALUE
   379: # ----------------------
   380: # Append the text in VALUE to the end of the definition contained in VAR. Take
   381: # advantage of any shell optimizations that allow amortized linear growth over
   382: # repeated appends, instead of the typical quadratic growth present in naive
   383: # implementations.
   384: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   385:   eval 'as_fn_append ()
   386:   {
   387:     eval $1+=\$2
   388:   }'
   389: else
   390:   as_fn_append ()
   391:   {
   392:     eval $1=\$$1\$2
   393:   }
   394: fi # as_fn_append
   395: 
   396: # as_fn_arith ARG...
   397: # ------------------
   398: # Perform arithmetic evaluation on the ARGs, and store the result in the
   399: # global $as_val. Take advantage of shells that can avoid forks. The arguments
   400: # must be portable across $(()) and expr.
   401: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   402:   eval 'as_fn_arith ()
   403:   {
   404:     as_val=$(( $* ))
   405:   }'
   406: else
   407:   as_fn_arith ()
   408:   {
   409:     as_val=`expr "$@" || test $? -eq 1`
   410:   }
   411: fi # as_fn_arith
   412: 
   413: 
   414: # as_fn_error STATUS ERROR [LINENO LOG_FD]
   415: # ----------------------------------------
   416: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   417: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   418: # script with STATUS, using 1 if that was 0.
   419: as_fn_error ()
   420: {
   421:   as_status=$1; test $as_status -eq 0 && as_status=1
   422:   if test "$4"; then
   423:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   424:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   425:   fi
   426:   $as_echo "$as_me: error: $2" >&2
   427:   as_fn_exit $as_status
   428: } # as_fn_error
   429: 
   430: if expr a : '\(a\)' >/dev/null 2>&1 &&
   431:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   432:   as_expr=expr
   433: else
   434:   as_expr=false
   435: fi
   436: 
   437: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   438:   as_basename=basename
   439: else
   440:   as_basename=false
   441: fi
   442: 
   443: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   444:   as_dirname=dirname
   445: else
   446:   as_dirname=false
   447: fi
   448: 
   449: as_me=`$as_basename -- "$0" ||
   450: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   451: 	 X"$0" : 'X\(//\)$' \| \
   452: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   453: $as_echo X/"$0" |
   454:     sed '/^.*\/\([^/][^/]*\)\/*$/{
   455: 	    s//\1/
   456: 	    q
   457: 	  }
   458: 	  /^X\/\(\/\/\)$/{
   459: 	    s//\1/
   460: 	    q
   461: 	  }
   462: 	  /^X\/\(\/\).*/{
   463: 	    s//\1/
   464: 	    q
   465: 	  }
   466: 	  s/.*/./; q'`
   467: 
   468: # Avoid depending upon Character Ranges.
   469: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   470: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   471: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   472: as_cr_digits='0123456789'
   473: as_cr_alnum=$as_cr_Letters$as_cr_digits
   474: 
   475: 
   476:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
   477:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
   478:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   479:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   480:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   481:   sed -n '
   482:     p
   483:     /[$]LINENO/=
   484:   ' <$as_myself |
   485:     sed '
   486:       s/[$]LINENO.*/&-/
   487:       t lineno
   488:       b
   489:       :lineno
   490:       N
   491:       :loop
   492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   493:       t loop
   494:       s/-\n.*//
   495:     ' >$as_me.lineno &&
   496:   chmod +x "$as_me.lineno" ||
   497:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   498: 
   499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   500:   # already done that, so ensure we don't try to do so again and fall
   501:   # in an infinite loop.  This has already happened in practice.
   502:   _as_can_reexec=no; export _as_can_reexec
   503:   # Don't try to exec as it changes $[0], causing all sort of problems
   504:   # (the dirname of $[0] is not the place where we might find the
   505:   # original and so on.  Autoconf is especially sensitive to this).
   506:   . "./$as_me.lineno"
   507:   # Exit status is that of the last command.
   508:   exit
   509: }
   510: 
   511: ECHO_C= ECHO_N= ECHO_T=
   512: case `echo -n x` in #(((((
   513: -n*)
   514:   case `echo 'xy\c'` in
   515:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   516:   xy)  ECHO_C='\c';;
   517:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   518:        ECHO_T='	';;
   519:   esac;;
   520: *)
   521:   ECHO_N='-n';;
   522: esac
   523: 
   524: rm -f conf$$ conf$$.exe conf$$.file
   525: if test -d conf$$.dir; then
   526:   rm -f conf$$.dir/conf$$.file
   527: else
   528:   rm -f conf$$.dir
   529:   mkdir conf$$.dir 2>/dev/null
   530: fi
   531: if (echo >conf$$.file) 2>/dev/null; then
   532:   if ln -s conf$$.file conf$$ 2>/dev/null; then
   533:     as_ln_s='ln -s'
   534:     # ... but there are two gotchas:
   535:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   536:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   537:     # In both cases, we have to default to `cp -pR'.
   538:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   539:       as_ln_s='cp -pR'
   540:   elif ln conf$$.file conf$$ 2>/dev/null; then
   541:     as_ln_s=ln
   542:   else
   543:     as_ln_s='cp -pR'
   544:   fi
   545: else
   546:   as_ln_s='cp -pR'
   547: fi
   548: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   549: rmdir conf$$.dir 2>/dev/null
   550: 
   551: if mkdir -p . 2>/dev/null; then
   552:   as_mkdir_p='mkdir -p "$as_dir"'
   553: else
   554:   test -d ./-p && rmdir ./-p
   555:   as_mkdir_p=false
   556: fi
   557: 
   558: as_test_x='test -x'
   559: as_executable_p=as_fn_executable_p
   560: 
   561: # Sed expression to map a string onto a valid CPP name.
   562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   563: 
   564: # Sed expression to map a string onto a valid variable name.
   565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   566: 
   567: SHELL=${CONFIG_SHELL-/bin/sh}
   568: 
   569: 
   570: test -n "$DJDIR" || exec 7<&0 </dev/null
   571: exec 6>&1
   572: 
   573: # Name of the host.
   574: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   575: # so uname gets run too.
   576: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   577: 
   578: #
   579: # Initializations.
   580: #
   581: ac_default_prefix=/usr/local
   582: ac_clean_files=
   583: ac_config_libobj_dir=.
   584: LIBOBJS=
   585: cross_compiling=no
   586: subdirs=
   587: MFLAGS=
   588: MAKEFLAGS=
   589: 
   590: # Identity of this package.
   591: PACKAGE_NAME='lac'
   592: PACKAGE_TARNAME='lac'
   593: PACKAGE_VERSION='0.1.0'
   594: PACKAGE_STRING='lac 0.1.0'
   595: PACKAGE_BUGREPORT='lac@tlbflush.org'
   596: PACKAGE_URL=''
   597: 
   598: ac_unique_file="src/repl/lac.c"
   599: # Factoring default headers for most tests.
   600: ac_includes_default="\
   601: #include <stdio.h>
   602: #ifdef HAVE_SYS_TYPES_H
   603: # include <sys/types.h>
   604: #endif
   605: #ifdef HAVE_SYS_STAT_H
   606: # include <sys/stat.h>
   607: #endif
   608: #ifdef STDC_HEADERS
   609: # include <stdlib.h>
   610: # include <stddef.h>
   611: #else
   612: # ifdef HAVE_STDLIB_H
   613: #  include <stdlib.h>
   614: # endif
   615: #endif
   616: #ifdef HAVE_STRING_H
   617: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   618: #  include <memory.h>
   619: # endif
   620: # include <string.h>
   621: #endif
   622: #ifdef HAVE_STRINGS_H
   623: # include <strings.h>
   624: #endif
   625: #ifdef HAVE_INTTYPES_H
   626: # include <inttypes.h>
   627: #endif
   628: #ifdef HAVE_STDINT_H
   629: # include <stdint.h>
   630: #endif
   631: #ifdef HAVE_UNISTD_H
   632: # include <unistd.h>
   633: #endif"
   634: 
   635: ac_subst_vars='am__EXEEXT_FALSE
   636: am__EXEEXT_TRUE
   637: LTLIBOBJS
   638: LT_SYS_LIBRARY_PATH
   639: OTOOL64
   640: OTOOL
   641: LIPO
   642: NMEDIT
   643: DSYMUTIL
   644: MANIFEST_TOOL
   645: RANLIB
   646: ac_ct_AR
   647: AR
   648: DLLTOOL
   649: OBJDUMP
   650: LN_S
   651: NM
   652: ac_ct_DUMPBIN
   653: DUMPBIN
   654: LD
   655: FGREP
   656: LIBTOOL
   657: LIBOBJS
   658: ALLOCA
   659: LTLIBREADLINE
   660: LIBREADLINE
   661: LIBSIGSEGV_PREFIX
   662: LTLIBSIGSEGV
   663: LIBSIGSEGV
   664: HAVE_LIBSIGSEGV
   665: CPP
   666: host_os
   667: host_vendor
   668: host_cpu
   669: host
   670: build_os
   671: build_vendor
   672: build_cpu
   673: build
   674: BDW_GC_LIBS
   675: BDW_GC_CFLAGS
   676: PKG_CONFIG_LIBDIR
   677: PKG_CONFIG_PATH
   678: PKG_CONFIG
   679: YFLAGS
   680: YACC
   681: EGREP
   682: LEXLIB
   683: LEX_OUTPUT_ROOT
   684: LEX
   685: BISON_VERSION
   686: GREP
   687: SED
   688: BISON
   689: am__fastdepCC_FALSE
   690: am__fastdepCC_TRUE
   691: CCDEPMODE
   692: am__nodep
   693: AMDEPBACKSLASH
   694: AMDEP_FALSE
   695: AMDEP_TRUE
   696: am__quote
   697: am__include
   698: DEPDIR
   699: OBJEXT
   700: EXEEXT
   701: ac_ct_CC
   702: CPPFLAGS
   703: LDFLAGS
   704: CFLAGS
   705: CC
   706: AM_BACKSLASH
   707: AM_DEFAULT_VERBOSITY
   708: AM_DEFAULT_V
   709: AM_V
   710: am__untar
   711: am__tar
   712: AMTAR
   713: am__leading_dot
   714: SET_MAKE
   715: AWK
   716: mkdir_p
   717: MKDIR_P
   718: INSTALL_STRIP_PROGRAM
   719: STRIP
   720: install_sh
   721: MAKEINFO
   722: AUTOHEADER
   723: AUTOMAKE
   724: AUTOCONF
   725: ACLOCAL
   726: VERSION
   727: PACKAGE
   728: CYGPATH_W
   729: am__isrc
   730: INSTALL_DATA
   731: INSTALL_SCRIPT
   732: INSTALL_PROGRAM
   733: target_alias
   734: host_alias
   735: build_alias
   736: LIBS
   737: ECHO_T
   738: ECHO_N
   739: ECHO_C
   740: DEFS
   741: mandir
   742: localedir
   743: libdir
   744: psdir
   745: pdfdir
   746: dvidir
   747: htmldir
   748: infodir
   749: docdir
   750: oldincludedir
   751: includedir
   752: localstatedir
   753: sharedstatedir
   754: sysconfdir
   755: datadir
   756: datarootdir
   757: libexecdir
   758: sbindir
   759: bindir
   760: program_transform_name
   761: prefix
   762: exec_prefix
   763: PACKAGE_URL
   764: PACKAGE_BUGREPORT
   765: PACKAGE_STRING
   766: PACKAGE_VERSION
   767: PACKAGE_TARNAME
   768: PACKAGE_NAME
   769: PATH_SEPARATOR
   770: SHELL'
   771: ac_subst_files=''
   772: ac_user_opts='
   773: enable_option_checking
   774: enable_silent_rules
   775: enable_dependency_tracking
   776: with_gnu_ld
   777: enable_rpath
   778: with_libsigsegv_prefix
   779: with_libreadline_prefix
   780: enable_shared
   781: enable_static
   782: with_pic
   783: enable_fast_install
   784: with_aix_soname
   785: with_sysroot
   786: enable_libtool_lock
   787: '
   788:       ac_precious_vars='build_alias
   789: host_alias
   790: target_alias
   791: CC
   792: CFLAGS
   793: LDFLAGS
   794: LIBS
   795: CPPFLAGS
   796: YACC
   797: YFLAGS
   798: PKG_CONFIG
   799: PKG_CONFIG_PATH
   800: PKG_CONFIG_LIBDIR
   801: BDW_GC_CFLAGS
   802: BDW_GC_LIBS
   803: CPP
   804: LT_SYS_LIBRARY_PATH'
   805: 
   806: 
   807: # Initialize some variables set by options.
   808: ac_init_help=
   809: ac_init_version=false
   810: ac_unrecognized_opts=
   811: ac_unrecognized_sep=
   812: # The variables have the same names as the options, with
   813: # dashes changed to underlines.
   814: cache_file=/dev/null
   815: exec_prefix=NONE
   816: no_create=
   817: no_recursion=
   818: prefix=NONE
   819: program_prefix=NONE
   820: program_suffix=NONE
   821: program_transform_name=s,x,x,
   822: silent=
   823: site=
   824: srcdir=
   825: verbose=
   826: x_includes=NONE
   827: x_libraries=NONE
   828: 
   829: # Installation directory options.
   830: # These are left unexpanded so users can "make install exec_prefix=/foo"
   831: # and all the variables that are supposed to be based on exec_prefix
   832: # by default will actually change.
   833: # Use braces instead of parens because sh, perl, etc. also accept them.
   834: # (The list follows the same order as the GNU Coding Standards.)
   835: bindir='${exec_prefix}/bin'
   836: sbindir='${exec_prefix}/sbin'
   837: libexecdir='${exec_prefix}/libexec'
   838: datarootdir='${prefix}/share'
   839: datadir='${datarootdir}'
   840: sysconfdir='${prefix}/etc'
   841: sharedstatedir='${prefix}/com'
   842: localstatedir='${prefix}/var'
   843: includedir='${prefix}/include'
   844: oldincludedir='/usr/include'
   845: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   846: infodir='${datarootdir}/info'
   847: htmldir='${docdir}'
   848: dvidir='${docdir}'
   849: pdfdir='${docdir}'
   850: psdir='${docdir}'
   851: libdir='${exec_prefix}/lib'
   852: localedir='${datarootdir}/locale'
   853: mandir='${datarootdir}/man'
   854: 
   855: ac_prev=
   856: ac_dashdash=
   857: for ac_option
   858: do
   859:   # If the previous option needs an argument, assign it.
   860:   if test -n "$ac_prev"; then
   861:     eval $ac_prev=\$ac_option
   862:     ac_prev=
   863:     continue
   864:   fi
   865: 
   866:   case $ac_option in
   867:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   868:   *=)   ac_optarg= ;;
   869:   *)    ac_optarg=yes ;;
   870:   esac
   871: 
   872:   # Accept the important Cygnus configure options, so we can diagnose typos.
   873: 
   874:   case $ac_dashdash$ac_option in
   875:   --)
   876:     ac_dashdash=yes ;;
   877: 
   878:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   879:     ac_prev=bindir ;;
   880:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   881:     bindir=$ac_optarg ;;
   882: 
   883:   -build | --build | --buil | --bui | --bu)
   884:     ac_prev=build_alias ;;
   885:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   886:     build_alias=$ac_optarg ;;
   887: 
   888:   -cache-file | --cache-file | --cache-fil | --cache-fi \
   889:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   890:     ac_prev=cache_file ;;
   891:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   892:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   893:     cache_file=$ac_optarg ;;
   894: 
   895:   --config-cache | -C)
   896:     cache_file=config.cache ;;
   897: 
   898:   -datadir | --datadir | --datadi | --datad)
   899:     ac_prev=datadir ;;
   900:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   901:     datadir=$ac_optarg ;;
   902: 
   903:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   904:   | --dataroo | --dataro | --datar)
   905:     ac_prev=datarootdir ;;
   906:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   907:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   908:     datarootdir=$ac_optarg ;;
   909: 
   910:   -disable-* | --disable-*)
   911:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   912:     # Reject names that are not valid shell variable names.
   913:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   914:       as_fn_error $? "invalid feature name: $ac_useropt"
   915:     ac_useropt_orig=$ac_useropt
   916:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   917:     case $ac_user_opts in
   918:       *"
   919: "enable_$ac_useropt"
   920: "*) ;;
   921:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   922: 	 ac_unrecognized_sep=', ';;
   923:     esac
   924:     eval enable_$ac_useropt=no ;;
   925: 
   926:   -docdir | --docdir | --docdi | --doc | --do)
   927:     ac_prev=docdir ;;
   928:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   929:     docdir=$ac_optarg ;;
   930: 
   931:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   932:     ac_prev=dvidir ;;
   933:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   934:     dvidir=$ac_optarg ;;
   935: 
   936:   -enable-* | --enable-*)
   937:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   938:     # Reject names that are not valid shell variable names.
   939:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   940:       as_fn_error $? "invalid feature name: $ac_useropt"
   941:     ac_useropt_orig=$ac_useropt
   942:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   943:     case $ac_user_opts in
   944:       *"
   945: "enable_$ac_useropt"
   946: "*) ;;
   947:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   948: 	 ac_unrecognized_sep=', ';;
   949:     esac
   950:     eval enable_$ac_useropt=\$ac_optarg ;;
   951: 
   952:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   953:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   954:   | --exec | --exe | --ex)
   955:     ac_prev=exec_prefix ;;
   956:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   957:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   958:   | --exec=* | --exe=* | --ex=*)
   959:     exec_prefix=$ac_optarg ;;
   960: 
   961:   -gas | --gas | --ga | --g)
   962:     # Obsolete; use --with-gas.
   963:     with_gas=yes ;;
   964: 
   965:   -help | --help | --hel | --he | -h)
   966:     ac_init_help=long ;;
   967:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   968:     ac_init_help=recursive ;;
   969:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   970:     ac_init_help=short ;;
   971: 
   972:   -host | --host | --hos | --ho)
   973:     ac_prev=host_alias ;;
   974:   -host=* | --host=* | --hos=* | --ho=*)
   975:     host_alias=$ac_optarg ;;
   976: 
   977:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   978:     ac_prev=htmldir ;;
   979:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   980:   | --ht=*)
   981:     htmldir=$ac_optarg ;;
   982: 
   983:   -includedir | --includedir | --includedi | --included | --include \
   984:   | --includ | --inclu | --incl | --inc)
   985:     ac_prev=includedir ;;
   986:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   987:   | --includ=* | --inclu=* | --incl=* | --inc=*)
   988:     includedir=$ac_optarg ;;
   989: 
   990:   -infodir | --infodir | --infodi | --infod | --info | --inf)
   991:     ac_prev=infodir ;;
   992:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   993:     infodir=$ac_optarg ;;
   994: 
   995:   -libdir | --libdir | --libdi | --libd)
   996:     ac_prev=libdir ;;
   997:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   998:     libdir=$ac_optarg ;;
   999: 
  1000:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1001:   | --libexe | --libex | --libe)
  1002:     ac_prev=libexecdir ;;
  1003:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1004:   | --libexe=* | --libex=* | --libe=*)
  1005:     libexecdir=$ac_optarg ;;
  1006: 
  1007:   -localedir | --localedir | --localedi | --localed | --locale)
  1008:     ac_prev=localedir ;;
  1009:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1010:     localedir=$ac_optarg ;;
  1011: 
  1012:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1013:   | --localstate | --localstat | --localsta | --localst | --locals)
  1014:     ac_prev=localstatedir ;;
  1015:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1016:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1017:     localstatedir=$ac_optarg ;;
  1018: 
  1019:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1020:     ac_prev=mandir ;;
  1021:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1022:     mandir=$ac_optarg ;;
  1023: 
  1024:   -nfp | --nfp | --nf)
  1025:     # Obsolete; use --without-fp.
  1026:     with_fp=no ;;
  1027: 
  1028:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1029:   | --no-cr | --no-c | -n)
  1030:     no_create=yes ;;
  1031: 
  1032:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1033:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1034:     no_recursion=yes ;;
  1035: 
  1036:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1037:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1038:   | --oldin | --oldi | --old | --ol | --o)
  1039:     ac_prev=oldincludedir ;;
  1040:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1041:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1042:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1043:     oldincludedir=$ac_optarg ;;
  1044: 
  1045:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1046:     ac_prev=prefix ;;
  1047:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1048:     prefix=$ac_optarg ;;
  1049: 
  1050:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1051:   | --program-pre | --program-pr | --program-p)
  1052:     ac_prev=program_prefix ;;
  1053:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1054:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1055:     program_prefix=$ac_optarg ;;
  1056: 
  1057:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1058:   | --program-suf | --program-su | --program-s)
  1059:     ac_prev=program_suffix ;;
  1060:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1061:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1062:     program_suffix=$ac_optarg ;;
  1063: 
  1064:   -program-transform-name | --program-transform-name \
  1065:   | --program-transform-nam | --program-transform-na \
  1066:   | --program-transform-n | --program-transform- \
  1067:   | --program-transform | --program-transfor \
  1068:   | --program-transfo | --program-transf \
  1069:   | --program-trans | --program-tran \
  1070:   | --progr-tra | --program-tr | --program-t)
  1071:     ac_prev=program_transform_name ;;
  1072:   -program-transform-name=* | --program-transform-name=* \
  1073:   | --program-transform-nam=* | --program-transform-na=* \
  1074:   | --program-transform-n=* | --program-transform-=* \
  1075:   | --program-transform=* | --program-transfor=* \
  1076:   | --program-transfo=* | --program-transf=* \
  1077:   | --program-trans=* | --program-tran=* \
  1078:   | --progr-tra=* | --program-tr=* | --program-t=*)
  1079:     program_transform_name=$ac_optarg ;;
  1080: 
  1081:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1082:     ac_prev=pdfdir ;;
  1083:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1084:     pdfdir=$ac_optarg ;;
  1085: 
  1086:   -psdir | --psdir | --psdi | --psd | --ps)
  1087:     ac_prev=psdir ;;
  1088:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1089:     psdir=$ac_optarg ;;
  1090: 
  1091:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1092:   | -silent | --silent | --silen | --sile | --sil)
  1093:     silent=yes ;;
  1094: 
  1095:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1096:     ac_prev=sbindir ;;
  1097:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1098:   | --sbi=* | --sb=*)
  1099:     sbindir=$ac_optarg ;;
  1100: 
  1101:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1102:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1103:   | --sharedst | --shareds | --shared | --share | --shar \
  1104:   | --sha | --sh)
  1105:     ac_prev=sharedstatedir ;;
  1106:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1107:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1108:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1109:   | --sha=* | --sh=*)
  1110:     sharedstatedir=$ac_optarg ;;
  1111: 
  1112:   -site | --site | --sit)
  1113:     ac_prev=site ;;
  1114:   -site=* | --site=* | --sit=*)
  1115:     site=$ac_optarg ;;
  1116: 
  1117:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1118:     ac_prev=srcdir ;;
  1119:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1120:     srcdir=$ac_optarg ;;
  1121: 
  1122:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1123:   | --syscon | --sysco | --sysc | --sys | --sy)
  1124:     ac_prev=sysconfdir ;;
  1125:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1126:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1127:     sysconfdir=$ac_optarg ;;
  1128: 
  1129:   -target | --target | --targe | --targ | --tar | --ta | --t)
  1130:     ac_prev=target_alias ;;
  1131:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1132:     target_alias=$ac_optarg ;;
  1133: 
  1134:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1135:     verbose=yes ;;
  1136: 
  1137:   -version | --version | --versio | --versi | --vers | -V)
  1138:     ac_init_version=: ;;
  1139: 
  1140:   -with-* | --with-*)
  1141:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1142:     # Reject names that are not valid shell variable names.
  1143:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1144:       as_fn_error $? "invalid package name: $ac_useropt"
  1145:     ac_useropt_orig=$ac_useropt
  1146:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1147:     case $ac_user_opts in
  1148:       *"
  1149: "with_$ac_useropt"
  1150: "*) ;;
  1151:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1152: 	 ac_unrecognized_sep=', ';;
  1153:     esac
  1154:     eval with_$ac_useropt=\$ac_optarg ;;
  1155: 
  1156:   -without-* | --without-*)
  1157:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1158:     # Reject names that are not valid shell variable names.
  1159:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1160:       as_fn_error $? "invalid package name: $ac_useropt"
  1161:     ac_useropt_orig=$ac_useropt
  1162:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1163:     case $ac_user_opts in
  1164:       *"
  1165: "with_$ac_useropt"
  1166: "*) ;;
  1167:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1168: 	 ac_unrecognized_sep=', ';;
  1169:     esac
  1170:     eval with_$ac_useropt=no ;;
  1171: 
  1172:   --x)
  1173:     # Obsolete; use --with-x.
  1174:     with_x=yes ;;
  1175: 
  1176:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1177:   | --x-incl | --x-inc | --x-in | --x-i)
  1178:     ac_prev=x_includes ;;
  1179:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1180:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1181:     x_includes=$ac_optarg ;;
  1182: 
  1183:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1184:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1185:     ac_prev=x_libraries ;;
  1186:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1187:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1188:     x_libraries=$ac_optarg ;;
  1189: 
  1190:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1191: Try \`$0 --help' for more information"
  1192:     ;;
  1193: 
  1194:   *=*)
  1195:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1196:     # Reject names that are not valid shell variable names.
  1197:     case $ac_envvar in #(
  1198:       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1199:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1200:     esac
  1201:     eval $ac_envvar=\$ac_optarg
  1202:     export $ac_envvar ;;
  1203: 
  1204:   *)
  1205:     # FIXME: should be removed in autoconf 3.0.
  1206:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1207:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1208:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1209:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1210:     ;;
  1211: 
  1212:   esac
  1213: done
  1214: 
  1215: if test -n "$ac_prev"; then
  1216:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1217:   as_fn_error $? "missing argument to $ac_option"
  1218: fi
  1219: 
  1220: if test -n "$ac_unrecognized_opts"; then
  1221:   case $enable_option_checking in
  1222:     no) ;;
  1223:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1224:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1225:   esac
  1226: fi
  1227: 
  1228: # Check all directory arguments for consistency.
  1229: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1230: 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1231: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1232: 		libdir localedir mandir
  1233: do
  1234:   eval ac_val=\$$ac_var
  1235:   # Remove trailing slashes.
  1236:   case $ac_val in
  1237:     */ )
  1238:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1239:       eval $ac_var=\$ac_val;;
  1240:   esac
  1241:   # Be sure to have absolute directory names.
  1242:   case $ac_val in
  1243:     [\\/$]* | ?:[\\/]* )  continue;;
  1244:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1245:   esac
  1246:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1247: done
  1248: 
  1249: # There might be people who depend on the old broken behavior: `$host'
  1250: # used to hold the argument of --host etc.
  1251: # FIXME: To remove some day.
  1252: build=$build_alias
  1253: host=$host_alias
  1254: target=$target_alias
  1255: 
  1256: # FIXME: To remove some day.
  1257: if test "x$host_alias" != x; then
  1258:   if test "x$build_alias" = x; then
  1259:     cross_compiling=maybe
  1260:   elif test "x$build_alias" != "x$host_alias"; then
  1261:     cross_compiling=yes
  1262:   fi
  1263: fi
  1264: 
  1265: ac_tool_prefix=
  1266: test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1267: 
  1268: test "$silent" = yes && exec 6>/dev/null
  1269: 
  1270: 
  1271: ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1272: ac_ls_di=`ls -di .` &&
  1273: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1274:   as_fn_error $? "working directory cannot be determined"
  1275: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1276:   as_fn_error $? "pwd does not report name of working directory"
  1277: 
  1278: 
  1279: # Find the source files, if location was not specified.
  1280: if test -z "$srcdir"; then
  1281:   ac_srcdir_defaulted=yes
  1282:   # Try the directory containing this script, then the parent directory.
  1283:   ac_confdir=`$as_dirname -- "$as_myself" ||
  1284: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1285: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1286: 	 X"$as_myself" : 'X\(//\)$' \| \
  1287: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1288: $as_echo X"$as_myself" |
  1289:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1290: 	    s//\1/
  1291: 	    q
  1292: 	  }
  1293: 	  /^X\(\/\/\)[^/].*/{
  1294: 	    s//\1/
  1295: 	    q
  1296: 	  }
  1297: 	  /^X\(\/\/\)$/{
  1298: 	    s//\1/
  1299: 	    q
  1300: 	  }
  1301: 	  /^X\(\/\).*/{
  1302: 	    s//\1/
  1303: 	    q
  1304: 	  }
  1305: 	  s/.*/./; q'`
  1306:   srcdir=$ac_confdir
  1307:   if test ! -r "$srcdir/$ac_unique_file"; then
  1308:     srcdir=..
  1309:   fi
  1310: else
  1311:   ac_srcdir_defaulted=no
  1312: fi
  1313: if test ! -r "$srcdir/$ac_unique_file"; then
  1314:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1315:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1316: fi
  1317: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1318: ac_abs_confdir=`(
  1319: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1320: 	pwd)`
  1321: # When building in place, set srcdir=.
  1322: if test "$ac_abs_confdir" = "$ac_pwd"; then
  1323:   srcdir=.
  1324: fi
  1325: # Remove unnecessary trailing slashes from srcdir.
  1326: # Double slashes in file names in object file debugging info
  1327: # mess up M-x gdb in Emacs.
  1328: case $srcdir in
  1329: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1330: esac
  1331: for ac_var in $ac_precious_vars; do
  1332:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1333:   eval ac_env_${ac_var}_value=\$${ac_var}
  1334:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1335:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1336: done
  1337: 
  1338: #
  1339: # Report the --help message.
  1340: #
  1341: if test "$ac_init_help" = "long"; then
  1342:   # Omit some internal or obsolete options to make the list less imposing.
  1343:   # This message is too long to be a string in the A/UX 3.1 sh.
  1344:   cat <<_ACEOF
  1345: \`configure' configures lac 0.1.0 to adapt to many kinds of systems.
  1346: 
  1347: Usage: $0 [OPTION]... [VAR=VALUE]...
  1348: 
  1349: To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1350: VAR=VALUE.  See below for descriptions of some of the useful variables.
  1351: 
  1352: Defaults for the options are specified in brackets.
  1353: 
  1354: Configuration:
  1355:   -h, --help              display this help and exit
  1356:       --help=short        display options specific to this package
  1357:       --help=recursive    display the short help of all the included packages
  1358:   -V, --version           display version information and exit
  1359:   -q, --quiet, --silent   do not print \`checking ...' messages
  1360:       --cache-file=FILE   cache test results in FILE [disabled]
  1361:   -C, --config-cache      alias for \`--cache-file=config.cache'
  1362:   -n, --no-create         do not create output files
  1363:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1364: 
  1365: Installation directories:
  1366:   --prefix=PREFIX         install architecture-independent files in PREFIX
  1367:                           [$ac_default_prefix]
  1368:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1369:                           [PREFIX]
  1370: 
  1371: By default, \`make install' will install all the files in
  1372: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1373: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1374: for instance \`--prefix=\$HOME'.
  1375: 
  1376: For better control, use the options below.
  1377: 
  1378: Fine tuning of the installation directories:
  1379:   --bindir=DIR            user executables [EPREFIX/bin]
  1380:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1381:   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1382:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1383:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1384:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1385:   --libdir=DIR            object code libraries [EPREFIX/lib]
  1386:   --includedir=DIR        C header files [PREFIX/include]
  1387:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1388:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1389:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1390:   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1391:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1392:   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1393:   --docdir=DIR            documentation root [DATAROOTDIR/doc/lac]
  1394:   --htmldir=DIR           html documentation [DOCDIR]
  1395:   --dvidir=DIR            dvi documentation [DOCDIR]
  1396:   --pdfdir=DIR            pdf documentation [DOCDIR]
  1397:   --psdir=DIR             ps documentation [DOCDIR]
  1398: _ACEOF
  1399: 
  1400:   cat <<\_ACEOF
  1401: 
  1402: Program names:
  1403:   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1404:   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1405:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1406: 
  1407: System types:
  1408:   --build=BUILD     configure for building on BUILD [guessed]
  1409:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1410: _ACEOF
  1411: fi
  1412: 
  1413: if test -n "$ac_init_help"; then
  1414:   case $ac_init_help in
  1415:      short | recursive ) echo "Configuration of lac 0.1.0:";;
  1416:    esac
  1417:   cat <<\_ACEOF
  1418: 
  1419: Optional Features:
  1420:   --disable-option-checking  ignore unrecognized --enable/--with options
  1421:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1422:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1423:   --enable-silent-rules   less verbose build output (undo: "make V=1")
  1424:   --disable-silent-rules  verbose build output (undo: "make V=0")
  1425:   --enable-dependency-tracking
  1426:                           do not reject slow dependency extractors
  1427:   --disable-dependency-tracking
  1428:                           speeds up one-time build
  1429:   --disable-rpath         do not hardcode runtime library paths
  1430:   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1431:   --enable-static[=PKGS]  build static libraries [default=yes]
  1432:   --enable-fast-install[=PKGS]
  1433:                           optimize for fast installation [default=yes]
  1434:   --disable-libtool-lock  avoid locking (might break parallel builds)
  1435: 
  1436: Optional Packages:
  1437:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1438:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1439:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1440:   --with-libsigsegv-prefix[=DIR]  search for libsigsegv in DIR/include and DIR/lib
  1441:   --without-libsigsegv-prefix     don't search for libsigsegv in includedir and libdir
  1442:   --with-libreadline-prefix[=DIR]  search for libreadline in DIR/include and DIR/lib
  1443:   --without-libreadline-prefix     don't search for libreadline in includedir and libdir
  1444:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1445:                           both]
  1446:   --with-aix-soname=aix|svr4|both
  1447:                           shared library versioning (aka "SONAME") variant to
  1448:                           provide on AIX, [default=aix].
  1449:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1450:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
  1451:                           compiler's sysroot if not specified).
  1452: 
  1453: Some influential environment variables:
  1454:   CC          C compiler command
  1455:   CFLAGS      C compiler flags
  1456:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1457:               nonstandard directory <lib dir>
  1458:   LIBS        libraries to pass to the linker, e.g. -l<library>
  1459:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1460:               you have headers in a nonstandard directory <include dir>
  1461:   YACC        The `Yet Another Compiler Compiler' implementation to use.
  1462:               Defaults to the first program found out of: `bison -y', `byacc',
  1463:               `yacc'.
  1464:   YFLAGS      The list of arguments that will be passed by default to $YACC.
  1465:               This script will default YFLAGS to the empty string to avoid a
  1466:               default value of `-d' given by some make applications.
  1467:   PKG_CONFIG  path to pkg-config utility
  1468:   PKG_CONFIG_PATH
  1469:               directories to add to pkg-config's search path
  1470:   PKG_CONFIG_LIBDIR
  1471:               path overriding pkg-config's built-in search path
  1472:   BDW_GC_CFLAGS
  1473:               C compiler flags for BDW_GC, overriding pkg-config
  1474:   BDW_GC_LIBS linker flags for BDW_GC, overriding pkg-config
  1475:   CPP         C preprocessor
  1476:   LT_SYS_LIBRARY_PATH
  1477:               User-defined run-time library search path.
  1478: 
  1479: Use these variables to override the choices made by `configure' or to help
  1480: it to find libraries and programs with nonstandard names/locations.
  1481: 
  1482: Report bugs to <lac@tlbflush.org>.
  1483: _ACEOF
  1484: ac_status=$?
  1485: fi
  1486: 
  1487: if test "$ac_init_help" = "recursive"; then
  1488:   # If there are subdirs, report their specific --help.
  1489:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1490:     test -d "$ac_dir" ||
  1491:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1492:       continue
  1493:     ac_builddir=.
  1494: 
  1495: case "$ac_dir" in
  1496: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1497: *)
  1498:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1499:   # A ".." for each directory in $ac_dir_suffix.
  1500:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1501:   case $ac_top_builddir_sub in
  1502:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1503:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1504:   esac ;;
  1505: esac
  1506: ac_abs_top_builddir=$ac_pwd
  1507: ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1508: # for backward compatibility:
  1509: ac_top_builddir=$ac_top_build_prefix
  1510: 
  1511: case $srcdir in
  1512:   .)  # We are building in place.
  1513:     ac_srcdir=.
  1514:     ac_top_srcdir=$ac_top_builddir_sub
  1515:     ac_abs_top_srcdir=$ac_pwd ;;
  1516:   [\\/]* | ?:[\\/]* )  # Absolute name.
  1517:     ac_srcdir=$srcdir$ac_dir_suffix;
  1518:     ac_top_srcdir=$srcdir
  1519:     ac_abs_top_srcdir=$srcdir ;;
  1520:   *) # Relative name.
  1521:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1522:     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1523:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1524: esac
  1525: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1526: 
  1527:     cd "$ac_dir" || { ac_status=$?; continue; }
  1528:     # Check for guested configure.
  1529:     if test -f "$ac_srcdir/configure.gnu"; then
  1530:       echo &&
  1531:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1532:     elif test -f "$ac_srcdir/configure"; then
  1533:       echo &&
  1534:       $SHELL "$ac_srcdir/configure" --help=recursive
  1535:     else
  1536:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1537:     fi || ac_status=$?
  1538:     cd "$ac_pwd" || { ac_status=$?; break; }
  1539:   done
  1540: fi
  1541: 
  1542: test -n "$ac_init_help" && exit $ac_status
  1543: if $ac_init_version; then
  1544:   cat <<\_ACEOF
  1545: lac configure 0.1.0
  1546: generated by GNU Autoconf 2.69
  1547: 
  1548: Copyright (C) 2012 Free Software Foundation, Inc.
  1549: This configure script is free software; the Free Software Foundation
  1550: gives unlimited permission to copy, distribute and modify it.
  1551: _ACEOF
  1552:   exit
  1553: fi
  1554: 
  1555: ## ------------------------ ##
  1556: ## Autoconf initialization. ##
  1557: ## ------------------------ ##
  1558: 
  1559: # ac_fn_c_try_compile LINENO
  1560: # --------------------------
  1561: # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1562: ac_fn_c_try_compile ()
  1563: {
  1564:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1565:   rm -f conftest.$ac_objext
  1566:   if { { ac_try="$ac_compile"
  1567: case "(($ac_try" in
  1568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1569:   *) ac_try_echo=$ac_try;;
  1570: esac
  1571: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1572: $as_echo "$ac_try_echo"; } >&5
  1573:   (eval "$ac_compile") 2>conftest.err
  1574:   ac_status=$?
  1575:   if test -s conftest.err; then
  1576:     grep -v '^ *+' conftest.err >conftest.er1
  1577:     cat conftest.er1 >&5
  1578:     mv -f conftest.er1 conftest.err
  1579:   fi
  1580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1581:   test $ac_status = 0; } && {
  1582: 	 test -z "$ac_c_werror_flag" ||
  1583: 	 test ! -s conftest.err
  1584:        } && test -s conftest.$ac_objext; then :
  1585:   ac_retval=0
  1586: else
  1587:   $as_echo "$as_me: failed program was:" >&5
  1588: sed 's/^/| /' conftest.$ac_ext >&5
  1589: 
  1590: 	ac_retval=1
  1591: fi
  1592:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1593:   as_fn_set_status $ac_retval
  1594: 
  1595: } # ac_fn_c_try_compile
  1596: 
  1597: # ac_fn_c_try_link LINENO
  1598: # -----------------------
  1599: # Try to link conftest.$ac_ext, and return whether this succeeded.
  1600: ac_fn_c_try_link ()
  1601: {
  1602:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1603:   rm -f conftest.$ac_objext conftest$ac_exeext
  1604:   if { { ac_try="$ac_link"
  1605: case "(($ac_try" in
  1606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1607:   *) ac_try_echo=$ac_try;;
  1608: esac
  1609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1610: $as_echo "$ac_try_echo"; } >&5
  1611:   (eval "$ac_link") 2>conftest.err
  1612:   ac_status=$?
  1613:   if test -s conftest.err; then
  1614:     grep -v '^ *+' conftest.err >conftest.er1
  1615:     cat conftest.er1 >&5
  1616:     mv -f conftest.er1 conftest.err
  1617:   fi
  1618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1619:   test $ac_status = 0; } && {
  1620: 	 test -z "$ac_c_werror_flag" ||
  1621: 	 test ! -s conftest.err
  1622:        } && test -s conftest$ac_exeext && {
  1623: 	 test "$cross_compiling" = yes ||
  1624: 	 test -x conftest$ac_exeext
  1625:        }; then :
  1626:   ac_retval=0
  1627: else
  1628:   $as_echo "$as_me: failed program was:" >&5
  1629: sed 's/^/| /' conftest.$ac_ext >&5
  1630: 
  1631: 	ac_retval=1
  1632: fi
  1633:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1634:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1635:   # interfere with the next link command; also delete a directory that is
  1636:   # left behind by Apple's compiler.  We do this before executing the actions.
  1637:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1638:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1639:   as_fn_set_status $ac_retval
  1640: 
  1641: } # ac_fn_c_try_link
  1642: 
  1643: # ac_fn_c_try_cpp LINENO
  1644: # ----------------------
  1645: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1646: ac_fn_c_try_cpp ()
  1647: {
  1648:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1649:   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1650: case "(($ac_try" in
  1651:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1652:   *) ac_try_echo=$ac_try;;
  1653: esac
  1654: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1655: $as_echo "$ac_try_echo"; } >&5
  1656:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1657:   ac_status=$?
  1658:   if test -s conftest.err; then
  1659:     grep -v '^ *+' conftest.err >conftest.er1
  1660:     cat conftest.er1 >&5
  1661:     mv -f conftest.er1 conftest.err
  1662:   fi
  1663:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1664:   test $ac_status = 0; } > conftest.i && {
  1665: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1666: 	 test ! -s conftest.err
  1667:        }; then :
  1668:   ac_retval=0
  1669: else
  1670:   $as_echo "$as_me: failed program was:" >&5
  1671: sed 's/^/| /' conftest.$ac_ext >&5
  1672: 
  1673:     ac_retval=1
  1674: fi
  1675:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1676:   as_fn_set_status $ac_retval
  1677: 
  1678: } # ac_fn_c_try_cpp
  1679: 
  1680: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1681: # -------------------------------------------------------
  1682: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1683: # the include files in INCLUDES and setting the cache variable VAR
  1684: # accordingly.
  1685: ac_fn_c_check_header_mongrel ()
  1686: {
  1687:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1688:   if eval \${$3+:} false; then :
  1689:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1690: $as_echo_n "checking for $2... " >&6; }
  1691: if eval \${$3+:} false; then :
  1692:   $as_echo_n "(cached) " >&6
  1693: fi
  1694: eval ac_res=\$$3
  1695: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1696: $as_echo "$ac_res" >&6; }
  1697: else
  1698:   # Is the header compilable?
  1699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1700: $as_echo_n "checking $2 usability... " >&6; }
  1701: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1702: /* end confdefs.h.  */
  1703: $4
  1704: #include <$2>
  1705: _ACEOF
  1706: if ac_fn_c_try_compile "$LINENO"; then :
  1707:   ac_header_compiler=yes
  1708: else
  1709:   ac_header_compiler=no
  1710: fi
  1711: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1713: $as_echo "$ac_header_compiler" >&6; }
  1714: 
  1715: # Is the header present?
  1716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1717: $as_echo_n "checking $2 presence... " >&6; }
  1718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1719: /* end confdefs.h.  */
  1720: #include <$2>
  1721: _ACEOF
  1722: if ac_fn_c_try_cpp "$LINENO"; then :
  1723:   ac_header_preproc=yes
  1724: else
  1725:   ac_header_preproc=no
  1726: fi
  1727: rm -f conftest.err conftest.i conftest.$ac_ext
  1728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1729: $as_echo "$ac_header_preproc" >&6; }
  1730: 
  1731: # So?  What about this header?
  1732: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1733:   yes:no: )
  1734:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1735: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1736:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1737: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1738:     ;;
  1739:   no:yes:* )
  1740:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1741: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1742:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1743: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1744:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1745: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1746:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1747: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1748:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1749: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1750: ( $as_echo "## ------------------------------- ##
  1751: ## Report this to lac@tlbflush.org ##
  1752: ## ------------------------------- ##"
  1753:      ) | sed "s/^/$as_me: WARNING:     /" >&2
  1754:     ;;
  1755: esac
  1756:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1757: $as_echo_n "checking for $2... " >&6; }
  1758: if eval \${$3+:} false; then :
  1759:   $as_echo_n "(cached) " >&6
  1760: else
  1761:   eval "$3=\$ac_header_compiler"
  1762: fi
  1763: eval ac_res=\$$3
  1764: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1765: $as_echo "$ac_res" >&6; }
  1766: fi
  1767:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1768: 
  1769: } # ac_fn_c_check_header_mongrel
  1770: 
  1771: # ac_fn_c_try_run LINENO
  1772: # ----------------------
  1773: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1774: # that executables *can* be run.
  1775: ac_fn_c_try_run ()
  1776: {
  1777:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1778:   if { { ac_try="$ac_link"
  1779: case "(($ac_try" in
  1780:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1781:   *) ac_try_echo=$ac_try;;
  1782: esac
  1783: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1784: $as_echo "$ac_try_echo"; } >&5
  1785:   (eval "$ac_link") 2>&5
  1786:   ac_status=$?
  1787:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1788:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1789:   { { case "(($ac_try" in
  1790:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1791:   *) ac_try_echo=$ac_try;;
  1792: esac
  1793: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1794: $as_echo "$ac_try_echo"; } >&5
  1795:   (eval "$ac_try") 2>&5
  1796:   ac_status=$?
  1797:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1798:   test $ac_status = 0; }; }; then :
  1799:   ac_retval=0
  1800: else
  1801:   $as_echo "$as_me: program exited with status $ac_status" >&5
  1802:        $as_echo "$as_me: failed program was:" >&5
  1803: sed 's/^/| /' conftest.$ac_ext >&5
  1804: 
  1805:        ac_retval=$ac_status
  1806: fi
  1807:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1808:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1809:   as_fn_set_status $ac_retval
  1810: 
  1811: } # ac_fn_c_try_run
  1812: 
  1813: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1814: # -------------------------------------------------------
  1815: # Tests whether HEADER exists and can be compiled using the include files in
  1816: # INCLUDES, setting the cache variable VAR accordingly.
  1817: ac_fn_c_check_header_compile ()
  1818: {
  1819:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1820:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1821: $as_echo_n "checking for $2... " >&6; }
  1822: if eval \${$3+:} false; then :
  1823:   $as_echo_n "(cached) " >&6
  1824: else
  1825:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1826: /* end confdefs.h.  */
  1827: $4
  1828: #include <$2>
  1829: _ACEOF
  1830: if ac_fn_c_try_compile "$LINENO"; then :
  1831:   eval "$3=yes"
  1832: else
  1833:   eval "$3=no"
  1834: fi
  1835: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1836: fi
  1837: eval ac_res=\$$3
  1838: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1839: $as_echo "$ac_res" >&6; }
  1840:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1841: 
  1842: } # ac_fn_c_check_header_compile
  1843: 
  1844: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1845: # -------------------------------------------
  1846: # Tests whether TYPE exists after having included INCLUDES, setting cache
  1847: # variable VAR accordingly.
  1848: ac_fn_c_check_type ()
  1849: {
  1850:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1851:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1852: $as_echo_n "checking for $2... " >&6; }
  1853: if eval \${$3+:} false; then :
  1854:   $as_echo_n "(cached) " >&6
  1855: else
  1856:   eval "$3=no"
  1857:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1858: /* end confdefs.h.  */
  1859: $4
  1860: int
  1861: main ()
  1862: {
  1863: if (sizeof ($2))
  1864: 	 return 0;
  1865:   ;
  1866:   return 0;
  1867: }
  1868: _ACEOF
  1869: if ac_fn_c_try_compile "$LINENO"; then :
  1870:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1871: /* end confdefs.h.  */
  1872: $4
  1873: int
  1874: main ()
  1875: {
  1876: if (sizeof (($2)))
  1877: 	    return 0;
  1878:   ;
  1879:   return 0;
  1880: }
  1881: _ACEOF
  1882: if ac_fn_c_try_compile "$LINENO"; then :
  1883: 
  1884: else
  1885:   eval "$3=yes"
  1886: fi
  1887: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1888: fi
  1889: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1890: fi
  1891: eval ac_res=\$$3
  1892: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1893: $as_echo "$ac_res" >&6; }
  1894:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1895: 
  1896: } # ac_fn_c_check_type
  1897: 
  1898: # ac_fn_c_check_func LINENO FUNC VAR
  1899: # ----------------------------------
  1900: # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1901: ac_fn_c_check_func ()
  1902: {
  1903:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1904:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1905: $as_echo_n "checking for $2... " >&6; }
  1906: if eval \${$3+:} false; then :
  1907:   $as_echo_n "(cached) " >&6
  1908: else
  1909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1910: /* end confdefs.h.  */
  1911: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1912:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1913: #define $2 innocuous_$2
  1914: 
  1915: /* System header to define __stub macros and hopefully few prototypes,
  1916:     which can conflict with char $2 (); below.
  1917:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1918:     <limits.h> exists even on freestanding compilers.  */
  1919: 
  1920: #ifdef __STDC__
  1921: # include <limits.h>
  1922: #else
  1923: # include <assert.h>
  1924: #endif
  1925: 
  1926: #undef $2
  1927: 
  1928: /* Override any GCC internal prototype to avoid an error.
  1929:    Use char because int might match the return type of a GCC
  1930:    builtin and then its argument prototype would still apply.  */
  1931: #ifdef __cplusplus
  1932: extern "C"
  1933: #endif
  1934: char $2 ();
  1935: /* The GNU C library defines this for functions which it implements
  1936:     to always fail with ENOSYS.  Some functions are actually named
  1937:     something starting with __ and the normal name is an alias.  */
  1938: #if defined __stub_$2 || defined __stub___$2
  1939: choke me
  1940: #endif
  1941: 
  1942: int
  1943: main ()
  1944: {
  1945: return $2 ();
  1946:   ;
  1947:   return 0;
  1948: }
  1949: _ACEOF
  1950: if ac_fn_c_try_link "$LINENO"; then :
  1951:   eval "$3=yes"
  1952: else
  1953:   eval "$3=no"
  1954: fi
  1955: rm -f core conftest.err conftest.$ac_objext \
  1956:     conftest$ac_exeext conftest.$ac_ext
  1957: fi
  1958: eval ac_res=\$$3
  1959: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1960: $as_echo "$ac_res" >&6; }
  1961:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1962: 
  1963: } # ac_fn_c_check_func
  1964: cat >config.log <<_ACEOF
  1965: This file contains any messages produced by compilers while
  1966: running configure, to aid debugging if configure makes a mistake.
  1967: 
  1968: It was created by lac $as_me 0.1.0, which was
  1969: generated by GNU Autoconf 2.69.  Invocation command line was
  1970: 
  1971:   $ $0 $@
  1972: 
  1973: _ACEOF
  1974: exec 5>>config.log
  1975: {
  1976: cat <<_ASUNAME
  1977: ## --------- ##
  1978: ## Platform. ##
  1979: ## --------- ##
  1980: 
  1981: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1982: uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1983: uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1984: uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1985: uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1986: 
  1987: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1988: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1989: 
  1990: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1991: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1992: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1993: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1994: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1995: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1996: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1997: 
  1998: _ASUNAME
  1999: 
  2000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2001: for as_dir in $PATH
  2002: do
  2003:   IFS=$as_save_IFS
  2004:   test -z "$as_dir" && as_dir=.
  2005:     $as_echo "PATH: $as_dir"
  2006:   done
  2007: IFS=$as_save_IFS
  2008: 
  2009: } >&5
  2010: 
  2011: cat >&5 <<_ACEOF
  2012: 
  2013: 
  2014: ## ----------- ##
  2015: ## Core tests. ##
  2016: ## ----------- ##
  2017: 
  2018: _ACEOF
  2019: 
  2020: 
  2021: # Keep a trace of the command line.
  2022: # Strip out --no-create and --no-recursion so they do not pile up.
  2023: # Strip out --silent because we don't want to record it for future runs.
  2024: # Also quote any args containing shell meta-characters.
  2025: # Make two passes to allow for proper duplicate-argument suppression.
  2026: ac_configure_args=
  2027: ac_configure_args0=
  2028: ac_configure_args1=
  2029: ac_must_keep_next=false
  2030: for ac_pass in 1 2
  2031: do
  2032:   for ac_arg
  2033:   do
  2034:     case $ac_arg in
  2035:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2036:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2037:     | -silent | --silent | --silen | --sile | --sil)
  2038:       continue ;;
  2039:     *\'*)
  2040:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2041:     esac
  2042:     case $ac_pass in
  2043:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2044:     2)
  2045:       as_fn_append ac_configure_args1 " '$ac_arg'"
  2046:       if test $ac_must_keep_next = true; then
  2047: 	ac_must_keep_next=false # Got value, back to normal.
  2048:       else
  2049: 	case $ac_arg in
  2050: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2051: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2052: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2053: 	  | -with-* | --with-* | -without-* | --without-* | --x)
  2054: 	    case "$ac_configure_args0 " in
  2055: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2056: 	    esac
  2057: 	    ;;
  2058: 	  -* ) ac_must_keep_next=true ;;
  2059: 	esac
  2060:       fi
  2061:       as_fn_append ac_configure_args " '$ac_arg'"
  2062:       ;;
  2063:     esac
  2064:   done
  2065: done
  2066: { ac_configure_args0=; unset ac_configure_args0;}
  2067: { ac_configure_args1=; unset ac_configure_args1;}
  2068: 
  2069: # When interrupted or exit'd, cleanup temporary files, and complete
  2070: # config.log.  We remove comments because anyway the quotes in there
  2071: # would cause problems or look ugly.
  2072: # WARNING: Use '\'' to represent an apostrophe within the trap.
  2073: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2074: trap 'exit_status=$?
  2075:   # Save into config.log some information that might help in debugging.
  2076:   {
  2077:     echo
  2078: 
  2079:     $as_echo "## ---------------- ##
  2080: ## Cache variables. ##
  2081: ## ---------------- ##"
  2082:     echo
  2083:     # The following way of writing the cache mishandles newlines in values,
  2084: (
  2085:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2086:     eval ac_val=\$$ac_var
  2087:     case $ac_val in #(
  2088:     *${as_nl}*)
  2089:       case $ac_var in #(
  2090:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2091: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2092:       esac
  2093:       case $ac_var in #(
  2094:       _ | IFS | as_nl) ;; #(
  2095:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2096:       *) { eval $ac_var=; unset $ac_var;} ;;
  2097:       esac ;;
  2098:     esac
  2099:   done
  2100:   (set) 2>&1 |
  2101:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2102:     *${as_nl}ac_space=\ *)
  2103:       sed -n \
  2104: 	"s/'\''/'\''\\\\'\'''\''/g;
  2105: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2106:       ;; #(
  2107:     *)
  2108:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2109:       ;;
  2110:     esac |
  2111:     sort
  2112: )
  2113:     echo
  2114: 
  2115:     $as_echo "## ----------------- ##
  2116: ## Output variables. ##
  2117: ## ----------------- ##"
  2118:     echo
  2119:     for ac_var in $ac_subst_vars
  2120:     do
  2121:       eval ac_val=\$$ac_var
  2122:       case $ac_val in
  2123:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2124:       esac
  2125:       $as_echo "$ac_var='\''$ac_val'\''"
  2126:     done | sort
  2127:     echo
  2128: 
  2129:     if test -n "$ac_subst_files"; then
  2130:       $as_echo "## ------------------- ##
  2131: ## File substitutions. ##
  2132: ## ------------------- ##"
  2133:       echo
  2134:       for ac_var in $ac_subst_files
  2135:       do
  2136: 	eval ac_val=\$$ac_var
  2137: 	case $ac_val in
  2138: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2139: 	esac
  2140: 	$as_echo "$ac_var='\''$ac_val'\''"
  2141:       done | sort
  2142:       echo
  2143:     fi
  2144: 
  2145:     if test -s confdefs.h; then
  2146:       $as_echo "## ----------- ##
  2147: ## confdefs.h. ##
  2148: ## ----------- ##"
  2149:       echo
  2150:       cat confdefs.h
  2151:       echo
  2152:     fi
  2153:     test "$ac_signal" != 0 &&
  2154:       $as_echo "$as_me: caught signal $ac_signal"
  2155:     $as_echo "$as_me: exit $exit_status"
  2156:   } >&5
  2157:   rm -f core *.core core.conftest.* &&
  2158:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2159:     exit $exit_status
  2160: ' 0
  2161: for ac_signal in 1 2 13 15; do
  2162:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2163: done
  2164: ac_signal=0
  2165: 
  2166: # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2167: rm -f -r conftest* confdefs.h
  2168: 
  2169: $as_echo "/* confdefs.h */" > confdefs.h
  2170: 
  2171: # Predefined preprocessor variables.
  2172: 
  2173: cat >>confdefs.h <<_ACEOF
  2174: #define PACKAGE_NAME "$PACKAGE_NAME"
  2175: _ACEOF
  2176: 
  2177: cat >>confdefs.h <<_ACEOF
  2178: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2179: _ACEOF
  2180: 
  2181: cat >>confdefs.h <<_ACEOF
  2182: #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2183: _ACEOF
  2184: 
  2185: cat >>confdefs.h <<_ACEOF
  2186: #define PACKAGE_STRING "$PACKAGE_STRING"
  2187: _ACEOF
  2188: 
  2189: cat >>confdefs.h <<_ACEOF
  2190: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2191: _ACEOF
  2192: 
  2193: cat >>confdefs.h <<_ACEOF
  2194: #define PACKAGE_URL "$PACKAGE_URL"
  2195: _ACEOF
  2196: 
  2197: 
  2198: # Let the site file select an alternate cache file if it wants to.
  2199: # Prefer an explicitly selected file to automatically selected ones.
  2200: ac_site_file1=NONE
  2201: ac_site_file2=NONE
  2202: if test -n "$CONFIG_SITE"; then
  2203:   # We do not want a PATH search for config.site.
  2204:   case $CONFIG_SITE in #((
  2205:     -*)  ac_site_file1=./$CONFIG_SITE;;
  2206:     */*) ac_site_file1=$CONFIG_SITE;;
  2207:     *)   ac_site_file1=./$CONFIG_SITE;;
  2208:   esac
  2209: elif test "x$prefix" != xNONE; then
  2210:   ac_site_file1=$prefix/share/config.site
  2211:   ac_site_file2=$prefix/etc/config.site
  2212: else
  2213:   ac_site_file1=$ac_default_prefix/share/config.site
  2214:   ac_site_file2=$ac_default_prefix/etc/config.site
  2215: fi
  2216: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2217: do
  2218:   test "x$ac_site_file" = xNONE && continue
  2219:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2220:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2221: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2222:     sed 's/^/| /' "$ac_site_file" >&5
  2223:     . "$ac_site_file" \
  2224:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2225: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2226: as_fn_error $? "failed to load site script $ac_site_file
  2227: See \`config.log' for more details" "$LINENO" 5; }
  2228:   fi
  2229: done
  2230: 
  2231: if test -r "$cache_file"; then
  2232:   # Some versions of bash will fail to source /dev/null (special files
  2233:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2234:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2235:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2236: $as_echo "$as_me: loading cache $cache_file" >&6;}
  2237:     case $cache_file in
  2238:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2239:       *)                      . "./$cache_file";;
  2240:     esac
  2241:   fi
  2242: else
  2243:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2244: $as_echo "$as_me: creating cache $cache_file" >&6;}
  2245:   >$cache_file
  2246: fi
  2247: 
  2248: # Check that the precious variables saved in the cache have kept the same
  2249: # value.
  2250: ac_cache_corrupted=false
  2251: for ac_var in $ac_precious_vars; do
  2252:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2253:   eval ac_new_set=\$ac_env_${ac_var}_set
  2254:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2255:   eval ac_new_val=\$ac_env_${ac_var}_value
  2256:   case $ac_old_set,$ac_new_set in
  2257:     set,)
  2258:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2259: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2260:       ac_cache_corrupted=: ;;
  2261:     ,set)
  2262:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2263: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2264:       ac_cache_corrupted=: ;;
  2265:     ,);;
  2266:     *)
  2267:       if test "x$ac_old_val" != "x$ac_new_val"; then
  2268: 	# differences in whitespace do not lead to failure.
  2269: 	ac_old_val_w=`echo x $ac_old_val`
  2270: 	ac_new_val_w=`echo x $ac_new_val`
  2271: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2272: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2273: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2274: 	  ac_cache_corrupted=:
  2275: 	else
  2276: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2277: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2278: 	  eval $ac_var=\$ac_old_val
  2279: 	fi
  2280: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2281: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2282: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2283: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2284:       fi;;
  2285:   esac
  2286:   # Pass precious variables to config.status.
  2287:   if test "$ac_new_set" = set; then
  2288:     case $ac_new_val in
  2289:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2290:     *) ac_arg=$ac_var=$ac_new_val ;;
  2291:     esac
  2292:     case " $ac_configure_args " in
  2293:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2294:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2295:     esac
  2296:   fi
  2297: done
  2298: if $ac_cache_corrupted; then
  2299:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2300: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2301:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2302: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2303:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2304: fi
  2305: ## -------------------- ##
  2306: ## Main body of script. ##
  2307: ## -------------------- ##
  2308: 
  2309: ac_ext=c
  2310: ac_cpp='$CPP $CPPFLAGS'
  2311: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2312: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2313: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2314: 
  2315: 
  2316: am__api_version='1.15'
  2317: 
  2318: ac_aux_dir=
  2319: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2320:   if test -f "$ac_dir/install-sh"; then
  2321:     ac_aux_dir=$ac_dir
  2322:     ac_install_sh="$ac_aux_dir/install-sh -c"
  2323:     break
  2324:   elif test -f "$ac_dir/install.sh"; then
  2325:     ac_aux_dir=$ac_dir
  2326:     ac_install_sh="$ac_aux_dir/install.sh -c"
  2327:     break
  2328:   elif test -f "$ac_dir/shtool"; then
  2329:     ac_aux_dir=$ac_dir
  2330:     ac_install_sh="$ac_aux_dir/shtool install -c"
  2331:     break
  2332:   fi
  2333: done
  2334: if test -z "$ac_aux_dir"; then
  2335:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2336: fi
  2337: 
  2338: # These three variables are undocumented and unsupported,
  2339: # and are intended to be withdrawn in a future Autoconf release.
  2340: # They can cause serious problems if a builder's source tree is in a directory
  2341: # whose full name contains unusual characters.
  2342: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2343: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2344: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2345: 
  2346: 
  2347: # Find a good install program.  We prefer a C program (faster),
  2348: # so one script is as good as another.  But avoid the broken or
  2349: # incompatible versions:
  2350: # SysV /etc/install, /usr/sbin/install
  2351: # SunOS /usr/etc/install
  2352: # IRIX /sbin/install
  2353: # AIX /bin/install
  2354: # AmigaOS /C/install, which installs bootblocks on floppy discs
  2355: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2356: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2357: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2358: # OS/2's system install, which has a completely different semantic
  2359: # ./install, which can be erroneously created by make from ./install.sh.
  2360: # Reject install programs that cannot install multiple files.
  2361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2362: $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2363: if test -z "$INSTALL"; then
  2364: if ${ac_cv_path_install+:} false; then :
  2365:   $as_echo_n "(cached) " >&6
  2366: else
  2367:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2368: for as_dir in $PATH
  2369: do
  2370:   IFS=$as_save_IFS
  2371:   test -z "$as_dir" && as_dir=.
  2372:     # Account for people who put trailing slashes in PATH elements.
  2373: case $as_dir/ in #((
  2374:   ./ | .// | /[cC]/* | \
  2375:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2376:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2377:   /usr/ucb/* ) ;;
  2378:   *)
  2379:     # OSF1 and SCO ODT 3.0 have their own names for install.
  2380:     # Don't use installbsd from OSF since it installs stuff as root
  2381:     # by default.
  2382:     for ac_prog in ginstall scoinst install; do
  2383:       for ac_exec_ext in '' $ac_executable_extensions; do
  2384: 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2385: 	  if test $ac_prog = install &&
  2386: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2387: 	    # AIX install.  It has an incompatible calling convention.
  2388: 	    :
  2389: 	  elif test $ac_prog = install &&
  2390: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2391: 	    # program-specific install script used by HP pwplus--don't use.
  2392: 	    :
  2393: 	  else
  2394: 	    rm -rf conftest.one conftest.two conftest.dir
  2395: 	    echo one > conftest.one
  2396: 	    echo two > conftest.two
  2397: 	    mkdir conftest.dir
  2398: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2399: 	      test -s conftest.one && test -s conftest.two &&
  2400: 	      test -s conftest.dir/conftest.one &&
  2401: 	      test -s conftest.dir/conftest.two
  2402: 	    then
  2403: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2404: 	      break 3
  2405: 	    fi
  2406: 	  fi
  2407: 	fi
  2408:       done
  2409:     done
  2410:     ;;
  2411: esac
  2412: 
  2413:   done
  2414: IFS=$as_save_IFS
  2415: 
  2416: rm -rf conftest.one conftest.two conftest.dir
  2417: 
  2418: fi
  2419:   if test "${ac_cv_path_install+set}" = set; then
  2420:     INSTALL=$ac_cv_path_install
  2421:   else
  2422:     # As a last resort, use the slow shell script.  Don't cache a
  2423:     # value for INSTALL within a source directory, because that will
  2424:     # break other packages using the cache if that directory is
  2425:     # removed, or if the value is a relative name.
  2426:     INSTALL=$ac_install_sh
  2427:   fi
  2428: fi
  2429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2430: $as_echo "$INSTALL" >&6; }
  2431: 
  2432: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2433: # It thinks the first close brace ends the variable substitution.
  2434: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2435: 
  2436: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2437: 
  2438: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2439: 
  2440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2441: $as_echo_n "checking whether build environment is sane... " >&6; }
  2442: # Reject unsafe characters in $srcdir or the absolute working directory
  2443: # name.  Accept space and tab only in the latter.
  2444: am_lf='
  2445: '
  2446: case `pwd` in
  2447:   *[\\\"\#\$\&\'\`$am_lf]*)
  2448:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2449: esac
  2450: case $srcdir in
  2451:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
  2452:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2453: esac
  2454: 
  2455: # Do 'set' in a subshell so we don't clobber the current shell's
  2456: # arguments.  Must try -L first in case configure is actually a
  2457: # symlink; some systems play weird games with the mod time of symlinks
  2458: # (eg FreeBSD returns the mod time of the symlink's containing
  2459: # directory).
  2460: if (
  2461:    am_has_slept=no
  2462:    for am_try in 1 2; do
  2463:      echo "timestamp, slept: $am_has_slept" > conftest.file
  2464:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2465:      if test "$*" = "X"; then
  2466: 	# -L didn't work.
  2467: 	set X `ls -t "$srcdir/configure" conftest.file`
  2468:      fi
  2469:      if test "$*" != "X $srcdir/configure conftest.file" \
  2470: 	&& test "$*" != "X conftest.file $srcdir/configure"; then
  2471: 
  2472: 	# If neither matched, then we have a broken ls.  This can happen
  2473: 	# if, for instance, CONFIG_SHELL is bash and it inherits a
  2474: 	# broken ls alias from the environment.  This has actually
  2475: 	# happened.  Such a system could not be considered "sane".
  2476: 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2477:   alias in your environment" "$LINENO" 5
  2478:      fi
  2479:      if test "$2" = conftest.file || test $am_try -eq 2; then
  2480:        break
  2481:      fi
  2482:      # Just in case.
  2483:      sleep 1
  2484:      am_has_slept=yes
  2485:    done
  2486:    test "$2" = conftest.file
  2487:    )
  2488: then
  2489:    # Ok.
  2490:    :
  2491: else
  2492:    as_fn_error $? "newly created file is older than distributed files!
  2493: Check your system clock" "$LINENO" 5
  2494: fi
  2495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2496: $as_echo "yes" >&6; }
  2497: # If we didn't sleep, we still need to ensure time stamps of config.status and
  2498: # generated files are strictly newer.
  2499: am_sleep_pid=
  2500: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2501:   ( sleep 1 ) &
  2502:   am_sleep_pid=$!
  2503: fi
  2504: 
  2505: rm -f conftest.file
  2506: 
  2507: test "$program_prefix" != NONE &&
  2508:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2509: # Use a double $ so make ignores it.
  2510: test "$program_suffix" != NONE &&
  2511:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2512: # Double any \ or $.
  2513: # By default was `s,x,x', remove it if useless.
  2514: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2515: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2516: 
  2517: # Expand $ac_aux_dir to an absolute path.
  2518: am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2519: 
  2520: if test x"${MISSING+set}" != xset; then
  2521:   case $am_aux_dir in
  2522:   *\ * | *\	*)
  2523:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2524:   *)
  2525:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2526:   esac
  2527: fi
  2528: # Use eval to expand $SHELL
  2529: if eval "$MISSING --is-lightweight"; then
  2530:   am_missing_run="$MISSING "
  2531: else
  2532:   am_missing_run=
  2533:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2534: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2535: fi
  2536: 
  2537: if test x"${install_sh+set}" != xset; then
  2538:   case $am_aux_dir in
  2539:   *\ * | *\	*)
  2540:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2541:   *)
  2542:     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2543:   esac
  2544: fi
  2545: 
  2546: # Installed binaries are usually stripped using 'strip' when the user
  2547: # run "make install-strip".  However 'strip' might not be the right
  2548: # tool to use in cross-compilation environments, therefore Automake
  2549: # will honor the 'STRIP' environment variable to overrule this program.
  2550: if test "$cross_compiling" != no; then
  2551:   if test -n "$ac_tool_prefix"; then
  2552:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2553: set dummy ${ac_tool_prefix}strip; ac_word=$2
  2554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2555: $as_echo_n "checking for $ac_word... " >&6; }
  2556: if ${ac_cv_prog_STRIP+:} false; then :
  2557:   $as_echo_n "(cached) " >&6
  2558: else
  2559:   if test -n "$STRIP"; then
  2560:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2561: else
  2562: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2563: for as_dir in $PATH
  2564: do
  2565:   IFS=$as_save_IFS
  2566:   test -z "$as_dir" && as_dir=.
  2567:     for ac_exec_ext in '' $ac_executable_extensions; do
  2568:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2569:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2570:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2571:     break 2
  2572:   fi
  2573: done
  2574:   done
  2575: IFS=$as_save_IFS
  2576: 
  2577: fi
  2578: fi
  2579: STRIP=$ac_cv_prog_STRIP
  2580: if test -n "$STRIP"; then
  2581:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2582: $as_echo "$STRIP" >&6; }
  2583: else
  2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2585: $as_echo "no" >&6; }
  2586: fi
  2587: 
  2588: 
  2589: fi
  2590: if test -z "$ac_cv_prog_STRIP"; then
  2591:   ac_ct_STRIP=$STRIP
  2592:   # Extract the first word of "strip", so it can be a program name with args.
  2593: set dummy strip; ac_word=$2
  2594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2595: $as_echo_n "checking for $ac_word... " >&6; }
  2596: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2597:   $as_echo_n "(cached) " >&6
  2598: else
  2599:   if test -n "$ac_ct_STRIP"; then
  2600:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2601: else
  2602: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2603: for as_dir in $PATH
  2604: do
  2605:   IFS=$as_save_IFS
  2606:   test -z "$as_dir" && as_dir=.
  2607:     for ac_exec_ext in '' $ac_executable_extensions; do
  2608:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2609:     ac_cv_prog_ac_ct_STRIP="strip"
  2610:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2611:     break 2
  2612:   fi
  2613: done
  2614:   done
  2615: IFS=$as_save_IFS
  2616: 
  2617: fi
  2618: fi
  2619: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2620: if test -n "$ac_ct_STRIP"; then
  2621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2622: $as_echo "$ac_ct_STRIP" >&6; }
  2623: else
  2624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2625: $as_echo "no" >&6; }
  2626: fi
  2627: 
  2628:   if test "x$ac_ct_STRIP" = x; then
  2629:     STRIP=":"
  2630:   else
  2631:     case $cross_compiling:$ac_tool_warned in
  2632: yes:)
  2633: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2634: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2635: ac_tool_warned=yes ;;
  2636: esac
  2637:     STRIP=$ac_ct_STRIP
  2638:   fi
  2639: else
  2640:   STRIP="$ac_cv_prog_STRIP"
  2641: fi
  2642: 
  2643: fi
  2644: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2645: 
  2646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2647: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2648: if test -z "$MKDIR_P"; then
  2649:   if ${ac_cv_path_mkdir+:} false; then :
  2650:   $as_echo_n "(cached) " >&6
  2651: else
  2652:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2653: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2654: do
  2655:   IFS=$as_save_IFS
  2656:   test -z "$as_dir" && as_dir=.
  2657:     for ac_prog in mkdir gmkdir; do
  2658: 	 for ac_exec_ext in '' $ac_executable_extensions; do
  2659: 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2660: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2661: 	     'mkdir (GNU coreutils) '* | \
  2662: 	     'mkdir (coreutils) '* | \
  2663: 	     'mkdir (fileutils) '4.1*)
  2664: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2665: 	       break 3;;
  2666: 	   esac
  2667: 	 done
  2668:        done
  2669:   done
  2670: IFS=$as_save_IFS
  2671: 
  2672: fi
  2673: 
  2674:   test -d ./--version && rmdir ./--version
  2675:   if test "${ac_cv_path_mkdir+set}" = set; then
  2676:     MKDIR_P="$ac_cv_path_mkdir -p"
  2677:   else
  2678:     # As a last resort, use the slow shell script.  Don't cache a
  2679:     # value for MKDIR_P within a source directory, because that will
  2680:     # break other packages using the cache if that directory is
  2681:     # removed, or if the value is a relative name.
  2682:     MKDIR_P="$ac_install_sh -d"
  2683:   fi
  2684: fi
  2685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2686: $as_echo "$MKDIR_P" >&6; }
  2687: 
  2688: for ac_prog in gawk mawk nawk awk
  2689: do
  2690:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2691: set dummy $ac_prog; ac_word=$2
  2692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2693: $as_echo_n "checking for $ac_word... " >&6; }
  2694: if ${ac_cv_prog_AWK+:} false; then :
  2695:   $as_echo_n "(cached) " >&6
  2696: else
  2697:   if test -n "$AWK"; then
  2698:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2699: else
  2700: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2701: for as_dir in $PATH
  2702: do
  2703:   IFS=$as_save_IFS
  2704:   test -z "$as_dir" && as_dir=.
  2705:     for ac_exec_ext in '' $ac_executable_extensions; do
  2706:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2707:     ac_cv_prog_AWK="$ac_prog"
  2708:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2709:     break 2
  2710:   fi
  2711: done
  2712:   done
  2713: IFS=$as_save_IFS
  2714: 
  2715: fi
  2716: fi
  2717: AWK=$ac_cv_prog_AWK
  2718: if test -n "$AWK"; then
  2719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2720: $as_echo "$AWK" >&6; }
  2721: else
  2722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2723: $as_echo "no" >&6; }
  2724: fi
  2725: 
  2726: 
  2727:   test -n "$AWK" && break
  2728: done
  2729: 
  2730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2731: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2732: set x ${MAKE-make}
  2733: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2734: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2735:   $as_echo_n "(cached) " >&6
  2736: else
  2737:   cat >conftest.make <<\_ACEOF
  2738: SHELL = /bin/sh
  2739: all:
  2740: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2741: _ACEOF
  2742: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2743: case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2744:   *@@@%%%=?*=@@@%%%*)
  2745:     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2746:   *)
  2747:     eval ac_cv_prog_make_${ac_make}_set=no;;
  2748: esac
  2749: rm -f conftest.make
  2750: fi
  2751: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2753: $as_echo "yes" >&6; }
  2754:   SET_MAKE=
  2755: else
  2756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2757: $as_echo "no" >&6; }
  2758:   SET_MAKE="MAKE=${MAKE-make}"
  2759: fi
  2760: 
  2761: rm -rf .tst 2>/dev/null
  2762: mkdir .tst 2>/dev/null
  2763: if test -d .tst; then
  2764:   am__leading_dot=.
  2765: else
  2766:   am__leading_dot=_
  2767: fi
  2768: rmdir .tst 2>/dev/null
  2769: 
  2770: # Check whether --enable-silent-rules was given.
  2771: if test "${enable_silent_rules+set}" = set; then :
  2772:   enableval=$enable_silent_rules;
  2773: fi
  2774: 
  2775: case $enable_silent_rules in # (((
  2776:   yes) AM_DEFAULT_VERBOSITY=0;;
  2777:    no) AM_DEFAULT_VERBOSITY=1;;
  2778:     *) AM_DEFAULT_VERBOSITY=1;;
  2779: esac
  2780: am_make=${MAKE-make}
  2781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2782: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2783: if ${am_cv_make_support_nested_variables+:} false; then :
  2784:   $as_echo_n "(cached) " >&6
  2785: else
  2786:   if $as_echo 'TRUE=$(BAR$(V))
  2787: BAR0=false
  2788: BAR1=true
  2789: V=1
  2790: am__doit:
  2791: 	@$(TRUE)
  2792: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2793:   am_cv_make_support_nested_variables=yes
  2794: else
  2795:   am_cv_make_support_nested_variables=no
  2796: fi
  2797: fi
  2798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2799: $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2800: if test $am_cv_make_support_nested_variables = yes; then
  2801:     AM_V='$(V)'
  2802:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2803: else
  2804:   AM_V=$AM_DEFAULT_VERBOSITY
  2805:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2806: fi
  2807: AM_BACKSLASH='\'
  2808: 
  2809: if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2810:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2811:   # is not polluted with repeated "-I."
  2812:   am__isrc=' -I$(srcdir)'
  2813:   # test to see if srcdir already configured
  2814:   if test -f $srcdir/config.status; then
  2815:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2816:   fi
  2817: fi
  2818: 
  2819: # test whether we have cygpath
  2820: if test -z "$CYGPATH_W"; then
  2821:   if (cygpath --version) >/dev/null 2>/dev/null; then
  2822:     CYGPATH_W='cygpath -w'
  2823:   else
  2824:     CYGPATH_W=echo
  2825:   fi
  2826: fi
  2827: 
  2828: 
  2829: # Define the identity of the package.
  2830:  PACKAGE='lac'
  2831:  VERSION='0.1.0'
  2832: 
  2833: 
  2834: cat >>confdefs.h <<_ACEOF
  2835: #define PACKAGE "$PACKAGE"
  2836: _ACEOF
  2837: 
  2838: 
  2839: cat >>confdefs.h <<_ACEOF
  2840: #define VERSION "$VERSION"
  2841: _ACEOF
  2842: 
  2843: # Some tools Automake needs.
  2844: 
  2845: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2846: 
  2847: 
  2848: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2849: 
  2850: 
  2851: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2852: 
  2853: 
  2854: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2855: 
  2856: 
  2857: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2858: 
  2859: # For better backward compatibility.  To be removed once Automake 1.9.x
  2860: # dies out for good.  For more background, see:
  2861: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2862: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2863: mkdir_p='$(MKDIR_P)'
  2864: 
  2865: # We need awk for the "check" target (and possibly the TAP driver).  The
  2866: # system "awk" is bad on some platforms.
  2867: # Always define AMTAR for backward compatibility.  Yes, it's still used
  2868: # in the wild :-(  We should find a proper way to deprecate it ...
  2869: AMTAR='$${TAR-tar}'
  2870: 
  2871: 
  2872: # We'll loop over all known methods to create a tar archive until one works.
  2873: _am_tools='gnutar  pax cpio none'
  2874: 
  2875: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2876: 
  2877: 
  2878: 
  2879: 
  2880: 
  2881: 
  2882: # POSIX will say in a future version that running "rm -f" with no argument
  2883: # is OK; and we want to be able to make that assumption in our Makefile
  2884: # recipes.  So use an aggressive probe to check that the usage we want is
  2885: # actually supported "in the wild" to an acceptable degree.
  2886: # See automake bug#10828.
  2887: # To make any issue more visible, cause the running configure to be aborted
  2888: # by default if the 'rm' program in use doesn't match our expectations; the
  2889: # user can still override this though.
  2890: if rm -f && rm -fr && rm -rf; then : OK; else
  2891:   cat >&2 <<'END'
  2892: Oops!
  2893: 
  2894: Your 'rm' program seems unable to run without file operands specified
  2895: on the command line, even when the '-f' option is present.  This is contrary
  2896: to the behaviour of most rm programs out there, and not conforming with
  2897: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2898: 
  2899: Please tell bug-automake@gnu.org about your system, including the value
  2900: of your $PATH and any error possibly output before this message.  This
  2901: can help us improve future automake versions.
  2902: 
  2903: END
  2904:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2905:     echo 'Configuration will proceed anyway, since you have set the' >&2
  2906:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2907:     echo >&2
  2908:   else
  2909:     cat >&2 <<'END'
  2910: Aborting the configuration process, to ensure you take notice of the issue.
  2911: 
  2912: You can download and install GNU coreutils to get an 'rm' implementation
  2913: that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2914: 
  2915: If you want to complete the configuration process using your problematic
  2916: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2917: to "yes", and re-run configure.
  2918: 
  2919: END
  2920:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2921:   fi
  2922: fi
  2923: 
  2924: 
  2925: 
  2926: 
  2927: # Checks for programs.
  2928: ac_ext=c
  2929: ac_cpp='$CPP $CPPFLAGS'
  2930: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2931: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2932: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2933: if test -n "$ac_tool_prefix"; then
  2934:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2935: set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2937: $as_echo_n "checking for $ac_word... " >&6; }
  2938: if ${ac_cv_prog_CC+:} false; then :
  2939:   $as_echo_n "(cached) " >&6
  2940: else
  2941:   if test -n "$CC"; then
  2942:   ac_cv_prog_CC="$CC" # Let the user override the test.
  2943: else
  2944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2945: for as_dir in $PATH
  2946: do
  2947:   IFS=$as_save_IFS
  2948:   test -z "$as_dir" && as_dir=.
  2949:     for ac_exec_ext in '' $ac_executable_extensions; do
  2950:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2951:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2952:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2953:     break 2
  2954:   fi
  2955: done
  2956:   done
  2957: IFS=$as_save_IFS
  2958: 
  2959: fi
  2960: fi
  2961: CC=$ac_cv_prog_CC
  2962: if test -n "$CC"; then
  2963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2964: $as_echo "$CC" >&6; }
  2965: else
  2966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2967: $as_echo "no" >&6; }
  2968: fi
  2969: 
  2970: 
  2971: fi
  2972: if test -z "$ac_cv_prog_CC"; then
  2973:   ac_ct_CC=$CC
  2974:   # Extract the first word of "gcc", so it can be a program name with args.
  2975: set dummy gcc; ac_word=$2
  2976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2977: $as_echo_n "checking for $ac_word... " >&6; }
  2978: if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2979:   $as_echo_n "(cached) " >&6
  2980: else
  2981:   if test -n "$ac_ct_CC"; then
  2982:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2983: else
  2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2985: for as_dir in $PATH
  2986: do
  2987:   IFS=$as_save_IFS
  2988:   test -z "$as_dir" && as_dir=.
  2989:     for ac_exec_ext in '' $ac_executable_extensions; do
  2990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2991:     ac_cv_prog_ac_ct_CC="gcc"
  2992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2993:     break 2
  2994:   fi
  2995: done
  2996:   done
  2997: IFS=$as_save_IFS
  2998: 
  2999: fi
  3000: fi
  3001: ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3002: if test -n "$ac_ct_CC"; then
  3003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3004: $as_echo "$ac_ct_CC" >&6; }
  3005: else
  3006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3007: $as_echo "no" >&6; }
  3008: fi
  3009: 
  3010:   if test "x$ac_ct_CC" = x; then
  3011:     CC=""
  3012:   else
  3013:     case $cross_compiling:$ac_tool_warned in
  3014: yes:)
  3015: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3016: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3017: ac_tool_warned=yes ;;
  3018: esac
  3019:     CC=$ac_ct_CC
  3020:   fi
  3021: else
  3022:   CC="$ac_cv_prog_CC"
  3023: fi
  3024: 
  3025: if test -z "$CC"; then
  3026:           if test -n "$ac_tool_prefix"; then
  3027:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3028: set dummy ${ac_tool_prefix}cc; ac_word=$2
  3029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3030: $as_echo_n "checking for $ac_word... " >&6; }
  3031: if ${ac_cv_prog_CC+:} false; then :
  3032:   $as_echo_n "(cached) " >&6
  3033: else
  3034:   if test -n "$CC"; then
  3035:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3036: else
  3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3038: for as_dir in $PATH
  3039: do
  3040:   IFS=$as_save_IFS
  3041:   test -z "$as_dir" && as_dir=.
  3042:     for ac_exec_ext in '' $ac_executable_extensions; do
  3043:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3044:     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3045:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3046:     break 2
  3047:   fi
  3048: done
  3049:   done
  3050: IFS=$as_save_IFS
  3051: 
  3052: fi
  3053: fi
  3054: CC=$ac_cv_prog_CC
  3055: if test -n "$CC"; then
  3056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3057: $as_echo "$CC" >&6; }
  3058: else
  3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3060: $as_echo "no" >&6; }
  3061: fi
  3062: 
  3063: 
  3064:   fi
  3065: fi
  3066: if test -z "$CC"; then
  3067:   # Extract the first word of "cc", so it can be a program name with args.
  3068: set dummy cc; ac_word=$2
  3069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3070: $as_echo_n "checking for $ac_word... " >&6; }
  3071: if ${ac_cv_prog_CC+:} false; then :
  3072:   $as_echo_n "(cached) " >&6
  3073: else
  3074:   if test -n "$CC"; then
  3075:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3076: else
  3077:   ac_prog_rejected=no
  3078: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3079: for as_dir in $PATH
  3080: do
  3081:   IFS=$as_save_IFS
  3082:   test -z "$as_dir" && as_dir=.
  3083:     for ac_exec_ext in '' $ac_executable_extensions; do
  3084:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3085:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3086:        ac_prog_rejected=yes
  3087:        continue
  3088:      fi
  3089:     ac_cv_prog_CC="cc"
  3090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3091:     break 2
  3092:   fi
  3093: done
  3094:   done
  3095: IFS=$as_save_IFS
  3096: 
  3097: if test $ac_prog_rejected = yes; then
  3098:   # We found a bogon in the path, so make sure we never use it.
  3099:   set dummy $ac_cv_prog_CC
  3100:   shift
  3101:   if test $# != 0; then
  3102:     # We chose a different compiler from the bogus one.
  3103:     # However, it has the same basename, so the bogon will be chosen
  3104:     # first if we set CC to just the basename; use the full file name.
  3105:     shift
  3106:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3107:   fi
  3108: fi
  3109: fi
  3110: fi
  3111: CC=$ac_cv_prog_CC
  3112: if test -n "$CC"; then
  3113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3114: $as_echo "$CC" >&6; }
  3115: else
  3116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3117: $as_echo "no" >&6; }
  3118: fi
  3119: 
  3120: 
  3121: fi
  3122: if test -z "$CC"; then
  3123:   if test -n "$ac_tool_prefix"; then
  3124:   for ac_prog in cl.exe
  3125:   do
  3126:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3127: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3129: $as_echo_n "checking for $ac_word... " >&6; }
  3130: if ${ac_cv_prog_CC+:} false; then :
  3131:   $as_echo_n "(cached) " >&6
  3132: else
  3133:   if test -n "$CC"; then
  3134:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3135: else
  3136: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3137: for as_dir in $PATH
  3138: do
  3139:   IFS=$as_save_IFS
  3140:   test -z "$as_dir" && as_dir=.
  3141:     for ac_exec_ext in '' $ac_executable_extensions; do
  3142:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3143:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3144:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3145:     break 2
  3146:   fi
  3147: done
  3148:   done
  3149: IFS=$as_save_IFS
  3150: 
  3151: fi
  3152: fi
  3153: CC=$ac_cv_prog_CC
  3154: if test -n "$CC"; then
  3155:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3156: $as_echo "$CC" >&6; }
  3157: else
  3158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3159: $as_echo "no" >&6; }
  3160: fi
  3161: 
  3162: 
  3163:     test -n "$CC" && break
  3164:   done
  3165: fi
  3166: if test -z "$CC"; then
  3167:   ac_ct_CC=$CC
  3168:   for ac_prog in cl.exe
  3169: do
  3170:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3171: set dummy $ac_prog; ac_word=$2
  3172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3173: $as_echo_n "checking for $ac_word... " >&6; }
  3174: if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3175:   $as_echo_n "(cached) " >&6
  3176: else
  3177:   if test -n "$ac_ct_CC"; then
  3178:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3179: else
  3180: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3181: for as_dir in $PATH
  3182: do
  3183:   IFS=$as_save_IFS
  3184:   test -z "$as_dir" && as_dir=.
  3185:     for ac_exec_ext in '' $ac_executable_extensions; do
  3186:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3187:     ac_cv_prog_ac_ct_CC="$ac_prog"
  3188:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3189:     break 2
  3190:   fi
  3191: done
  3192:   done
  3193: IFS=$as_save_IFS
  3194: 
  3195: fi
  3196: fi
  3197: ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3198: if test -n "$ac_ct_CC"; then
  3199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3200: $as_echo "$ac_ct_CC" >&6; }
  3201: else
  3202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3203: $as_echo "no" >&6; }
  3204: fi
  3205: 
  3206: 
  3207:   test -n "$ac_ct_CC" && break
  3208: done
  3209: 
  3210:   if test "x$ac_ct_CC" = x; then
  3211:     CC=""
  3212:   else
  3213:     case $cross_compiling:$ac_tool_warned in
  3214: yes:)
  3215: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3216: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3217: ac_tool_warned=yes ;;
  3218: esac
  3219:     CC=$ac_ct_CC
  3220:   fi
  3221: fi
  3222: 
  3223: fi
  3224: if test -z "$CC"; then
  3225:   if test -n "$ac_tool_prefix"; then
  3226:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
  3227: set dummy ${ac_tool_prefix}clang; ac_word=$2
  3228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3229: $as_echo_n "checking for $ac_word... " >&6; }
  3230: if ${ac_cv_prog_CC+:} false; then :
  3231:   $as_echo_n "(cached) " >&6
  3232: else
  3233:   if test -n "$CC"; then
  3234:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3235: else
  3236: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3237: for as_dir in $PATH
  3238: do
  3239:   IFS=$as_save_IFS
  3240:   test -z "$as_dir" && as_dir=.
  3241:     for ac_exec_ext in '' $ac_executable_extensions; do
  3242:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3243:     ac_cv_prog_CC="${ac_tool_prefix}clang"
  3244:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3245:     break 2
  3246:   fi
  3247: done
  3248:   done
  3249: IFS=$as_save_IFS
  3250: 
  3251: fi
  3252: fi
  3253: CC=$ac_cv_prog_CC
  3254: if test -n "$CC"; then
  3255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3256: $as_echo "$CC" >&6; }
  3257: else
  3258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3259: $as_echo "no" >&6; }
  3260: fi
  3261: 
  3262: 
  3263: fi
  3264: if test -z "$ac_cv_prog_CC"; then
  3265:   ac_ct_CC=$CC
  3266:   # Extract the first word of "clang", so it can be a program name with args.
  3267: set dummy clang; ac_word=$2
  3268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3269: $as_echo_n "checking for $ac_word... " >&6; }
  3270: if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3271:   $as_echo_n "(cached) " >&6
  3272: else
  3273:   if test -n "$ac_ct_CC"; then
  3274:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3275: else
  3276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3277: for as_dir in $PATH
  3278: do
  3279:   IFS=$as_save_IFS
  3280:   test -z "$as_dir" && as_dir=.
  3281:     for ac_exec_ext in '' $ac_executable_extensions; do
  3282:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3283:     ac_cv_prog_ac_ct_CC="clang"
  3284:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3285:     break 2
  3286:   fi
  3287: done
  3288:   done
  3289: IFS=$as_save_IFS
  3290: 
  3291: fi
  3292: fi
  3293: ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3294: if test -n "$ac_ct_CC"; then
  3295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3296: $as_echo "$ac_ct_CC" >&6; }
  3297: else
  3298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3299: $as_echo "no" >&6; }
  3300: fi
  3301: 
  3302:   if test "x$ac_ct_CC" = x; then
  3303:     CC=""
  3304:   else
  3305:     case $cross_compiling:$ac_tool_warned in
  3306: yes:)
  3307: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3308: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3309: ac_tool_warned=yes ;;
  3310: esac
  3311:     CC=$ac_ct_CC
  3312:   fi
  3313: else
  3314:   CC="$ac_cv_prog_CC"
  3315: fi
  3316: 
  3317: fi
  3318: 
  3319: 
  3320: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3321: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3322: as_fn_error $? "no acceptable C compiler found in \$PATH
  3323: See \`config.log' for more details" "$LINENO" 5; }
  3324: 
  3325: # Provide some information about the compiler.
  3326: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3327: set X $ac_compile
  3328: ac_compiler=$2
  3329: for ac_option in --version -v -V -qversion -version; do
  3330:   { { ac_try="$ac_compiler $ac_option >&5"
  3331: case "(($ac_try" in
  3332:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3333:   *) ac_try_echo=$ac_try;;
  3334: esac
  3335: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3336: $as_echo "$ac_try_echo"; } >&5
  3337:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3338:   ac_status=$?
  3339:   if test -s conftest.err; then
  3340:     sed '10a\
  3341: ... rest of stderr output deleted ...
  3342:          10q' conftest.err >conftest.er1
  3343:     cat conftest.er1 >&5
  3344:   fi
  3345:   rm -f conftest.er1 conftest.err
  3346:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3347:   test $ac_status = 0; }
  3348: done
  3349: 
  3350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3351: /* end confdefs.h.  */
  3352: 
  3353: int
  3354: main ()
  3355: {
  3356: 
  3357:   ;
  3358:   return 0;
  3359: }
  3360: _ACEOF
  3361: ac_clean_files_save=$ac_clean_files
  3362: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3363: # Try to create an executable without -o first, disregard a.out.
  3364: # It will help us diagnose broken compilers, and finding out an intuition
  3365: # of exeext.
  3366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3367: $as_echo_n "checking whether the C compiler works... " >&6; }
  3368: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3369: 
  3370: # The possible output files:
  3371: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3372: 
  3373: ac_rmfiles=
  3374: for ac_file in $ac_files
  3375: do
  3376:   case $ac_file in
  3377:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3378:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3379:   esac
  3380: done
  3381: rm -f $ac_rmfiles
  3382: 
  3383: if { { ac_try="$ac_link_default"
  3384: case "(($ac_try" in
  3385:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386:   *) ac_try_echo=$ac_try;;
  3387: esac
  3388: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3389: $as_echo "$ac_try_echo"; } >&5
  3390:   (eval "$ac_link_default") 2>&5
  3391:   ac_status=$?
  3392:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3393:   test $ac_status = 0; }; then :
  3394:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3395: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3396: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3397: # so that the user can short-circuit this test for compilers unknown to
  3398: # Autoconf.
  3399: for ac_file in $ac_files ''
  3400: do
  3401:   test -f "$ac_file" || continue
  3402:   case $ac_file in
  3403:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3404: 	;;
  3405:     [ab].out )
  3406: 	# We found the default executable, but exeext='' is most
  3407: 	# certainly right.
  3408: 	break;;
  3409:     *.* )
  3410: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3411: 	then :; else
  3412: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3413: 	fi
  3414: 	# We set ac_cv_exeext here because the later test for it is not
  3415: 	# safe: cross compilers may not add the suffix if given an `-o'
  3416: 	# argument, so we may need to know it at that point already.
  3417: 	# Even if this section looks crufty: it has the advantage of
  3418: 	# actually working.
  3419: 	break;;
  3420:     * )
  3421: 	break;;
  3422:   esac
  3423: done
  3424: test "$ac_cv_exeext" = no && ac_cv_exeext=
  3425: 
  3426: else
  3427:   ac_file=''
  3428: fi
  3429: if test -z "$ac_file"; then :
  3430:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3431: $as_echo "no" >&6; }
  3432: $as_echo "$as_me: failed program was:" >&5
  3433: sed 's/^/| /' conftest.$ac_ext >&5
  3434: 
  3435: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3436: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3437: as_fn_error 77 "C compiler cannot create executables
  3438: See \`config.log' for more details" "$LINENO" 5; }
  3439: else
  3440:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3441: $as_echo "yes" >&6; }
  3442: fi
  3443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3444: $as_echo_n "checking for C compiler default output file name... " >&6; }
  3445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3446: $as_echo "$ac_file" >&6; }
  3447: ac_exeext=$ac_cv_exeext
  3448: 
  3449: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3450: ac_clean_files=$ac_clean_files_save
  3451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3452: $as_echo_n "checking for suffix of executables... " >&6; }
  3453: if { { ac_try="$ac_link"
  3454: case "(($ac_try" in
  3455:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3456:   *) ac_try_echo=$ac_try;;
  3457: esac
  3458: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3459: $as_echo "$ac_try_echo"; } >&5
  3460:   (eval "$ac_link") 2>&5
  3461:   ac_status=$?
  3462:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3463:   test $ac_status = 0; }; then :
  3464:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3465: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3466: # work properly (i.e., refer to `conftest.exe'), while it won't with
  3467: # `rm'.
  3468: for ac_file in conftest.exe conftest conftest.*; do
  3469:   test -f "$ac_file" || continue
  3470:   case $ac_file in
  3471:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3472:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3473: 	  break;;
  3474:     * ) break;;
  3475:   esac
  3476: done
  3477: else
  3478:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3479: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3480: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3481: See \`config.log' for more details" "$LINENO" 5; }
  3482: fi
  3483: rm -f conftest conftest$ac_cv_exeext
  3484: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3485: $as_echo "$ac_cv_exeext" >&6; }
  3486: 
  3487: rm -f conftest.$ac_ext
  3488: EXEEXT=$ac_cv_exeext
  3489: ac_exeext=$EXEEXT
  3490: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3491: /* end confdefs.h.  */
  3492: #include <stdio.h>
  3493: int
  3494: main ()
  3495: {
  3496: FILE *f = fopen ("conftest.out", "w");
  3497:  return ferror (f) || fclose (f) != 0;
  3498: 
  3499:   ;
  3500:   return 0;
  3501: }
  3502: _ACEOF
  3503: ac_clean_files="$ac_clean_files conftest.out"
  3504: # Check that the compiler produces executables we can run.  If not, either
  3505: # the compiler is broken, or we cross compile.
  3506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3507: $as_echo_n "checking whether we are cross compiling... " >&6; }
  3508: if test "$cross_compiling" != yes; then
  3509:   { { ac_try="$ac_link"
  3510: case "(($ac_try" in
  3511:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3512:   *) ac_try_echo=$ac_try;;
  3513: esac
  3514: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3515: $as_echo "$ac_try_echo"; } >&5
  3516:   (eval "$ac_link") 2>&5
  3517:   ac_status=$?
  3518:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3519:   test $ac_status = 0; }
  3520:   if { ac_try='./conftest$ac_cv_exeext'
  3521:   { { case "(($ac_try" in
  3522:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3523:   *) ac_try_echo=$ac_try;;
  3524: esac
  3525: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3526: $as_echo "$ac_try_echo"; } >&5
  3527:   (eval "$ac_try") 2>&5
  3528:   ac_status=$?
  3529:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3530:   test $ac_status = 0; }; }; then
  3531:     cross_compiling=no
  3532:   else
  3533:     if test "$cross_compiling" = maybe; then
  3534: 	cross_compiling=yes
  3535:     else
  3536: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3537: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3538: as_fn_error $? "cannot run C compiled programs.
  3539: If you meant to cross compile, use \`--host'.
  3540: See \`config.log' for more details" "$LINENO" 5; }
  3541:     fi
  3542:   fi
  3543: fi
  3544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3545: $as_echo "$cross_compiling" >&6; }
  3546: 
  3547: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3548: ac_clean_files=$ac_clean_files_save
  3549: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3550: $as_echo_n "checking for suffix of object files... " >&6; }
  3551: if ${ac_cv_objext+:} false; then :
  3552:   $as_echo_n "(cached) " >&6
  3553: else
  3554:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3555: /* end confdefs.h.  */
  3556: 
  3557: int
  3558: main ()
  3559: {
  3560: 
  3561:   ;
  3562:   return 0;
  3563: }
  3564: _ACEOF
  3565: rm -f conftest.o conftest.obj
  3566: if { { ac_try="$ac_compile"
  3567: case "(($ac_try" in
  3568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3569:   *) ac_try_echo=$ac_try;;
  3570: esac
  3571: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3572: $as_echo "$ac_try_echo"; } >&5
  3573:   (eval "$ac_compile") 2>&5
  3574:   ac_status=$?
  3575:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3576:   test $ac_status = 0; }; then :
  3577:   for ac_file in conftest.o conftest.obj conftest.*; do
  3578:   test -f "$ac_file" || continue;
  3579:   case $ac_file in
  3580:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3581:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3582:        break;;
  3583:   esac
  3584: done
  3585: else
  3586:   $as_echo "$as_me: failed program was:" >&5
  3587: sed 's/^/| /' conftest.$ac_ext >&5
  3588: 
  3589: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3590: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3591: as_fn_error $? "cannot compute suffix of object files: cannot compile
  3592: See \`config.log' for more details" "$LINENO" 5; }
  3593: fi
  3594: rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3595: fi
  3596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3597: $as_echo "$ac_cv_objext" >&6; }
  3598: OBJEXT=$ac_cv_objext
  3599: ac_objext=$OBJEXT
  3600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3601: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3602: if ${ac_cv_c_compiler_gnu+:} false; then :
  3603:   $as_echo_n "(cached) " >&6
  3604: else
  3605:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3606: /* end confdefs.h.  */
  3607: 
  3608: int
  3609: main ()
  3610: {
  3611: #ifndef __GNUC__
  3612:        choke me
  3613: #endif
  3614: 
  3615:   ;
  3616:   return 0;
  3617: }
  3618: _ACEOF
  3619: if ac_fn_c_try_compile "$LINENO"; then :
  3620:   ac_compiler_gnu=yes
  3621: else
  3622:   ac_compiler_gnu=no
  3623: fi
  3624: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3625: ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3626: 
  3627: fi
  3628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3629: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3630: if test $ac_compiler_gnu = yes; then
  3631:   GCC=yes
  3632: else
  3633:   GCC=
  3634: fi
  3635: ac_test_CFLAGS=${CFLAGS+set}
  3636: ac_save_CFLAGS=$CFLAGS
  3637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3638: $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3639: if ${ac_cv_prog_cc_g+:} false; then :
  3640:   $as_echo_n "(cached) " >&6
  3641: else
  3642:   ac_save_c_werror_flag=$ac_c_werror_flag
  3643:    ac_c_werror_flag=yes
  3644:    ac_cv_prog_cc_g=no
  3645:    CFLAGS="-g"
  3646:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3647: /* end confdefs.h.  */
  3648: 
  3649: int
  3650: main ()
  3651: {
  3652: 
  3653:   ;
  3654:   return 0;
  3655: }
  3656: _ACEOF
  3657: if ac_fn_c_try_compile "$LINENO"; then :
  3658:   ac_cv_prog_cc_g=yes
  3659: else
  3660:   CFLAGS=""
  3661:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3662: /* end confdefs.h.  */
  3663: 
  3664: int
  3665: main ()
  3666: {
  3667: 
  3668:   ;
  3669:   return 0;
  3670: }
  3671: _ACEOF
  3672: if ac_fn_c_try_compile "$LINENO"; then :
  3673: 
  3674: else
  3675:   ac_c_werror_flag=$ac_save_c_werror_flag
  3676: 	 CFLAGS="-g"
  3677: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3678: /* end confdefs.h.  */
  3679: 
  3680: int
  3681: main ()
  3682: {
  3683: 
  3684:   ;
  3685:   return 0;
  3686: }
  3687: _ACEOF
  3688: if ac_fn_c_try_compile "$LINENO"; then :
  3689:   ac_cv_prog_cc_g=yes
  3690: fi
  3691: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3692: fi
  3693: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3694: fi
  3695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3696:    ac_c_werror_flag=$ac_save_c_werror_flag
  3697: fi
  3698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3699: $as_echo "$ac_cv_prog_cc_g" >&6; }
  3700: if test "$ac_test_CFLAGS" = set; then
  3701:   CFLAGS=$ac_save_CFLAGS
  3702: elif test $ac_cv_prog_cc_g = yes; then
  3703:   if test "$GCC" = yes; then
  3704:     CFLAGS="-g -O2"
  3705:   else
  3706:     CFLAGS="-g"
  3707:   fi
  3708: else
  3709:   if test "$GCC" = yes; then
  3710:     CFLAGS="-O2"
  3711:   else
  3712:     CFLAGS=
  3713:   fi
  3714: fi
  3715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
  3716: $as_echo_n "checking for $CC option to enable C11 features... " >&6; }
  3717: if ${ac_cv_prog_cc_c11+:} false; then :
  3718:   $as_echo_n "(cached) " >&6
  3719: else
  3720:   ac_cv_prog_cc_c11=no
  3721: ac_save_CC=$CC
  3722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3723: /* end confdefs.h.  */
  3724: #include <stdarg.h>
  3725: #include <stdbool.h>
  3726: #include <stddef.h>
  3727: #include <stdlib.h>
  3728: #include <wchar.h>
  3729: #include <stdio.h>
  3730: 
  3731: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  3732: #define debug(...) fprintf (stderr, __VA_ARGS__)
  3733: #define showlist(...) puts (#__VA_ARGS__)
  3734: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3735: static void
  3736: test_varargs_macros (void)
  3737: {
  3738:   int x = 1234;
  3739:   int y = 5678;
  3740:   debug ("Flag");
  3741:   debug ("X = %d\n", x);
  3742:   showlist (The first, second, and third items.);
  3743:   report (x>y, "x is %d but y is %d", x, y);
  3744: }
  3745: 
  3746: // Check long long types.
  3747: #define BIG64 18446744073709551615ull
  3748: #define BIG32 4294967295ul
  3749: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3750: #if !BIG_OK
  3751:   your preprocessor is broken;
  3752: #endif
  3753: #if BIG_OK
  3754: #else
  3755:   your preprocessor is broken;
  3756: #endif
  3757: static long long int bignum = -9223372036854775807LL;
  3758: static unsigned long long int ubignum = BIG64;
  3759: 
  3760: struct incomplete_array
  3761: {
  3762:   int datasize;
  3763:   double data[];
  3764: };
  3765: 
  3766: struct named_init {
  3767:   int number;
  3768:   const wchar_t *name;
  3769:   double average;
  3770: };
  3771: 
  3772: typedef const char *ccp;
  3773: 
  3774: static inline int
  3775: test_restrict (ccp restrict text)
  3776: {
  3777:   // See if C++-style comments work.
  3778:   // Iterate through items via the restricted pointer.
  3779:   // Also check for declarations in for loops.
  3780:   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  3781:     continue;
  3782:   return 0;
  3783: }
  3784: 
  3785: // Check varargs and va_copy.
  3786: static bool
  3787: test_varargs (const char *format, ...)
  3788: {
  3789:   va_list args;
  3790:   va_start (args, format);
  3791:   va_list args_copy;
  3792:   va_copy (args_copy, args);
  3793: 
  3794:   const char *str = "";
  3795:   int number = 0;
  3796:   float fnumber = 0;
  3797: 
  3798:   while (*format)
  3799:     {
  3800:       switch (*format++)
  3801: 	{
  3802: 	case 's': // string
  3803: 	  str = va_arg (args_copy, const char *);
  3804: 	  break;
  3805: 	case 'd': // int
  3806: 	  number = va_arg (args_copy, int);
  3807: 	  break;
  3808: 	case 'f': // float
  3809: 	  fnumber = va_arg (args_copy, double);
  3810: 	  break;
  3811: 	default:
  3812: 	  break;
  3813: 	}
  3814:     }
  3815:   va_end (args_copy);
  3816:   va_end (args);
  3817: 
  3818:   return *str && number && fnumber;
  3819: }
  3820: // Check _Alignas.
  3821: char _Alignas (double) aligned_as_double;
  3822: char _Alignas (0) no_special_alignment;
  3823: extern char aligned_as_int;
  3824: char _Alignas (0) _Alignas (int) aligned_as_int;
  3825: 
  3826: // Check _Alignof.
  3827: enum
  3828: {
  3829:   int_alignment = _Alignof (int),
  3830:   int_array_alignment = _Alignof (int[100]),
  3831:   char_alignment = _Alignof (char)
  3832: };
  3833: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
  3834: 
  3835: // Check _Noreturn.
  3836: int _Noreturn does_not_return (void) { for (;;) continue; }
  3837: 
  3838: // Check _Static_assert.
  3839: struct test_static_assert
  3840: {
  3841:   int x;
  3842:   _Static_assert (sizeof (int) <= sizeof (long int),
  3843:                   "_Static_assert does not work in struct");
  3844:   long int y;
  3845: };
  3846: 
  3847: // Check UTF-8 literals.
  3848: #define u8 syntax error!
  3849: char const utf8_literal[] = u8"happens to be ASCII" "another string";
  3850: 
  3851: // Check duplicate typedefs.
  3852: typedef long *long_ptr;
  3853: typedef long int *long_ptr;
  3854: typedef long_ptr long_ptr;
  3855: 
  3856: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
  3857: struct anonymous
  3858: {
  3859:   union {
  3860:     struct { int i; int j; };
  3861:     struct { int k; long int l; } w;
  3862:   };
  3863:   int m;
  3864: } v1;
  3865: 
  3866: int
  3867: main ()
  3868: {
  3869: 
  3870:   // Check bool.
  3871:   _Bool success = false;
  3872: 
  3873:   // Check restrict.
  3874:   if (test_restrict ("String literal") == 0)
  3875:     success = true;
  3876:   char *restrict newvar = "Another string";
  3877: 
  3878:   // Check varargs.
  3879:   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
  3880:   test_varargs_macros ();
  3881: 
  3882:   // Check flexible array members.
  3883:   struct incomplete_array *ia =
  3884:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  3885:   ia->datasize = 10;
  3886:   for (int i = 0; i < ia->datasize; ++i)
  3887:     ia->data[i] = i * 1.234;
  3888: 
  3889:   // Check named initializers.
  3890:   struct named_init ni = {
  3891:     .number = 34,
  3892:     .name = L"Test wide string",
  3893:     .average = 543.34343,
  3894:   };
  3895: 
  3896:   ni.number = 58;
  3897: 
  3898:   int dynamic_array[ni.number];
  3899:   dynamic_array[ni.number - 1] = 543;
  3900: 
  3901:   // work around unused variable warnings
  3902:   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  3903: 	  || dynamic_array[ni.number - 1] != 543);
  3904: 
  3905:   v1.i = 2;
  3906:   v1.w.k = 5;
  3907:   _Static_assert ((offsetof (struct anonymous, i)
  3908: 		   == offsetof (struct anonymous, w.k)),
  3909: 		  "Anonymous union alignment botch");
  3910: 
  3911:   ;
  3912:   return 0;
  3913: }
  3914: _ACEOF
  3915: for ac_arg in '' -std=gnu11
  3916: do
  3917:   CC="$ac_save_CC $ac_arg"
  3918:   if ac_fn_c_try_compile "$LINENO"; then :
  3919:   ac_cv_prog_cc_c11=$ac_arg
  3920: fi
  3921: rm -f core conftest.err conftest.$ac_objext
  3922:   test "x$ac_cv_prog_cc_c11" != "xno" && break
  3923: done
  3924: rm -f conftest.$ac_ext
  3925: CC=$ac_save_CC
  3926: 
  3927: fi
  3928: # AC_CACHE_VAL
  3929: ac_prog_cc_stdc_options=
  3930: case "x$ac_cv_prog_cc_c11" in
  3931:   x)
  3932:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3933: $as_echo "none needed" >&6; } ;;
  3934:   xno)
  3935:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3936: $as_echo "unsupported" >&6; } ;;
  3937:   *)
  3938:     ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11"
  3939:     CC=$CC$ac_prog_cc_stdc_options
  3940:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
  3941: $as_echo "$ac_cv_prog_cc_c11" >&6; } ;;
  3942: esac
  3943: if test "x$ac_cv_prog_cc_c11" != xno; then :
  3944:   ac_prog_cc_stdc=c11
  3945: 		 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  3946: else
  3947:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
  3948: $as_echo_n "checking for $CC option to enable C99 features... " >&6; }
  3949: if ${ac_cv_prog_cc_c99+:} false; then :
  3950:   $as_echo_n "(cached) " >&6
  3951: else
  3952:   ac_cv_prog_cc_c99=no
  3953: ac_save_CC=$CC
  3954: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3955: /* end confdefs.h.  */
  3956: #include <stdarg.h>
  3957: #include <stdbool.h>
  3958: #include <stddef.h>
  3959: #include <stdlib.h>
  3960: #include <wchar.h>
  3961: #include <stdio.h>
  3962: 
  3963: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  3964: #define debug(...) fprintf (stderr, __VA_ARGS__)
  3965: #define showlist(...) puts (#__VA_ARGS__)
  3966: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3967: static void
  3968: test_varargs_macros (void)
  3969: {
  3970:   int x = 1234;
  3971:   int y = 5678;
  3972:   debug ("Flag");
  3973:   debug ("X = %d\n", x);
  3974:   showlist (The first, second, and third items.);
  3975:   report (x>y, "x is %d but y is %d", x, y);
  3976: }
  3977: 
  3978: // Check long long types.
  3979: #define BIG64 18446744073709551615ull
  3980: #define BIG32 4294967295ul
  3981: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3982: #if !BIG_OK
  3983:   your preprocessor is broken;
  3984: #endif
  3985: #if BIG_OK
  3986: #else
  3987:   your preprocessor is broken;
  3988: #endif
  3989: static long long int bignum = -9223372036854775807LL;
  3990: static unsigned long long int ubignum = BIG64;
  3991: 
  3992: struct incomplete_array
  3993: {
  3994:   int datasize;
  3995:   double data[];
  3996: };
  3997: 
  3998: struct named_init {
  3999:   int number;
  4000:   const wchar_t *name;
  4001:   double average;
  4002: };
  4003: 
  4004: typedef const char *ccp;
  4005: 
  4006: static inline int
  4007: test_restrict (ccp restrict text)
  4008: {
  4009:   // See if C++-style comments work.
  4010:   // Iterate through items via the restricted pointer.
  4011:   // Also check for declarations in for loops.
  4012:   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  4013:     continue;
  4014:   return 0;
  4015: }
  4016: 
  4017: // Check varargs and va_copy.
  4018: static bool
  4019: test_varargs (const char *format, ...)
  4020: {
  4021:   va_list args;
  4022:   va_start (args, format);
  4023:   va_list args_copy;
  4024:   va_copy (args_copy, args);
  4025: 
  4026:   const char *str = "";
  4027:   int number = 0;
  4028:   float fnumber = 0;
  4029: 
  4030:   while (*format)
  4031:     {
  4032:       switch (*format++)
  4033: 	{
  4034: 	case 's': // string
  4035: 	  str = va_arg (args_copy, const char *);
  4036: 	  break;
  4037: 	case 'd': // int
  4038: 	  number = va_arg (args_copy, int);
  4039: 	  break;
  4040: 	case 'f': // float
  4041: 	  fnumber = va_arg (args_copy, double);
  4042: 	  break;
  4043: 	default:
  4044: 	  break;
  4045: 	}
  4046:     }
  4047:   va_end (args_copy);
  4048:   va_end (args);
  4049: 
  4050:   return *str && number && fnumber;
  4051: }
  4052: int
  4053: main ()
  4054: {
  4055: 
  4056:   // Check bool.
  4057:   _Bool success = false;
  4058: 
  4059:   // Check restrict.
  4060:   if (test_restrict ("String literal") == 0)
  4061:     success = true;
  4062:   char *restrict newvar = "Another string";
  4063: 
  4064:   // Check varargs.
  4065:   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
  4066:   test_varargs_macros ();
  4067: 
  4068:   // Check flexible array members.
  4069:   struct incomplete_array *ia =
  4070:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  4071:   ia->datasize = 10;
  4072:   for (int i = 0; i < ia->datasize; ++i)
  4073:     ia->data[i] = i * 1.234;
  4074: 
  4075:   // Check named initializers.
  4076:   struct named_init ni = {
  4077:     .number = 34,
  4078:     .name = L"Test wide string",
  4079:     .average = 543.34343,
  4080:   };
  4081: 
  4082:   ni.number = 58;
  4083: 
  4084:   int dynamic_array[ni.number];
  4085:   dynamic_array[ni.number - 1] = 543;
  4086: 
  4087:   // work around unused variable warnings
  4088:   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  4089: 	  || dynamic_array[ni.number - 1] != 543);
  4090: 
  4091:   ;
  4092:   return 0;
  4093: }
  4094: _ACEOF
  4095: for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99
  4096: do
  4097:   CC="$ac_save_CC $ac_arg"
  4098:   if ac_fn_c_try_compile "$LINENO"; then :
  4099:   ac_cv_prog_cc_c99=$ac_arg
  4100: fi
  4101: rm -f core conftest.err conftest.$ac_objext
  4102:   test "x$ac_cv_prog_cc_c99" != "xno" && break
  4103: done
  4104: rm -f conftest.$ac_ext
  4105: CC=$ac_save_CC
  4106: 
  4107: fi
  4108: # AC_CACHE_VAL
  4109: ac_prog_cc_stdc_options=
  4110: case "x$ac_cv_prog_cc_c99" in
  4111:   x)
  4112:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4113: $as_echo "none needed" >&6; } ;;
  4114:   xno)
  4115:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4116: $as_echo "unsupported" >&6; } ;;
  4117:   *)
  4118:     ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99"
  4119:     CC=$CC$ac_prog_cc_stdc_options
  4120:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  4121: $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
  4122: esac
  4123: if test "x$ac_cv_prog_cc_c99" != xno; then :
  4124:   ac_prog_cc_stdc=c99
  4125: 		    ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  4126: else
  4127:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
  4128: $as_echo_n "checking for $CC option to enable C89 features... " >&6; }
  4129: if ${ac_cv_prog_cc_c89+:} false; then :
  4130:   $as_echo_n "(cached) " >&6
  4131: else
  4132:   ac_cv_prog_cc_c89=no
  4133: ac_save_CC=$CC
  4134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4135: /* end confdefs.h.  */
  4136: #include <stdarg.h>
  4137: #include <stdio.h>
  4138: struct stat;
  4139: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4140: struct buf { int x; };
  4141: FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4142: static char *e (p, i)
  4143:      char **p;
  4144:      int i;
  4145: {
  4146:   return p[i];
  4147: }
  4148: static char *f (char * (*g) (char **, int), char **p, ...)
  4149: {
  4150:   char *s;
  4151:   va_list v;
  4152:   va_start (v,p);
  4153:   s = g (p, va_arg (v,int));
  4154:   va_end (v);
  4155:   return s;
  4156: }
  4157: 
  4158: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4159:    function prototypes and stuff, but not '\xHH' hex character constants.
  4160:    These don't provoke an error unfortunately, instead are silently treated
  4161:    as 'x'.  The following induces an error, until -std is added to get
  4162:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4163:    array size at least.  It's necessary to write '\x00'==0 to get something
  4164:    that's true only with -std.  */
  4165: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4166: 
  4167: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4168:    inside strings and character constants.  */
  4169: #define FOO(x) 'x'
  4170: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4171: 
  4172: int test (int i, double x);
  4173: struct s1 {int (*f) (int a);};
  4174: struct s2 {int (*f) (double a);};
  4175: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4176: int argc;
  4177: char **argv;
  4178: int
  4179: main ()
  4180: {
  4181: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4182:   ;
  4183:   return 0;
  4184: }
  4185: _ACEOF
  4186: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4187: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4188: do
  4189:   CC="$ac_save_CC $ac_arg"
  4190:   if ac_fn_c_try_compile "$LINENO"; then :
  4191:   ac_cv_prog_cc_c89=$ac_arg
  4192: fi
  4193: rm -f core conftest.err conftest.$ac_objext
  4194:   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4195: done
  4196: rm -f conftest.$ac_ext
  4197: CC=$ac_save_CC
  4198: 
  4199: fi
  4200: # AC_CACHE_VAL
  4201: ac_prog_cc_stdc_options=
  4202: case "x$ac_cv_prog_cc_c89" in
  4203:   x)
  4204:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4205: $as_echo "none needed" >&6; } ;;
  4206:   xno)
  4207:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4208: $as_echo "unsupported" >&6; } ;;
  4209:   *)
  4210:     ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89"
  4211:     CC=$CC$ac_prog_cc_stdc_options
  4212:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4213: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4214: esac
  4215: if test "x$ac_cv_prog_cc_c89" != xno; then :
  4216:   ac_prog_cc_stdc=c89
  4217: 		       ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  4218: else
  4219:   ac_prog_cc_stdc=no
  4220: 		       ac_cv_prog_cc_stdc=no
  4221: fi
  4222: 
  4223: fi
  4224: 
  4225: fi
  4226: 
  4227: ac_ext=c
  4228: ac_cpp='$CPP $CPPFLAGS'
  4229: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4230: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4231: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4232: DEPDIR="${am__leading_dot}deps"
  4233: 
  4234: ac_config_commands="$ac_config_commands depfiles"
  4235: 
  4236: 
  4237: am_make=${MAKE-make}
  4238: cat > confinc << 'END'
  4239: am__doit:
  4240: 	@echo this is the am__doit target
  4241: .PHONY: am__doit
  4242: END
  4243: # If we don't find an include directive, just comment out the code.
  4244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  4245: $as_echo_n "checking for style of include used by $am_make... " >&6; }
  4246: am__include="#"
  4247: am__quote=
  4248: _am_result=none
  4249: # First try GNU make style include.
  4250: echo "include confinc" > confmf
  4251: # Ignore all kinds of additional output from 'make'.
  4252: case `$am_make -s -f confmf 2> /dev/null` in #(
  4253: *the\ am__doit\ target*)
  4254:   am__include=include
  4255:   am__quote=
  4256:   _am_result=GNU
  4257:   ;;
  4258: esac
  4259: # Now try BSD make style include.
  4260: if test "$am__include" = "#"; then
  4261:    echo '.include "confinc"' > confmf
  4262:    case `$am_make -s -f confmf 2> /dev/null` in #(
  4263:    *the\ am__doit\ target*)
  4264:      am__include=.include
  4265:      am__quote="\""
  4266:      _am_result=BSD
  4267:      ;;
  4268:    esac
  4269: fi
  4270: 
  4271: 
  4272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  4273: $as_echo "$_am_result" >&6; }
  4274: rm -f confinc confmf
  4275: 
  4276: # Check whether --enable-dependency-tracking was given.
  4277: if test "${enable_dependency_tracking+set}" = set; then :
  4278:   enableval=$enable_dependency_tracking;
  4279: fi
  4280: 
  4281: if test "x$enable_dependency_tracking" != xno; then
  4282:   am_depcomp="$ac_aux_dir/depcomp"
  4283:   AMDEPBACKSLASH='\'
  4284:   am__nodep='_no'
  4285: fi
  4286:  if test "x$enable_dependency_tracking" != xno; then
  4287:   AMDEP_TRUE=
  4288:   AMDEP_FALSE='#'
  4289: else
  4290:   AMDEP_TRUE='#'
  4291:   AMDEP_FALSE=
  4292: fi
  4293: 
  4294: 
  4295: 
  4296: depcc="$CC"   am_compiler_list=
  4297: 
  4298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4299: $as_echo_n "checking dependency style of $depcc... " >&6; }
  4300: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4301:   $as_echo_n "(cached) " >&6
  4302: else
  4303:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4304:   # We make a subdir and do the tests there.  Otherwise we can end up
  4305:   # making bogus files that we don't know about and never remove.  For
  4306:   # instance it was reported that on HP-UX the gcc test will end up
  4307:   # making a dummy file named 'D' -- because '-MD' means "put the output
  4308:   # in D".
  4309:   rm -rf conftest.dir
  4310:   mkdir conftest.dir
  4311:   # Copy depcomp to subdir because otherwise we won't find it if we're
  4312:   # using a relative directory.
  4313:   cp "$am_depcomp" conftest.dir
  4314:   cd conftest.dir
  4315:   # We will build objects and dependencies in a subdirectory because
  4316:   # it helps to detect inapplicable dependency modes.  For instance
  4317:   # both Tru64's cc and ICC support -MD to output dependencies as a
  4318:   # side effect of compilation, but ICC will put the dependencies in
  4319:   # the current directory while Tru64 will put them in the object
  4320:   # directory.
  4321:   mkdir sub
  4322: 
  4323:   am_cv_CC_dependencies_compiler_type=none
  4324:   if test "$am_compiler_list" = ""; then
  4325:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4326:   fi
  4327:   am__universal=false
  4328:   case " $depcc " in #(
  4329:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4330:      esac
  4331: 
  4332:   for depmode in $am_compiler_list; do
  4333:     # Setup a source with many dependencies, because some compilers
  4334:     # like to wrap large dependency lists on column 80 (with \), and
  4335:     # we should not choose a depcomp mode which is confused by this.
  4336:     #
  4337:     # We need to recreate these files for each test, as the compiler may
  4338:     # overwrite some of them when testing with obscure command lines.
  4339:     # This happens at least with the AIX C compiler.
  4340:     : > sub/conftest.c
  4341:     for i in 1 2 3 4 5 6; do
  4342:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4343:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4344:       # Solaris 10 /bin/sh.
  4345:       echo '/* dummy */' > sub/conftst$i.h
  4346:     done
  4347:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4348: 
  4349:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4350:     # mode.  It turns out that the SunPro C++ compiler does not properly
  4351:     # handle '-M -o', and we need to detect this.  Also, some Intel
  4352:     # versions had trouble with output in subdirs.
  4353:     am__obj=sub/conftest.${OBJEXT-o}
  4354:     am__minus_obj="-o $am__obj"
  4355:     case $depmode in
  4356:     gcc)
  4357:       # This depmode causes a compiler race in universal mode.
  4358:       test "$am__universal" = false || continue
  4359:       ;;
  4360:     nosideeffect)
  4361:       # After this tag, mechanisms are not by side-effect, so they'll
  4362:       # only be used when explicitly requested.
  4363:       if test "x$enable_dependency_tracking" = xyes; then
  4364: 	continue
  4365:       else
  4366: 	break
  4367:       fi
  4368:       ;;
  4369:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4370:       # This compiler won't grok '-c -o', but also, the minuso test has
  4371:       # not run yet.  These depmodes are late enough in the game, and
  4372:       # so weak that their functioning should not be impacted.
  4373:       am__obj=conftest.${OBJEXT-o}
  4374:       am__minus_obj=
  4375:       ;;
  4376:     none) break ;;
  4377:     esac
  4378:     if depmode=$depmode \
  4379:        source=sub/conftest.c object=$am__obj \
  4380:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4381:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4382:          >/dev/null 2>conftest.err &&
  4383:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4384:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4385:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4386:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4387:       # icc doesn't choke on unknown options, it will just issue warnings
  4388:       # or remarks (even with -Werror).  So we grep stderr for any message
  4389:       # that says an option was ignored or not supported.
  4390:       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4391:       #   icc: Command line warning: ignoring option '-M'; no argument required
  4392:       # The diagnosis changed in icc 8.0:
  4393:       #   icc: Command line remark: option '-MP' not supported
  4394:       if (grep 'ignoring option' conftest.err ||
  4395:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4396:         am_cv_CC_dependencies_compiler_type=$depmode
  4397:         break
  4398:       fi
  4399:     fi
  4400:   done
  4401: 
  4402:   cd ..
  4403:   rm -rf conftest.dir
  4404: else
  4405:   am_cv_CC_dependencies_compiler_type=none
  4406: fi
  4407: 
  4408: fi
  4409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4410: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4411: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4412: 
  4413:  if
  4414:   test "x$enable_dependency_tracking" != xno \
  4415:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4416:   am__fastdepCC_TRUE=
  4417:   am__fastdepCC_FALSE='#'
  4418: else
  4419:   am__fastdepCC_TRUE='#'
  4420:   am__fastdepCC_FALSE=
  4421: fi
  4422: 
  4423: 
  4424: 
  4425: # Extract the first word of "bison", so it can be a program name with args.
  4426: set dummy bison; ac_word=$2
  4427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4428: $as_echo_n "checking for $ac_word... " >&6; }
  4429: if ${ac_cv_path_BISON+:} false; then :
  4430:   $as_echo_n "(cached) " >&6
  4431: else
  4432:   case $BISON in
  4433:   [\\/]* | ?:[\\/]*)
  4434:   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
  4435:   ;;
  4436:   *)
  4437:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4438: for as_dir in $PATH
  4439: do
  4440:   IFS=$as_save_IFS
  4441:   test -z "$as_dir" && as_dir=.
  4442:     for ac_exec_ext in '' $ac_executable_extensions; do
  4443:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4444:     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
  4445:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4446:     break 2
  4447:   fi
  4448: done
  4449:   done
  4450: IFS=$as_save_IFS
  4451: 
  4452:   ;;
  4453: esac
  4454: fi
  4455: BISON=$ac_cv_path_BISON
  4456: if test -n "$BISON"; then
  4457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  4458: $as_echo "$BISON" >&6; }
  4459: else
  4460:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4461: $as_echo "no" >&6; }
  4462: fi
  4463: 
  4464: 
  4465: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4466: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4467: if ${ac_cv_path_SED+:} false; then :
  4468:   $as_echo_n "(cached) " >&6
  4469: else
  4470:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4471:      for ac_i in 1 2 3 4 5 6 7; do
  4472:        ac_script="$ac_script$as_nl$ac_script"
  4473:      done
  4474:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4475:      { ac_script=; unset ac_script;}
  4476:      if test -z "$SED"; then
  4477:   ac_path_SED_found=false
  4478:   # Loop through the user's path and test for each of PROGNAME-LIST
  4479:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4480: for as_dir in $PATH
  4481: do
  4482:   IFS=$as_save_IFS
  4483:   test -z "$as_dir" && as_dir=.
  4484:     for ac_prog in sed gsed; do
  4485:     for ac_exec_ext in '' $ac_executable_extensions; do
  4486:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4487:       as_fn_executable_p "$ac_path_SED" || continue
  4488: # Check for GNU ac_path_SED and select it if it is found.
  4489:   # Check for GNU $ac_path_SED
  4490: case `"$ac_path_SED" --version 2>&1` in
  4491: *GNU*)
  4492:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4493: *)
  4494:   ac_count=0
  4495:   $as_echo_n 0123456789 >"conftest.in"
  4496:   while :
  4497:   do
  4498:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4499:     mv "conftest.tmp" "conftest.in"
  4500:     cp "conftest.in" "conftest.nl"
  4501:     $as_echo '' >> "conftest.nl"
  4502:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4503:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4504:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4505:     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4506:       # Best one so far, save it but keep looking for a better one
  4507:       ac_cv_path_SED="$ac_path_SED"
  4508:       ac_path_SED_max=$ac_count
  4509:     fi
  4510:     # 10*(2^10) chars as input seems more than enough
  4511:     test $ac_count -gt 10 && break
  4512:   done
  4513:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4514: esac
  4515: 
  4516:       $ac_path_SED_found && break 3
  4517:     done
  4518:   done
  4519:   done
  4520: IFS=$as_save_IFS
  4521:   if test -z "$ac_cv_path_SED"; then
  4522:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4523:   fi
  4524: else
  4525:   ac_cv_path_SED=$SED
  4526: fi
  4527: 
  4528: fi
  4529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4530: $as_echo "$ac_cv_path_SED" >&6; }
  4531:  SED="$ac_cv_path_SED"
  4532:   rm -f conftest.sed
  4533: 
  4534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4535: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4536: if ${ac_cv_path_GREP+:} false; then :
  4537:   $as_echo_n "(cached) " >&6
  4538: else
  4539:   if test -z "$GREP"; then
  4540:   ac_path_GREP_found=false
  4541:   # Loop through the user's path and test for each of PROGNAME-LIST
  4542:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4543: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4544: do
  4545:   IFS=$as_save_IFS
  4546:   test -z "$as_dir" && as_dir=.
  4547:     for ac_prog in grep ggrep; do
  4548:     for ac_exec_ext in '' $ac_executable_extensions; do
  4549:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4550:       as_fn_executable_p "$ac_path_GREP" || continue
  4551: # Check for GNU ac_path_GREP and select it if it is found.
  4552:   # Check for GNU $ac_path_GREP
  4553: case `"$ac_path_GREP" --version 2>&1` in
  4554: *GNU*)
  4555:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4556: *)
  4557:   ac_count=0
  4558:   $as_echo_n 0123456789 >"conftest.in"
  4559:   while :
  4560:   do
  4561:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4562:     mv "conftest.tmp" "conftest.in"
  4563:     cp "conftest.in" "conftest.nl"
  4564:     $as_echo 'GREP' >> "conftest.nl"
  4565:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4566:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4567:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4568:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4569:       # Best one so far, save it but keep looking for a better one
  4570:       ac_cv_path_GREP="$ac_path_GREP"
  4571:       ac_path_GREP_max=$ac_count
  4572:     fi
  4573:     # 10*(2^10) chars as input seems more than enough
  4574:     test $ac_count -gt 10 && break
  4575:   done
  4576:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4577: esac
  4578: 
  4579:       $ac_path_GREP_found && break 3
  4580:     done
  4581:   done
  4582:   done
  4583: IFS=$as_save_IFS
  4584:   if test -z "$ac_cv_path_GREP"; then
  4585:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4586:   fi
  4587: else
  4588:   ac_cv_path_GREP=$GREP
  4589: fi
  4590: 
  4591: fi
  4592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4593: $as_echo "$ac_cv_path_GREP" >&6; }
  4594:  GREP="$ac_cv_path_GREP"
  4595: 
  4596: 
  4597: 
  4598: 
  4599: 
  4600: 
  4601:     if test -n "$BISON"; then :
  4602: 
  4603:         ax_bison_version="3.0"
  4604: 
  4605:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison version" >&5
  4606: $as_echo_n "checking for bison version... " >&6; }
  4607: 
  4608:         bison_version=`$BISON --version 2>&1 \
  4609:           | $SED -n -e '/bison (GNU Bison)/b inspect
  4610: b
  4611: : inspect
  4612: s/.* (\{0,1\}\([0-9]*\.[0-9]*\.[0-9]*\))\{0,1\}.*/\1/;p'`
  4613: 
  4614:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bison_version" >&5
  4615: $as_echo "$bison_version" >&6; }
  4616: 
  4617: 	BISON_VERSION=$bison_version
  4618: 
  4619: 
  4620: 
  4621: 
  4622: 
  4623:   # Used to indicate true or false condition
  4624:   ax_compare_version=false
  4625: 
  4626:   # Convert the two version strings to be compared into a format that
  4627:   # allows a simple string comparison.  The end result is that a version
  4628:   # string of the form 1.12.5-r617 will be converted to the form
  4629:   # 0001001200050617.  In other words, each number is zero padded to four
  4630:   # digits, and non digits are removed.
  4631: 
  4632:   ax_compare_version_A=`echo "$bison_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
  4633:                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
  4634:                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
  4635:                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
  4636:                      -e 's/[^0-9]//g'`
  4637: 
  4638: 
  4639:   ax_compare_version_B=`echo "$ax_bison_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
  4640:                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
  4641:                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
  4642:                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
  4643:                      -e 's/[^0-9]//g'`
  4644: 
  4645: 
  4646:     ax_compare_version=`echo "x$ax_compare_version_A
  4647: x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
  4648: 
  4649: 
  4650: 
  4651:     if test "$ax_compare_version" = "true" ; then
  4652: 
  4653: 	    :
  4654: 
  4655: 
  4656:     else
  4657: 	    :
  4658:             as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
  4659: 
  4660:   fi
  4661: 
  4662: 
  4663: else
  4664: 
  4665:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find bison" >&5
  4666: $as_echo "$as_me: WARNING: could not find bison" >&2;}
  4667:         as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
  4668: 
  4669: fi
  4670: 
  4671: 
  4672: for ac_prog in flex lex
  4673: do
  4674:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4675: set dummy $ac_prog; ac_word=$2
  4676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4677: $as_echo_n "checking for $ac_word... " >&6; }
  4678: if ${ac_cv_prog_LEX+:} false; then :
  4679:   $as_echo_n "(cached) " >&6
  4680: else
  4681:   if test -n "$LEX"; then
  4682:   ac_cv_prog_LEX="$LEX" # Let the user override the test.
  4683: else
  4684: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4685: for as_dir in $PATH
  4686: do
  4687:   IFS=$as_save_IFS
  4688:   test -z "$as_dir" && as_dir=.
  4689:     for ac_exec_ext in '' $ac_executable_extensions; do
  4690:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4691:     ac_cv_prog_LEX="$ac_prog"
  4692:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4693:     break 2
  4694:   fi
  4695: done
  4696:   done
  4697: IFS=$as_save_IFS
  4698: 
  4699: fi
  4700: fi
  4701: LEX=$ac_cv_prog_LEX
  4702: if test -n "$LEX"; then
  4703:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  4704: $as_echo "$LEX" >&6; }
  4705: else
  4706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4707: $as_echo "no" >&6; }
  4708: fi
  4709: 
  4710: 
  4711:   test -n "$LEX" && break
  4712: done
  4713: test -n "$LEX" || LEX=":"
  4714: 
  4715: if test "x$LEX" != "x:"; then
  4716:   cat >conftest.l <<_ACEOF
  4717: %%
  4718: a { ECHO; }
  4719: b { REJECT; }
  4720: c { yymore (); }
  4721: d { yyless (1); }
  4722: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
  4723:     yyless ((input () != 0)); }
  4724: f { unput (yytext[0]); }
  4725: . { BEGIN INITIAL; }
  4726: %%
  4727: #ifdef YYTEXT_POINTER
  4728: extern char *yytext;
  4729: #endif
  4730: int
  4731: main (void)
  4732: {
  4733:   return ! yylex () + ! yywrap ();
  4734: }
  4735: _ACEOF
  4736: { { ac_try="$LEX conftest.l"
  4737: case "(($ac_try" in
  4738:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4739:   *) ac_try_echo=$ac_try;;
  4740: esac
  4741: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4742: $as_echo "$ac_try_echo"; } >&5
  4743:   (eval "$LEX conftest.l") 2>&5
  4744:   ac_status=$?
  4745:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4746:   test $ac_status = 0; }
  4747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  4748: $as_echo_n "checking lex output file root... " >&6; }
  4749: if ${ac_cv_prog_lex_root+:} false; then :
  4750:   $as_echo_n "(cached) " >&6
  4751: else
  4752: 
  4753: if test -f lex.yy.c; then
  4754:   ac_cv_prog_lex_root=lex.yy
  4755: elif test -f lexyy.c; then
  4756:   ac_cv_prog_lex_root=lexyy
  4757: else
  4758:   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
  4759: fi
  4760: fi
  4761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  4762: $as_echo "$ac_cv_prog_lex_root" >&6; }
  4763: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  4764: 
  4765: if test -z "${LEXLIB+set}"; then
  4766:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  4767: $as_echo_n "checking lex library... " >&6; }
  4768: if ${ac_cv_lib_lex+:} false; then :
  4769:   $as_echo_n "(cached) " >&6
  4770: else
  4771: 
  4772:     ac_save_LIBS=$LIBS
  4773:     ac_cv_lib_lex='none needed'
  4774:     for ac_lib in '' -lfl -ll; do
  4775:       LIBS="$ac_lib $ac_save_LIBS"
  4776:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4777: /* end confdefs.h.  */
  4778: `cat $LEX_OUTPUT_ROOT.c`
  4779: _ACEOF
  4780: if ac_fn_c_try_link "$LINENO"; then :
  4781:   ac_cv_lib_lex=$ac_lib
  4782: fi
  4783: rm -f core conftest.err conftest.$ac_objext \
  4784:     conftest$ac_exeext conftest.$ac_ext
  4785:       test "$ac_cv_lib_lex" != 'none needed' && break
  4786:     done
  4787:     LIBS=$ac_save_LIBS
  4788: 
  4789: fi
  4790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  4791: $as_echo "$ac_cv_lib_lex" >&6; }
  4792:   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  4793: fi
  4794: 
  4795: 
  4796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  4797: $as_echo_n "checking whether yytext is a pointer... " >&6; }
  4798: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
  4799:   $as_echo_n "(cached) " >&6
  4800: else
  4801:   # POSIX says lex can declare yytext either as a pointer or an array; the
  4802: # default is implementation-dependent.  Figure out which it is, since
  4803: # not all implementations provide the %pointer and %array declarations.
  4804: ac_cv_prog_lex_yytext_pointer=no
  4805: ac_save_LIBS=$LIBS
  4806: LIBS="$LEXLIB $ac_save_LIBS"
  4807: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4808: /* end confdefs.h.  */
  4809: 
  4810:   #define YYTEXT_POINTER 1
  4811: `cat $LEX_OUTPUT_ROOT.c`
  4812: _ACEOF
  4813: if ac_fn_c_try_link "$LINENO"; then :
  4814:   ac_cv_prog_lex_yytext_pointer=yes
  4815: fi
  4816: rm -f core conftest.err conftest.$ac_objext \
  4817:     conftest$ac_exeext conftest.$ac_ext
  4818: LIBS=$ac_save_LIBS
  4819: 
  4820: fi
  4821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  4822: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  4823: if test $ac_cv_prog_lex_yytext_pointer = yes; then
  4824: 
  4825: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
  4826: 
  4827: fi
  4828: rm -f conftest.l $LEX_OUTPUT_ROOT.c
  4829: 
  4830: fi
  4831: if test "$LEX" = :; then
  4832:   LEX=${am_missing_run}flex
  4833: fi
  4834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4835: $as_echo_n "checking for egrep... " >&6; }
  4836: if ${ac_cv_path_EGREP+:} false; then :
  4837:   $as_echo_n "(cached) " >&6
  4838: else
  4839:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4840:    then ac_cv_path_EGREP="$GREP -E"
  4841:    else
  4842:      if test -z "$EGREP"; then
  4843:   ac_path_EGREP_found=false
  4844:   # Loop through the user's path and test for each of PROGNAME-LIST
  4845:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4846: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4847: do
  4848:   IFS=$as_save_IFS
  4849:   test -z "$as_dir" && as_dir=.
  4850:     for ac_prog in egrep; do
  4851:     for ac_exec_ext in '' $ac_executable_extensions; do
  4852:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4853:       as_fn_executable_p "$ac_path_EGREP" || continue
  4854: # Check for GNU ac_path_EGREP and select it if it is found.
  4855:   # Check for GNU $ac_path_EGREP
  4856: case `"$ac_path_EGREP" --version 2>&1` in
  4857: *GNU*)
  4858:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4859: *)
  4860:   ac_count=0
  4861:   $as_echo_n 0123456789 >"conftest.in"
  4862:   while :
  4863:   do
  4864:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4865:     mv "conftest.tmp" "conftest.in"
  4866:     cp "conftest.in" "conftest.nl"
  4867:     $as_echo 'EGREP' >> "conftest.nl"
  4868:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4869:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4870:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4871:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4872:       # Best one so far, save it but keep looking for a better one
  4873:       ac_cv_path_EGREP="$ac_path_EGREP"
  4874:       ac_path_EGREP_max=$ac_count
  4875:     fi
  4876:     # 10*(2^10) chars as input seems more than enough
  4877:     test $ac_count -gt 10 && break
  4878:   done
  4879:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4880: esac
  4881: 
  4882:       $ac_path_EGREP_found && break 3
  4883:     done
  4884:   done
  4885:   done
  4886: IFS=$as_save_IFS
  4887:   if test -z "$ac_cv_path_EGREP"; then
  4888:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4889:   fi
  4890: else
  4891:   ac_cv_path_EGREP=$EGREP
  4892: fi
  4893: 
  4894:    fi
  4895: fi
  4896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4897: $as_echo "$ac_cv_path_EGREP" >&6; }
  4898:  EGREP="$ac_cv_path_EGREP"
  4899: 
  4900: 
  4901: 
  4902: 
  4903: 
  4904: 
  4905:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
  4906: $as_echo_n "checking if flex is the lexer generator... " >&6; }
  4907: if ${ax_cv_prog_flex+:} false; then :
  4908:   $as_echo_n "(cached) " >&6
  4909: else
  4910: 
  4911:     if $LEX --version 2>/dev/null | $EGREP -qw '^g?flex'; then :
  4912:   ax_cv_prog_flex=yes
  4913: else
  4914:   ax_cv_prog_flex=no
  4915: fi
  4916: 
  4917: fi
  4918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
  4919: $as_echo "$ax_cv_prog_flex" >&6; }
  4920:   if test "$ax_cv_prog_flex" = "yes"; then :
  4921: 
  4922: else
  4923:   as_fn_error $? "Requires flex" "$LINENO" 5
  4924: 
  4925: fi
  4926: 
  4927: for ac_prog in 'bison -y' byacc
  4928: do
  4929:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4930: set dummy $ac_prog; ac_word=$2
  4931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4932: $as_echo_n "checking for $ac_word... " >&6; }
  4933: if ${ac_cv_prog_YACC+:} false; then :
  4934:   $as_echo_n "(cached) " >&6
  4935: else
  4936:   if test -n "$YACC"; then
  4937:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  4938: else
  4939: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4940: for as_dir in $PATH
  4941: do
  4942:   IFS=$as_save_IFS
  4943:   test -z "$as_dir" && as_dir=.
  4944:     for ac_exec_ext in '' $ac_executable_extensions; do
  4945:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4946:     ac_cv_prog_YACC="$ac_prog"
  4947:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4948:     break 2
  4949:   fi
  4950: done
  4951:   done
  4952: IFS=$as_save_IFS
  4953: 
  4954: fi
  4955: fi
  4956: YACC=$ac_cv_prog_YACC
  4957: if test -n "$YACC"; then
  4958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  4959: $as_echo "$YACC" >&6; }
  4960: else
  4961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4962: $as_echo "no" >&6; }
  4963: fi
  4964: 
  4965: 
  4966:   test -n "$YACC" && break
  4967: done
  4968: test -n "$YACC" || YACC="yacc"
  4969: 
  4970: if test "$LEX" = :; then
  4971:   LEX=${am_missing_run}flex
  4972: fi
  4973: 
  4974: # Checks for libraries.
  4975: 
  4976: 
  4977: 
  4978: 
  4979: 
  4980: 
  4981: 
  4982: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  4983: 	if test -n "$ac_tool_prefix"; then
  4984:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  4985: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  4986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4987: $as_echo_n "checking for $ac_word... " >&6; }
  4988: if ${ac_cv_path_PKG_CONFIG+:} false; then :
  4989:   $as_echo_n "(cached) " >&6
  4990: else
  4991:   case $PKG_CONFIG in
  4992:   [\\/]* | ?:[\\/]*)
  4993:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4994:   ;;
  4995:   *)
  4996:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4997: for as_dir in $PATH
  4998: do
  4999:   IFS=$as_save_IFS
  5000:   test -z "$as_dir" && as_dir=.
  5001:     for ac_exec_ext in '' $ac_executable_extensions; do
  5002:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5003:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5004:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5005:     break 2
  5006:   fi
  5007: done
  5008:   done
  5009: IFS=$as_save_IFS
  5010: 
  5011:   ;;
  5012: esac
  5013: fi
  5014: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  5015: if test -n "$PKG_CONFIG"; then
  5016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  5017: $as_echo "$PKG_CONFIG" >&6; }
  5018: else
  5019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5020: $as_echo "no" >&6; }
  5021: fi
  5022: 
  5023: 
  5024: fi
  5025: if test -z "$ac_cv_path_PKG_CONFIG"; then
  5026:   ac_pt_PKG_CONFIG=$PKG_CONFIG
  5027:   # Extract the first word of "pkg-config", so it can be a program name with args.
  5028: set dummy pkg-config; ac_word=$2
  5029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5030: $as_echo_n "checking for $ac_word... " >&6; }
  5031: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  5032:   $as_echo_n "(cached) " >&6
  5033: else
  5034:   case $ac_pt_PKG_CONFIG in
  5035:   [\\/]* | ?:[\\/]*)
  5036:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  5037:   ;;
  5038:   *)
  5039:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5040: for as_dir in $PATH
  5041: do
  5042:   IFS=$as_save_IFS
  5043:   test -z "$as_dir" && as_dir=.
  5044:     for ac_exec_ext in '' $ac_executable_extensions; do
  5045:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5046:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5047:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5048:     break 2
  5049:   fi
  5050: done
  5051:   done
  5052: IFS=$as_save_IFS
  5053: 
  5054:   ;;
  5055: esac
  5056: fi
  5057: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5058: if test -n "$ac_pt_PKG_CONFIG"; then
  5059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  5060: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  5061: else
  5062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5063: $as_echo "no" >&6; }
  5064: fi
  5065: 
  5066:   if test "x$ac_pt_PKG_CONFIG" = x; then
  5067:     PKG_CONFIG=""
  5068:   else
  5069:     case $cross_compiling:$ac_tool_warned in
  5070: yes:)
  5071: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5072: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5073: ac_tool_warned=yes ;;
  5074: esac
  5075:     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5076:   fi
  5077: else
  5078:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5079: fi
  5080: 
  5081: fi
  5082: if test -n "$PKG_CONFIG"; then
  5083: 	_pkg_min_version=0.9.0
  5084: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  5085: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  5086: 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5087: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5088: $as_echo "yes" >&6; }
  5089: 	else
  5090: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5091: $as_echo "no" >&6; }
  5092: 		PKG_CONFIG=""
  5093: 	fi
  5094: fi
  5095: 
  5096: pkg_failed=no
  5097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDW_GC" >&5
  5098: $as_echo_n "checking for BDW_GC... " >&6; }
  5099: 
  5100: if test -n "$BDW_GC_CFLAGS"; then
  5101:     pkg_cv_BDW_GC_CFLAGS="$BDW_GC_CFLAGS"
  5102:  elif test -n "$PKG_CONFIG"; then
  5103:     if test -n "$PKG_CONFIG" && \
  5104:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
  5105:   ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
  5106:   ac_status=$?
  5107:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5108:   test $ac_status = 0; }; then
  5109:   pkg_cv_BDW_GC_CFLAGS=`$PKG_CONFIG --cflags "bdw-gc" 2>/dev/null`
  5110: 		      test "x$?" != "x0" && pkg_failed=yes
  5111: else
  5112:   pkg_failed=yes
  5113: fi
  5114:  else
  5115:     pkg_failed=untried
  5116: fi
  5117: if test -n "$BDW_GC_LIBS"; then
  5118:     pkg_cv_BDW_GC_LIBS="$BDW_GC_LIBS"
  5119:  elif test -n "$PKG_CONFIG"; then
  5120:     if test -n "$PKG_CONFIG" && \
  5121:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
  5122:   ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
  5123:   ac_status=$?
  5124:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5125:   test $ac_status = 0; }; then
  5126:   pkg_cv_BDW_GC_LIBS=`$PKG_CONFIG --libs "bdw-gc" 2>/dev/null`
  5127: 		      test "x$?" != "x0" && pkg_failed=yes
  5128: else
  5129:   pkg_failed=yes
  5130: fi
  5131:  else
  5132:     pkg_failed=untried
  5133: fi
  5134: 
  5135: 
  5136: 
  5137: if test $pkg_failed = yes; then
  5138:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5139: $as_echo "no" >&6; }
  5140: 
  5141: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5142:         _pkg_short_errors_supported=yes
  5143: else
  5144:         _pkg_short_errors_supported=no
  5145: fi
  5146:         if test $_pkg_short_errors_supported = yes; then
  5147: 	        BDW_GC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bdw-gc" 2>&1`
  5148:         else
  5149: 	        BDW_GC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bdw-gc" 2>&1`
  5150:         fi
  5151: 	# Put the nasty error message in config.log where it belongs
  5152: 	echo "$BDW_GC_PKG_ERRORS" >&5
  5153: 
  5154: 	as_fn_error $? "Package requirements (bdw-gc) were not met:
  5155: 
  5156: $BDW_GC_PKG_ERRORS
  5157: 
  5158: Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5159: installed software in a non-standard prefix.
  5160: 
  5161: Alternatively, you may set the environment variables BDW_GC_CFLAGS
  5162: and BDW_GC_LIBS to avoid the need to call pkg-config.
  5163: See the pkg-config man page for more details." "$LINENO" 5
  5164: elif test $pkg_failed = untried; then
  5165:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5166: $as_echo "no" >&6; }
  5167: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5168: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5169: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
  5170: is in your PATH or set the PKG_CONFIG environment variable to the full
  5171: path to pkg-config.
  5172: 
  5173: Alternatively, you may set the environment variables BDW_GC_CFLAGS
  5174: and BDW_GC_LIBS to avoid the need to call pkg-config.
  5175: See the pkg-config man page for more details.
  5176: 
  5177: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  5178: See \`config.log' for more details" "$LINENO" 5; }
  5179: else
  5180: 	BDW_GC_CFLAGS=$pkg_cv_BDW_GC_CFLAGS
  5181: 	BDW_GC_LIBS=$pkg_cv_BDW_GC_LIBS
  5182:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5183: $as_echo "yes" >&6; }
  5184: 
  5185: fi
  5186: 
  5187:       if test "X$prefix" = "XNONE"; then
  5188:     acl_final_prefix="$ac_default_prefix"
  5189:   else
  5190:     acl_final_prefix="$prefix"
  5191:   fi
  5192:   if test "X$exec_prefix" = "XNONE"; then
  5193:     acl_final_exec_prefix='${prefix}'
  5194:   else
  5195:     acl_final_exec_prefix="$exec_prefix"
  5196:   fi
  5197:   acl_save_prefix="$prefix"
  5198:   prefix="$acl_final_prefix"
  5199:   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  5200:   prefix="$acl_save_prefix"
  5201: 
  5202: # Make sure we can run config.sub.
  5203: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  5204:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  5205: 
  5206: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  5207: $as_echo_n "checking build system type... " >&6; }
  5208: if ${ac_cv_build+:} false; then :
  5209:   $as_echo_n "(cached) " >&6
  5210: else
  5211:   ac_build_alias=$build_alias
  5212: test "x$ac_build_alias" = x &&
  5213:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  5214: test "x$ac_build_alias" = x &&
  5215:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  5216: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  5217:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  5218: 
  5219: fi
  5220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  5221: $as_echo "$ac_cv_build" >&6; }
  5222: case $ac_cv_build in
  5223: *-*-*) ;;
  5224: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  5225: esac
  5226: build=$ac_cv_build
  5227: ac_save_IFS=$IFS; IFS='-'
  5228: set x $ac_cv_build
  5229: shift
  5230: build_cpu=$1
  5231: build_vendor=$2
  5232: shift; shift
  5233: # Remember, the first character of IFS is used to create $*,
  5234: # except with old shells:
  5235: build_os=$*
  5236: IFS=$ac_save_IFS
  5237: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  5238: 
  5239: 
  5240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  5241: $as_echo_n "checking host system type... " >&6; }
  5242: if ${ac_cv_host+:} false; then :
  5243:   $as_echo_n "(cached) " >&6
  5244: else
  5245:   if test "x$host_alias" = x; then
  5246:   ac_cv_host=$ac_cv_build
  5247: else
  5248:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  5249:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  5250: fi
  5251: 
  5252: fi
  5253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  5254: $as_echo "$ac_cv_host" >&6; }
  5255: case $ac_cv_host in
  5256: *-*-*) ;;
  5257: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  5258: esac
  5259: host=$ac_cv_host
  5260: ac_save_IFS=$IFS; IFS='-'
  5261: set x $ac_cv_host
  5262: shift
  5263: host_cpu=$1
  5264: host_vendor=$2
  5265: shift; shift
  5266: # Remember, the first character of IFS is used to create $*,
  5267: # except with old shells:
  5268: host_os=$*
  5269: IFS=$ac_save_IFS
  5270: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  5271: 
  5272: 
  5273: 
  5274: 
  5275: # Check whether --with-gnu-ld was given.
  5276: if test "${with_gnu_ld+set}" = set; then :
  5277:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5278: else
  5279:   with_gnu_ld=no
  5280: fi
  5281: 
  5282: # Prepare PATH_SEPARATOR.
  5283: # The user is always right.
  5284: if test "${PATH_SEPARATOR+set}" != set; then
  5285:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  5286:   # contains only /bin. Note that ksh looks also at the FPATH variable,
  5287:   # so we have to set that as well for the test.
  5288:   PATH_SEPARATOR=:
  5289:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  5290:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  5291:            || PATH_SEPARATOR=';'
  5292:        }
  5293: fi
  5294: 
  5295: ac_prog=ld
  5296: if test "$GCC" = yes; then
  5297:   # Check if gcc -print-prog-name=ld gives a path.
  5298:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5299: $as_echo_n "checking for ld used by $CC... " >&6; }
  5300:   case $host in
  5301:   *-*-mingw*)
  5302:     # gcc leaves a trailing carriage return which upsets mingw
  5303:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5304:   *)
  5305:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5306:   esac
  5307:   case $ac_prog in
  5308:     # Accept absolute paths.
  5309:     [\\/]* | ?:[\\/]*)
  5310:       re_direlt='/[^/][^/]*/\.\./'
  5311:       # Canonicalize the pathname of ld
  5312:       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
  5313:       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
  5314:         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  5315:       done
  5316:       test -z "$LD" && LD="$ac_prog"
  5317:       ;;
  5318:   "")
  5319:     # If it fails, then pretend we aren't using GCC.
  5320:     ac_prog=ld
  5321:     ;;
  5322:   *)
  5323:     # If it is relative, then search for the first ld in PATH.
  5324:     with_gnu_ld=unknown
  5325:     ;;
  5326:   esac
  5327: elif test "$with_gnu_ld" = yes; then
  5328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5329: $as_echo_n "checking for GNU ld... " >&6; }
  5330: else
  5331:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5332: $as_echo_n "checking for non-GNU ld... " >&6; }
  5333: fi
  5334: if ${acl_cv_path_LD+:} false; then :
  5335:   $as_echo_n "(cached) " >&6
  5336: else
  5337:   if test -z "$LD"; then
  5338:   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5339:   for ac_dir in $PATH; do
  5340:     IFS="$acl_save_ifs"
  5341:     test -z "$ac_dir" && ac_dir=.
  5342:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5343:       acl_cv_path_LD="$ac_dir/$ac_prog"
  5344:       # Check to see if the program is GNU ld.  I'd rather use --version,
  5345:       # but apparently some variants of GNU ld only accept -v.
  5346:       # Break only if it was the GNU/non-GNU ld that we prefer.
  5347:       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
  5348:       *GNU* | *'with BFD'*)
  5349:         test "$with_gnu_ld" != no && break
  5350:         ;;
  5351:       *)
  5352:         test "$with_gnu_ld" != yes && break
  5353:         ;;
  5354:       esac
  5355:     fi
  5356:   done
  5357:   IFS="$acl_save_ifs"
  5358: else
  5359:   acl_cv_path_LD="$LD" # Let the user override the test with a path.
  5360: fi
  5361: fi
  5362: 
  5363: LD="$acl_cv_path_LD"
  5364: if test -n "$LD"; then
  5365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5366: $as_echo "$LD" >&6; }
  5367: else
  5368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5369: $as_echo "no" >&6; }
  5370: fi
  5371: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  5372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5373: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5374: if ${acl_cv_prog_gnu_ld+:} false; then :
  5375:   $as_echo_n "(cached) " >&6
  5376: else
  5377:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5378: case `$LD -v 2>&1 </dev/null` in
  5379: *GNU* | *'with BFD'*)
  5380:   acl_cv_prog_gnu_ld=yes
  5381:   ;;
  5382: *)
  5383:   acl_cv_prog_gnu_ld=no
  5384:   ;;
  5385: esac
  5386: fi
  5387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  5388: $as_echo "$acl_cv_prog_gnu_ld" >&6; }
  5389: with_gnu_ld=$acl_cv_prog_gnu_ld
  5390: 
  5391: 
  5392: 
  5393: 
  5394:                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  5395: $as_echo_n "checking for shared library run path origin... " >&6; }
  5396: if ${acl_cv_rpath+:} false; then :
  5397:   $as_echo_n "(cached) " >&6
  5398: else
  5399: 
  5400:     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  5401:     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  5402:     . ./conftest.sh
  5403:     rm -f ./conftest.sh
  5404:     acl_cv_rpath=done
  5405: 
  5406: fi
  5407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  5408: $as_echo "$acl_cv_rpath" >&6; }
  5409:   wl="$acl_cv_wl"
  5410:   acl_libext="$acl_cv_libext"
  5411:   acl_shlibext="$acl_cv_shlibext"
  5412:   acl_libname_spec="$acl_cv_libname_spec"
  5413:   acl_library_names_spec="$acl_cv_library_names_spec"
  5414:   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  5415:   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  5416:   acl_hardcode_direct="$acl_cv_hardcode_direct"
  5417:   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  5418:     # Check whether --enable-rpath was given.
  5419: if test "${enable_rpath+set}" = set; then :
  5420:   enableval=$enable_rpath; :
  5421: else
  5422:   enable_rpath=yes
  5423: fi
  5424: 
  5425: 
  5426: ac_ext=c
  5427: ac_cpp='$CPP $CPPFLAGS'
  5428: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5429: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5430: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  5432: $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5433: # On Suns, sometimes $CPP names a directory.
  5434: if test -n "$CPP" && test -d "$CPP"; then
  5435:   CPP=
  5436: fi
  5437: if test -z "$CPP"; then
  5438:   if ${ac_cv_prog_CPP+:} false; then :
  5439:   $as_echo_n "(cached) " >&6
  5440: else
  5441:       # Double quotes because CPP needs to be expanded
  5442:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5443:     do
  5444:       ac_preproc_ok=false
  5445: for ac_c_preproc_warn_flag in '' yes
  5446: do
  5447:   # Use a header file that comes with gcc, so configuring glibc
  5448:   # with a fresh cross-compiler works.
  5449:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5450:   # <limits.h> exists even on freestanding compilers.
  5451:   # On the NeXT, cc -E runs the code through the compiler's parser,
  5452:   # not just through cpp. "Syntax error" is here to catch this case.
  5453:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5454: /* end confdefs.h.  */
  5455: #ifdef __STDC__
  5456: # include <limits.h>
  5457: #else
  5458: # include <assert.h>
  5459: #endif
  5460: 		     Syntax error
  5461: _ACEOF
  5462: if ac_fn_c_try_cpp "$LINENO"; then :
  5463: 
  5464: else
  5465:   # Broken: fails on valid input.
  5466: continue
  5467: fi
  5468: rm -f conftest.err conftest.i conftest.$ac_ext
  5469: 
  5470:   # OK, works on sane cases.  Now check whether nonexistent headers
  5471:   # can be detected and how.
  5472:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5473: /* end confdefs.h.  */
  5474: #include <ac_nonexistent.h>
  5475: _ACEOF
  5476: if ac_fn_c_try_cpp "$LINENO"; then :
  5477:   # Broken: success on invalid input.
  5478: continue
  5479: else
  5480:   # Passes both tests.
  5481: ac_preproc_ok=:
  5482: break
  5483: fi
  5484: rm -f conftest.err conftest.i conftest.$ac_ext
  5485: 
  5486: done
  5487: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5488: rm -f conftest.i conftest.err conftest.$ac_ext
  5489: if $ac_preproc_ok; then :
  5490:   break
  5491: fi
  5492: 
  5493:     done
  5494:     ac_cv_prog_CPP=$CPP
  5495: 
  5496: fi
  5497:   CPP=$ac_cv_prog_CPP
  5498: else
  5499:   ac_cv_prog_CPP=$CPP
  5500: fi
  5501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  5502: $as_echo "$CPP" >&6; }
  5503: ac_preproc_ok=false
  5504: for ac_c_preproc_warn_flag in '' yes
  5505: do
  5506:   # Use a header file that comes with gcc, so configuring glibc
  5507:   # with a fresh cross-compiler works.
  5508:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5509:   # <limits.h> exists even on freestanding compilers.
  5510:   # On the NeXT, cc -E runs the code through the compiler's parser,
  5511:   # not just through cpp. "Syntax error" is here to catch this case.
  5512:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5513: /* end confdefs.h.  */
  5514: #ifdef __STDC__
  5515: # include <limits.h>
  5516: #else
  5517: # include <assert.h>
  5518: #endif
  5519: 		     Syntax error
  5520: _ACEOF
  5521: if ac_fn_c_try_cpp "$LINENO"; then :
  5522: 
  5523: else
  5524:   # Broken: fails on valid input.
  5525: continue
  5526: fi
  5527: rm -f conftest.err conftest.i conftest.$ac_ext
  5528: 
  5529:   # OK, works on sane cases.  Now check whether nonexistent headers
  5530:   # can be detected and how.
  5531:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5532: /* end confdefs.h.  */
  5533: #include <ac_nonexistent.h>
  5534: _ACEOF
  5535: if ac_fn_c_try_cpp "$LINENO"; then :
  5536:   # Broken: success on invalid input.
  5537: continue
  5538: else
  5539:   # Passes both tests.
  5540: ac_preproc_ok=:
  5541: break
  5542: fi
  5543: rm -f conftest.err conftest.i conftest.$ac_ext
  5544: 
  5545: done
  5546: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5547: rm -f conftest.i conftest.err conftest.$ac_ext
  5548: if $ac_preproc_ok; then :
  5549: 
  5550: else
  5551:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5552: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5553: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  5554: See \`config.log' for more details" "$LINENO" 5; }
  5555: fi
  5556: 
  5557: ac_ext=c
  5558: ac_cpp='$CPP $CPPFLAGS'
  5559: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5560: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5561: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5562: 
  5563: 
  5564: 
  5565: 
  5566:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
  5567: $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
  5568: if ${acl_cv_libdirstems+:} false; then :
  5569:   $as_echo_n "(cached) " >&6
  5570: else
  5571:   acl_libdirstem=lib
  5572:      acl_libdirstem2=
  5573:      case "$host_os" in
  5574:        solaris*)
  5575:                                                       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  5576: $as_echo_n "checking for 64-bit host... " >&6; }
  5577: if ${gl_cv_solaris_64bit+:} false; then :
  5578:   $as_echo_n "(cached) " >&6
  5579: else
  5580:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5581: /* end confdefs.h.  */
  5582: 
  5583: #ifdef _LP64
  5584: sixtyfour bits
  5585: #endif
  5586: 
  5587: _ACEOF
  5588: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5589:   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
  5590:   gl_cv_solaris_64bit=yes
  5591: else
  5592:   gl_cv_solaris_64bit=no
  5593: fi
  5594: rm -f conftest*
  5595: 
  5596: 
  5597: fi
  5598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  5599: $as_echo "$gl_cv_solaris_64bit" >&6; }
  5600:          if test $gl_cv_solaris_64bit = yes; then
  5601:            acl_libdirstem=lib/64
  5602:            case "$host_cpu" in
  5603:              sparc*)        acl_libdirstem2=lib/sparcv9 ;;
  5604:              i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  5605:            esac
  5606:          fi
  5607:          ;;
  5608:        *)
  5609:                                     searchpath=`(if test -f /usr/bin/gcc \
  5610:                          && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \
  5611:                         LC_ALL=C /usr/bin/gcc -print-search-dirs; \
  5612:                       else \
  5613:                         LC_ALL=C $CC -print-search-dirs; \
  5614:                       fi) 2>/dev/null \
  5615:                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  5616:          if test -n "$searchpath"; then
  5617:            acl_save_IFS="${IFS= 	}"; IFS=":"
  5618:            for searchdir in $searchpath; do
  5619:              if test -d "$searchdir"; then
  5620:                case "$searchdir" in
  5621:                  */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  5622:                  */../ | */.. )
  5623:                    # Better ignore directories of this form. They are misleading.
  5624:                    ;;
  5625:                  *) searchdir=`cd "$searchdir" && pwd`
  5626:                     case "$searchdir" in
  5627:                       */lib64 ) acl_libdirstem=lib64 ;;
  5628:                     esac ;;
  5629:                esac
  5630:              fi
  5631:            done
  5632:            IFS="$acl_save_IFS"
  5633:          fi
  5634:          ;;
  5635:      esac
  5636:      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  5637:      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2"
  5638: 
  5639: fi
  5640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
  5641: $as_echo "$acl_cv_libdirstems" >&6; }
  5642:   # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2.
  5643:   acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
  5644:   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'`
  5645: 
  5646: 
  5647: 
  5648: 
  5649: 
  5650: 
  5651: 
  5652: 
  5653: 
  5654: 
  5655: 
  5656: 
  5657: 
  5658: 
  5659: 
  5660:     use_additional=yes
  5661: 
  5662:   acl_save_prefix="$prefix"
  5663:   prefix="$acl_final_prefix"
  5664:   acl_save_exec_prefix="$exec_prefix"
  5665:   exec_prefix="$acl_final_exec_prefix"
  5666: 
  5667:     eval additional_includedir=\"$includedir\"
  5668:     eval additional_libdir=\"$libdir\"
  5669: 
  5670:   exec_prefix="$acl_save_exec_prefix"
  5671:   prefix="$acl_save_prefix"
  5672: 
  5673: 
  5674: # Check whether --with-libsigsegv-prefix was given.
  5675: if test "${with_libsigsegv_prefix+set}" = set; then :
  5676:   withval=$with_libsigsegv_prefix;
  5677:     if test "X$withval" = "Xno"; then
  5678:       use_additional=no
  5679:     else
  5680:       if test "X$withval" = "X"; then
  5681: 
  5682:   acl_save_prefix="$prefix"
  5683:   prefix="$acl_final_prefix"
  5684:   acl_save_exec_prefix="$exec_prefix"
  5685:   exec_prefix="$acl_final_exec_prefix"
  5686: 
  5687:           eval additional_includedir=\"$includedir\"
  5688:           eval additional_libdir=\"$libdir\"
  5689: 
  5690:   exec_prefix="$acl_save_exec_prefix"
  5691:   prefix="$acl_save_prefix"
  5692: 
  5693:       else
  5694:         additional_includedir="$withval/include"
  5695:         additional_libdir="$withval/$acl_libdirstem"
  5696:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
  5697:            && ! test -d "$withval/$acl_libdirstem"; then
  5698:           additional_libdir="$withval/$acl_libdirstem2"
  5699:         fi
  5700:       fi
  5701:     fi
  5702: 
  5703: fi
  5704: 
  5705:       LIBSIGSEGV=
  5706:   LTLIBSIGSEGV=
  5707:   INCSIGSEGV=
  5708:   LIBSIGSEGV_PREFIX=
  5709:       HAVE_LIBSIGSEGV=
  5710:   rpathdirs=
  5711:   ltrpathdirs=
  5712:   names_already_handled=
  5713:   names_next_round='sigsegv '
  5714:   while test -n "$names_next_round"; do
  5715:     names_this_round="$names_next_round"
  5716:     names_next_round=
  5717:     for name in $names_this_round; do
  5718:       already_handled=
  5719:       for n in $names_already_handled; do
  5720:         if test "$n" = "$name"; then
  5721:           already_handled=yes
  5722:           break
  5723:         fi
  5724:       done
  5725:       if test -z "$already_handled"; then
  5726:         names_already_handled="$names_already_handled $name"
  5727:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  5728:         eval value=\"\$HAVE_LIB$uppername\"
  5729:         if test -n "$value"; then
  5730:           if test "$value" = yes; then
  5731:             eval value=\"\$LIB$uppername\"
  5732:             test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  5733:             eval value=\"\$LTLIB$uppername\"
  5734:             test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  5735:           else
  5736:                                     :
  5737:           fi
  5738:         else
  5739:                               found_dir=
  5740:           found_la=
  5741:           found_so=
  5742:           found_a=
  5743:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
  5744:           if test -n "$acl_shlibext"; then
  5745:             shrext=".$acl_shlibext"             # typically: shrext=.so
  5746:           else
  5747:             shrext=
  5748:           fi
  5749:           if test $use_additional = yes; then
  5750:             dir="$additional_libdir"
  5751:                                     if test -n "$acl_shlibext"; then
  5752:               if test -f "$dir/$libname$shrext"; then
  5753:                 found_dir="$dir"
  5754:                 found_so="$dir/$libname$shrext"
  5755:               else
  5756:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5757:                   ver=`(cd "$dir" && \
  5758:                         for f in "$libname$shrext".*; do echo "$f"; done \
  5759:                         | sed -e "s,^$libname$shrext\\\\.,," \
  5760:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5761:                         | sed 1q ) 2>/dev/null`
  5762:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5763:                     found_dir="$dir"
  5764:                     found_so="$dir/$libname$shrext.$ver"
  5765:                   fi
  5766:                 else
  5767:                   eval library_names=\"$acl_library_names_spec\"
  5768:                   for f in $library_names; do
  5769:                     if test -f "$dir/$f"; then
  5770:                       found_dir="$dir"
  5771:                       found_so="$dir/$f"
  5772:                       break
  5773:                     fi
  5774:                   done
  5775:                 fi
  5776:               fi
  5777:             fi
  5778:                         if test "X$found_dir" = "X"; then
  5779:               if test -f "$dir/$libname.$acl_libext"; then
  5780:                 found_dir="$dir"
  5781:                 found_a="$dir/$libname.$acl_libext"
  5782:               fi
  5783:             fi
  5784:             if test "X$found_dir" != "X"; then
  5785:               if test -f "$dir/$libname.la"; then
  5786:                 found_la="$dir/$libname.la"
  5787:               fi
  5788:             fi
  5789:           fi
  5790:           if test "X$found_dir" = "X"; then
  5791:             for x in $LDFLAGS $LTLIBSIGSEGV; do
  5792: 
  5793:   acl_save_prefix="$prefix"
  5794:   prefix="$acl_final_prefix"
  5795:   acl_save_exec_prefix="$exec_prefix"
  5796:   exec_prefix="$acl_final_exec_prefix"
  5797:   eval x=\"$x\"
  5798:   exec_prefix="$acl_save_exec_prefix"
  5799:   prefix="$acl_save_prefix"
  5800: 
  5801:               case "$x" in
  5802:                 -L*)
  5803:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
  5804:                                     if test -n "$acl_shlibext"; then
  5805:                     if test -f "$dir/$libname$shrext"; then
  5806:                       found_dir="$dir"
  5807:                       found_so="$dir/$libname$shrext"
  5808:                     else
  5809:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5810:                         ver=`(cd "$dir" && \
  5811:                               for f in "$libname$shrext".*; do echo "$f"; done \
  5812:                               | sed -e "s,^$libname$shrext\\\\.,," \
  5813:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5814:                               | sed 1q ) 2>/dev/null`
  5815:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5816:                           found_dir="$dir"
  5817:                           found_so="$dir/$libname$shrext.$ver"
  5818:                         fi
  5819:                       else
  5820:                         eval library_names=\"$acl_library_names_spec\"
  5821:                         for f in $library_names; do
  5822:                           if test -f "$dir/$f"; then
  5823:                             found_dir="$dir"
  5824:                             found_so="$dir/$f"
  5825:                             break
  5826:                           fi
  5827:                         done
  5828:                       fi
  5829:                     fi
  5830:                   fi
  5831:                                     if test "X$found_dir" = "X"; then
  5832:                     if test -f "$dir/$libname.$acl_libext"; then
  5833:                       found_dir="$dir"
  5834:                       found_a="$dir/$libname.$acl_libext"
  5835:                     fi
  5836:                   fi
  5837:                   if test "X$found_dir" != "X"; then
  5838:                     if test -f "$dir/$libname.la"; then
  5839:                       found_la="$dir/$libname.la"
  5840:                     fi
  5841:                   fi
  5842:                   ;;
  5843:               esac
  5844:               if test "X$found_dir" != "X"; then
  5845:                 break
  5846:               fi
  5847:             done
  5848:           fi
  5849:           if test "X$found_dir" != "X"; then
  5850:                         LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  5851:             if test "X$found_so" != "X"; then
  5852:                                                         if test "$enable_rpath" = no \
  5853:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  5854:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  5855:                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5856:               else
  5857:                                                                                 haveit=
  5858:                 for x in $ltrpathdirs; do
  5859:                   if test "X$x" = "X$found_dir"; then
  5860:                     haveit=yes
  5861:                     break
  5862:                   fi
  5863:                 done
  5864:                 if test -z "$haveit"; then
  5865:                   ltrpathdirs="$ltrpathdirs $found_dir"
  5866:                 fi
  5867:                                 if test "$acl_hardcode_direct" = yes; then
  5868:                                                       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5869:                 else
  5870:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  5871:                                                             LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5872:                                                             haveit=
  5873:                     for x in $rpathdirs; do
  5874:                       if test "X$x" = "X$found_dir"; then
  5875:                         haveit=yes
  5876:                         break
  5877:                       fi
  5878:                     done
  5879:                     if test -z "$haveit"; then
  5880:                       rpathdirs="$rpathdirs $found_dir"
  5881:                     fi
  5882:                   else
  5883:                                                                                 haveit=
  5884:                     for x in $LDFLAGS $LIBSIGSEGV; do
  5885: 
  5886:   acl_save_prefix="$prefix"
  5887:   prefix="$acl_final_prefix"
  5888:   acl_save_exec_prefix="$exec_prefix"
  5889:   exec_prefix="$acl_final_exec_prefix"
  5890:   eval x=\"$x\"
  5891:   exec_prefix="$acl_save_exec_prefix"
  5892:   prefix="$acl_save_prefix"
  5893: 
  5894:                       if test "X$x" = "X-L$found_dir"; then
  5895:                         haveit=yes
  5896:                         break
  5897:                       fi
  5898:                     done
  5899:                     if test -z "$haveit"; then
  5900:                       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  5901:                     fi
  5902:                     if test "$acl_hardcode_minus_L" != no; then
  5903:                                                                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5904:                     else
  5905:                                                                                                                                                                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  5906:                     fi
  5907:                   fi
  5908:                 fi
  5909:               fi
  5910:             else
  5911:               if test "X$found_a" != "X"; then
  5912:                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  5913:               else
  5914:                                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  5915:               fi
  5916:             fi
  5917:                         additional_includedir=
  5918:             case "$found_dir" in
  5919:               */$acl_libdirstem | */$acl_libdirstem/)
  5920:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  5921:                 if test "$name" = 'sigsegv'; then
  5922:                   LIBSIGSEGV_PREFIX="$basedir"
  5923:                 fi
  5924:                 additional_includedir="$basedir/include"
  5925:                 ;;
  5926:               */$acl_libdirstem2 | */$acl_libdirstem2/)
  5927:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  5928:                 if test "$name" = 'sigsegv'; then
  5929:                   LIBSIGSEGV_PREFIX="$basedir"
  5930:                 fi
  5931:                 additional_includedir="$basedir/include"
  5932:                 ;;
  5933:             esac
  5934:             if test "X$additional_includedir" != "X"; then
  5935:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
  5936:                 haveit=
  5937:                 if test "X$additional_includedir" = "X/usr/local/include"; then
  5938:                   if test -n "$GCC"; then
  5939:                     case $host_os in
  5940:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5941:                     esac
  5942:                   fi
  5943:                 fi
  5944:                 if test -z "$haveit"; then
  5945:                   for x in $CPPFLAGS $INCSIGSEGV; do
  5946: 
  5947:   acl_save_prefix="$prefix"
  5948:   prefix="$acl_final_prefix"
  5949:   acl_save_exec_prefix="$exec_prefix"
  5950:   exec_prefix="$acl_final_exec_prefix"
  5951:   eval x=\"$x\"
  5952:   exec_prefix="$acl_save_exec_prefix"
  5953:   prefix="$acl_save_prefix"
  5954: 
  5955:                     if test "X$x" = "X-I$additional_includedir"; then
  5956:                       haveit=yes
  5957:                       break
  5958:                     fi
  5959:                   done
  5960:                   if test -z "$haveit"; then
  5961:                     if test -d "$additional_includedir"; then
  5962:                                             INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  5963:                     fi
  5964:                   fi
  5965:                 fi
  5966:               fi
  5967:             fi
  5968:                         if test -n "$found_la"; then
  5969:                                                         save_libdir="$libdir"
  5970:               case "$found_la" in
  5971:                 */* | *\\*) . "$found_la" ;;
  5972:                 *) . "./$found_la" ;;
  5973:               esac
  5974:               libdir="$save_libdir"
  5975:                             for dep in $dependency_libs; do
  5976:                 case "$dep" in
  5977:                   -L*)
  5978:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  5979:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  5980:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  5981:                       haveit=
  5982:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  5983:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  5984:                         if test -n "$GCC"; then
  5985:                           case $host_os in
  5986:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5987:                           esac
  5988:                         fi
  5989:                       fi
  5990:                       if test -z "$haveit"; then
  5991:                         haveit=
  5992:                         for x in $LDFLAGS $LIBSIGSEGV; do
  5993: 
  5994:   acl_save_prefix="$prefix"
  5995:   prefix="$acl_final_prefix"
  5996:   acl_save_exec_prefix="$exec_prefix"
  5997:   exec_prefix="$acl_final_exec_prefix"
  5998:   eval x=\"$x\"
  5999:   exec_prefix="$acl_save_exec_prefix"
  6000:   prefix="$acl_save_prefix"
  6001: 
  6002:                           if test "X$x" = "X-L$additional_libdir"; then
  6003:                             haveit=yes
  6004:                             break
  6005:                           fi
  6006:                         done
  6007:                         if test -z "$haveit"; then
  6008:                           if test -d "$additional_libdir"; then
  6009:                                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  6010:                           fi
  6011:                         fi
  6012:                         haveit=
  6013:                         for x in $LDFLAGS $LTLIBSIGSEGV; do
  6014: 
  6015:   acl_save_prefix="$prefix"
  6016:   prefix="$acl_final_prefix"
  6017:   acl_save_exec_prefix="$exec_prefix"
  6018:   exec_prefix="$acl_final_exec_prefix"
  6019:   eval x=\"$x\"
  6020:   exec_prefix="$acl_save_exec_prefix"
  6021:   prefix="$acl_save_prefix"
  6022: 
  6023:                           if test "X$x" = "X-L$additional_libdir"; then
  6024:                             haveit=yes
  6025:                             break
  6026:                           fi
  6027:                         done
  6028:                         if test -z "$haveit"; then
  6029:                           if test -d "$additional_libdir"; then
  6030:                                                         LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  6031:                           fi
  6032:                         fi
  6033:                       fi
  6034:                     fi
  6035:                     ;;
  6036:                   -R*)
  6037:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
  6038:                     if test "$enable_rpath" != no; then
  6039:                                                                   haveit=
  6040:                       for x in $rpathdirs; do
  6041:                         if test "X$x" = "X$dir"; then
  6042:                           haveit=yes
  6043:                           break
  6044:                         fi
  6045:                       done
  6046:                       if test -z "$haveit"; then
  6047:                         rpathdirs="$rpathdirs $dir"
  6048:                       fi
  6049:                                                                   haveit=
  6050:                       for x in $ltrpathdirs; do
  6051:                         if test "X$x" = "X$dir"; then
  6052:                           haveit=yes
  6053:                           break
  6054:                         fi
  6055:                       done
  6056:                       if test -z "$haveit"; then
  6057:                         ltrpathdirs="$ltrpathdirs $dir"
  6058:                       fi
  6059:                     fi
  6060:                     ;;
  6061:                   -l*)
  6062:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  6063:                     ;;
  6064:                   *.la)
  6065:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  6066:                     ;;
  6067:                   *)
  6068:                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  6069:                     LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  6070:                     ;;
  6071:                 esac
  6072:               done
  6073:             fi
  6074:           else
  6075:                                                             LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  6076:             LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  6077:           fi
  6078:         fi
  6079:       fi
  6080:     done
  6081:   done
  6082:   if test "X$rpathdirs" != "X"; then
  6083:     if test -n "$acl_hardcode_libdir_separator"; then
  6084:                         alldirs=
  6085:       for found_dir in $rpathdirs; do
  6086:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  6087:       done
  6088:             acl_save_libdir="$libdir"
  6089:       libdir="$alldirs"
  6090:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6091:       libdir="$acl_save_libdir"
  6092:       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  6093:     else
  6094:             for found_dir in $rpathdirs; do
  6095:         acl_save_libdir="$libdir"
  6096:         libdir="$found_dir"
  6097:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6098:         libdir="$acl_save_libdir"
  6099:         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  6100:       done
  6101:     fi
  6102:   fi
  6103:   if test "X$ltrpathdirs" != "X"; then
  6104:             for found_dir in $ltrpathdirs; do
  6105:       LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  6106:     done
  6107:   fi
  6108: 
  6109: 
  6110: 
  6111: 
  6112: 
  6113: 
  6114: 
  6115:         ac_save_CPPFLAGS="$CPPFLAGS"
  6116: 
  6117:   for element in $INCSIGSEGV; do
  6118:     haveit=
  6119:     for x in $CPPFLAGS; do
  6120: 
  6121:   acl_save_prefix="$prefix"
  6122:   prefix="$acl_final_prefix"
  6123:   acl_save_exec_prefix="$exec_prefix"
  6124:   exec_prefix="$acl_final_exec_prefix"
  6125:   eval x=\"$x\"
  6126:   exec_prefix="$acl_save_exec_prefix"
  6127:   prefix="$acl_save_prefix"
  6128: 
  6129:       if test "X$x" = "X$element"; then
  6130:         haveit=yes
  6131:         break
  6132:       fi
  6133:     done
  6134:     if test -z "$haveit"; then
  6135:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  6136:     fi
  6137:   done
  6138: 
  6139: 
  6140:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  6141: $as_echo_n "checking for libsigsegv... " >&6; }
  6142: if ${ac_cv_libsigsegv+:} false; then :
  6143:   $as_echo_n "(cached) " >&6
  6144: else
  6145: 
  6146:     ac_save_LIBS="$LIBS"
  6147:                                 case " $LIBSIGSEGV" in
  6148:       *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  6149:       *)       LIBS="$LIBSIGSEGV $LIBS" ;;
  6150:     esac
  6151:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6152: /* end confdefs.h.  */
  6153: #include <sigsegv.h>
  6154: int
  6155: main ()
  6156: {
  6157: sigsegv_deinstall_handler();
  6158:   ;
  6159:   return 0;
  6160: }
  6161: _ACEOF
  6162: if ac_fn_c_try_link "$LINENO"; then :
  6163:   ac_cv_libsigsegv=yes
  6164: else
  6165:   ac_cv_libsigsegv='as_fn_error $? "requires GNU libsigsegv" "$LINENO" 5'
  6166: fi
  6167: rm -f core conftest.err conftest.$ac_objext \
  6168:     conftest$ac_exeext conftest.$ac_ext
  6169:     LIBS="$ac_save_LIBS"
  6170: 
  6171: fi
  6172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  6173: $as_echo "$ac_cv_libsigsegv" >&6; }
  6174:   if test "$ac_cv_libsigsegv" = yes; then
  6175:     HAVE_LIBSIGSEGV=yes
  6176: 
  6177: $as_echo "#define HAVE_LIBSIGSEGV 1" >>confdefs.h
  6178: 
  6179:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  6180: $as_echo_n "checking how to link with libsigsegv... " >&6; }
  6181:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  6182: $as_echo "$LIBSIGSEGV" >&6; }
  6183:   else
  6184:     HAVE_LIBSIGSEGV=no
  6185:             CPPFLAGS="$ac_save_CPPFLAGS"
  6186:     LIBSIGSEGV=
  6187:     LTLIBSIGSEGV=
  6188:     LIBSIGSEGV_PREFIX=
  6189:   fi
  6190: 
  6191: 
  6192: 
  6193: 
  6194: 
  6195: 
  6196: 
  6197:     gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  6198: 
  6199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6200: $as_echo_n "checking for ANSI C header files... " >&6; }
  6201: if ${ac_cv_header_stdc+:} false; then :
  6202:   $as_echo_n "(cached) " >&6
  6203: else
  6204:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6205: /* end confdefs.h.  */
  6206: #include <stdlib.h>
  6207: #include <stdarg.h>
  6208: #include <string.h>
  6209: #include <float.h>
  6210: 
  6211: int
  6212: main ()
  6213: {
  6214: 
  6215:   ;
  6216:   return 0;
  6217: }
  6218: _ACEOF
  6219: if ac_fn_c_try_compile "$LINENO"; then :
  6220:   ac_cv_header_stdc=yes
  6221: else
  6222:   ac_cv_header_stdc=no
  6223: fi
  6224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6225: 
  6226: if test $ac_cv_header_stdc = yes; then
  6227:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6228:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6229: /* end confdefs.h.  */
  6230: #include <string.h>
  6231: 
  6232: _ACEOF
  6233: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6234:   $EGREP "memchr" >/dev/null 2>&1; then :
  6235: 
  6236: else
  6237:   ac_cv_header_stdc=no
  6238: fi
  6239: rm -f conftest*
  6240: 
  6241: fi
  6242: 
  6243: if test $ac_cv_header_stdc = yes; then
  6244:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6245:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6246: /* end confdefs.h.  */
  6247: #include <stdlib.h>
  6248: 
  6249: _ACEOF
  6250: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6251:   $EGREP "free" >/dev/null 2>&1; then :
  6252: 
  6253: else
  6254:   ac_cv_header_stdc=no
  6255: fi
  6256: rm -f conftest*
  6257: 
  6258: fi
  6259: 
  6260: if test $ac_cv_header_stdc = yes; then
  6261:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6262:   if test "$cross_compiling" = yes; then :
  6263:   :
  6264: else
  6265:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6266: /* end confdefs.h.  */
  6267: #include <ctype.h>
  6268: #include <stdlib.h>
  6269: #if ((' ' & 0x0FF) == 0x020)
  6270: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6271: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6272: #else
  6273: # define ISLOWER(c) \
  6274: 		   (('a' <= (c) && (c) <= 'i') \
  6275: 		     || ('j' <= (c) && (c) <= 'r') \
  6276: 		     || ('s' <= (c) && (c) <= 'z'))
  6277: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6278: #endif
  6279: 
  6280: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6281: int
  6282: main ()
  6283: {
  6284:   int i;
  6285:   for (i = 0; i < 256; i++)
  6286:     if (XOR (islower (i), ISLOWER (i))
  6287: 	|| toupper (i) != TOUPPER (i))
  6288:       return 2;
  6289:   return 0;
  6290: }
  6291: _ACEOF
  6292: if ac_fn_c_try_run "$LINENO"; then :
  6293: 
  6294: else
  6295:   ac_cv_header_stdc=no
  6296: fi
  6297: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6298:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  6299: fi
  6300: 
  6301: fi
  6302: fi
  6303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6304: $as_echo "$ac_cv_header_stdc" >&6; }
  6305: if test $ac_cv_header_stdc = yes; then
  6306: 
  6307: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6308: 
  6309: fi
  6310: 
  6311: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6312: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6313: 		  inttypes.h stdint.h unistd.h
  6314: do :
  6315:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6316: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6317: "
  6318: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6319:   cat >>confdefs.h <<_ACEOF
  6320: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6321: _ACEOF
  6322: 
  6323: fi
  6324: 
  6325: done
  6326: 
  6327: 
  6328: 
  6329: 
  6330: 
  6331: 
  6332: 
  6333: 
  6334: 
  6335: 
  6336: 
  6337: 
  6338: 
  6339:     use_additional=yes
  6340: 
  6341:   acl_save_prefix="$prefix"
  6342:   prefix="$acl_final_prefix"
  6343:   acl_save_exec_prefix="$exec_prefix"
  6344:   exec_prefix="$acl_final_exec_prefix"
  6345: 
  6346:     eval additional_includedir=\"$includedir\"
  6347:     eval additional_libdir=\"$libdir\"
  6348: 
  6349:   exec_prefix="$acl_save_exec_prefix"
  6350:   prefix="$acl_save_prefix"
  6351: 
  6352: 
  6353: # Check whether --with-libreadline-prefix was given.
  6354: if test "${with_libreadline_prefix+set}" = set; then :
  6355:   withval=$with_libreadline_prefix;
  6356:     if test "X$withval" = "Xno"; then
  6357:       use_additional=no
  6358:     else
  6359:       if test "X$withval" = "X"; then
  6360: 
  6361:   acl_save_prefix="$prefix"
  6362:   prefix="$acl_final_prefix"
  6363:   acl_save_exec_prefix="$exec_prefix"
  6364:   exec_prefix="$acl_final_exec_prefix"
  6365: 
  6366:           eval additional_includedir=\"$includedir\"
  6367:           eval additional_libdir=\"$libdir\"
  6368: 
  6369:   exec_prefix="$acl_save_exec_prefix"
  6370:   prefix="$acl_save_prefix"
  6371: 
  6372:       else
  6373:         additional_includedir="$withval/include"
  6374:         additional_libdir="$withval/$acl_libdirstem"
  6375:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
  6376:            && ! test -d "$withval/$acl_libdirstem"; then
  6377:           additional_libdir="$withval/$acl_libdirstem2"
  6378:         fi
  6379:       fi
  6380:     fi
  6381: 
  6382: fi
  6383: 
  6384:       LIBREADLINE=
  6385:   LTLIBREADLINE=
  6386:   INCREADLINE=
  6387:   LIBREADLINE_PREFIX=
  6388:       HAVE_LIBREADLINE=
  6389:   rpathdirs=
  6390:   ltrpathdirs=
  6391:   names_already_handled=
  6392:   names_next_round='readline '
  6393:   while test -n "$names_next_round"; do
  6394:     names_this_round="$names_next_round"
  6395:     names_next_round=
  6396:     for name in $names_this_round; do
  6397:       already_handled=
  6398:       for n in $names_already_handled; do
  6399:         if test "$n" = "$name"; then
  6400:           already_handled=yes
  6401:           break
  6402:         fi
  6403:       done
  6404:       if test -z "$already_handled"; then
  6405:         names_already_handled="$names_already_handled $name"
  6406:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  6407:         eval value=\"\$HAVE_LIB$uppername\"
  6408:         if test -n "$value"; then
  6409:           if test "$value" = yes; then
  6410:             eval value=\"\$LIB$uppername\"
  6411:             test -z "$value" || LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$value"
  6412:             eval value=\"\$LTLIB$uppername\"
  6413:             test -z "$value" || LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$value"
  6414:           else
  6415:                                     :
  6416:           fi
  6417:         else
  6418:                               found_dir=
  6419:           found_la=
  6420:           found_so=
  6421:           found_a=
  6422:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
  6423:           if test -n "$acl_shlibext"; then
  6424:             shrext=".$acl_shlibext"             # typically: shrext=.so
  6425:           else
  6426:             shrext=
  6427:           fi
  6428:           if test $use_additional = yes; then
  6429:             dir="$additional_libdir"
  6430:                                     if test -n "$acl_shlibext"; then
  6431:               if test -f "$dir/$libname$shrext"; then
  6432:                 found_dir="$dir"
  6433:                 found_so="$dir/$libname$shrext"
  6434:               else
  6435:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  6436:                   ver=`(cd "$dir" && \
  6437:                         for f in "$libname$shrext".*; do echo "$f"; done \
  6438:                         | sed -e "s,^$libname$shrext\\\\.,," \
  6439:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  6440:                         | sed 1q ) 2>/dev/null`
  6441:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  6442:                     found_dir="$dir"
  6443:                     found_so="$dir/$libname$shrext.$ver"
  6444:                   fi
  6445:                 else
  6446:                   eval library_names=\"$acl_library_names_spec\"
  6447:                   for f in $library_names; do
  6448:                     if test -f "$dir/$f"; then
  6449:                       found_dir="$dir"
  6450:                       found_so="$dir/$f"
  6451:                       break
  6452:                     fi
  6453:                   done
  6454:                 fi
  6455:               fi
  6456:             fi
  6457:                         if test "X$found_dir" = "X"; then
  6458:               if test -f "$dir/$libname.$acl_libext"; then
  6459:                 found_dir="$dir"
  6460:                 found_a="$dir/$libname.$acl_libext"
  6461:               fi
  6462:             fi
  6463:             if test "X$found_dir" != "X"; then
  6464:               if test -f "$dir/$libname.la"; then
  6465:                 found_la="$dir/$libname.la"
  6466:               fi
  6467:             fi
  6468:           fi
  6469:           if test "X$found_dir" = "X"; then
  6470:             for x in $LDFLAGS $LTLIBREADLINE; do
  6471: 
  6472:   acl_save_prefix="$prefix"
  6473:   prefix="$acl_final_prefix"
  6474:   acl_save_exec_prefix="$exec_prefix"
  6475:   exec_prefix="$acl_final_exec_prefix"
  6476:   eval x=\"$x\"
  6477:   exec_prefix="$acl_save_exec_prefix"
  6478:   prefix="$acl_save_prefix"
  6479: 
  6480:               case "$x" in
  6481:                 -L*)
  6482:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
  6483:                                     if test -n "$acl_shlibext"; then
  6484:                     if test -f "$dir/$libname$shrext"; then
  6485:                       found_dir="$dir"
  6486:                       found_so="$dir/$libname$shrext"
  6487:                     else
  6488:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  6489:                         ver=`(cd "$dir" && \
  6490:                               for f in "$libname$shrext".*; do echo "$f"; done \
  6491:                               | sed -e "s,^$libname$shrext\\\\.,," \
  6492:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  6493:                               | sed 1q ) 2>/dev/null`
  6494:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  6495:                           found_dir="$dir"
  6496:                           found_so="$dir/$libname$shrext.$ver"
  6497:                         fi
  6498:                       else
  6499:                         eval library_names=\"$acl_library_names_spec\"
  6500:                         for f in $library_names; do
  6501:                           if test -f "$dir/$f"; then
  6502:                             found_dir="$dir"
  6503:                             found_so="$dir/$f"
  6504:                             break
  6505:                           fi
  6506:                         done
  6507:                       fi
  6508:                     fi
  6509:                   fi
  6510:                                     if test "X$found_dir" = "X"; then
  6511:                     if test -f "$dir/$libname.$acl_libext"; then
  6512:                       found_dir="$dir"
  6513:                       found_a="$dir/$libname.$acl_libext"
  6514:                     fi
  6515:                   fi
  6516:                   if test "X$found_dir" != "X"; then
  6517:                     if test -f "$dir/$libname.la"; then
  6518:                       found_la="$dir/$libname.la"
  6519:                     fi
  6520:                   fi
  6521:                   ;;
  6522:               esac
  6523:               if test "X$found_dir" != "X"; then
  6524:                 break
  6525:               fi
  6526:             done
  6527:           fi
  6528:           if test "X$found_dir" != "X"; then
  6529:                         LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$found_dir -l$name"
  6530:             if test "X$found_so" != "X"; then
  6531:                                                         if test "$enable_rpath" = no \
  6532:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  6533:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  6534:                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6535:               else
  6536:                                                                                 haveit=
  6537:                 for x in $ltrpathdirs; do
  6538:                   if test "X$x" = "X$found_dir"; then
  6539:                     haveit=yes
  6540:                     break
  6541:                   fi
  6542:                 done
  6543:                 if test -z "$haveit"; then
  6544:                   ltrpathdirs="$ltrpathdirs $found_dir"
  6545:                 fi
  6546:                                 if test "$acl_hardcode_direct" = yes; then
  6547:                                                       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6548:                 else
  6549:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  6550:                                                             LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6551:                                                             haveit=
  6552:                     for x in $rpathdirs; do
  6553:                       if test "X$x" = "X$found_dir"; then
  6554:                         haveit=yes
  6555:                         break
  6556:                       fi
  6557:                     done
  6558:                     if test -z "$haveit"; then
  6559:                       rpathdirs="$rpathdirs $found_dir"
  6560:                     fi
  6561:                   else
  6562:                                                                                 haveit=
  6563:                     for x in $LDFLAGS $LIBREADLINE; do
  6564: 
  6565:   acl_save_prefix="$prefix"
  6566:   prefix="$acl_final_prefix"
  6567:   acl_save_exec_prefix="$exec_prefix"
  6568:   exec_prefix="$acl_final_exec_prefix"
  6569:   eval x=\"$x\"
  6570:   exec_prefix="$acl_save_exec_prefix"
  6571:   prefix="$acl_save_prefix"
  6572: 
  6573:                       if test "X$x" = "X-L$found_dir"; then
  6574:                         haveit=yes
  6575:                         break
  6576:                       fi
  6577:                     done
  6578:                     if test -z "$haveit"; then
  6579:                       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir"
  6580:                     fi
  6581:                     if test "$acl_hardcode_minus_L" != no; then
  6582:                                                                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6583:                     else
  6584:                                                                                                                                                                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name"
  6585:                     fi
  6586:                   fi
  6587:                 fi
  6588:               fi
  6589:             else
  6590:               if test "X$found_a" != "X"; then
  6591:                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_a"
  6592:               else
  6593:                                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir -l$name"
  6594:               fi
  6595:             fi
  6596:                         additional_includedir=
  6597:             case "$found_dir" in
  6598:               */$acl_libdirstem | */$acl_libdirstem/)
  6599:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  6600:                 if test "$name" = 'readline'; then
  6601:                   LIBREADLINE_PREFIX="$basedir"
  6602:                 fi
  6603:                 additional_includedir="$basedir/include"
  6604:                 ;;
  6605:               */$acl_libdirstem2 | */$acl_libdirstem2/)
  6606:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  6607:                 if test "$name" = 'readline'; then
  6608:                   LIBREADLINE_PREFIX="$basedir"
  6609:                 fi
  6610:                 additional_includedir="$basedir/include"
  6611:                 ;;
  6612:             esac
  6613:             if test "X$additional_includedir" != "X"; then
  6614:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
  6615:                 haveit=
  6616:                 if test "X$additional_includedir" = "X/usr/local/include"; then
  6617:                   if test -n "$GCC"; then
  6618:                     case $host_os in
  6619:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  6620:                     esac
  6621:                   fi
  6622:                 fi
  6623:                 if test -z "$haveit"; then
  6624:                   for x in $CPPFLAGS $INCREADLINE; do
  6625: 
  6626:   acl_save_prefix="$prefix"
  6627:   prefix="$acl_final_prefix"
  6628:   acl_save_exec_prefix="$exec_prefix"
  6629:   exec_prefix="$acl_final_exec_prefix"
  6630:   eval x=\"$x\"
  6631:   exec_prefix="$acl_save_exec_prefix"
  6632:   prefix="$acl_save_prefix"
  6633: 
  6634:                     if test "X$x" = "X-I$additional_includedir"; then
  6635:                       haveit=yes
  6636:                       break
  6637:                     fi
  6638:                   done
  6639:                   if test -z "$haveit"; then
  6640:                     if test -d "$additional_includedir"; then
  6641:                                             INCREADLINE="${INCREADLINE}${INCREADLINE:+ }-I$additional_includedir"
  6642:                     fi
  6643:                   fi
  6644:                 fi
  6645:               fi
  6646:             fi
  6647:                         if test -n "$found_la"; then
  6648:                                                         save_libdir="$libdir"
  6649:               case "$found_la" in
  6650:                 */* | *\\*) . "$found_la" ;;
  6651:                 *) . "./$found_la" ;;
  6652:               esac
  6653:               libdir="$save_libdir"
  6654:                             for dep in $dependency_libs; do
  6655:                 case "$dep" in
  6656:                   -L*)
  6657:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  6658:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  6659:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  6660:                       haveit=
  6661:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  6662:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  6663:                         if test -n "$GCC"; then
  6664:                           case $host_os in
  6665:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  6666:                           esac
  6667:                         fi
  6668:                       fi
  6669:                       if test -z "$haveit"; then
  6670:                         haveit=
  6671:                         for x in $LDFLAGS $LIBREADLINE; do
  6672: 
  6673:   acl_save_prefix="$prefix"
  6674:   prefix="$acl_final_prefix"
  6675:   acl_save_exec_prefix="$exec_prefix"
  6676:   exec_prefix="$acl_final_exec_prefix"
  6677:   eval x=\"$x\"
  6678:   exec_prefix="$acl_save_exec_prefix"
  6679:   prefix="$acl_save_prefix"
  6680: 
  6681:                           if test "X$x" = "X-L$additional_libdir"; then
  6682:                             haveit=yes
  6683:                             break
  6684:                           fi
  6685:                         done
  6686:                         if test -z "$haveit"; then
  6687:                           if test -d "$additional_libdir"; then
  6688:                                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$additional_libdir"
  6689:                           fi
  6690:                         fi
  6691:                         haveit=
  6692:                         for x in $LDFLAGS $LTLIBREADLINE; do
  6693: 
  6694:   acl_save_prefix="$prefix"
  6695:   prefix="$acl_final_prefix"
  6696:   acl_save_exec_prefix="$exec_prefix"
  6697:   exec_prefix="$acl_final_exec_prefix"
  6698:   eval x=\"$x\"
  6699:   exec_prefix="$acl_save_exec_prefix"
  6700:   prefix="$acl_save_prefix"
  6701: 
  6702:                           if test "X$x" = "X-L$additional_libdir"; then
  6703:                             haveit=yes
  6704:                             break
  6705:                           fi
  6706:                         done
  6707:                         if test -z "$haveit"; then
  6708:                           if test -d "$additional_libdir"; then
  6709:                                                         LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$additional_libdir"
  6710:                           fi
  6711:                         fi
  6712:                       fi
  6713:                     fi
  6714:                     ;;
  6715:                   -R*)
  6716:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
  6717:                     if test "$enable_rpath" != no; then
  6718:                                                                   haveit=
  6719:                       for x in $rpathdirs; do
  6720:                         if test "X$x" = "X$dir"; then
  6721:                           haveit=yes
  6722:                           break
  6723:                         fi
  6724:                       done
  6725:                       if test -z "$haveit"; then
  6726:                         rpathdirs="$rpathdirs $dir"
  6727:                       fi
  6728:                                                                   haveit=
  6729:                       for x in $ltrpathdirs; do
  6730:                         if test "X$x" = "X$dir"; then
  6731:                           haveit=yes
  6732:                           break
  6733:                         fi
  6734:                       done
  6735:                       if test -z "$haveit"; then
  6736:                         ltrpathdirs="$ltrpathdirs $dir"
  6737:                       fi
  6738:                     fi
  6739:                     ;;
  6740:                   -l*)
  6741:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  6742:                     ;;
  6743:                   *.la)
  6744:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  6745:                     ;;
  6746:                   *)
  6747:                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$dep"
  6748:                     LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$dep"
  6749:                     ;;
  6750:                 esac
  6751:               done
  6752:             fi
  6753:           else
  6754:                                                             LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name"
  6755:             LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-l$name"
  6756:           fi
  6757:         fi
  6758:       fi
  6759:     done
  6760:   done
  6761:   if test "X$rpathdirs" != "X"; then
  6762:     if test -n "$acl_hardcode_libdir_separator"; then
  6763:                         alldirs=
  6764:       for found_dir in $rpathdirs; do
  6765:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  6766:       done
  6767:             acl_save_libdir="$libdir"
  6768:       libdir="$alldirs"
  6769:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6770:       libdir="$acl_save_libdir"
  6771:       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag"
  6772:     else
  6773:             for found_dir in $rpathdirs; do
  6774:         acl_save_libdir="$libdir"
  6775:         libdir="$found_dir"
  6776:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6777:         libdir="$acl_save_libdir"
  6778:         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag"
  6779:       done
  6780:     fi
  6781:   fi
  6782:   if test "X$ltrpathdirs" != "X"; then
  6783:             for found_dir in $ltrpathdirs; do
  6784:       LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-R$found_dir"
  6785:     done
  6786:   fi
  6787: 
  6788: 
  6789: 
  6790: 
  6791: 
  6792: 
  6793: 
  6794:           am_save_CPPFLAGS="$CPPFLAGS"
  6795: 
  6796:   for element in $INCREADLINE; do
  6797:     haveit=
  6798:     for x in $CPPFLAGS; do
  6799: 
  6800:   acl_save_prefix="$prefix"
  6801:   prefix="$acl_final_prefix"
  6802:   acl_save_exec_prefix="$exec_prefix"
  6803:   exec_prefix="$acl_final_exec_prefix"
  6804:   eval x=\"$x\"
  6805:   exec_prefix="$acl_save_exec_prefix"
  6806:   prefix="$acl_save_prefix"
  6807: 
  6808:       if test "X$x" = "X$element"; then
  6809:         haveit=yes
  6810:         break
  6811:       fi
  6812:     done
  6813:     if test -z "$haveit"; then
  6814:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  6815:     fi
  6816:   done
  6817: 
  6818: 
  6819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
  6820: $as_echo_n "checking for readline... " >&6; }
  6821: if ${gl_cv_lib_readline+:} false; then :
  6822:   $as_echo_n "(cached) " >&6
  6823: else
  6824: 
  6825:     gl_cv_lib_readline=no
  6826:     am_save_LIBS="$LIBS"
  6827:                         for extra_lib in "" ncurses termcap curses; do
  6828:       LIBS="$am_save_LIBS $LIBREADLINE"
  6829:       if test -n "$extra_lib"; then
  6830:         LIBS="$LIBS -l$extra_lib"
  6831:       fi
  6832:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6833: /* end confdefs.h.  */
  6834: #include <stdio.h>
  6835: #include <readline/readline.h>
  6836: int
  6837: main ()
  6838: {
  6839: readline((char*)0);
  6840:   ;
  6841:   return 0;
  6842: }
  6843: _ACEOF
  6844: if ac_fn_c_try_link "$LINENO"; then :
  6845:   if test -n "$extra_lib"; then
  6846:            gl_cv_lib_readline="yes, requires -l$extra_lib"
  6847:          else
  6848:            gl_cv_lib_readline="yes"
  6849:          fi
  6850: 
  6851: fi
  6852: rm -f core conftest.err conftest.$ac_objext \
  6853:     conftest$ac_exeext conftest.$ac_ext
  6854:       if test "$gl_cv_lib_readline" != no; then
  6855:         break
  6856:       fi
  6857:     done
  6858:     LIBS="$am_save_LIBS"
  6859: 
  6860: fi
  6861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_readline" >&5
  6862: $as_echo "$gl_cv_lib_readline" >&6; }
  6863: 
  6864:   if test "$gl_cv_lib_readline" != no; then
  6865: 
  6866: $as_echo "#define HAVE_READLINE 1" >>confdefs.h
  6867: 
  6868:     extra_lib=`echo "$gl_cv_lib_readline" | sed -n -e 's/yes, requires //p'`
  6869:     if test -n "$extra_lib"; then
  6870:       LIBREADLINE="$LIBREADLINE $extra_lib"
  6871:       LTLIBREADLINE="$LTLIBREADLINE $extra_lib"
  6872:     fi
  6873:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libreadline" >&5
  6874: $as_echo_n "checking how to link with libreadline... " >&6; }
  6875:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBREADLINE" >&5
  6876: $as_echo "$LIBREADLINE" >&6; }
  6877:   else
  6878:             CPPFLAGS="$am_save_CPPFLAGS"
  6879:     LIBREADLINE=
  6880:     LTLIBREADLINE=
  6881:   fi
  6882: 
  6883: 
  6884: 
  6885:   for ac_header in readline/readline.h readline/history.h
  6886: do :
  6887:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6888: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6889: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6890:   cat >>confdefs.h <<_ACEOF
  6891: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6892: _ACEOF
  6893: 
  6894: fi
  6895: 
  6896: done
  6897: 
  6898: 
  6899: 
  6900: # Checks for header files.
  6901: for ac_header in inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h
  6902: do :
  6903:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6904: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6905: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6906:   cat >>confdefs.h <<_ACEOF
  6907: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6908: _ACEOF
  6909: 
  6910: fi
  6911: 
  6912: done
  6913: 
  6914: 
  6915: # Checks for typedefs, structures, and compiler characteristics.
  6916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  6917: $as_echo_n "checking for inline... " >&6; }
  6918: if ${ac_cv_c_inline+:} false; then :
  6919:   $as_echo_n "(cached) " >&6
  6920: else
  6921:   ac_cv_c_inline=no
  6922: for ac_kw in inline __inline__ __inline; do
  6923:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6924: /* end confdefs.h.  */
  6925: #ifndef __cplusplus
  6926: typedef int foo_t;
  6927: static $ac_kw foo_t static_foo () {return 0; }
  6928: $ac_kw foo_t foo () {return 0; }
  6929: #endif
  6930: 
  6931: _ACEOF
  6932: if ac_fn_c_try_compile "$LINENO"; then :
  6933:   ac_cv_c_inline=$ac_kw
  6934: fi
  6935: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6936:   test "$ac_cv_c_inline" != no && break
  6937: done
  6938: 
  6939: fi
  6940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  6941: $as_echo "$ac_cv_c_inline" >&6; }
  6942: 
  6943: case $ac_cv_c_inline in
  6944:   inline | yes) ;;
  6945:   *)
  6946:     case $ac_cv_c_inline in
  6947:       no) ac_val=;;
  6948:       *) ac_val=$ac_cv_c_inline;;
  6949:     esac
  6950:     cat >>confdefs.h <<_ACEOF
  6951: #ifndef __cplusplus
  6952: #define inline $ac_val
  6953: #endif
  6954: _ACEOF
  6955:     ;;
  6956: esac
  6957: 
  6958: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  6959: if test "x$ac_cv_type_size_t" = xyes; then :
  6960: 
  6961: else
  6962: 
  6963: cat >>confdefs.h <<_ACEOF
  6964: #define size_t unsigned int
  6965: _ACEOF
  6966: 
  6967: fi
  6968: 
  6969: 
  6970: # Checks for library functions.
  6971: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  6972: # for constant arguments.  Useless!
  6973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  6974: $as_echo_n "checking for working alloca.h... " >&6; }
  6975: if ${ac_cv_working_alloca_h+:} false; then :
  6976:   $as_echo_n "(cached) " >&6
  6977: else
  6978:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6979: /* end confdefs.h.  */
  6980: #include <alloca.h>
  6981: int
  6982: main ()
  6983: {
  6984: char *p = (char *) alloca (2 * sizeof (int));
  6985: 			  if (p) return 0;
  6986:   ;
  6987:   return 0;
  6988: }
  6989: _ACEOF
  6990: if ac_fn_c_try_link "$LINENO"; then :
  6991:   ac_cv_working_alloca_h=yes
  6992: else
  6993:   ac_cv_working_alloca_h=no
  6994: fi
  6995: rm -f core conftest.err conftest.$ac_objext \
  6996:     conftest$ac_exeext conftest.$ac_ext
  6997: fi
  6998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  6999: $as_echo "$ac_cv_working_alloca_h" >&6; }
  7000: if test $ac_cv_working_alloca_h = yes; then
  7001: 
  7002: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  7003: 
  7004: fi
  7005: 
  7006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  7007: $as_echo_n "checking for alloca... " >&6; }
  7008: if ${ac_cv_func_alloca_works+:} false; then :
  7009:   $as_echo_n "(cached) " >&6
  7010: else
  7011:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7012: /* end confdefs.h.  */
  7013: #ifdef __GNUC__
  7014: # define alloca __builtin_alloca
  7015: #else
  7016: # ifdef _MSC_VER
  7017: #  include <malloc.h>
  7018: #  define alloca _alloca
  7019: # else
  7020: #  ifdef HAVE_ALLOCA_H
  7021: #   include <alloca.h>
  7022: #  else
  7023: #   ifdef _AIX
  7024:  #pragma alloca
  7025: #   else
  7026: #    ifndef alloca /* predefined by HP cc +Olibcalls */
  7027: void *alloca (size_t);
  7028: #    endif
  7029: #   endif
  7030: #  endif
  7031: # endif
  7032: #endif
  7033: 
  7034: int
  7035: main ()
  7036: {
  7037: char *p = (char *) alloca (1);
  7038: 				    if (p) return 0;
  7039:   ;
  7040:   return 0;
  7041: }
  7042: _ACEOF
  7043: if ac_fn_c_try_link "$LINENO"; then :
  7044:   ac_cv_func_alloca_works=yes
  7045: else
  7046:   ac_cv_func_alloca_works=no
  7047: fi
  7048: rm -f core conftest.err conftest.$ac_objext \
  7049:     conftest$ac_exeext conftest.$ac_ext
  7050: fi
  7051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  7052: $as_echo "$ac_cv_func_alloca_works" >&6; }
  7053: 
  7054: if test $ac_cv_func_alloca_works = yes; then
  7055: 
  7056: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  7057: 
  7058: else
  7059:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  7060: # that cause trouble.  Some versions do not even contain alloca or
  7061: # contain a buggy version.  If you still want to use their alloca,
  7062: # use ar to extract alloca.o from them instead of compiling alloca.c.
  7063: 
  7064: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  7065: 
  7066: $as_echo "#define C_ALLOCA 1" >>confdefs.h
  7067: 
  7068: 
  7069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  7070: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  7071: if ${ac_cv_os_cray+:} false; then :
  7072:   $as_echo_n "(cached) " >&6
  7073: else
  7074:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7075: /* end confdefs.h.  */
  7076: #if defined CRAY && ! defined CRAY2
  7077: webecray
  7078: #else
  7079: wenotbecray
  7080: #endif
  7081: 
  7082: _ACEOF
  7083: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7084:   $EGREP "webecray" >/dev/null 2>&1; then :
  7085:   ac_cv_os_cray=yes
  7086: else
  7087:   ac_cv_os_cray=no
  7088: fi
  7089: rm -f conftest*
  7090: 
  7091: fi
  7092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  7093: $as_echo "$ac_cv_os_cray" >&6; }
  7094: if test $ac_cv_os_cray = yes; then
  7095:   for ac_func in _getb67 GETB67 getb67; do
  7096:     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7097: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7098: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7099: 
  7100: cat >>confdefs.h <<_ACEOF
  7101: #define CRAY_STACKSEG_END $ac_func
  7102: _ACEOF
  7103: 
  7104:     break
  7105: fi
  7106: 
  7107:   done
  7108: fi
  7109: 
  7110: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  7111: $as_echo_n "checking stack direction for C alloca... " >&6; }
  7112: if ${ac_cv_c_stack_direction+:} false; then :
  7113:   $as_echo_n "(cached) " >&6
  7114: else
  7115:   if test "$cross_compiling" = yes; then :
  7116:   ac_cv_c_stack_direction=0
  7117: else
  7118:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7119: /* end confdefs.h.  */
  7120: $ac_includes_default
  7121: int
  7122: find_stack_direction (int *addr, int depth)
  7123: {
  7124:   int dir, dummy = 0;
  7125:   if (! addr)
  7126:     addr = &dummy;
  7127:   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  7128:   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  7129:   return dir + dummy;
  7130: }
  7131: 
  7132: int
  7133: main (int argc, char **argv)
  7134: {
  7135:   return find_stack_direction (0, argc + !argv + 20) < 0;
  7136: }
  7137: _ACEOF
  7138: if ac_fn_c_try_run "$LINENO"; then :
  7139:   ac_cv_c_stack_direction=1
  7140: else
  7141:   ac_cv_c_stack_direction=-1
  7142: fi
  7143: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7144:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  7145: fi
  7146: 
  7147: fi
  7148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  7149: $as_echo "$ac_cv_c_stack_direction" >&6; }
  7150: cat >>confdefs.h <<_ACEOF
  7151: #define STACK_DIRECTION $ac_cv_c_stack_direction
  7152: _ACEOF
  7153: 
  7154: 
  7155: fi
  7156: 
  7157: for ac_header in stdlib.h
  7158: do :
  7159:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  7160: if test "x$ac_cv_header_stdlib_h" = xyes; then :
  7161:   cat >>confdefs.h <<_ACEOF
  7162: #define HAVE_STDLIB_H 1
  7163: _ACEOF
  7164: 
  7165: fi
  7166: 
  7167: done
  7168: 
  7169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  7170: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  7171: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  7172:   $as_echo_n "(cached) " >&6
  7173: else
  7174:   if test "$cross_compiling" = yes; then :
  7175:   ac_cv_func_malloc_0_nonnull=no
  7176: else
  7177:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7178: /* end confdefs.h.  */
  7179: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  7180: # include <stdlib.h>
  7181: #else
  7182: char *malloc ();
  7183: #endif
  7184: 
  7185: int
  7186: main ()
  7187: {
  7188: return ! malloc (0);
  7189:   ;
  7190:   return 0;
  7191: }
  7192: _ACEOF
  7193: if ac_fn_c_try_run "$LINENO"; then :
  7194:   ac_cv_func_malloc_0_nonnull=yes
  7195: else
  7196:   ac_cv_func_malloc_0_nonnull=no
  7197: fi
  7198: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7199:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  7200: fi
  7201: 
  7202: fi
  7203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  7204: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  7205: if test $ac_cv_func_malloc_0_nonnull = yes; then :
  7206: 
  7207: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
  7208: 
  7209: else
  7210:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
  7211: 
  7212:    case " $LIBOBJS " in
  7213:   *" malloc.$ac_objext "* ) ;;
  7214:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  7215:  ;;
  7216: esac
  7217: 
  7218: 
  7219: $as_echo "#define malloc rpl_malloc" >>confdefs.h
  7220: 
  7221: fi
  7222: 
  7223: 
  7224: for ac_func in gettimeofday memset strtol
  7225: do :
  7226:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7227: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7228: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7229:   cat >>confdefs.h <<_ACEOF
  7230: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7231: _ACEOF
  7232: 
  7233: fi
  7234: done
  7235: 
  7236: 
  7237: case `pwd` in
  7238:   *\ * | *\	*)
  7239:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  7240: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  7241: esac
  7242: 
  7243: 
  7244: 
  7245: macro_version='2.4.6'
  7246: macro_revision='2.4.6'
  7247: 
  7248: 
  7249: 
  7250: 
  7251: 
  7252: 
  7253: 
  7254: 
  7255: 
  7256: 
  7257: 
  7258: 
  7259: 
  7260: ltmain=$ac_aux_dir/ltmain.sh
  7261: 
  7262: # Backslashify metacharacters that are still active within
  7263: # double-quoted strings.
  7264: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  7265: 
  7266: # Same as above, but do not quote variable references.
  7267: double_quote_subst='s/\(["`\\]\)/\\\1/g'
  7268: 
  7269: # Sed substitution to delay expansion of an escaped shell variable in a
  7270: # double_quote_subst'ed string.
  7271: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  7272: 
  7273: # Sed substitution to delay expansion of an escaped single quote.
  7274: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  7275: 
  7276: # Sed substitution to avoid accidental globbing in evaled expressions
  7277: no_glob_subst='s/\*/\\\*/g'
  7278: 
  7279: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  7280: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  7281: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  7282: 
  7283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  7284: $as_echo_n "checking how to print strings... " >&6; }
  7285: # Test print first, because it will be a builtin if present.
  7286: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  7287:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  7288:   ECHO='print -r --'
  7289: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  7290:   ECHO='printf %s\n'
  7291: else
  7292:   # Use this function as a fallback that always works.
  7293:   func_fallback_echo ()
  7294:   {
  7295:     eval 'cat <<_LTECHO_EOF
  7296: $1
  7297: _LTECHO_EOF'
  7298:   }
  7299:   ECHO='func_fallback_echo'
  7300: fi
  7301: 
  7302: # func_echo_all arg...
  7303: # Invoke $ECHO with all args, space-separated.
  7304: func_echo_all ()
  7305: {
  7306:     $ECHO ""
  7307: }
  7308: 
  7309: case $ECHO in
  7310:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  7311: $as_echo "printf" >&6; } ;;
  7312:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  7313: $as_echo "print -r" >&6; } ;;
  7314:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  7315: $as_echo "cat" >&6; } ;;
  7316: esac
  7317: 
  7318: 
  7319: 
  7320: 
  7321: 
  7322: 
  7323: 
  7324: 
  7325: 
  7326: 
  7327: 
  7328: 
  7329: 
  7330: 
  7331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  7332: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  7333: if ${ac_cv_path_SED+:} false; then :
  7334:   $as_echo_n "(cached) " >&6
  7335: else
  7336:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  7337:      for ac_i in 1 2 3 4 5 6 7; do
  7338:        ac_script="$ac_script$as_nl$ac_script"
  7339:      done
  7340:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  7341:      { ac_script=; unset ac_script;}
  7342:      if test -z "$SED"; then
  7343:   ac_path_SED_found=false
  7344:   # Loop through the user's path and test for each of PROGNAME-LIST
  7345:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7346: for as_dir in $PATH
  7347: do
  7348:   IFS=$as_save_IFS
  7349:   test -z "$as_dir" && as_dir=.
  7350:     for ac_prog in sed gsed; do
  7351:     for ac_exec_ext in '' $ac_executable_extensions; do
  7352:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  7353:       as_fn_executable_p "$ac_path_SED" || continue
  7354: # Check for GNU ac_path_SED and select it if it is found.
  7355:   # Check for GNU $ac_path_SED
  7356: case `"$ac_path_SED" --version 2>&1` in
  7357: *GNU*)
  7358:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  7359: *)
  7360:   ac_count=0
  7361:   $as_echo_n 0123456789 >"conftest.in"
  7362:   while :
  7363:   do
  7364:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7365:     mv "conftest.tmp" "conftest.in"
  7366:     cp "conftest.in" "conftest.nl"
  7367:     $as_echo '' >> "conftest.nl"
  7368:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7369:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7370:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  7371:     if test $ac_count -gt ${ac_path_SED_max-0}; then
  7372:       # Best one so far, save it but keep looking for a better one
  7373:       ac_cv_path_SED="$ac_path_SED"
  7374:       ac_path_SED_max=$ac_count
  7375:     fi
  7376:     # 10*(2^10) chars as input seems more than enough
  7377:     test $ac_count -gt 10 && break
  7378:   done
  7379:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7380: esac
  7381: 
  7382:       $ac_path_SED_found && break 3
  7383:     done
  7384:   done
  7385:   done
  7386: IFS=$as_save_IFS
  7387:   if test -z "$ac_cv_path_SED"; then
  7388:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  7389:   fi
  7390: else
  7391:   ac_cv_path_SED=$SED
  7392: fi
  7393: 
  7394: fi
  7395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  7396: $as_echo "$ac_cv_path_SED" >&6; }
  7397:  SED="$ac_cv_path_SED"
  7398:   rm -f conftest.sed
  7399: 
  7400: test -z "$SED" && SED=sed
  7401: Xsed="$SED -e 1s/^X//"
  7402: 
  7403: 
  7404: 
  7405: 
  7406: 
  7407: 
  7408: 
  7409: 
  7410: 
  7411: 
  7412: 
  7413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  7414: $as_echo_n "checking for fgrep... " >&6; }
  7415: if ${ac_cv_path_FGREP+:} false; then :
  7416:   $as_echo_n "(cached) " >&6
  7417: else
  7418:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  7419:    then ac_cv_path_FGREP="$GREP -F"
  7420:    else
  7421:      if test -z "$FGREP"; then
  7422:   ac_path_FGREP_found=false
  7423:   # Loop through the user's path and test for each of PROGNAME-LIST
  7424:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7425: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7426: do
  7427:   IFS=$as_save_IFS
  7428:   test -z "$as_dir" && as_dir=.
  7429:     for ac_prog in fgrep; do
  7430:     for ac_exec_ext in '' $ac_executable_extensions; do
  7431:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  7432:       as_fn_executable_p "$ac_path_FGREP" || continue
  7433: # Check for GNU ac_path_FGREP and select it if it is found.
  7434:   # Check for GNU $ac_path_FGREP
  7435: case `"$ac_path_FGREP" --version 2>&1` in
  7436: *GNU*)
  7437:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  7438: *)
  7439:   ac_count=0
  7440:   $as_echo_n 0123456789 >"conftest.in"
  7441:   while :
  7442:   do
  7443:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7444:     mv "conftest.tmp" "conftest.in"
  7445:     cp "conftest.in" "conftest.nl"
  7446:     $as_echo 'FGREP' >> "conftest.nl"
  7447:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7448:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7449:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  7450:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  7451:       # Best one so far, save it but keep looking for a better one
  7452:       ac_cv_path_FGREP="$ac_path_FGREP"
  7453:       ac_path_FGREP_max=$ac_count
  7454:     fi
  7455:     # 10*(2^10) chars as input seems more than enough
  7456:     test $ac_count -gt 10 && break
  7457:   done
  7458:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7459: esac
  7460: 
  7461:       $ac_path_FGREP_found && break 3
  7462:     done
  7463:   done
  7464:   done
  7465: IFS=$as_save_IFS
  7466:   if test -z "$ac_cv_path_FGREP"; then
  7467:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  7468:   fi
  7469: else
  7470:   ac_cv_path_FGREP=$FGREP
  7471: fi
  7472: 
  7473:    fi
  7474: fi
  7475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  7476: $as_echo "$ac_cv_path_FGREP" >&6; }
  7477:  FGREP="$ac_cv_path_FGREP"
  7478: 
  7479: 
  7480: test -z "$GREP" && GREP=grep
  7481: 
  7482: 
  7483: 
  7484: 
  7485: 
  7486: 
  7487: 
  7488: 
  7489: 
  7490: 
  7491: 
  7492: 
  7493: 
  7494: 
  7495: 
  7496: 
  7497: 
  7498: 
  7499: 
  7500: # Check whether --with-gnu-ld was given.
  7501: if test "${with_gnu_ld+set}" = set; then :
  7502:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  7503: else
  7504:   with_gnu_ld=no
  7505: fi
  7506: 
  7507: ac_prog=ld
  7508: if test yes = "$GCC"; then
  7509:   # Check if gcc -print-prog-name=ld gives a path.
  7510:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  7511: $as_echo_n "checking for ld used by $CC... " >&6; }
  7512:   case $host in
  7513:   *-*-mingw*)
  7514:     # gcc leaves a trailing carriage return, which upsets mingw
  7515:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  7516:   *)
  7517:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  7518:   esac
  7519:   case $ac_prog in
  7520:     # Accept absolute paths.
  7521:     [\\/]* | ?:[\\/]*)
  7522:       re_direlt='/[^/][^/]*/\.\./'
  7523:       # Canonicalize the pathname of ld
  7524:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  7525:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  7526: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  7527:       done
  7528:       test -z "$LD" && LD=$ac_prog
  7529:       ;;
  7530:   "")
  7531:     # If it fails, then pretend we aren't using GCC.
  7532:     ac_prog=ld
  7533:     ;;
  7534:   *)
  7535:     # If it is relative, then search for the first ld in PATH.
  7536:     with_gnu_ld=unknown
  7537:     ;;
  7538:   esac
  7539: elif test yes = "$with_gnu_ld"; then
  7540:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  7541: $as_echo_n "checking for GNU ld... " >&6; }
  7542: else
  7543:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  7544: $as_echo_n "checking for non-GNU ld... " >&6; }
  7545: fi
  7546: if ${lt_cv_path_LD+:} false; then :
  7547:   $as_echo_n "(cached) " >&6
  7548: else
  7549:   if test -z "$LD"; then
  7550:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7551:   for ac_dir in $PATH; do
  7552:     IFS=$lt_save_ifs
  7553:     test -z "$ac_dir" && ac_dir=.
  7554:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  7555:       lt_cv_path_LD=$ac_dir/$ac_prog
  7556:       # Check to see if the program is GNU ld.  I'd rather use --version,
  7557:       # but apparently some variants of GNU ld only accept -v.
  7558:       # Break only if it was the GNU/non-GNU ld that we prefer.
  7559:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  7560:       *GNU* | *'with BFD'*)
  7561: 	test no != "$with_gnu_ld" && break
  7562: 	;;
  7563:       *)
  7564: 	test yes != "$with_gnu_ld" && break
  7565: 	;;
  7566:       esac
  7567:     fi
  7568:   done
  7569:   IFS=$lt_save_ifs
  7570: else
  7571:   lt_cv_path_LD=$LD # Let the user override the test with a path.
  7572: fi
  7573: fi
  7574: 
  7575: LD=$lt_cv_path_LD
  7576: if test -n "$LD"; then
  7577:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  7578: $as_echo "$LD" >&6; }
  7579: else
  7580:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7581: $as_echo "no" >&6; }
  7582: fi
  7583: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  7584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  7585: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  7586: if ${lt_cv_prog_gnu_ld+:} false; then :
  7587:   $as_echo_n "(cached) " >&6
  7588: else
  7589:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  7590: case `$LD -v 2>&1 </dev/null` in
  7591: *GNU* | *'with BFD'*)
  7592:   lt_cv_prog_gnu_ld=yes
  7593:   ;;
  7594: *)
  7595:   lt_cv_prog_gnu_ld=no
  7596:   ;;
  7597: esac
  7598: fi
  7599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  7600: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  7601: with_gnu_ld=$lt_cv_prog_gnu_ld
  7602: 
  7603: 
  7604: 
  7605: 
  7606: 
  7607: 
  7608: 
  7609: 
  7610: 
  7611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  7612: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  7613: if ${lt_cv_path_NM+:} false; then :
  7614:   $as_echo_n "(cached) " >&6
  7615: else
  7616:   if test -n "$NM"; then
  7617:   # Let the user override the test.
  7618:   lt_cv_path_NM=$NM
  7619: else
  7620:   lt_nm_to_check=${ac_tool_prefix}nm
  7621:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  7622:     lt_nm_to_check="$lt_nm_to_check nm"
  7623:   fi
  7624:   for lt_tmp_nm in $lt_nm_to_check; do
  7625:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7626:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  7627:       IFS=$lt_save_ifs
  7628:       test -z "$ac_dir" && ac_dir=.
  7629:       tmp_nm=$ac_dir/$lt_tmp_nm
  7630:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  7631: 	# Check to see if the nm accepts a BSD-compat flag.
  7632: 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  7633: 	#   nm: unknown option "B" ignored
  7634: 	# Tru64's nm complains that /dev/null is an invalid object file
  7635: 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  7636: 	case $build_os in
  7637: 	mingw*) lt_bad_file=conftest.nm/nofile ;;
  7638: 	*) lt_bad_file=/dev/null ;;
  7639: 	esac
  7640: 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  7641: 	*$lt_bad_file* | *'Invalid file or object type'*)
  7642: 	  lt_cv_path_NM="$tmp_nm -B"
  7643: 	  break 2
  7644: 	  ;;
  7645: 	*)
  7646: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  7647: 	  */dev/null*)
  7648: 	    lt_cv_path_NM="$tmp_nm -p"
  7649: 	    break 2
  7650: 	    ;;
  7651: 	  *)
  7652: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  7653: 	    continue # so that we can try to find one that supports BSD flags
  7654: 	    ;;
  7655: 	  esac
  7656: 	  ;;
  7657: 	esac
  7658:       fi
  7659:     done
  7660:     IFS=$lt_save_ifs
  7661:   done
  7662:   : ${lt_cv_path_NM=no}
  7663: fi
  7664: fi
  7665: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  7666: $as_echo "$lt_cv_path_NM" >&6; }
  7667: if test no != "$lt_cv_path_NM"; then
  7668:   NM=$lt_cv_path_NM
  7669: else
  7670:   # Didn't find any BSD compatible name lister, look for dumpbin.
  7671:   if test -n "$DUMPBIN"; then :
  7672:     # Let the user override the test.
  7673:   else
  7674:     if test -n "$ac_tool_prefix"; then
  7675:   for ac_prog in dumpbin "link -dump"
  7676:   do
  7677:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7678: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7680: $as_echo_n "checking for $ac_word... " >&6; }
  7681: if ${ac_cv_prog_DUMPBIN+:} false; then :
  7682:   $as_echo_n "(cached) " >&6
  7683: else
  7684:   if test -n "$DUMPBIN"; then
  7685:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  7686: else
  7687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7688: for as_dir in $PATH
  7689: do
  7690:   IFS=$as_save_IFS
  7691:   test -z "$as_dir" && as_dir=.
  7692:     for ac_exec_ext in '' $ac_executable_extensions; do
  7693:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7694:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  7695:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7696:     break 2
  7697:   fi
  7698: done
  7699:   done
  7700: IFS=$as_save_IFS
  7701: 
  7702: fi
  7703: fi
  7704: DUMPBIN=$ac_cv_prog_DUMPBIN
  7705: if test -n "$DUMPBIN"; then
  7706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  7707: $as_echo "$DUMPBIN" >&6; }
  7708: else
  7709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7710: $as_echo "no" >&6; }
  7711: fi
  7712: 
  7713: 
  7714:     test -n "$DUMPBIN" && break
  7715:   done
  7716: fi
  7717: if test -z "$DUMPBIN"; then
  7718:   ac_ct_DUMPBIN=$DUMPBIN
  7719:   for ac_prog in dumpbin "link -dump"
  7720: do
  7721:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7722: set dummy $ac_prog; ac_word=$2
  7723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7724: $as_echo_n "checking for $ac_word... " >&6; }
  7725: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  7726:   $as_echo_n "(cached) " >&6
  7727: else
  7728:   if test -n "$ac_ct_DUMPBIN"; then
  7729:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  7730: else
  7731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7732: for as_dir in $PATH
  7733: do
  7734:   IFS=$as_save_IFS
  7735:   test -z "$as_dir" && as_dir=.
  7736:     for ac_exec_ext in '' $ac_executable_extensions; do
  7737:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7738:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  7739:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7740:     break 2
  7741:   fi
  7742: done
  7743:   done
  7744: IFS=$as_save_IFS
  7745: 
  7746: fi
  7747: fi
  7748: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  7749: if test -n "$ac_ct_DUMPBIN"; then
  7750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  7751: $as_echo "$ac_ct_DUMPBIN" >&6; }
  7752: else
  7753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7754: $as_echo "no" >&6; }
  7755: fi
  7756: 
  7757: 
  7758:   test -n "$ac_ct_DUMPBIN" && break
  7759: done
  7760: 
  7761:   if test "x$ac_ct_DUMPBIN" = x; then
  7762:     DUMPBIN=":"
  7763:   else
  7764:     case $cross_compiling:$ac_tool_warned in
  7765: yes:)
  7766: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7767: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7768: ac_tool_warned=yes ;;
  7769: esac
  7770:     DUMPBIN=$ac_ct_DUMPBIN
  7771:   fi
  7772: fi
  7773: 
  7774:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  7775:     *COFF*)
  7776:       DUMPBIN="$DUMPBIN -symbols -headers"
  7777:       ;;
  7778:     *)
  7779:       DUMPBIN=:
  7780:       ;;
  7781:     esac
  7782:   fi
  7783: 
  7784:   if test : != "$DUMPBIN"; then
  7785:     NM=$DUMPBIN
  7786:   fi
  7787: fi
  7788: test -z "$NM" && NM=nm
  7789: 
  7790: 
  7791: 
  7792: 
  7793: 
  7794: 
  7795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  7796: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  7797: if ${lt_cv_nm_interface+:} false; then :
  7798:   $as_echo_n "(cached) " >&6
  7799: else
  7800:   lt_cv_nm_interface="BSD nm"
  7801:   echo "int some_variable = 0;" > conftest.$ac_ext
  7802:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  7803:   (eval "$ac_compile" 2>conftest.err)
  7804:   cat conftest.err >&5
  7805:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  7806:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  7807:   cat conftest.err >&5
  7808:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  7809:   cat conftest.out >&5
  7810:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  7811:     lt_cv_nm_interface="MS dumpbin"
  7812:   fi
  7813:   rm -f conftest*
  7814: fi
  7815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  7816: $as_echo "$lt_cv_nm_interface" >&6; }
  7817: 
  7818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  7819: $as_echo_n "checking whether ln -s works... " >&6; }
  7820: LN_S=$as_ln_s
  7821: if test "$LN_S" = "ln -s"; then
  7822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7823: $as_echo "yes" >&6; }
  7824: else
  7825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  7826: $as_echo "no, using $LN_S" >&6; }
  7827: fi
  7828: 
  7829: # find the maximum length of command line arguments
  7830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  7831: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  7832: if ${lt_cv_sys_max_cmd_len+:} false; then :
  7833:   $as_echo_n "(cached) " >&6
  7834: else
  7835:     i=0
  7836:   teststring=ABCD
  7837: 
  7838:   case $build_os in
  7839:   msdosdjgpp*)
  7840:     # On DJGPP, this test can blow up pretty badly due to problems in libc
  7841:     # (any single argument exceeding 2000 bytes causes a buffer overrun
  7842:     # during glob expansion).  Even if it were fixed, the result of this
  7843:     # check would be larger than it should be.
  7844:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  7845:     ;;
  7846: 
  7847:   gnu*)
  7848:     # Under GNU Hurd, this test is not required because there is
  7849:     # no limit to the length of command line arguments.
  7850:     # Libtool will interpret -1 as no limit whatsoever
  7851:     lt_cv_sys_max_cmd_len=-1;
  7852:     ;;
  7853: 
  7854:   cygwin* | mingw* | cegcc*)
  7855:     # On Win9x/ME, this test blows up -- it succeeds, but takes
  7856:     # about 5 minutes as the teststring grows exponentially.
  7857:     # Worse, since 9x/ME are not pre-emptively multitasking,
  7858:     # you end up with a "frozen" computer, even though with patience
  7859:     # the test eventually succeeds (with a max line length of 256k).
  7860:     # Instead, let's just punt: use the minimum linelength reported by
  7861:     # all of the supported platforms: 8192 (on NT/2K/XP).
  7862:     lt_cv_sys_max_cmd_len=8192;
  7863:     ;;
  7864: 
  7865:   mint*)
  7866:     # On MiNT this can take a long time and run out of memory.
  7867:     lt_cv_sys_max_cmd_len=8192;
  7868:     ;;
  7869: 
  7870:   amigaos*)
  7871:     # On AmigaOS with pdksh, this test takes hours, literally.
  7872:     # So we just punt and use a minimum line length of 8192.
  7873:     lt_cv_sys_max_cmd_len=8192;
  7874:     ;;
  7875: 
  7876:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  7877:     # This has been around since 386BSD, at least.  Likely further.
  7878:     if test -x /sbin/sysctl; then
  7879:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  7880:     elif test -x /usr/sbin/sysctl; then
  7881:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  7882:     else
  7883:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  7884:     fi
  7885:     # And add a safety zone
  7886:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  7887:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  7888:     ;;
  7889: 
  7890:   interix*)
  7891:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  7892:     lt_cv_sys_max_cmd_len=196608
  7893:     ;;
  7894: 
  7895:   os2*)
  7896:     # The test takes a long time on OS/2.
  7897:     lt_cv_sys_max_cmd_len=8192
  7898:     ;;
  7899: 
  7900:   osf*)
  7901:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  7902:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  7903:     # nice to cause kernel panics so lets avoid the loop below.
  7904:     # First set a reasonable default.
  7905:     lt_cv_sys_max_cmd_len=16384
  7906:     #
  7907:     if test -x /sbin/sysconfig; then
  7908:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  7909:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  7910:       esac
  7911:     fi
  7912:     ;;
  7913:   sco3.2v5*)
  7914:     lt_cv_sys_max_cmd_len=102400
  7915:     ;;
  7916:   sysv5* | sco5v6* | sysv4.2uw2*)
  7917:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  7918:     if test -n "$kargmax"; then
  7919:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  7920:     else
  7921:       lt_cv_sys_max_cmd_len=32768
  7922:     fi
  7923:     ;;
  7924:   *)
  7925:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  7926:     if test -n "$lt_cv_sys_max_cmd_len" && \
  7927:        test undefined != "$lt_cv_sys_max_cmd_len"; then
  7928:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  7929:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  7930:     else
  7931:       # Make teststring a little bigger before we do anything with it.
  7932:       # a 1K string should be a reasonable start.
  7933:       for i in 1 2 3 4 5 6 7 8; do
  7934:         teststring=$teststring$teststring
  7935:       done
  7936:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  7937:       # If test is not a shell built-in, we'll probably end up computing a
  7938:       # maximum length that is only half of the actual maximum length, but
  7939:       # we can't tell.
  7940:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  7941: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  7942: 	      test 17 != "$i" # 1/2 MB should be enough
  7943:       do
  7944:         i=`expr $i + 1`
  7945:         teststring=$teststring$teststring
  7946:       done
  7947:       # Only check the string length outside the loop.
  7948:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  7949:       teststring=
  7950:       # Add a significant safety factor because C++ compilers can tack on
  7951:       # massive amounts of additional arguments before passing them to the
  7952:       # linker.  It appears as though 1/2 is a usable value.
  7953:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  7954:     fi
  7955:     ;;
  7956:   esac
  7957: 
  7958: fi
  7959: 
  7960: if test -n "$lt_cv_sys_max_cmd_len"; then
  7961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  7962: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  7963: else
  7964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  7965: $as_echo "none" >&6; }
  7966: fi
  7967: max_cmd_len=$lt_cv_sys_max_cmd_len
  7968: 
  7969: 
  7970: 
  7971: 
  7972: 
  7973: 
  7974: : ${CP="cp -f"}
  7975: : ${MV="mv -f"}
  7976: : ${RM="rm -f"}
  7977: 
  7978: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7979:   lt_unset=unset
  7980: else
  7981:   lt_unset=false
  7982: fi
  7983: 
  7984: 
  7985: 
  7986: 
  7987: 
  7988: # test EBCDIC or ASCII
  7989: case `echo X|tr X '\101'` in
  7990:  A) # ASCII based system
  7991:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7992:   lt_SP2NL='tr \040 \012'
  7993:   lt_NL2SP='tr \015\012 \040\040'
  7994:   ;;
  7995:  *) # EBCDIC based system
  7996:   lt_SP2NL='tr \100 \n'
  7997:   lt_NL2SP='tr \r\n \100\100'
  7998:   ;;
  7999: esac
  8000: 
  8001: 
  8002: 
  8003: 
  8004: 
  8005: 
  8006: 
  8007: 
  8008: 
  8009: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  8010: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  8011: if ${lt_cv_to_host_file_cmd+:} false; then :
  8012:   $as_echo_n "(cached) " >&6
  8013: else
  8014:   case $host in
  8015:   *-*-mingw* )
  8016:     case $build in
  8017:       *-*-mingw* ) # actually msys
  8018:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  8019:         ;;
  8020:       *-*-cygwin* )
  8021:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  8022:         ;;
  8023:       * ) # otherwise, assume *nix
  8024:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  8025:         ;;
  8026:     esac
  8027:     ;;
  8028:   *-*-cygwin* )
  8029:     case $build in
  8030:       *-*-mingw* ) # actually msys
  8031:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  8032:         ;;
  8033:       *-*-cygwin* )
  8034:         lt_cv_to_host_file_cmd=func_convert_file_noop
  8035:         ;;
  8036:       * ) # otherwise, assume *nix
  8037:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  8038:         ;;
  8039:     esac
  8040:     ;;
  8041:   * ) # unhandled hosts (and "normal" native builds)
  8042:     lt_cv_to_host_file_cmd=func_convert_file_noop
  8043:     ;;
  8044: esac
  8045: 
  8046: fi
  8047: 
  8048: to_host_file_cmd=$lt_cv_to_host_file_cmd
  8049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  8050: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  8051: 
  8052: 
  8053: 
  8054: 
  8055: 
  8056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  8057: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  8058: if ${lt_cv_to_tool_file_cmd+:} false; then :
  8059:   $as_echo_n "(cached) " >&6
  8060: else
  8061:   #assume ordinary cross tools, or native build.
  8062: lt_cv_to_tool_file_cmd=func_convert_file_noop
  8063: case $host in
  8064:   *-*-mingw* )
  8065:     case $build in
  8066:       *-*-mingw* ) # actually msys
  8067:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  8068:         ;;
  8069:     esac
  8070:     ;;
  8071: esac
  8072: 
  8073: fi
  8074: 
  8075: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  8076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  8077: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  8078: 
  8079: 
  8080: 
  8081: 
  8082: 
  8083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  8084: $as_echo_n "checking for $LD option to reload object files... " >&6; }
  8085: if ${lt_cv_ld_reload_flag+:} false; then :
  8086:   $as_echo_n "(cached) " >&6
  8087: else
  8088:   lt_cv_ld_reload_flag='-r'
  8089: fi
  8090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  8091: $as_echo "$lt_cv_ld_reload_flag" >&6; }
  8092: reload_flag=$lt_cv_ld_reload_flag
  8093: case $reload_flag in
  8094: "" | " "*) ;;
  8095: *) reload_flag=" $reload_flag" ;;
  8096: esac
  8097: reload_cmds='$LD$reload_flag -o $output$reload_objs'
  8098: case $host_os in
  8099:   cygwin* | mingw* | pw32* | cegcc*)
  8100:     if test yes != "$GCC"; then
  8101:       reload_cmds=false
  8102:     fi
  8103:     ;;
  8104:   darwin*)
  8105:     if test yes = "$GCC"; then
  8106:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  8107:     else
  8108:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  8109:     fi
  8110:     ;;
  8111: esac
  8112: 
  8113: 
  8114: 
  8115: 
  8116: 
  8117: 
  8118: 
  8119: 
  8120: 
  8121: if test -n "$ac_tool_prefix"; then
  8122:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  8123: set dummy ${ac_tool_prefix}objdump; ac_word=$2
  8124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8125: $as_echo_n "checking for $ac_word... " >&6; }
  8126: if ${ac_cv_prog_OBJDUMP+:} false; then :
  8127:   $as_echo_n "(cached) " >&6
  8128: else
  8129:   if test -n "$OBJDUMP"; then
  8130:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  8131: else
  8132: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8133: for as_dir in $PATH
  8134: do
  8135:   IFS=$as_save_IFS
  8136:   test -z "$as_dir" && as_dir=.
  8137:     for ac_exec_ext in '' $ac_executable_extensions; do
  8138:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8139:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  8140:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8141:     break 2
  8142:   fi
  8143: done
  8144:   done
  8145: IFS=$as_save_IFS
  8146: 
  8147: fi
  8148: fi
  8149: OBJDUMP=$ac_cv_prog_OBJDUMP
  8150: if test -n "$OBJDUMP"; then
  8151:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  8152: $as_echo "$OBJDUMP" >&6; }
  8153: else
  8154:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8155: $as_echo "no" >&6; }
  8156: fi
  8157: 
  8158: 
  8159: fi
  8160: if test -z "$ac_cv_prog_OBJDUMP"; then
  8161:   ac_ct_OBJDUMP=$OBJDUMP
  8162:   # Extract the first word of "objdump", so it can be a program name with args.
  8163: set dummy objdump; ac_word=$2
  8164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8165: $as_echo_n "checking for $ac_word... " >&6; }
  8166: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  8167:   $as_echo_n "(cached) " >&6
  8168: else
  8169:   if test -n "$ac_ct_OBJDUMP"; then
  8170:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  8171: else
  8172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8173: for as_dir in $PATH
  8174: do
  8175:   IFS=$as_save_IFS
  8176:   test -z "$as_dir" && as_dir=.
  8177:     for ac_exec_ext in '' $ac_executable_extensions; do
  8178:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8179:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  8180:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8181:     break 2
  8182:   fi
  8183: done
  8184:   done
  8185: IFS=$as_save_IFS
  8186: 
  8187: fi
  8188: fi
  8189: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  8190: if test -n "$ac_ct_OBJDUMP"; then
  8191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  8192: $as_echo "$ac_ct_OBJDUMP" >&6; }
  8193: else
  8194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8195: $as_echo "no" >&6; }
  8196: fi
  8197: 
  8198:   if test "x$ac_ct_OBJDUMP" = x; then
  8199:     OBJDUMP="false"
  8200:   else
  8201:     case $cross_compiling:$ac_tool_warned in
  8202: yes:)
  8203: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8204: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8205: ac_tool_warned=yes ;;
  8206: esac
  8207:     OBJDUMP=$ac_ct_OBJDUMP
  8208:   fi
  8209: else
  8210:   OBJDUMP="$ac_cv_prog_OBJDUMP"
  8211: fi
  8212: 
  8213: test -z "$OBJDUMP" && OBJDUMP=objdump
  8214: 
  8215: 
  8216: 
  8217: 
  8218: 
  8219: 
  8220: 
  8221: 
  8222: 
  8223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  8224: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  8225: if ${lt_cv_deplibs_check_method+:} false; then :
  8226:   $as_echo_n "(cached) " >&6
  8227: else
  8228:   lt_cv_file_magic_cmd='$MAGIC_CMD'
  8229: lt_cv_file_magic_test_file=
  8230: lt_cv_deplibs_check_method='unknown'
  8231: # Need to set the preceding variable on all platforms that support
  8232: # interlibrary dependencies.
  8233: # 'none' -- dependencies not supported.
  8234: # 'unknown' -- same as none, but documents that we really don't know.
  8235: # 'pass_all' -- all dependencies passed with no checks.
  8236: # 'test_compile' -- check by making test program.
  8237: # 'file_magic [[regex]]' -- check by looking for files in library path
  8238: # that responds to the $file_magic_cmd with a given extended regex.
  8239: # If you have 'file' or equivalent on your system and you're not sure
  8240: # whether 'pass_all' will *always* work, you probably want this one.
  8241: 
  8242: case $host_os in
  8243: aix[4-9]*)
  8244:   lt_cv_deplibs_check_method=pass_all
  8245:   ;;
  8246: 
  8247: beos*)
  8248:   lt_cv_deplibs_check_method=pass_all
  8249:   ;;
  8250: 
  8251: bsdi[45]*)
  8252:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  8253:   lt_cv_file_magic_cmd='/usr/bin/file -L'
  8254:   lt_cv_file_magic_test_file=/shlib/libc.so
  8255:   ;;
  8256: 
  8257: cygwin*)
  8258:   # func_win32_libid is a shell function defined in ltmain.sh
  8259:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  8260:   lt_cv_file_magic_cmd='func_win32_libid'
  8261:   ;;
  8262: 
  8263: mingw* | pw32*)
  8264:   # Base MSYS/MinGW do not provide the 'file' command needed by
  8265:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  8266:   # unless we find 'file', for example because we are cross-compiling.
  8267:   if ( file / ) >/dev/null 2>&1; then
  8268:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  8269:     lt_cv_file_magic_cmd='func_win32_libid'
  8270:   else
  8271:     # Keep this pattern in sync with the one in func_win32_libid.
  8272:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  8273:     lt_cv_file_magic_cmd='$OBJDUMP -f'
  8274:   fi
  8275:   ;;
  8276: 
  8277: cegcc*)
  8278:   # use the weaker test based on 'objdump'. See mingw*.
  8279:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  8280:   lt_cv_file_magic_cmd='$OBJDUMP -f'
  8281:   ;;
  8282: 
  8283: darwin* | rhapsody*)
  8284:   lt_cv_deplibs_check_method=pass_all
  8285:   ;;
  8286: 
  8287: freebsd* | dragonfly*)
  8288:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  8289:     case $host_cpu in
  8290:     i*86 )
  8291:       # Not sure whether the presence of OpenBSD here was a mistake.
  8292:       # Let's accept both of them until this is cleared up.
  8293:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  8294:       lt_cv_file_magic_cmd=/usr/bin/file
  8295:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  8296:       ;;
  8297:     esac
  8298:   else
  8299:     lt_cv_deplibs_check_method=pass_all
  8300:   fi
  8301:   ;;
  8302: 
  8303: haiku*)
  8304:   lt_cv_deplibs_check_method=pass_all
  8305:   ;;
  8306: 
  8307: hpux10.20* | hpux11*)
  8308:   lt_cv_file_magic_cmd=/usr/bin/file
  8309:   case $host_cpu in
  8310:   ia64*)
  8311:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  8312:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  8313:     ;;
  8314:   hppa*64*)
  8315:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  8316:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  8317:     ;;
  8318:   *)
  8319:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  8320:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  8321:     ;;
  8322:   esac
  8323:   ;;
  8324: 
  8325: interix[3-9]*)
  8326:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  8327:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  8328:   ;;
  8329: 
  8330: irix5* | irix6* | nonstopux*)
  8331:   case $LD in
  8332:   *-32|*"-32 ") libmagic=32-bit;;
  8333:   *-n32|*"-n32 ") libmagic=N32;;
  8334:   *-64|*"-64 ") libmagic=64-bit;;
  8335:   *) libmagic=never-match;;
  8336:   esac
  8337:   lt_cv_deplibs_check_method=pass_all
  8338:   ;;
  8339: 
  8340: # This must be glibc/ELF.
  8341: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  8342:   lt_cv_deplibs_check_method=pass_all
  8343:   ;;
  8344: 
  8345: netbsd*)
  8346:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  8347:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  8348:   else
  8349:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  8350:   fi
  8351:   ;;
  8352: 
  8353: newos6*)
  8354:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  8355:   lt_cv_file_magic_cmd=/usr/bin/file
  8356:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  8357:   ;;
  8358: 
  8359: *nto* | *qnx*)
  8360:   lt_cv_deplibs_check_method=pass_all
  8361:   ;;
  8362: 
  8363: openbsd* | bitrig*)
  8364:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  8365:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  8366:   else
  8367:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  8368:   fi
  8369:   ;;
  8370: 
  8371: osf3* | osf4* | osf5*)
  8372:   lt_cv_deplibs_check_method=pass_all
  8373:   ;;
  8374: 
  8375: rdos*)
  8376:   lt_cv_deplibs_check_method=pass_all
  8377:   ;;
  8378: 
  8379: solaris*)
  8380:   lt_cv_deplibs_check_method=pass_all
  8381:   ;;
  8382: 
  8383: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  8384:   lt_cv_deplibs_check_method=pass_all
  8385:   ;;
  8386: 
  8387: sysv4 | sysv4.3*)
  8388:   case $host_vendor in
  8389:   motorola)
  8390:     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]'
  8391:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  8392:     ;;
  8393:   ncr)
  8394:     lt_cv_deplibs_check_method=pass_all
  8395:     ;;
  8396:   sequent)
  8397:     lt_cv_file_magic_cmd='/bin/file'
  8398:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  8399:     ;;
  8400:   sni)
  8401:     lt_cv_file_magic_cmd='/bin/file'
  8402:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  8403:     lt_cv_file_magic_test_file=/lib/libc.so
  8404:     ;;
  8405:   siemens)
  8406:     lt_cv_deplibs_check_method=pass_all
  8407:     ;;
  8408:   pc)
  8409:     lt_cv_deplibs_check_method=pass_all
  8410:     ;;
  8411:   esac
  8412:   ;;
  8413: 
  8414: tpf*)
  8415:   lt_cv_deplibs_check_method=pass_all
  8416:   ;;
  8417: os2*)
  8418:   lt_cv_deplibs_check_method=pass_all
  8419:   ;;
  8420: esac
  8421: 
  8422: fi
  8423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  8424: $as_echo "$lt_cv_deplibs_check_method" >&6; }
  8425: 
  8426: file_magic_glob=
  8427: want_nocaseglob=no
  8428: if test "$build" = "$host"; then
  8429:   case $host_os in
  8430:   mingw* | pw32*)
  8431:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  8432:       want_nocaseglob=yes
  8433:     else
  8434:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  8435:     fi
  8436:     ;;
  8437:   esac
  8438: fi
  8439: 
  8440: file_magic_cmd=$lt_cv_file_magic_cmd
  8441: deplibs_check_method=$lt_cv_deplibs_check_method
  8442: test -z "$deplibs_check_method" && deplibs_check_method=unknown
  8443: 
  8444: 
  8445: 
  8446: 
  8447: 
  8448: 
  8449: 
  8450: 
  8451: 
  8452: 
  8453: 
  8454: 
  8455: 
  8456: 
  8457: 
  8458: 
  8459: 
  8460: 
  8461: 
  8462: 
  8463: 
  8464: 
  8465: if test -n "$ac_tool_prefix"; then
  8466:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  8467: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  8468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8469: $as_echo_n "checking for $ac_word... " >&6; }
  8470: if ${ac_cv_prog_DLLTOOL+:} false; then :
  8471:   $as_echo_n "(cached) " >&6
  8472: else
  8473:   if test -n "$DLLTOOL"; then
  8474:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  8475: else
  8476: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8477: for as_dir in $PATH
  8478: do
  8479:   IFS=$as_save_IFS
  8480:   test -z "$as_dir" && as_dir=.
  8481:     for ac_exec_ext in '' $ac_executable_extensions; do
  8482:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8483:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  8484:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8485:     break 2
  8486:   fi
  8487: done
  8488:   done
  8489: IFS=$as_save_IFS
  8490: 
  8491: fi
  8492: fi
  8493: DLLTOOL=$ac_cv_prog_DLLTOOL
  8494: if test -n "$DLLTOOL"; then
  8495:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  8496: $as_echo "$DLLTOOL" >&6; }
  8497: else
  8498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8499: $as_echo "no" >&6; }
  8500: fi
  8501: 
  8502: 
  8503: fi
  8504: if test -z "$ac_cv_prog_DLLTOOL"; then
  8505:   ac_ct_DLLTOOL=$DLLTOOL
  8506:   # Extract the first word of "dlltool", so it can be a program name with args.
  8507: set dummy dlltool; ac_word=$2
  8508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8509: $as_echo_n "checking for $ac_word... " >&6; }
  8510: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  8511:   $as_echo_n "(cached) " >&6
  8512: else
  8513:   if test -n "$ac_ct_DLLTOOL"; then
  8514:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  8515: else
  8516: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8517: for as_dir in $PATH
  8518: do
  8519:   IFS=$as_save_IFS
  8520:   test -z "$as_dir" && as_dir=.
  8521:     for ac_exec_ext in '' $ac_executable_extensions; do
  8522:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8523:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  8524:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8525:     break 2
  8526:   fi
  8527: done
  8528:   done
  8529: IFS=$as_save_IFS
  8530: 
  8531: fi
  8532: fi
  8533: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  8534: if test -n "$ac_ct_DLLTOOL"; then
  8535:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  8536: $as_echo "$ac_ct_DLLTOOL" >&6; }
  8537: else
  8538:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8539: $as_echo "no" >&6; }
  8540: fi
  8541: 
  8542:   if test "x$ac_ct_DLLTOOL" = x; then
  8543:     DLLTOOL="false"
  8544:   else
  8545:     case $cross_compiling:$ac_tool_warned in
  8546: yes:)
  8547: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8548: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8549: ac_tool_warned=yes ;;
  8550: esac
  8551:     DLLTOOL=$ac_ct_DLLTOOL
  8552:   fi
  8553: else
  8554:   DLLTOOL="$ac_cv_prog_DLLTOOL"
  8555: fi
  8556: 
  8557: test -z "$DLLTOOL" && DLLTOOL=dlltool
  8558: 
  8559: 
  8560: 
  8561: 
  8562: 
  8563: 
  8564: 
  8565: 
  8566: 
  8567: 
  8568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  8569: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  8570: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  8571:   $as_echo_n "(cached) " >&6
  8572: else
  8573:   lt_cv_sharedlib_from_linklib_cmd='unknown'
  8574: 
  8575: case $host_os in
  8576: cygwin* | mingw* | pw32* | cegcc*)
  8577:   # two different shell functions defined in ltmain.sh;
  8578:   # decide which one to use based on capabilities of $DLLTOOL
  8579:   case `$DLLTOOL --help 2>&1` in
  8580:   *--identify-strict*)
  8581:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  8582:     ;;
  8583:   *)
  8584:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  8585:     ;;
  8586:   esac
  8587:   ;;
  8588: *)
  8589:   # fallback: assume linklib IS sharedlib
  8590:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
  8591:   ;;
  8592: esac
  8593: 
  8594: fi
  8595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  8596: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  8597: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  8598: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  8599: 
  8600: 
  8601: 
  8602: 
  8603: 
  8604: 
  8605: 
  8606: if test -n "$ac_tool_prefix"; then
  8607:   for ac_prog in ar
  8608:   do
  8609:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8610: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8612: $as_echo_n "checking for $ac_word... " >&6; }
  8613: if ${ac_cv_prog_AR+:} false; then :
  8614:   $as_echo_n "(cached) " >&6
  8615: else
  8616:   if test -n "$AR"; then
  8617:   ac_cv_prog_AR="$AR" # Let the user override the test.
  8618: else
  8619: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8620: for as_dir in $PATH
  8621: do
  8622:   IFS=$as_save_IFS
  8623:   test -z "$as_dir" && as_dir=.
  8624:     for ac_exec_ext in '' $ac_executable_extensions; do
  8625:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8626:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  8627:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8628:     break 2
  8629:   fi
  8630: done
  8631:   done
  8632: IFS=$as_save_IFS
  8633: 
  8634: fi
  8635: fi
  8636: AR=$ac_cv_prog_AR
  8637: if test -n "$AR"; then
  8638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  8639: $as_echo "$AR" >&6; }
  8640: else
  8641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8642: $as_echo "no" >&6; }
  8643: fi
  8644: 
  8645: 
  8646:     test -n "$AR" && break
  8647:   done
  8648: fi
  8649: if test -z "$AR"; then
  8650:   ac_ct_AR=$AR
  8651:   for ac_prog in ar
  8652: do
  8653:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  8654: set dummy $ac_prog; ac_word=$2
  8655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8656: $as_echo_n "checking for $ac_word... " >&6; }
  8657: if ${ac_cv_prog_ac_ct_AR+:} false; then :
  8658:   $as_echo_n "(cached) " >&6
  8659: else
  8660:   if test -n "$ac_ct_AR"; then
  8661:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  8662: else
  8663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8664: for as_dir in $PATH
  8665: do
  8666:   IFS=$as_save_IFS
  8667:   test -z "$as_dir" && as_dir=.
  8668:     for ac_exec_ext in '' $ac_executable_extensions; do
  8669:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8670:     ac_cv_prog_ac_ct_AR="$ac_prog"
  8671:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8672:     break 2
  8673:   fi
  8674: done
  8675:   done
  8676: IFS=$as_save_IFS
  8677: 
  8678: fi
  8679: fi
  8680: ac_ct_AR=$ac_cv_prog_ac_ct_AR
  8681: if test -n "$ac_ct_AR"; then
  8682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  8683: $as_echo "$ac_ct_AR" >&6; }
  8684: else
  8685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8686: $as_echo "no" >&6; }
  8687: fi
  8688: 
  8689: 
  8690:   test -n "$ac_ct_AR" && break
  8691: done
  8692: 
  8693:   if test "x$ac_ct_AR" = x; then
  8694:     AR="false"
  8695:   else
  8696:     case $cross_compiling:$ac_tool_warned in
  8697: yes:)
  8698: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8699: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8700: ac_tool_warned=yes ;;
  8701: esac
  8702:     AR=$ac_ct_AR
  8703:   fi
  8704: fi
  8705: 
  8706: : ${AR=ar}
  8707: : ${AR_FLAGS=cru}
  8708: 
  8709: 
  8710: 
  8711: 
  8712: 
  8713: 
  8714: 
  8715: 
  8716: 
  8717: 
  8718: 
  8719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  8720: $as_echo_n "checking for archiver @FILE support... " >&6; }
  8721: if ${lt_cv_ar_at_file+:} false; then :
  8722:   $as_echo_n "(cached) " >&6
  8723: else
  8724:   lt_cv_ar_at_file=no
  8725:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8726: /* end confdefs.h.  */
  8727: 
  8728: int
  8729: main ()
  8730: {
  8731: 
  8732:   ;
  8733:   return 0;
  8734: }
  8735: _ACEOF
  8736: if ac_fn_c_try_compile "$LINENO"; then :
  8737:   echo conftest.$ac_objext > conftest.lst
  8738:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  8739:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  8740:   (eval $lt_ar_try) 2>&5
  8741:   ac_status=$?
  8742:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8743:   test $ac_status = 0; }
  8744:       if test 0 -eq "$ac_status"; then
  8745: 	# Ensure the archiver fails upon bogus file names.
  8746: 	rm -f conftest.$ac_objext libconftest.a
  8747: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  8748:   (eval $lt_ar_try) 2>&5
  8749:   ac_status=$?
  8750:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8751:   test $ac_status = 0; }
  8752: 	if test 0 -ne "$ac_status"; then
  8753:           lt_cv_ar_at_file=@
  8754:         fi
  8755:       fi
  8756:       rm -f conftest.* libconftest.a
  8757: 
  8758: fi
  8759: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8760: 
  8761: fi
  8762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  8763: $as_echo "$lt_cv_ar_at_file" >&6; }
  8764: 
  8765: if test no = "$lt_cv_ar_at_file"; then
  8766:   archiver_list_spec=
  8767: else
  8768:   archiver_list_spec=$lt_cv_ar_at_file
  8769: fi
  8770: 
  8771: 
  8772: 
  8773: 
  8774: 
  8775: 
  8776: 
  8777: if test -n "$ac_tool_prefix"; then
  8778:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  8779: set dummy ${ac_tool_prefix}strip; ac_word=$2
  8780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8781: $as_echo_n "checking for $ac_word... " >&6; }
  8782: if ${ac_cv_prog_STRIP+:} false; then :
  8783:   $as_echo_n "(cached) " >&6
  8784: else
  8785:   if test -n "$STRIP"; then
  8786:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  8787: else
  8788: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8789: for as_dir in $PATH
  8790: do
  8791:   IFS=$as_save_IFS
  8792:   test -z "$as_dir" && as_dir=.
  8793:     for ac_exec_ext in '' $ac_executable_extensions; do
  8794:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8795:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  8796:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8797:     break 2
  8798:   fi
  8799: done
  8800:   done
  8801: IFS=$as_save_IFS
  8802: 
  8803: fi
  8804: fi
  8805: STRIP=$ac_cv_prog_STRIP
  8806: if test -n "$STRIP"; then
  8807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  8808: $as_echo "$STRIP" >&6; }
  8809: else
  8810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8811: $as_echo "no" >&6; }
  8812: fi
  8813: 
  8814: 
  8815: fi
  8816: if test -z "$ac_cv_prog_STRIP"; then
  8817:   ac_ct_STRIP=$STRIP
  8818:   # Extract the first word of "strip", so it can be a program name with args.
  8819: set dummy strip; ac_word=$2
  8820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8821: $as_echo_n "checking for $ac_word... " >&6; }
  8822: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  8823:   $as_echo_n "(cached) " >&6
  8824: else
  8825:   if test -n "$ac_ct_STRIP"; then
  8826:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  8827: else
  8828: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8829: for as_dir in $PATH
  8830: do
  8831:   IFS=$as_save_IFS
  8832:   test -z "$as_dir" && as_dir=.
  8833:     for ac_exec_ext in '' $ac_executable_extensions; do
  8834:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8835:     ac_cv_prog_ac_ct_STRIP="strip"
  8836:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8837:     break 2
  8838:   fi
  8839: done
  8840:   done
  8841: IFS=$as_save_IFS
  8842: 
  8843: fi
  8844: fi
  8845: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  8846: if test -n "$ac_ct_STRIP"; then
  8847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  8848: $as_echo "$ac_ct_STRIP" >&6; }
  8849: else
  8850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8851: $as_echo "no" >&6; }
  8852: fi
  8853: 
  8854:   if test "x$ac_ct_STRIP" = x; then
  8855:     STRIP=":"
  8856:   else
  8857:     case $cross_compiling:$ac_tool_warned in
  8858: yes:)
  8859: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8860: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8861: ac_tool_warned=yes ;;
  8862: esac
  8863:     STRIP=$ac_ct_STRIP
  8864:   fi
  8865: else
  8866:   STRIP="$ac_cv_prog_STRIP"
  8867: fi
  8868: 
  8869: test -z "$STRIP" && STRIP=:
  8870: 
  8871: 
  8872: 
  8873: 
  8874: 
  8875: 
  8876: if test -n "$ac_tool_prefix"; then
  8877:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  8878: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  8879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8880: $as_echo_n "checking for $ac_word... " >&6; }
  8881: if ${ac_cv_prog_RANLIB+:} false; then :
  8882:   $as_echo_n "(cached) " >&6
  8883: else
  8884:   if test -n "$RANLIB"; then
  8885:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  8886: else
  8887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8888: for as_dir in $PATH
  8889: do
  8890:   IFS=$as_save_IFS
  8891:   test -z "$as_dir" && as_dir=.
  8892:     for ac_exec_ext in '' $ac_executable_extensions; do
  8893:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8894:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  8895:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8896:     break 2
  8897:   fi
  8898: done
  8899:   done
  8900: IFS=$as_save_IFS
  8901: 
  8902: fi
  8903: fi
  8904: RANLIB=$ac_cv_prog_RANLIB
  8905: if test -n "$RANLIB"; then
  8906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  8907: $as_echo "$RANLIB" >&6; }
  8908: else
  8909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8910: $as_echo "no" >&6; }
  8911: fi
  8912: 
  8913: 
  8914: fi
  8915: if test -z "$ac_cv_prog_RANLIB"; then
  8916:   ac_ct_RANLIB=$RANLIB
  8917:   # Extract the first word of "ranlib", so it can be a program name with args.
  8918: set dummy ranlib; ac_word=$2
  8919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8920: $as_echo_n "checking for $ac_word... " >&6; }
  8921: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  8922:   $as_echo_n "(cached) " >&6
  8923: else
  8924:   if test -n "$ac_ct_RANLIB"; then
  8925:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  8926: else
  8927: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8928: for as_dir in $PATH
  8929: do
  8930:   IFS=$as_save_IFS
  8931:   test -z "$as_dir" && as_dir=.
  8932:     for ac_exec_ext in '' $ac_executable_extensions; do
  8933:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8934:     ac_cv_prog_ac_ct_RANLIB="ranlib"
  8935:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8936:     break 2
  8937:   fi
  8938: done
  8939:   done
  8940: IFS=$as_save_IFS
  8941: 
  8942: fi
  8943: fi
  8944: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  8945: if test -n "$ac_ct_RANLIB"; then
  8946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  8947: $as_echo "$ac_ct_RANLIB" >&6; }
  8948: else
  8949:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8950: $as_echo "no" >&6; }
  8951: fi
  8952: 
  8953:   if test "x$ac_ct_RANLIB" = x; then
  8954:     RANLIB=":"
  8955:   else
  8956:     case $cross_compiling:$ac_tool_warned in
  8957: yes:)
  8958: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8959: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8960: ac_tool_warned=yes ;;
  8961: esac
  8962:     RANLIB=$ac_ct_RANLIB
  8963:   fi
  8964: else
  8965:   RANLIB="$ac_cv_prog_RANLIB"
  8966: fi
  8967: 
  8968: test -z "$RANLIB" && RANLIB=:
  8969: 
  8970: 
  8971: 
  8972: 
  8973: 
  8974: 
  8975: # Determine commands to create old-style static archives.
  8976: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  8977: old_postinstall_cmds='chmod 644 $oldlib'
  8978: old_postuninstall_cmds=
  8979: 
  8980: if test -n "$RANLIB"; then
  8981:   case $host_os in
  8982:   bitrig* | openbsd*)
  8983:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  8984:     ;;
  8985:   *)
  8986:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  8987:     ;;
  8988:   esac
  8989:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  8990: fi
  8991: 
  8992: case $host_os in
  8993:   darwin*)
  8994:     lock_old_archive_extraction=yes ;;
  8995:   *)
  8996:     lock_old_archive_extraction=no ;;
  8997: esac
  8998: 
  8999: 
  9000: 
  9001: 
  9002: 
  9003: 
  9004: 
  9005: 
  9006: 
  9007: 
  9008: 
  9009: 
  9010: 
  9011: 
  9012: 
  9013: 
  9014: 
  9015: 
  9016: 
  9017: 
  9018: 
  9019: 
  9020: 
  9021: 
  9022: 
  9023: 
  9024: 
  9025: 
  9026: 
  9027: 
  9028: 
  9029: 
  9030: 
  9031: 
  9032: 
  9033: 
  9034: 
  9035: 
  9036: 
  9037: # If no C compiler was specified, use CC.
  9038: LTCC=${LTCC-"$CC"}
  9039: 
  9040: # If no C compiler flags were specified, use CFLAGS.
  9041: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  9042: 
  9043: # Allow CC to be a program name with arguments.
  9044: compiler=$CC
  9045: 
  9046: 
  9047: # Check for command to grab the raw symbol name followed by C symbol from nm.
  9048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  9049: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  9050: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  9051:   $as_echo_n "(cached) " >&6
  9052: else
  9053: 
  9054: # These are sane defaults that work on at least a few old systems.
  9055: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  9056: 
  9057: # Character class describing NM global symbol codes.
  9058: symcode='[BCDEGRST]'
  9059: 
  9060: # Regexp to match symbols that can be accessed directly from C.
  9061: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  9062: 
  9063: # Define system-specific variables.
  9064: case $host_os in
  9065: aix*)
  9066:   symcode='[BCDT]'
  9067:   ;;
  9068: cygwin* | mingw* | pw32* | cegcc*)
  9069:   symcode='[ABCDGISTW]'
  9070:   ;;
  9071: hpux*)
  9072:   if test ia64 = "$host_cpu"; then
  9073:     symcode='[ABCDEGRST]'
  9074:   fi
  9075:   ;;
  9076: irix* | nonstopux*)
  9077:   symcode='[BCDEGRST]'
  9078:   ;;
  9079: osf*)
  9080:   symcode='[BCDEGQRST]'
  9081:   ;;
  9082: solaris*)
  9083:   symcode='[BDRT]'
  9084:   ;;
  9085: sco3.2v5*)
  9086:   symcode='[DT]'
  9087:   ;;
  9088: sysv4.2uw2*)
  9089:   symcode='[DT]'
  9090:   ;;
  9091: sysv5* | sco5v6* | unixware* | OpenUNIX*)
  9092:   symcode='[ABDT]'
  9093:   ;;
  9094: sysv4)
  9095:   symcode='[DFNSTU]'
  9096:   ;;
  9097: esac
  9098: 
  9099: # If we're using GNU nm, then use its standard symbol codes.
  9100: case `$NM -V 2>&1` in
  9101: *GNU* | *'with BFD'*)
  9102:   symcode='[ABCDGIRSTW]' ;;
  9103: esac
  9104: 
  9105: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  9106:   # Gets list of data symbols to import.
  9107:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  9108:   # Adjust the below global symbol transforms to fixup imported variables.
  9109:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  9110:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
  9111:   lt_c_name_lib_hook="\
  9112:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
  9113:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
  9114: else
  9115:   # Disable hooks by default.
  9116:   lt_cv_sys_global_symbol_to_import=
  9117:   lt_cdecl_hook=
  9118:   lt_c_name_hook=
  9119:   lt_c_name_lib_hook=
  9120: fi
  9121: 
  9122: # Transform an extracted symbol line into a proper C declaration.
  9123: # Some systems (esp. on ia64) link data and code symbols differently,
  9124: # so use this general approach.
  9125: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  9126: $lt_cdecl_hook\
  9127: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  9128: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  9129: 
  9130: # Transform an extracted symbol line into symbol name and symbol address
  9131: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  9132: $lt_c_name_hook\
  9133: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  9134: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
  9135: 
  9136: # Transform an extracted symbol line into symbol name with lib prefix and
  9137: # symbol address.
  9138: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  9139: $lt_c_name_lib_hook\
  9140: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  9141: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
  9142: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
  9143: 
  9144: # Handle CRLF in mingw tool chain
  9145: opt_cr=
  9146: case $build_os in
  9147: mingw*)
  9148:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  9149:   ;;
  9150: esac
  9151: 
  9152: # Try without a prefix underscore, then with it.
  9153: for ac_symprfx in "" "_"; do
  9154: 
  9155:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  9156:   symxfrm="\\1 $ac_symprfx\\2 \\2"
  9157: 
  9158:   # Write the raw and C identifiers.
  9159:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  9160:     # Fake it for dumpbin and say T for any non-static function,
  9161:     # D for any global variable and I for any imported variable.
  9162:     # Also find C++ and __fastcall symbols from MSVC++,
  9163:     # which start with @ or ?.
  9164:     lt_cv_sys_global_symbol_pipe="$AWK '"\
  9165: "     {last_section=section; section=\$ 3};"\
  9166: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  9167: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  9168: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  9169: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  9170: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  9171: "     \$ 0!~/External *\|/{next};"\
  9172: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  9173: "     {if(hide[section]) next};"\
  9174: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  9175: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  9176: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  9177: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  9178: "     ' prfx=^$ac_symprfx"
  9179:   else
  9180:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  9181:   fi
  9182:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  9183: 
  9184:   # Check to see that the pipe works correctly.
  9185:   pipe_works=no
  9186: 
  9187:   rm -f conftest*
  9188:   cat > conftest.$ac_ext <<_LT_EOF
  9189: #ifdef __cplusplus
  9190: extern "C" {
  9191: #endif
  9192: char nm_test_var;
  9193: void nm_test_func(void);
  9194: void nm_test_func(void){}
  9195: #ifdef __cplusplus
  9196: }
  9197: #endif
  9198: int main(){nm_test_var='a';nm_test_func();return(0);}
  9199: _LT_EOF
  9200: 
  9201:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9202:   (eval $ac_compile) 2>&5
  9203:   ac_status=$?
  9204:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9205:   test $ac_status = 0; }; then
  9206:     # Now try to grab the symbols.
  9207:     nlist=conftest.nm
  9208:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  9209:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  9210:   ac_status=$?
  9211:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9212:   test $ac_status = 0; } && test -s "$nlist"; then
  9213:       # Try sorting and uniquifying the output.
  9214:       if sort "$nlist" | uniq > "$nlist"T; then
  9215: 	mv -f "$nlist"T "$nlist"
  9216:       else
  9217: 	rm -f "$nlist"T
  9218:       fi
  9219: 
  9220:       # Make sure that we snagged all the symbols we need.
  9221:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  9222: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  9223: 	  cat <<_LT_EOF > conftest.$ac_ext
  9224: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  9225: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  9226: /* DATA imports from DLLs on WIN32 can't be const, because runtime
  9227:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  9228: # define LT_DLSYM_CONST
  9229: #elif defined __osf__
  9230: /* This system does not cope well with relocations in const data.  */
  9231: # define LT_DLSYM_CONST
  9232: #else
  9233: # define LT_DLSYM_CONST const
  9234: #endif
  9235: 
  9236: #ifdef __cplusplus
  9237: extern "C" {
  9238: #endif
  9239: 
  9240: _LT_EOF
  9241: 	  # Now generate the symbol file.
  9242: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  9243: 
  9244: 	  cat <<_LT_EOF >> conftest.$ac_ext
  9245: 
  9246: /* The mapping between symbol names and symbols.  */
  9247: LT_DLSYM_CONST struct {
  9248:   const char *name;
  9249:   void       *address;
  9250: }
  9251: lt__PROGRAM__LTX_preloaded_symbols[] =
  9252: {
  9253:   { "@PROGRAM@", (void *) 0 },
  9254: _LT_EOF
  9255: 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  9256: 	  cat <<\_LT_EOF >> conftest.$ac_ext
  9257:   {0, (void *) 0}
  9258: };
  9259: 
  9260: /* This works around a problem in FreeBSD linker */
  9261: #ifdef FREEBSD_WORKAROUND
  9262: static const void *lt_preloaded_setup() {
  9263:   return lt__PROGRAM__LTX_preloaded_symbols;
  9264: }
  9265: #endif
  9266: 
  9267: #ifdef __cplusplus
  9268: }
  9269: #endif
  9270: _LT_EOF
  9271: 	  # Now try linking the two files.
  9272: 	  mv conftest.$ac_objext conftstm.$ac_objext
  9273: 	  lt_globsym_save_LIBS=$LIBS
  9274: 	  lt_globsym_save_CFLAGS=$CFLAGS
  9275: 	  LIBS=conftstm.$ac_objext
  9276: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  9277: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9278:   (eval $ac_link) 2>&5
  9279:   ac_status=$?
  9280:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9281:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
  9282: 	    pipe_works=yes
  9283: 	  fi
  9284: 	  LIBS=$lt_globsym_save_LIBS
  9285: 	  CFLAGS=$lt_globsym_save_CFLAGS
  9286: 	else
  9287: 	  echo "cannot find nm_test_func in $nlist" >&5
  9288: 	fi
  9289:       else
  9290: 	echo "cannot find nm_test_var in $nlist" >&5
  9291:       fi
  9292:     else
  9293:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  9294:     fi
  9295:   else
  9296:     echo "$progname: failed program was:" >&5
  9297:     cat conftest.$ac_ext >&5
  9298:   fi
  9299:   rm -rf conftest* conftst*
  9300: 
  9301:   # Do not use the global_symbol_pipe unless it works.
  9302:   if test yes = "$pipe_works"; then
  9303:     break
  9304:   else
  9305:     lt_cv_sys_global_symbol_pipe=
  9306:   fi
  9307: done
  9308: 
  9309: fi
  9310: 
  9311: if test -z "$lt_cv_sys_global_symbol_pipe"; then
  9312:   lt_cv_sys_global_symbol_to_cdecl=
  9313: fi
  9314: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  9315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  9316: $as_echo "failed" >&6; }
  9317: else
  9318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  9319: $as_echo "ok" >&6; }
  9320: fi
  9321: 
  9322: # Response file support.
  9323: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  9324:   nm_file_list_spec='@'
  9325: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  9326:   nm_file_list_spec='@'
  9327: fi
  9328: 
  9329: 
  9330: 
  9331: 
  9332: 
  9333: 
  9334: 
  9335: 
  9336: 
  9337: 
  9338: 
  9339: 
  9340: 
  9341: 
  9342: 
  9343: 
  9344: 
  9345: 
  9346: 
  9347: 
  9348: 
  9349: 
  9350: 
  9351: 
  9352: 
  9353: 
  9354: 
  9355: 
  9356: 
  9357: 
  9358: 
  9359: 
  9360: 
  9361: 
  9362: 
  9363: 
  9364: 
  9365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  9366: $as_echo_n "checking for sysroot... " >&6; }
  9367: 
  9368: # Check whether --with-sysroot was given.
  9369: if test "${with_sysroot+set}" = set; then :
  9370:   withval=$with_sysroot;
  9371: else
  9372:   with_sysroot=no
  9373: fi
  9374: 
  9375: 
  9376: lt_sysroot=
  9377: case $with_sysroot in #(
  9378:  yes)
  9379:    if test yes = "$GCC"; then
  9380:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  9381:    fi
  9382:    ;; #(
  9383:  /*)
  9384:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  9385:    ;; #(
  9386:  no|'')
  9387:    ;; #(
  9388:  *)
  9389:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  9390: $as_echo "$with_sysroot" >&6; }
  9391:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  9392:    ;;
  9393: esac
  9394: 
  9395:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  9396: $as_echo "${lt_sysroot:-no}" >&6; }
  9397: 
  9398: 
  9399: 
  9400: 
  9401: 
  9402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  9403: $as_echo_n "checking for a working dd... " >&6; }
  9404: if ${ac_cv_path_lt_DD+:} false; then :
  9405:   $as_echo_n "(cached) " >&6
  9406: else
  9407:   printf 0123456789abcdef0123456789abcdef >conftest.i
  9408: cat conftest.i conftest.i >conftest2.i
  9409: : ${lt_DD:=$DD}
  9410: if test -z "$lt_DD"; then
  9411:   ac_path_lt_DD_found=false
  9412:   # Loop through the user's path and test for each of PROGNAME-LIST
  9413:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9414: for as_dir in $PATH
  9415: do
  9416:   IFS=$as_save_IFS
  9417:   test -z "$as_dir" && as_dir=.
  9418:     for ac_prog in dd; do
  9419:     for ac_exec_ext in '' $ac_executable_extensions; do
  9420:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  9421:       as_fn_executable_p "$ac_path_lt_DD" || continue
  9422: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  9423:   cmp -s conftest.i conftest.out \
  9424:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  9425: fi
  9426:       $ac_path_lt_DD_found && break 3
  9427:     done
  9428:   done
  9429:   done
  9430: IFS=$as_save_IFS
  9431:   if test -z "$ac_cv_path_lt_DD"; then
  9432:     :
  9433:   fi
  9434: else
  9435:   ac_cv_path_lt_DD=$lt_DD
  9436: fi
  9437: 
  9438: rm -f conftest.i conftest2.i conftest.out
  9439: fi
  9440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  9441: $as_echo "$ac_cv_path_lt_DD" >&6; }
  9442: 
  9443: 
  9444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  9445: $as_echo_n "checking how to truncate binary pipes... " >&6; }
  9446: if ${lt_cv_truncate_bin+:} false; then :
  9447:   $as_echo_n "(cached) " >&6
  9448: else
  9449:   printf 0123456789abcdef0123456789abcdef >conftest.i
  9450: cat conftest.i conftest.i >conftest2.i
  9451: lt_cv_truncate_bin=
  9452: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  9453:   cmp -s conftest.i conftest.out \
  9454:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  9455: fi
  9456: rm -f conftest.i conftest2.i conftest.out
  9457: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  9458: fi
  9459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  9460: $as_echo "$lt_cv_truncate_bin" >&6; }
  9461: 
  9462: 
  9463: 
  9464: 
  9465: 
  9466: 
  9467: 
  9468: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  9469: func_cc_basename ()
  9470: {
  9471:     for cc_temp in $*""; do
  9472:       case $cc_temp in
  9473:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  9474:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  9475:         \-*) ;;
  9476:         *) break;;
  9477:       esac
  9478:     done
  9479:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  9480: }
  9481: 
  9482: # Check whether --enable-libtool-lock was given.
  9483: if test "${enable_libtool_lock+set}" = set; then :
  9484:   enableval=$enable_libtool_lock;
  9485: fi
  9486: 
  9487: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  9488: 
  9489: # Some flags need to be propagated to the compiler or linker for good
  9490: # libtool support.
  9491: case $host in
  9492: ia64-*-hpux*)
  9493:   # Find out what ABI is being produced by ac_compile, and set mode
  9494:   # options accordingly.
  9495:   echo 'int i;' > conftest.$ac_ext
  9496:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9497:   (eval $ac_compile) 2>&5
  9498:   ac_status=$?
  9499:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9500:   test $ac_status = 0; }; then
  9501:     case `/usr/bin/file conftest.$ac_objext` in
  9502:       *ELF-32*)
  9503: 	HPUX_IA64_MODE=32
  9504: 	;;
  9505:       *ELF-64*)
  9506: 	HPUX_IA64_MODE=64
  9507: 	;;
  9508:     esac
  9509:   fi
  9510:   rm -rf conftest*
  9511:   ;;
  9512: *-*-irix6*)
  9513:   # Find out what ABI is being produced by ac_compile, and set linker
  9514:   # options accordingly.
  9515:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  9516:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9517:   (eval $ac_compile) 2>&5
  9518:   ac_status=$?
  9519:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9520:   test $ac_status = 0; }; then
  9521:     if test yes = "$lt_cv_prog_gnu_ld"; then
  9522:       case `/usr/bin/file conftest.$ac_objext` in
  9523: 	*32-bit*)
  9524: 	  LD="${LD-ld} -melf32bsmip"
  9525: 	  ;;
  9526: 	*N32*)
  9527: 	  LD="${LD-ld} -melf32bmipn32"
  9528: 	  ;;
  9529: 	*64-bit*)
  9530: 	  LD="${LD-ld} -melf64bmip"
  9531: 	;;
  9532:       esac
  9533:     else
  9534:       case `/usr/bin/file conftest.$ac_objext` in
  9535: 	*32-bit*)
  9536: 	  LD="${LD-ld} -32"
  9537: 	  ;;
  9538: 	*N32*)
  9539: 	  LD="${LD-ld} -n32"
  9540: 	  ;;
  9541: 	*64-bit*)
  9542: 	  LD="${LD-ld} -64"
  9543: 	  ;;
  9544:       esac
  9545:     fi
  9546:   fi
  9547:   rm -rf conftest*
  9548:   ;;
  9549: 
  9550: mips64*-*linux*)
  9551:   # Find out what ABI is being produced by ac_compile, and set linker
  9552:   # options accordingly.
  9553:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  9554:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9555:   (eval $ac_compile) 2>&5
  9556:   ac_status=$?
  9557:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9558:   test $ac_status = 0; }; then
  9559:     emul=elf
  9560:     case `/usr/bin/file conftest.$ac_objext` in
  9561:       *32-bit*)
  9562: 	emul="${emul}32"
  9563: 	;;
  9564:       *64-bit*)
  9565: 	emul="${emul}64"
  9566: 	;;
  9567:     esac
  9568:     case `/usr/bin/file conftest.$ac_objext` in
  9569:       *MSB*)
  9570: 	emul="${emul}btsmip"
  9571: 	;;
  9572:       *LSB*)
  9573: 	emul="${emul}ltsmip"
  9574: 	;;
  9575:     esac
  9576:     case `/usr/bin/file conftest.$ac_objext` in
  9577:       *N32*)
  9578: 	emul="${emul}n32"
  9579: 	;;
  9580:     esac
  9581:     LD="${LD-ld} -m $emul"
  9582:   fi
  9583:   rm -rf conftest*
  9584:   ;;
  9585: 
  9586: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  9587: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  9588:   # Find out what ABI is being produced by ac_compile, and set linker
  9589:   # options accordingly.  Note that the listed cases only cover the
  9590:   # situations where additional linker options are needed (such as when
  9591:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  9592:   # vice versa); the common cases where no linker options are needed do
  9593:   # not appear in the list.
  9594:   echo 'int i;' > conftest.$ac_ext
  9595:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9596:   (eval $ac_compile) 2>&5
  9597:   ac_status=$?
  9598:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9599:   test $ac_status = 0; }; then
  9600:     case `/usr/bin/file conftest.o` in
  9601:       *32-bit*)
  9602: 	case $host in
  9603: 	  x86_64-*kfreebsd*-gnu)
  9604: 	    LD="${LD-ld} -m elf_i386_fbsd"
  9605: 	    ;;
  9606: 	  x86_64-*linux*)
  9607: 	    case `/usr/bin/file conftest.o` in
  9608: 	      *x86-64*)
  9609: 		LD="${LD-ld} -m elf32_x86_64"
  9610: 		;;
  9611: 	      *)
  9612: 		LD="${LD-ld} -m elf_i386"
  9613: 		;;
  9614: 	    esac
  9615: 	    ;;
  9616: 	  powerpc64le-*linux*)
  9617: 	    LD="${LD-ld} -m elf32lppclinux"
  9618: 	    ;;
  9619: 	  powerpc64-*linux*)
  9620: 	    LD="${LD-ld} -m elf32ppclinux"
  9621: 	    ;;
  9622: 	  s390x-*linux*)
  9623: 	    LD="${LD-ld} -m elf_s390"
  9624: 	    ;;
  9625: 	  sparc64-*linux*)
  9626: 	    LD="${LD-ld} -m elf32_sparc"
  9627: 	    ;;
  9628: 	esac
  9629: 	;;
  9630:       *64-bit*)
  9631: 	case $host in
  9632: 	  x86_64-*kfreebsd*-gnu)
  9633: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  9634: 	    ;;
  9635: 	  x86_64-*linux*)
  9636: 	    LD="${LD-ld} -m elf_x86_64"
  9637: 	    ;;
  9638: 	  powerpcle-*linux*)
  9639: 	    LD="${LD-ld} -m elf64lppc"
  9640: 	    ;;
  9641: 	  powerpc-*linux*)
  9642: 	    LD="${LD-ld} -m elf64ppc"
  9643: 	    ;;
  9644: 	  s390*-*linux*|s390*-*tpf*)
  9645: 	    LD="${LD-ld} -m elf64_s390"
  9646: 	    ;;
  9647: 	  sparc*-*linux*)
  9648: 	    LD="${LD-ld} -m elf64_sparc"
  9649: 	    ;;
  9650: 	esac
  9651: 	;;
  9652:     esac
  9653:   fi
  9654:   rm -rf conftest*
  9655:   ;;
  9656: 
  9657: *-*-sco3.2v5*)
  9658:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  9659:   SAVE_CFLAGS=$CFLAGS
  9660:   CFLAGS="$CFLAGS -belf"
  9661:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  9662: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  9663: if ${lt_cv_cc_needs_belf+:} false; then :
  9664:   $as_echo_n "(cached) " >&6
  9665: else
  9666:   ac_ext=c
  9667: ac_cpp='$CPP $CPPFLAGS'
  9668: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9669: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9670: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9671: 
  9672:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9673: /* end confdefs.h.  */
  9674: 
  9675: int
  9676: main ()
  9677: {
  9678: 
  9679:   ;
  9680:   return 0;
  9681: }
  9682: _ACEOF
  9683: if ac_fn_c_try_link "$LINENO"; then :
  9684:   lt_cv_cc_needs_belf=yes
  9685: else
  9686:   lt_cv_cc_needs_belf=no
  9687: fi
  9688: rm -f core conftest.err conftest.$ac_objext \
  9689:     conftest$ac_exeext conftest.$ac_ext
  9690:      ac_ext=c
  9691: ac_cpp='$CPP $CPPFLAGS'
  9692: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9693: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9694: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9695: 
  9696: fi
  9697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  9698: $as_echo "$lt_cv_cc_needs_belf" >&6; }
  9699:   if test yes != "$lt_cv_cc_needs_belf"; then
  9700:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  9701:     CFLAGS=$SAVE_CFLAGS
  9702:   fi
  9703:   ;;
  9704: *-*solaris*)
  9705:   # Find out what ABI is being produced by ac_compile, and set linker
  9706:   # options accordingly.
  9707:   echo 'int i;' > conftest.$ac_ext
  9708:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9709:   (eval $ac_compile) 2>&5
  9710:   ac_status=$?
  9711:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9712:   test $ac_status = 0; }; then
  9713:     case `/usr/bin/file conftest.o` in
  9714:     *64-bit*)
  9715:       case $lt_cv_prog_gnu_ld in
  9716:       yes*)
  9717:         case $host in
  9718:         i?86-*-solaris*|x86_64-*-solaris*)
  9719:           LD="${LD-ld} -m elf_x86_64"
  9720:           ;;
  9721:         sparc*-*-solaris*)
  9722:           LD="${LD-ld} -m elf64_sparc"
  9723:           ;;
  9724:         esac
  9725:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  9726:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  9727:           LD=${LD-ld}_sol2
  9728:         fi
  9729:         ;;
  9730:       *)
  9731: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  9732: 	  LD="${LD-ld} -64"
  9733: 	fi
  9734: 	;;
  9735:       esac
  9736:       ;;
  9737:     esac
  9738:   fi
  9739:   rm -rf conftest*
  9740:   ;;
  9741: esac
  9742: 
  9743: need_locks=$enable_libtool_lock
  9744: 
  9745: if test -n "$ac_tool_prefix"; then
  9746:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  9747: set dummy ${ac_tool_prefix}mt; ac_word=$2
  9748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9749: $as_echo_n "checking for $ac_word... " >&6; }
  9750: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  9751:   $as_echo_n "(cached) " >&6
  9752: else
  9753:   if test -n "$MANIFEST_TOOL"; then
  9754:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  9755: else
  9756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9757: for as_dir in $PATH
  9758: do
  9759:   IFS=$as_save_IFS
  9760:   test -z "$as_dir" && as_dir=.
  9761:     for ac_exec_ext in '' $ac_executable_extensions; do
  9762:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9763:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  9764:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9765:     break 2
  9766:   fi
  9767: done
  9768:   done
  9769: IFS=$as_save_IFS
  9770: 
  9771: fi
  9772: fi
  9773: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  9774: if test -n "$MANIFEST_TOOL"; then
  9775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  9776: $as_echo "$MANIFEST_TOOL" >&6; }
  9777: else
  9778:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9779: $as_echo "no" >&6; }
  9780: fi
  9781: 
  9782: 
  9783: fi
  9784: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  9785:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  9786:   # Extract the first word of "mt", so it can be a program name with args.
  9787: set dummy mt; ac_word=$2
  9788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9789: $as_echo_n "checking for $ac_word... " >&6; }
  9790: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  9791:   $as_echo_n "(cached) " >&6
  9792: else
  9793:   if test -n "$ac_ct_MANIFEST_TOOL"; then
  9794:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  9795: else
  9796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9797: for as_dir in $PATH
  9798: do
  9799:   IFS=$as_save_IFS
  9800:   test -z "$as_dir" && as_dir=.
  9801:     for ac_exec_ext in '' $ac_executable_extensions; do
  9802:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9803:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  9804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9805:     break 2
  9806:   fi
  9807: done
  9808:   done
  9809: IFS=$as_save_IFS
  9810: 
  9811: fi
  9812: fi
  9813: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  9814: if test -n "$ac_ct_MANIFEST_TOOL"; then
  9815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  9816: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  9817: else
  9818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9819: $as_echo "no" >&6; }
  9820: fi
  9821: 
  9822:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  9823:     MANIFEST_TOOL=":"
  9824:   else
  9825:     case $cross_compiling:$ac_tool_warned in
  9826: yes:)
  9827: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9828: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9829: ac_tool_warned=yes ;;
  9830: esac
  9831:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  9832:   fi
  9833: else
  9834:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  9835: fi
  9836: 
  9837: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  9838: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  9839: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  9840: if ${lt_cv_path_mainfest_tool+:} false; then :
  9841:   $as_echo_n "(cached) " >&6
  9842: else
  9843:   lt_cv_path_mainfest_tool=no
  9844:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  9845:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  9846:   cat conftest.err >&5
  9847:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  9848:     lt_cv_path_mainfest_tool=yes
  9849:   fi
  9850:   rm -f conftest*
  9851: fi
  9852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  9853: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  9854: if test yes != "$lt_cv_path_mainfest_tool"; then
  9855:   MANIFEST_TOOL=:
  9856: fi
  9857: 
  9858: 
  9859: 
  9860: 
  9861: 
  9862: 
  9863:   case $host_os in
  9864:     rhapsody* | darwin*)
  9865:     if test -n "$ac_tool_prefix"; then
  9866:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  9867: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  9868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9869: $as_echo_n "checking for $ac_word... " >&6; }
  9870: if ${ac_cv_prog_DSYMUTIL+:} false; then :
  9871:   $as_echo_n "(cached) " >&6
  9872: else
  9873:   if test -n "$DSYMUTIL"; then
  9874:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  9875: else
  9876: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9877: for as_dir in $PATH
  9878: do
  9879:   IFS=$as_save_IFS
  9880:   test -z "$as_dir" && as_dir=.
  9881:     for ac_exec_ext in '' $ac_executable_extensions; do
  9882:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9883:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  9884:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9885:     break 2
  9886:   fi
  9887: done
  9888:   done
  9889: IFS=$as_save_IFS
  9890: 
  9891: fi
  9892: fi
  9893: DSYMUTIL=$ac_cv_prog_DSYMUTIL
  9894: if test -n "$DSYMUTIL"; then
  9895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  9896: $as_echo "$DSYMUTIL" >&6; }
  9897: else
  9898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9899: $as_echo "no" >&6; }
  9900: fi
  9901: 
  9902: 
  9903: fi
  9904: if test -z "$ac_cv_prog_DSYMUTIL"; then
  9905:   ac_ct_DSYMUTIL=$DSYMUTIL
  9906:   # Extract the first word of "dsymutil", so it can be a program name with args.
  9907: set dummy dsymutil; ac_word=$2
  9908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9909: $as_echo_n "checking for $ac_word... " >&6; }
  9910: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  9911:   $as_echo_n "(cached) " >&6
  9912: else
  9913:   if test -n "$ac_ct_DSYMUTIL"; then
  9914:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  9915: else
  9916: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9917: for as_dir in $PATH
  9918: do
  9919:   IFS=$as_save_IFS
  9920:   test -z "$as_dir" && as_dir=.
  9921:     for ac_exec_ext in '' $ac_executable_extensions; do
  9922:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9923:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  9924:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9925:     break 2
  9926:   fi
  9927: done
  9928:   done
  9929: IFS=$as_save_IFS
  9930: 
  9931: fi
  9932: fi
  9933: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  9934: if test -n "$ac_ct_DSYMUTIL"; then
  9935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  9936: $as_echo "$ac_ct_DSYMUTIL" >&6; }
  9937: else
  9938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9939: $as_echo "no" >&6; }
  9940: fi
  9941: 
  9942:   if test "x$ac_ct_DSYMUTIL" = x; then
  9943:     DSYMUTIL=":"
  9944:   else
  9945:     case $cross_compiling:$ac_tool_warned in
  9946: yes:)
  9947: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9948: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9949: ac_tool_warned=yes ;;
  9950: esac
  9951:     DSYMUTIL=$ac_ct_DSYMUTIL
  9952:   fi
  9953: else
  9954:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  9955: fi
  9956: 
  9957:     if test -n "$ac_tool_prefix"; then
  9958:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  9959: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  9960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9961: $as_echo_n "checking for $ac_word... " >&6; }
  9962: if ${ac_cv_prog_NMEDIT+:} false; then :
  9963:   $as_echo_n "(cached) " >&6
  9964: else
  9965:   if test -n "$NMEDIT"; then
  9966:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  9967: else
  9968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9969: for as_dir in $PATH
  9970: do
  9971:   IFS=$as_save_IFS
  9972:   test -z "$as_dir" && as_dir=.
  9973:     for ac_exec_ext in '' $ac_executable_extensions; do
  9974:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9975:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  9976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9977:     break 2
  9978:   fi
  9979: done
  9980:   done
  9981: IFS=$as_save_IFS
  9982: 
  9983: fi
  9984: fi
  9985: NMEDIT=$ac_cv_prog_NMEDIT
  9986: if test -n "$NMEDIT"; then
  9987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  9988: $as_echo "$NMEDIT" >&6; }
  9989: else
  9990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9991: $as_echo "no" >&6; }
  9992: fi
  9993: 
  9994: 
  9995: fi
  9996: if test -z "$ac_cv_prog_NMEDIT"; then
  9997:   ac_ct_NMEDIT=$NMEDIT
  9998:   # Extract the first word of "nmedit", so it can be a program name with args.
  9999: set dummy nmedit; ac_word=$2
 10000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10001: $as_echo_n "checking for $ac_word... " >&6; }
 10002: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 10003:   $as_echo_n "(cached) " >&6
 10004: else
 10005:   if test -n "$ac_ct_NMEDIT"; then
 10006:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 10007: else
 10008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10009: for as_dir in $PATH
 10010: do
 10011:   IFS=$as_save_IFS
 10012:   test -z "$as_dir" && as_dir=.
 10013:     for ac_exec_ext in '' $ac_executable_extensions; do
 10014:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10015:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
 10016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10017:     break 2
 10018:   fi
 10019: done
 10020:   done
 10021: IFS=$as_save_IFS
 10022: 
 10023: fi
 10024: fi
 10025: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 10026: if test -n "$ac_ct_NMEDIT"; then
 10027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 10028: $as_echo "$ac_ct_NMEDIT" >&6; }
 10029: else
 10030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10031: $as_echo "no" >&6; }
 10032: fi
 10033: 
 10034:   if test "x$ac_ct_NMEDIT" = x; then
 10035:     NMEDIT=":"
 10036:   else
 10037:     case $cross_compiling:$ac_tool_warned in
 10038: yes:)
 10039: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 10040: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 10041: ac_tool_warned=yes ;;
 10042: esac
 10043:     NMEDIT=$ac_ct_NMEDIT
 10044:   fi
 10045: else
 10046:   NMEDIT="$ac_cv_prog_NMEDIT"
 10047: fi
 10048: 
 10049:     if test -n "$ac_tool_prefix"; then
 10050:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 10051: set dummy ${ac_tool_prefix}lipo; ac_word=$2
 10052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10053: $as_echo_n "checking for $ac_word... " >&6; }
 10054: if ${ac_cv_prog_LIPO+:} false; then :
 10055:   $as_echo_n "(cached) " >&6
 10056: else
 10057:   if test -n "$LIPO"; then
 10058:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 10059: else
 10060: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10061: for as_dir in $PATH
 10062: do
 10063:   IFS=$as_save_IFS
 10064:   test -z "$as_dir" && as_dir=.
 10065:     for ac_exec_ext in '' $ac_executable_extensions; do
 10066:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10067:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 10068:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10069:     break 2
 10070:   fi
 10071: done
 10072:   done
 10073: IFS=$as_save_IFS
 10074: 
 10075: fi
 10076: fi
 10077: LIPO=$ac_cv_prog_LIPO
 10078: if test -n "$LIPO"; then
 10079:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 10080: $as_echo "$LIPO" >&6; }
 10081: else
 10082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10083: $as_echo "no" >&6; }
 10084: fi
 10085: 
 10086: 
 10087: fi
 10088: if test -z "$ac_cv_prog_LIPO"; then
 10089:   ac_ct_LIPO=$LIPO
 10090:   # Extract the first word of "lipo", so it can be a program name with args.
 10091: set dummy lipo; ac_word=$2
 10092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10093: $as_echo_n "checking for $ac_word... " >&6; }
 10094: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 10095:   $as_echo_n "(cached) " >&6
 10096: else
 10097:   if test -n "$ac_ct_LIPO"; then
 10098:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 10099: else
 10100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10101: for as_dir in $PATH
 10102: do
 10103:   IFS=$as_save_IFS
 10104:   test -z "$as_dir" && as_dir=.
 10105:     for ac_exec_ext in '' $ac_executable_extensions; do
 10106:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10107:     ac_cv_prog_ac_ct_LIPO="lipo"
 10108:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10109:     break 2
 10110:   fi
 10111: done
 10112:   done
 10113: IFS=$as_save_IFS
 10114: 
 10115: fi
 10116: fi
 10117: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 10118: if test -n "$ac_ct_LIPO"; then
 10119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 10120: $as_echo "$ac_ct_LIPO" >&6; }
 10121: else
 10122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10123: $as_echo "no" >&6; }
 10124: fi
 10125: 
 10126:   if test "x$ac_ct_LIPO" = x; then
 10127:     LIPO=":"
 10128:   else
 10129:     case $cross_compiling:$ac_tool_warned in
 10130: yes:)
 10131: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 10132: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 10133: ac_tool_warned=yes ;;
 10134: esac
 10135:     LIPO=$ac_ct_LIPO
 10136:   fi
 10137: else
 10138:   LIPO="$ac_cv_prog_LIPO"
 10139: fi
 10140: 
 10141:     if test -n "$ac_tool_prefix"; then
 10142:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 10143: set dummy ${ac_tool_prefix}otool; ac_word=$2
 10144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10145: $as_echo_n "checking for $ac_word... " >&6; }
 10146: if ${ac_cv_prog_OTOOL+:} false; then :
 10147:   $as_echo_n "(cached) " >&6
 10148: else
 10149:   if test -n "$OTOOL"; then
 10150:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 10151: else
 10152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10153: for as_dir in $PATH
 10154: do
 10155:   IFS=$as_save_IFS
 10156:   test -z "$as_dir" && as_dir=.
 10157:     for ac_exec_ext in '' $ac_executable_extensions; do
 10158:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10159:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 10160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10161:     break 2
 10162:   fi
 10163: done
 10164:   done
 10165: IFS=$as_save_IFS
 10166: 
 10167: fi
 10168: fi
 10169: OTOOL=$ac_cv_prog_OTOOL
 10170: if test -n "$OTOOL"; then
 10171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 10172: $as_echo "$OTOOL" >&6; }
 10173: else
 10174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10175: $as_echo "no" >&6; }
 10176: fi
 10177: 
 10178: 
 10179: fi
 10180: if test -z "$ac_cv_prog_OTOOL"; then
 10181:   ac_ct_OTOOL=$OTOOL
 10182:   # Extract the first word of "otool", so it can be a program name with args.
 10183: set dummy otool; ac_word=$2
 10184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10185: $as_echo_n "checking for $ac_word... " >&6; }
 10186: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 10187:   $as_echo_n "(cached) " >&6
 10188: else
 10189:   if test -n "$ac_ct_OTOOL"; then
 10190:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 10191: else
 10192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10193: for as_dir in $PATH
 10194: do
 10195:   IFS=$as_save_IFS
 10196:   test -z "$as_dir" && as_dir=.
 10197:     for ac_exec_ext in '' $ac_executable_extensions; do
 10198:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10199:     ac_cv_prog_ac_ct_OTOOL="otool"
 10200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10201:     break 2
 10202:   fi
 10203: done
 10204:   done
 10205: IFS=$as_save_IFS
 10206: 
 10207: fi
 10208: fi
 10209: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 10210: if test -n "$ac_ct_OTOOL"; then
 10211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 10212: $as_echo "$ac_ct_OTOOL" >&6; }
 10213: else
 10214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10215: $as_echo "no" >&6; }
 10216: fi
 10217: 
 10218:   if test "x$ac_ct_OTOOL" = x; then
 10219:     OTOOL=":"
 10220:   else
 10221:     case $cross_compiling:$ac_tool_warned in
 10222: yes:)
 10223: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 10224: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 10225: ac_tool_warned=yes ;;
 10226: esac
 10227:     OTOOL=$ac_ct_OTOOL
 10228:   fi
 10229: else
 10230:   OTOOL="$ac_cv_prog_OTOOL"
 10231: fi
 10232: 
 10233:     if test -n "$ac_tool_prefix"; then
 10234:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 10235: set dummy ${ac_tool_prefix}otool64; ac_word=$2
 10236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10237: $as_echo_n "checking for $ac_word... " >&6; }
 10238: if ${ac_cv_prog_OTOOL64+:} false; then :
 10239:   $as_echo_n "(cached) " >&6
 10240: else
 10241:   if test -n "$OTOOL64"; then
 10242:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 10243: else
 10244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10245: for as_dir in $PATH
 10246: do
 10247:   IFS=$as_save_IFS
 10248:   test -z "$as_dir" && as_dir=.
 10249:     for ac_exec_ext in '' $ac_executable_extensions; do
 10250:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10251:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 10252:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10253:     break 2
 10254:   fi
 10255: done
 10256:   done
 10257: IFS=$as_save_IFS
 10258: 
 10259: fi
 10260: fi
 10261: OTOOL64=$ac_cv_prog_OTOOL64
 10262: if test -n "$OTOOL64"; then
 10263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 10264: $as_echo "$OTOOL64" >&6; }
 10265: else
 10266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10267: $as_echo "no" >&6; }
 10268: fi
 10269: 
 10270: 
 10271: fi
 10272: if test -z "$ac_cv_prog_OTOOL64"; then
 10273:   ac_ct_OTOOL64=$OTOOL64
 10274:   # Extract the first word of "otool64", so it can be a program name with args.
 10275: set dummy otool64; ac_word=$2
 10276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 10277: $as_echo_n "checking for $ac_word... " >&6; }
 10278: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 10279:   $as_echo_n "(cached) " >&6
 10280: else
 10281:   if test -n "$ac_ct_OTOOL64"; then
 10282:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 10283: else
 10284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10285: for as_dir in $PATH
 10286: do
 10287:   IFS=$as_save_IFS
 10288:   test -z "$as_dir" && as_dir=.
 10289:     for ac_exec_ext in '' $ac_executable_extensions; do
 10290:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 10291:     ac_cv_prog_ac_ct_OTOOL64="otool64"
 10292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 10293:     break 2
 10294:   fi
 10295: done
 10296:   done
 10297: IFS=$as_save_IFS
 10298: 
 10299: fi
 10300: fi
 10301: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 10302: if test -n "$ac_ct_OTOOL64"; then
 10303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 10304: $as_echo "$ac_ct_OTOOL64" >&6; }
 10305: else
 10306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10307: $as_echo "no" >&6; }
 10308: fi
 10309: 
 10310:   if test "x$ac_ct_OTOOL64" = x; then
 10311:     OTOOL64=":"
 10312:   else
 10313:     case $cross_compiling:$ac_tool_warned in
 10314: yes:)
 10315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 10316: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 10317: ac_tool_warned=yes ;;
 10318: esac
 10319:     OTOOL64=$ac_ct_OTOOL64
 10320:   fi
 10321: else
 10322:   OTOOL64="$ac_cv_prog_OTOOL64"
 10323: fi
 10324: 
 10325: 
 10326: 
 10327: 
 10328: 
 10329: 
 10330: 
 10331: 
 10332: 
 10333: 
 10334: 
 10335: 
 10336: 
 10337: 
 10338: 
 10339: 
 10340: 
 10341: 
 10342: 
 10343: 
 10344: 
 10345: 
 10346: 
 10347: 
 10348: 
 10349: 
 10350: 
 10351:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 10352: $as_echo_n "checking for -single_module linker flag... " >&6; }
 10353: if ${lt_cv_apple_cc_single_mod+:} false; then :
 10354:   $as_echo_n "(cached) " >&6
 10355: else
 10356:   lt_cv_apple_cc_single_mod=no
 10357:       if test -z "$LT_MULTI_MODULE"; then
 10358: 	# By default we will add the -single_module flag. You can override
 10359: 	# by either setting the environment variable LT_MULTI_MODULE
 10360: 	# non-empty at configure time, or by adding -multi_module to the
 10361: 	# link flags.
 10362: 	rm -rf libconftest.dylib*
 10363: 	echo "int foo(void){return 1;}" > conftest.c
 10364: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 10365: -dynamiclib -Wl,-single_module conftest.c" >&5
 10366: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 10367: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 10368:         _lt_result=$?
 10369: 	# If there is a non-empty error log, and "single_module"
 10370: 	# appears in it, assume the flag caused a linker warning
 10371:         if test -s conftest.err && $GREP single_module conftest.err; then
 10372: 	  cat conftest.err >&5
 10373: 	# Otherwise, if the output was created with a 0 exit code from
 10374: 	# the compiler, it worked.
 10375: 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 10376: 	  lt_cv_apple_cc_single_mod=yes
 10377: 	else
 10378: 	  cat conftest.err >&5
 10379: 	fi
 10380: 	rm -rf libconftest.dylib*
 10381: 	rm -f conftest.*
 10382:       fi
 10383: fi
 10384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 10385: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 10386: 
 10387:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 10388: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 10389: if ${lt_cv_ld_exported_symbols_list+:} false; then :
 10390:   $as_echo_n "(cached) " >&6
 10391: else
 10392:   lt_cv_ld_exported_symbols_list=no
 10393:       save_LDFLAGS=$LDFLAGS
 10394:       echo "_main" > conftest.sym
 10395:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 10396:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 10397: /* end confdefs.h.  */
 10398: 
 10399: int
 10400: main ()
 10401: {
 10402: 
 10403:   ;
 10404:   return 0;
 10405: }
 10406: _ACEOF
 10407: if ac_fn_c_try_link "$LINENO"; then :
 10408:   lt_cv_ld_exported_symbols_list=yes
 10409: else
 10410:   lt_cv_ld_exported_symbols_list=no
 10411: fi
 10412: rm -f core conftest.err conftest.$ac_objext \
 10413:     conftest$ac_exeext conftest.$ac_ext
 10414: 	LDFLAGS=$save_LDFLAGS
 10415: 
 10416: fi
 10417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 10418: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 10419: 
 10420:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 10421: $as_echo_n "checking for -force_load linker flag... " >&6; }
 10422: if ${lt_cv_ld_force_load+:} false; then :
 10423:   $as_echo_n "(cached) " >&6
 10424: else
 10425:   lt_cv_ld_force_load=no
 10426:       cat > conftest.c << _LT_EOF
 10427: int forced_loaded() { return 2;}
 10428: _LT_EOF
 10429:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 10430:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 10431:       echo "$AR cru libconftest.a conftest.o" >&5
 10432:       $AR cru libconftest.a conftest.o 2>&5
 10433:       echo "$RANLIB libconftest.a" >&5
 10434:       $RANLIB libconftest.a 2>&5
 10435:       cat > conftest.c << _LT_EOF
 10436: int main() { return 0;}
 10437: _LT_EOF
 10438:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 10439:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 10440:       _lt_result=$?
 10441:       if test -s conftest.err && $GREP force_load conftest.err; then
 10442: 	cat conftest.err >&5
 10443:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 10444: 	lt_cv_ld_force_load=yes
 10445:       else
 10446: 	cat conftest.err >&5
 10447:       fi
 10448:         rm -f conftest.err libconftest.a conftest conftest.c
 10449:         rm -rf conftest.dSYM
 10450: 
 10451: fi
 10452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 10453: $as_echo "$lt_cv_ld_force_load" >&6; }
 10454:     case $host_os in
 10455:     rhapsody* | darwin1.[012])
 10456:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 10457:     darwin1.*)
 10458:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 10459:     darwin*) # darwin 5.x on
 10460:       # if running on 10.5 or later, the deployment target defaults
 10461:       # to the OS version, if on x86, and 10.4, the deployment
 10462:       # target defaults to 10.4. Don't you love it?
 10463:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 10464: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 10465: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 10466: 	10.[012][,.]*)
 10467: 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 10468: 	10.*)
 10469: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 10470:       esac
 10471:     ;;
 10472:   esac
 10473:     if test yes = "$lt_cv_apple_cc_single_mod"; then
 10474:       _lt_dar_single_mod='$single_module'
 10475:     fi
 10476:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
 10477:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 10478:     else
 10479:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 10480:     fi
 10481:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 10482:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 10483:     else
 10484:       _lt_dsymutil=
 10485:     fi
 10486:     ;;
 10487:   esac
 10488: 
 10489: # func_munge_path_list VARIABLE PATH
 10490: # -----------------------------------
 10491: # VARIABLE is name of variable containing _space_ separated list of
 10492: # directories to be munged by the contents of PATH, which is string
 10493: # having a format:
 10494: # "DIR[:DIR]:"
 10495: #       string "DIR[ DIR]" will be prepended to VARIABLE
 10496: # ":DIR[:DIR]"
 10497: #       string "DIR[ DIR]" will be appended to VARIABLE
 10498: # "DIRP[:DIRP]::[DIRA:]DIRA"
 10499: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 10500: #       "DIRA[ DIRA]" will be appended to VARIABLE
 10501: # "DIR[:DIR]"
 10502: #       VARIABLE will be replaced by "DIR[ DIR]"
 10503: func_munge_path_list ()
 10504: {
 10505:     case x$2 in
 10506:     x)
 10507:         ;;
 10508:     *:)
 10509:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 10510:         ;;
 10511:     x:*)
 10512:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 10513:         ;;
 10514:     *::*)
 10515:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 10516:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 10517:         ;;
 10518:     *)
 10519:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 10520:         ;;
 10521:     esac
 10522: }
 10523: 
 10524: for ac_header in dlfcn.h
 10525: do :
 10526:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 10527: "
 10528: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 10529:   cat >>confdefs.h <<_ACEOF
 10530: #define HAVE_DLFCN_H 1
 10531: _ACEOF
 10532: 
 10533: fi
 10534: 
 10535: done
 10536: 
 10537: 
 10538: 
 10539: 
 10540: 
 10541: # Set options
 10542: 
 10543: 
 10544: 
 10545:         enable_dlopen=no
 10546: 
 10547: 
 10548:   enable_win32_dll=no
 10549: 
 10550: 
 10551:             # Check whether --enable-shared was given.
 10552: if test "${enable_shared+set}" = set; then :
 10553:   enableval=$enable_shared; p=${PACKAGE-default}
 10554:     case $enableval in
 10555:     yes) enable_shared=yes ;;
 10556:     no) enable_shared=no ;;
 10557:     *)
 10558:       enable_shared=no
 10559:       # Look at the argument we got.  We use all the common list separators.
 10560:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10561:       for pkg in $enableval; do
 10562: 	IFS=$lt_save_ifs
 10563: 	if test "X$pkg" = "X$p"; then
 10564: 	  enable_shared=yes
 10565: 	fi
 10566:       done
 10567:       IFS=$lt_save_ifs
 10568:       ;;
 10569:     esac
 10570: else
 10571:   enable_shared=yes
 10572: fi
 10573: 
 10574: 
 10575: 
 10576: 
 10577: 
 10578: 
 10579: 
 10580: 
 10581: 
 10582:   # Check whether --enable-static was given.
 10583: if test "${enable_static+set}" = set; then :
 10584:   enableval=$enable_static; p=${PACKAGE-default}
 10585:     case $enableval in
 10586:     yes) enable_static=yes ;;
 10587:     no) enable_static=no ;;
 10588:     *)
 10589:      enable_static=no
 10590:       # Look at the argument we got.  We use all the common list separators.
 10591:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10592:       for pkg in $enableval; do
 10593: 	IFS=$lt_save_ifs
 10594: 	if test "X$pkg" = "X$p"; then
 10595: 	  enable_static=yes
 10596: 	fi
 10597:       done
 10598:       IFS=$lt_save_ifs
 10599:       ;;
 10600:     esac
 10601: else
 10602:   enable_static=yes
 10603: fi
 10604: 
 10605: 
 10606: 
 10607: 
 10608: 
 10609: 
 10610: 
 10611: 
 10612: 
 10613: 
 10614: # Check whether --with-pic was given.
 10615: if test "${with_pic+set}" = set; then :
 10616:   withval=$with_pic; lt_p=${PACKAGE-default}
 10617:     case $withval in
 10618:     yes|no) pic_mode=$withval ;;
 10619:     *)
 10620:       pic_mode=default
 10621:       # Look at the argument we got.  We use all the common list separators.
 10622:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10623:       for lt_pkg in $withval; do
 10624: 	IFS=$lt_save_ifs
 10625: 	if test "X$lt_pkg" = "X$lt_p"; then
 10626: 	  pic_mode=yes
 10627: 	fi
 10628:       done
 10629:       IFS=$lt_save_ifs
 10630:       ;;
 10631:     esac
 10632: else
 10633:   pic_mode=default
 10634: fi
 10635: 
 10636: 
 10637: 
 10638: 
 10639: 
 10640: 
 10641: 
 10642: 
 10643:   # Check whether --enable-fast-install was given.
 10644: if test "${enable_fast_install+set}" = set; then :
 10645:   enableval=$enable_fast_install; p=${PACKAGE-default}
 10646:     case $enableval in
 10647:     yes) enable_fast_install=yes ;;
 10648:     no) enable_fast_install=no ;;
 10649:     *)
 10650:       enable_fast_install=no
 10651:       # Look at the argument we got.  We use all the common list separators.
 10652:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10653:       for pkg in $enableval; do
 10654: 	IFS=$lt_save_ifs
 10655: 	if test "X$pkg" = "X$p"; then
 10656: 	  enable_fast_install=yes
 10657: 	fi
 10658:       done
 10659:       IFS=$lt_save_ifs
 10660:       ;;
 10661:     esac
 10662: else
 10663:   enable_fast_install=yes
 10664: fi
 10665: 
 10666: 
 10667: 
 10668: 
 10669: 
 10670: 
 10671: 
 10672: 
 10673:   shared_archive_member_spec=
 10674: case $host,$enable_shared in
 10675: power*-*-aix[5-9]*,yes)
 10676:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 10677: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 10678: 
 10679: # Check whether --with-aix-soname was given.
 10680: if test "${with_aix_soname+set}" = set; then :
 10681:   withval=$with_aix_soname; case $withval in
 10682:     aix|svr4|both)
 10683:       ;;
 10684:     *)
 10685:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 10686:       ;;
 10687:     esac
 10688:     lt_cv_with_aix_soname=$with_aix_soname
 10689: else
 10690:   if ${lt_cv_with_aix_soname+:} false; then :
 10691:   $as_echo_n "(cached) " >&6
 10692: else
 10693:   lt_cv_with_aix_soname=aix
 10694: fi
 10695: 
 10696:     with_aix_soname=$lt_cv_with_aix_soname
 10697: fi
 10698: 
 10699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 10700: $as_echo "$with_aix_soname" >&6; }
 10701:   if test aix != "$with_aix_soname"; then
 10702:     # For the AIX way of multilib, we name the shared archive member
 10703:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 10704:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 10705:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 10706:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
 10707:     if test 64 = "${OBJECT_MODE-32}"; then
 10708:       shared_archive_member_spec=shr_64
 10709:     else
 10710:       shared_archive_member_spec=shr
 10711:     fi
 10712:   fi
 10713:   ;;
 10714: *)
 10715:   with_aix_soname=aix
 10716:   ;;
 10717: esac
 10718: 
 10719: 
 10720: 
 10721: 
 10722: 
 10723: 
 10724: 
 10725: 
 10726: 
 10727: 
 10728: # This can be used to rebuild libtool when needed
 10729: LIBTOOL_DEPS=$ltmain
 10730: 
 10731: # Always use our own libtool.
 10732: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 10733: 
 10734: 
 10735: 
 10736: 
 10737: 
 10738: 
 10739: 
 10740: 
 10741: 
 10742: 
 10743: 
 10744: 
 10745: 
 10746: 
 10747: 
 10748: 
 10749: 
 10750: 
 10751: 
 10752: 
 10753: 
 10754: 
 10755: 
 10756: 
 10757: 
 10758: 
 10759: 
 10760: 
 10761: 
 10762: 
 10763: test -z "$LN_S" && LN_S="ln -s"
 10764: 
 10765: 
 10766: 
 10767: 
 10768: 
 10769: 
 10770: 
 10771: 
 10772: 
 10773: 
 10774: 
 10775: 
 10776: 
 10777: 
 10778: if test -n "${ZSH_VERSION+set}"; then
 10779:    setopt NO_GLOB_SUBST
 10780: fi
 10781: 
 10782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 10783: $as_echo_n "checking for objdir... " >&6; }
 10784: if ${lt_cv_objdir+:} false; then :
 10785:   $as_echo_n "(cached) " >&6
 10786: else
 10787:   rm -f .libs 2>/dev/null
 10788: mkdir .libs 2>/dev/null
 10789: if test -d .libs; then
 10790:   lt_cv_objdir=.libs
 10791: else
 10792:   # MS-DOS does not allow filenames that begin with a dot.
 10793:   lt_cv_objdir=_libs
 10794: fi
 10795: rmdir .libs 2>/dev/null
 10796: fi
 10797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 10798: $as_echo "$lt_cv_objdir" >&6; }
 10799: objdir=$lt_cv_objdir
 10800: 
 10801: 
 10802: 
 10803: 
 10804: 
 10805: cat >>confdefs.h <<_ACEOF
 10806: #define LT_OBJDIR "$lt_cv_objdir/"
 10807: _ACEOF
 10808: 
 10809: 
 10810: 
 10811: 
 10812: case $host_os in
 10813: aix3*)
 10814:   # AIX sometimes has problems with the GCC collect2 program.  For some
 10815:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 10816:   # vanish in a puff of smoke.
 10817:   if test set != "${COLLECT_NAMES+set}"; then
 10818:     COLLECT_NAMES=
 10819:     export COLLECT_NAMES
 10820:   fi
 10821:   ;;
 10822: esac
 10823: 
 10824: # Global variables:
 10825: ofile=libtool
 10826: can_build_shared=yes
 10827: 
 10828: # All known linkers require a '.a' archive for static linking (except MSVC,
 10829: # which needs '.lib').
 10830: libext=a
 10831: 
 10832: with_gnu_ld=$lt_cv_prog_gnu_ld
 10833: 
 10834: old_CC=$CC
 10835: old_CFLAGS=$CFLAGS
 10836: 
 10837: # Set sane defaults for various variables
 10838: test -z "$CC" && CC=cc
 10839: test -z "$LTCC" && LTCC=$CC
 10840: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 10841: test -z "$LD" && LD=ld
 10842: test -z "$ac_objext" && ac_objext=o
 10843: 
 10844: func_cc_basename $compiler
 10845: cc_basename=$func_cc_basename_result
 10846: 
 10847: 
 10848: # Only perform the check for file, if the check method requires it
 10849: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 10850: case $deplibs_check_method in
 10851: file_magic*)
 10852:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 10853:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 10854: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 10855: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 10856:   $as_echo_n "(cached) " >&6
 10857: else
 10858:   case $MAGIC_CMD in
 10859: [\\/*] |  ?:[\\/]*)
 10860:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 10861:   ;;
 10862: *)
 10863:   lt_save_MAGIC_CMD=$MAGIC_CMD
 10864:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 10865:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 10866:   for ac_dir in $ac_dummy; do
 10867:     IFS=$lt_save_ifs
 10868:     test -z "$ac_dir" && ac_dir=.
 10869:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
 10870:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
 10871:       if test -n "$file_magic_test_file"; then
 10872: 	case $deplibs_check_method in
 10873: 	"file_magic "*)
 10874: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 10875: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10876: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 10877: 	    $EGREP "$file_magic_regex" > /dev/null; then
 10878: 	    :
 10879: 	  else
 10880: 	    cat <<_LT_EOF 1>&2
 10881: 
 10882: *** Warning: the command libtool uses to detect shared libraries,
 10883: *** $file_magic_cmd, produces output that libtool cannot recognize.
 10884: *** The result is that libtool may fail to recognize shared libraries
 10885: *** as such.  This will affect the creation of libtool libraries that
 10886: *** depend on shared libraries, but programs linked with such libtool
 10887: *** libraries will work regardless of this problem.  Nevertheless, you
 10888: *** may want to report the problem to your system manager and/or to
 10889: *** bug-libtool@gnu.org
 10890: 
 10891: _LT_EOF
 10892: 	  fi ;;
 10893: 	esac
 10894:       fi
 10895:       break
 10896:     fi
 10897:   done
 10898:   IFS=$lt_save_ifs
 10899:   MAGIC_CMD=$lt_save_MAGIC_CMD
 10900:   ;;
 10901: esac
 10902: fi
 10903: 
 10904: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10905: if test -n "$MAGIC_CMD"; then
 10906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 10907: $as_echo "$MAGIC_CMD" >&6; }
 10908: else
 10909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10910: $as_echo "no" >&6; }
 10911: fi
 10912: 
 10913: 
 10914: 
 10915: 
 10916: 
 10917: if test -z "$lt_cv_path_MAGIC_CMD"; then
 10918:   if test -n "$ac_tool_prefix"; then
 10919:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 10920: $as_echo_n "checking for file... " >&6; }
 10921: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 10922:   $as_echo_n "(cached) " >&6
 10923: else
 10924:   case $MAGIC_CMD in
 10925: [\\/*] |  ?:[\\/]*)
 10926:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 10927:   ;;
 10928: *)
 10929:   lt_save_MAGIC_CMD=$MAGIC_CMD
 10930:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 10931:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 10932:   for ac_dir in $ac_dummy; do
 10933:     IFS=$lt_save_ifs
 10934:     test -z "$ac_dir" && ac_dir=.
 10935:     if test -f "$ac_dir/file"; then
 10936:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
 10937:       if test -n "$file_magic_test_file"; then
 10938: 	case $deplibs_check_method in
 10939: 	"file_magic "*)
 10940: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 10941: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10942: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 10943: 	    $EGREP "$file_magic_regex" > /dev/null; then
 10944: 	    :
 10945: 	  else
 10946: 	    cat <<_LT_EOF 1>&2
 10947: 
 10948: *** Warning: the command libtool uses to detect shared libraries,
 10949: *** $file_magic_cmd, produces output that libtool cannot recognize.
 10950: *** The result is that libtool may fail to recognize shared libraries
 10951: *** as such.  This will affect the creation of libtool libraries that
 10952: *** depend on shared libraries, but programs linked with such libtool
 10953: *** libraries will work regardless of this problem.  Nevertheless, you
 10954: *** may want to report the problem to your system manager and/or to
 10955: *** bug-libtool@gnu.org
 10956: 
 10957: _LT_EOF
 10958: 	  fi ;;
 10959: 	esac
 10960:       fi
 10961:       break
 10962:     fi
 10963:   done
 10964:   IFS=$lt_save_ifs
 10965:   MAGIC_CMD=$lt_save_MAGIC_CMD
 10966:   ;;
 10967: esac
 10968: fi
 10969: 
 10970: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10971: if test -n "$MAGIC_CMD"; then
 10972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 10973: $as_echo "$MAGIC_CMD" >&6; }
 10974: else
 10975:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10976: $as_echo "no" >&6; }
 10977: fi
 10978: 
 10979: 
 10980:   else
 10981:     MAGIC_CMD=:
 10982:   fi
 10983: fi
 10984: 
 10985:   fi
 10986:   ;;
 10987: esac
 10988: 
 10989: # Use C for the default configuration in the libtool script
 10990: 
 10991: lt_save_CC=$CC
 10992: ac_ext=c
 10993: ac_cpp='$CPP $CPPFLAGS'
 10994: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 10995: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 10996: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 10997: 
 10998: 
 10999: # Source file extension for C test sources.
 11000: ac_ext=c
 11001: 
 11002: # Object file extension for compiled C test sources.
 11003: objext=o
 11004: objext=$objext
 11005: 
 11006: # Code to be used in simple compile tests
 11007: lt_simple_compile_test_code="int some_variable = 0;"
 11008: 
 11009: # Code to be used in simple link tests
 11010: lt_simple_link_test_code='int main(){return(0);}'
 11011: 
 11012: 
 11013: 
 11014: 
 11015: 
 11016: 
 11017: 
 11018: # If no C compiler was specified, use CC.
 11019: LTCC=${LTCC-"$CC"}
 11020: 
 11021: # If no C compiler flags were specified, use CFLAGS.
 11022: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 11023: 
 11024: # Allow CC to be a program name with arguments.
 11025: compiler=$CC
 11026: 
 11027: # Save the default compiler, since it gets overwritten when the other
 11028: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 11029: compiler_DEFAULT=$CC
 11030: 
 11031: # save warnings/boilerplate of simple test code
 11032: ac_outfile=conftest.$ac_objext
 11033: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 11034: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11035: _lt_compiler_boilerplate=`cat conftest.err`
 11036: $RM conftest*
 11037: 
 11038: ac_outfile=conftest.$ac_objext
 11039: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 11040: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11041: _lt_linker_boilerplate=`cat conftest.err`
 11042: $RM -r conftest*
 11043: 
 11044: 
 11045: ## CAVEAT EMPTOR:
 11046: ## There is no encapsulation within the following macros, do not change
 11047: ## the running order or otherwise move them around unless you know exactly
 11048: ## what you are doing...
 11049: if test -n "$compiler"; then
 11050: 
 11051: lt_prog_compiler_no_builtin_flag=
 11052: 
 11053: if test yes = "$GCC"; then
 11054:   case $cc_basename in
 11055:   nvcc*)
 11056:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 11057:   *)
 11058:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 11059:   esac
 11060: 
 11061:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 11062: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 11063: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 11064:   $as_echo_n "(cached) " >&6
 11065: else
 11066:   lt_cv_prog_compiler_rtti_exceptions=no
 11067:    ac_outfile=conftest.$ac_objext
 11068:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11069:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
 11070:    # Insert the option either (1) after the last *FLAGS variable, or
 11071:    # (2) before a word containing "conftest.", or (3) at the end.
 11072:    # Note that $ac_compile itself does not contain backslashes and begins
 11073:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11074:    # The option is referenced via a variable to avoid confusing sed.
 11075:    lt_compile=`echo "$ac_compile" | $SED \
 11076:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11077:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11078:    -e 's:$: $lt_compiler_flag:'`
 11079:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11080:    (eval "$lt_compile" 2>conftest.err)
 11081:    ac_status=$?
 11082:    cat conftest.err >&5
 11083:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11084:    if (exit $ac_status) && test -s "$ac_outfile"; then
 11085:      # The compiler can only warn and ignore the option if not recognized
 11086:      # So say no if there are warnings other than the usual output.
 11087:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 11088:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11089:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11090:        lt_cv_prog_compiler_rtti_exceptions=yes
 11091:      fi
 11092:    fi
 11093:    $RM conftest*
 11094: 
 11095: fi
 11096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 11097: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 11098: 
 11099: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
 11100:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 11101: else
 11102:     :
 11103: fi
 11104: 
 11105: fi
 11106: 
 11107: 
 11108: 
 11109: 
 11110: 
 11111: 
 11112:   lt_prog_compiler_wl=
 11113: lt_prog_compiler_pic=
 11114: lt_prog_compiler_static=
 11115: 
 11116: 
 11117:   if test yes = "$GCC"; then
 11118:     lt_prog_compiler_wl='-Wl,'
 11119:     lt_prog_compiler_static='-static'
 11120: 
 11121:     case $host_os in
 11122:       aix*)
 11123:       # All AIX code is PIC.
 11124:       if test ia64 = "$host_cpu"; then
 11125: 	# AIX 5 now supports IA64 processor
 11126: 	lt_prog_compiler_static='-Bstatic'
 11127:       fi
 11128:       lt_prog_compiler_pic='-fPIC'
 11129:       ;;
 11130: 
 11131:     amigaos*)
 11132:       case $host_cpu in
 11133:       powerpc)
 11134:             # see comment about AmigaOS4 .so support
 11135:             lt_prog_compiler_pic='-fPIC'
 11136:         ;;
 11137:       m68k)
 11138:             # FIXME: we need at least 68020 code to build shared libraries, but
 11139:             # adding the '-m68020' flag to GCC prevents building anything better,
 11140:             # like '-m68040'.
 11141:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 11142:         ;;
 11143:       esac
 11144:       ;;
 11145: 
 11146:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 11147:       # PIC is the default for these OSes.
 11148:       ;;
 11149: 
 11150:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 11151:       # This hack is so that the source file can tell whether it is being
 11152:       # built for inclusion in a dll (and should export symbols for example).
 11153:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 11154:       # (--disable-auto-import) libraries
 11155:       lt_prog_compiler_pic='-DDLL_EXPORT'
 11156:       case $host_os in
 11157:       os2*)
 11158: 	lt_prog_compiler_static='$wl-static'
 11159: 	;;
 11160:       esac
 11161:       ;;
 11162: 
 11163:     darwin* | rhapsody*)
 11164:       # PIC is the default on this platform
 11165:       # Common symbols not allowed in MH_DYLIB files
 11166:       lt_prog_compiler_pic='-fno-common'
 11167:       ;;
 11168: 
 11169:     haiku*)
 11170:       # PIC is the default for Haiku.
 11171:       # The "-static" flag exists, but is broken.
 11172:       lt_prog_compiler_static=
 11173:       ;;
 11174: 
 11175:     hpux*)
 11176:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 11177:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 11178:       # sets the default TLS model and affects inlining.
 11179:       case $host_cpu in
 11180:       hppa*64*)
 11181: 	# +Z the default
 11182: 	;;
 11183:       *)
 11184: 	lt_prog_compiler_pic='-fPIC'
 11185: 	;;
 11186:       esac
 11187:       ;;
 11188: 
 11189:     interix[3-9]*)
 11190:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 11191:       # Instead, we relocate shared libraries at runtime.
 11192:       ;;
 11193: 
 11194:     msdosdjgpp*)
 11195:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 11196:       # on systems that don't support them.
 11197:       lt_prog_compiler_can_build_shared=no
 11198:       enable_shared=no
 11199:       ;;
 11200: 
 11201:     *nto* | *qnx*)
 11202:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 11203:       # it will coredump.
 11204:       lt_prog_compiler_pic='-fPIC -shared'
 11205:       ;;
 11206: 
 11207:     sysv4*MP*)
 11208:       if test -d /usr/nec; then
 11209: 	lt_prog_compiler_pic=-Kconform_pic
 11210:       fi
 11211:       ;;
 11212: 
 11213:     *)
 11214:       lt_prog_compiler_pic='-fPIC'
 11215:       ;;
 11216:     esac
 11217: 
 11218:     case $cc_basename in
 11219:     nvcc*) # Cuda Compiler Driver 2.2
 11220:       lt_prog_compiler_wl='-Xlinker '
 11221:       if test -n "$lt_prog_compiler_pic"; then
 11222:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 11223:       fi
 11224:       ;;
 11225:     esac
 11226:   else
 11227:     # PORTME Check for flag to pass linker flags through the system compiler.
 11228:     case $host_os in
 11229:     aix*)
 11230:       lt_prog_compiler_wl='-Wl,'
 11231:       if test ia64 = "$host_cpu"; then
 11232: 	# AIX 5 now supports IA64 processor
 11233: 	lt_prog_compiler_static='-Bstatic'
 11234:       else
 11235: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 11236:       fi
 11237:       ;;
 11238: 
 11239:     darwin* | rhapsody*)
 11240:       # PIC is the default on this platform
 11241:       # Common symbols not allowed in MH_DYLIB files
 11242:       lt_prog_compiler_pic='-fno-common'
 11243:       case $cc_basename in
 11244:       nagfor*)
 11245:         # NAG Fortran compiler
 11246:         lt_prog_compiler_wl='-Wl,-Wl,,'
 11247:         lt_prog_compiler_pic='-PIC'
 11248:         lt_prog_compiler_static='-Bstatic'
 11249:         ;;
 11250:       esac
 11251:       ;;
 11252: 
 11253:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 11254:       # This hack is so that the source file can tell whether it is being
 11255:       # built for inclusion in a dll (and should export symbols for example).
 11256:       lt_prog_compiler_pic='-DDLL_EXPORT'
 11257:       case $host_os in
 11258:       os2*)
 11259: 	lt_prog_compiler_static='$wl-static'
 11260: 	;;
 11261:       esac
 11262:       ;;
 11263: 
 11264:     hpux9* | hpux10* | hpux11*)
 11265:       lt_prog_compiler_wl='-Wl,'
 11266:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 11267:       # not for PA HP-UX.
 11268:       case $host_cpu in
 11269:       hppa*64*|ia64*)
 11270: 	# +Z the default
 11271: 	;;
 11272:       *)
 11273: 	lt_prog_compiler_pic='+Z'
 11274: 	;;
 11275:       esac
 11276:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 11277:       lt_prog_compiler_static='$wl-a ${wl}archive'
 11278:       ;;
 11279: 
 11280:     irix5* | irix6* | nonstopux*)
 11281:       lt_prog_compiler_wl='-Wl,'
 11282:       # PIC (with -KPIC) is the default.
 11283:       lt_prog_compiler_static='-non_shared'
 11284:       ;;
 11285: 
 11286:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 11287:       case $cc_basename in
 11288:       # old Intel for x86_64, which still supported -KPIC.
 11289:       ecc*)
 11290: 	lt_prog_compiler_wl='-Wl,'
 11291: 	lt_prog_compiler_pic='-KPIC'
 11292: 	lt_prog_compiler_static='-static'
 11293:         ;;
 11294:       # icc used to be incompatible with GCC.
 11295:       # ICC 10 doesn't accept -KPIC any more.
 11296:       icc* | ifort*)
 11297: 	lt_prog_compiler_wl='-Wl,'
 11298: 	lt_prog_compiler_pic='-fPIC'
 11299: 	lt_prog_compiler_static='-static'
 11300:         ;;
 11301:       # Lahey Fortran 8.1.
 11302:       lf95*)
 11303: 	lt_prog_compiler_wl='-Wl,'
 11304: 	lt_prog_compiler_pic='--shared'
 11305: 	lt_prog_compiler_static='--static'
 11306: 	;;
 11307:       nagfor*)
 11308: 	# NAG Fortran compiler
 11309: 	lt_prog_compiler_wl='-Wl,-Wl,,'
 11310: 	lt_prog_compiler_pic='-PIC'
 11311: 	lt_prog_compiler_static='-Bstatic'
 11312: 	;;
 11313:       tcc*)
 11314: 	# Fabrice Bellard et al's Tiny C Compiler
 11315: 	lt_prog_compiler_wl='-Wl,'
 11316: 	lt_prog_compiler_pic='-fPIC'
 11317: 	lt_prog_compiler_static='-static'
 11318: 	;;
 11319:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 11320:         # Portland Group compilers (*not* the Pentium gcc compiler,
 11321: 	# which looks to be a dead project)
 11322: 	lt_prog_compiler_wl='-Wl,'
 11323: 	lt_prog_compiler_pic='-fpic'
 11324: 	lt_prog_compiler_static='-Bstatic'
 11325:         ;;
 11326:       ccc*)
 11327:         lt_prog_compiler_wl='-Wl,'
 11328:         # All Alpha code is PIC.
 11329:         lt_prog_compiler_static='-non_shared'
 11330:         ;;
 11331:       xl* | bgxl* | bgf* | mpixl*)
 11332: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 11333: 	lt_prog_compiler_wl='-Wl,'
 11334: 	lt_prog_compiler_pic='-qpic'
 11335: 	lt_prog_compiler_static='-qstaticlink'
 11336: 	;;
 11337:       *)
 11338: 	case `$CC -V 2>&1 | sed 5q` in
 11339: 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 11340: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 11341: 	  lt_prog_compiler_pic='-KPIC'
 11342: 	  lt_prog_compiler_static='-Bstatic'
 11343: 	  lt_prog_compiler_wl=''
 11344: 	  ;;
 11345: 	*Sun\ F* | *Sun*Fortran*)
 11346: 	  lt_prog_compiler_pic='-KPIC'
 11347: 	  lt_prog_compiler_static='-Bstatic'
 11348: 	  lt_prog_compiler_wl='-Qoption ld '
 11349: 	  ;;
 11350: 	*Sun\ C*)
 11351: 	  # Sun C 5.9
 11352: 	  lt_prog_compiler_pic='-KPIC'
 11353: 	  lt_prog_compiler_static='-Bstatic'
 11354: 	  lt_prog_compiler_wl='-Wl,'
 11355: 	  ;;
 11356:         *Intel*\ [CF]*Compiler*)
 11357: 	  lt_prog_compiler_wl='-Wl,'
 11358: 	  lt_prog_compiler_pic='-fPIC'
 11359: 	  lt_prog_compiler_static='-static'
 11360: 	  ;;
 11361: 	*Portland\ Group*)
 11362: 	  lt_prog_compiler_wl='-Wl,'
 11363: 	  lt_prog_compiler_pic='-fpic'
 11364: 	  lt_prog_compiler_static='-Bstatic'
 11365: 	  ;;
 11366: 	esac
 11367: 	;;
 11368:       esac
 11369:       ;;
 11370: 
 11371:     newsos6)
 11372:       lt_prog_compiler_pic='-KPIC'
 11373:       lt_prog_compiler_static='-Bstatic'
 11374:       ;;
 11375: 
 11376:     *nto* | *qnx*)
 11377:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 11378:       # it will coredump.
 11379:       lt_prog_compiler_pic='-fPIC -shared'
 11380:       ;;
 11381: 
 11382:     osf3* | osf4* | osf5*)
 11383:       lt_prog_compiler_wl='-Wl,'
 11384:       # All OSF/1 code is PIC.
 11385:       lt_prog_compiler_static='-non_shared'
 11386:       ;;
 11387: 
 11388:     rdos*)
 11389:       lt_prog_compiler_static='-non_shared'
 11390:       ;;
 11391: 
 11392:     solaris*)
 11393:       lt_prog_compiler_pic='-KPIC'
 11394:       lt_prog_compiler_static='-Bstatic'
 11395:       case $cc_basename in
 11396:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 11397: 	lt_prog_compiler_wl='-Qoption ld ';;
 11398:       *)
 11399: 	lt_prog_compiler_wl='-Wl,';;
 11400:       esac
 11401:       ;;
 11402: 
 11403:     sunos4*)
 11404:       lt_prog_compiler_wl='-Qoption ld '
 11405:       lt_prog_compiler_pic='-PIC'
 11406:       lt_prog_compiler_static='-Bstatic'
 11407:       ;;
 11408: 
 11409:     sysv4 | sysv4.2uw2* | sysv4.3*)
 11410:       lt_prog_compiler_wl='-Wl,'
 11411:       lt_prog_compiler_pic='-KPIC'
 11412:       lt_prog_compiler_static='-Bstatic'
 11413:       ;;
 11414: 
 11415:     sysv4*MP*)
 11416:       if test -d /usr/nec; then
 11417: 	lt_prog_compiler_pic='-Kconform_pic'
 11418: 	lt_prog_compiler_static='-Bstatic'
 11419:       fi
 11420:       ;;
 11421: 
 11422:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 11423:       lt_prog_compiler_wl='-Wl,'
 11424:       lt_prog_compiler_pic='-KPIC'
 11425:       lt_prog_compiler_static='-Bstatic'
 11426:       ;;
 11427: 
 11428:     unicos*)
 11429:       lt_prog_compiler_wl='-Wl,'
 11430:       lt_prog_compiler_can_build_shared=no
 11431:       ;;
 11432: 
 11433:     uts4*)
 11434:       lt_prog_compiler_pic='-pic'
 11435:       lt_prog_compiler_static='-Bstatic'
 11436:       ;;
 11437: 
 11438:     *)
 11439:       lt_prog_compiler_can_build_shared=no
 11440:       ;;
 11441:     esac
 11442:   fi
 11443: 
 11444: case $host_os in
 11445:   # For platforms that do not support PIC, -DPIC is meaningless:
 11446:   *djgpp*)
 11447:     lt_prog_compiler_pic=
 11448:     ;;
 11449:   *)
 11450:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 11451:     ;;
 11452: esac
 11453: 
 11454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 11455: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 11456: if ${lt_cv_prog_compiler_pic+:} false; then :
 11457:   $as_echo_n "(cached) " >&6
 11458: else
 11459:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 11460: fi
 11461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 11462: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 11463: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 11464: 
 11465: #
 11466: # Check to make sure the PIC flag actually works.
 11467: #
 11468: if test -n "$lt_prog_compiler_pic"; then
 11469:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 11470: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 11471: if ${lt_cv_prog_compiler_pic_works+:} false; then :
 11472:   $as_echo_n "(cached) " >&6
 11473: else
 11474:   lt_cv_prog_compiler_pic_works=no
 11475:    ac_outfile=conftest.$ac_objext
 11476:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11477:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
 11478:    # Insert the option either (1) after the last *FLAGS variable, or
 11479:    # (2) before a word containing "conftest.", or (3) at the end.
 11480:    # Note that $ac_compile itself does not contain backslashes and begins
 11481:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11482:    # The option is referenced via a variable to avoid confusing sed.
 11483:    lt_compile=`echo "$ac_compile" | $SED \
 11484:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11485:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11486:    -e 's:$: $lt_compiler_flag:'`
 11487:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11488:    (eval "$lt_compile" 2>conftest.err)
 11489:    ac_status=$?
 11490:    cat conftest.err >&5
 11491:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11492:    if (exit $ac_status) && test -s "$ac_outfile"; then
 11493:      # The compiler can only warn and ignore the option if not recognized
 11494:      # So say no if there are warnings other than the usual output.
 11495:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 11496:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11497:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11498:        lt_cv_prog_compiler_pic_works=yes
 11499:      fi
 11500:    fi
 11501:    $RM conftest*
 11502: 
 11503: fi
 11504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 11505: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 11506: 
 11507: if test yes = "$lt_cv_prog_compiler_pic_works"; then
 11508:     case $lt_prog_compiler_pic in
 11509:      "" | " "*) ;;
 11510:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 11511:      esac
 11512: else
 11513:     lt_prog_compiler_pic=
 11514:      lt_prog_compiler_can_build_shared=no
 11515: fi
 11516: 
 11517: fi
 11518: 
 11519: 
 11520: 
 11521: 
 11522: 
 11523: 
 11524: 
 11525: 
 11526: 
 11527: 
 11528: 
 11529: #
 11530: # Check to make sure the static flag actually works.
 11531: #
 11532: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 11533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 11534: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 11535: if ${lt_cv_prog_compiler_static_works+:} false; then :
 11536:   $as_echo_n "(cached) " >&6
 11537: else
 11538:   lt_cv_prog_compiler_static_works=no
 11539:    save_LDFLAGS=$LDFLAGS
 11540:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 11541:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 11542:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 11543:      # The linker can only warn and ignore the option if not recognized
 11544:      # So say no if there are warnings
 11545:      if test -s conftest.err; then
 11546:        # Append any errors to the config.log.
 11547:        cat conftest.err 1>&5
 11548:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 11549:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11550:        if diff conftest.exp conftest.er2 >/dev/null; then
 11551:          lt_cv_prog_compiler_static_works=yes
 11552:        fi
 11553:      else
 11554:        lt_cv_prog_compiler_static_works=yes
 11555:      fi
 11556:    fi
 11557:    $RM -r conftest*
 11558:    LDFLAGS=$save_LDFLAGS
 11559: 
 11560: fi
 11561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 11562: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 11563: 
 11564: if test yes = "$lt_cv_prog_compiler_static_works"; then
 11565:     :
 11566: else
 11567:     lt_prog_compiler_static=
 11568: fi
 11569: 
 11570: 
 11571: 
 11572: 
 11573: 
 11574: 
 11575: 
 11576:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 11577: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 11578: if ${lt_cv_prog_compiler_c_o+:} false; then :
 11579:   $as_echo_n "(cached) " >&6
 11580: else
 11581:   lt_cv_prog_compiler_c_o=no
 11582:    $RM -r conftest 2>/dev/null
 11583:    mkdir conftest
 11584:    cd conftest
 11585:    mkdir out
 11586:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11587: 
 11588:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11589:    # Insert the option either (1) after the last *FLAGS variable, or
 11590:    # (2) before a word containing "conftest.", or (3) at the end.
 11591:    # Note that $ac_compile itself does not contain backslashes and begins
 11592:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11593:    lt_compile=`echo "$ac_compile" | $SED \
 11594:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11595:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11596:    -e 's:$: $lt_compiler_flag:'`
 11597:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11598:    (eval "$lt_compile" 2>out/conftest.err)
 11599:    ac_status=$?
 11600:    cat out/conftest.err >&5
 11601:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11602:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11603:    then
 11604:      # The compiler can only warn and ignore the option if not recognized
 11605:      # So say no if there are warnings
 11606:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 11607:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11608:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11609:        lt_cv_prog_compiler_c_o=yes
 11610:      fi
 11611:    fi
 11612:    chmod u+w . 2>&5
 11613:    $RM conftest*
 11614:    # SGI C++ compiler will create directory out/ii_files/ for
 11615:    # template instantiation
 11616:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11617:    $RM out/* && rmdir out
 11618:    cd ..
 11619:    $RM -r conftest
 11620:    $RM conftest*
 11621: 
 11622: fi
 11623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 11624: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 11625: 
 11626: 
 11627: 
 11628: 
 11629: 
 11630: 
 11631:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 11632: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 11633: if ${lt_cv_prog_compiler_c_o+:} false; then :
 11634:   $as_echo_n "(cached) " >&6
 11635: else
 11636:   lt_cv_prog_compiler_c_o=no
 11637:    $RM -r conftest 2>/dev/null
 11638:    mkdir conftest
 11639:    cd conftest
 11640:    mkdir out
 11641:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11642: 
 11643:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11644:    # Insert the option either (1) after the last *FLAGS variable, or
 11645:    # (2) before a word containing "conftest.", or (3) at the end.
 11646:    # Note that $ac_compile itself does not contain backslashes and begins
 11647:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11648:    lt_compile=`echo "$ac_compile" | $SED \
 11649:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11650:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11651:    -e 's:$: $lt_compiler_flag:'`
 11652:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11653:    (eval "$lt_compile" 2>out/conftest.err)
 11654:    ac_status=$?
 11655:    cat out/conftest.err >&5
 11656:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11657:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11658:    then
 11659:      # The compiler can only warn and ignore the option if not recognized
 11660:      # So say no if there are warnings
 11661:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 11662:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11663:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11664:        lt_cv_prog_compiler_c_o=yes
 11665:      fi
 11666:    fi
 11667:    chmod u+w . 2>&5
 11668:    $RM conftest*
 11669:    # SGI C++ compiler will create directory out/ii_files/ for
 11670:    # template instantiation
 11671:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11672:    $RM out/* && rmdir out
 11673:    cd ..
 11674:    $RM -r conftest
 11675:    $RM conftest*
 11676: 
 11677: fi
 11678: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 11679: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 11680: 
 11681: 
 11682: 
 11683: 
 11684: hard_links=nottested
 11685: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
 11686:   # do not overwrite the value of need_locks provided by the user
 11687:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 11688: $as_echo_n "checking if we can lock with hard links... " >&6; }
 11689:   hard_links=yes
 11690:   $RM conftest*
 11691:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11692:   touch conftest.a
 11693:   ln conftest.a conftest.b 2>&5 || hard_links=no
 11694:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 11696: $as_echo "$hard_links" >&6; }
 11697:   if test no = "$hard_links"; then
 11698:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
 11699: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
 11700:     need_locks=warn
 11701:   fi
 11702: else
 11703:   need_locks=no
 11704: fi
 11705: 
 11706: 
 11707: 
 11708: 
 11709: 
 11710: 
 11711:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11712: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 11713: 
 11714:   runpath_var=
 11715:   allow_undefined_flag=
 11716:   always_export_symbols=no
 11717:   archive_cmds=
 11718:   archive_expsym_cmds=
 11719:   compiler_needs_object=no
 11720:   enable_shared_with_static_runtimes=no
 11721:   export_dynamic_flag_spec=
 11722:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11723:   hardcode_automatic=no
 11724:   hardcode_direct=no
 11725:   hardcode_direct_absolute=no
 11726:   hardcode_libdir_flag_spec=
 11727:   hardcode_libdir_separator=
 11728:   hardcode_minus_L=no
 11729:   hardcode_shlibpath_var=unsupported
 11730:   inherit_rpath=no
 11731:   link_all_deplibs=unknown
 11732:   module_cmds=
 11733:   module_expsym_cmds=
 11734:   old_archive_from_new_cmds=
 11735:   old_archive_from_expsyms_cmds=
 11736:   thread_safe_flag_spec=
 11737:   whole_archive_flag_spec=
 11738:   # include_expsyms should be a list of space-separated symbols to be *always*
 11739:   # included in the symbol list
 11740:   include_expsyms=
 11741:   # exclude_expsyms can be an extended regexp of symbols to exclude
 11742:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
 11743:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
 11744:   # as well as any symbol that contains 'd'.
 11745:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 11746:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 11747:   # platforms (ab)use it in PIC code, but their linkers get confused if
 11748:   # the symbol is explicitly referenced.  Since portable code cannot
 11749:   # rely on this symbol name, it's probably fine to never include it in
 11750:   # preloaded symbol tables.
 11751:   # Exclude shared library initialization/finalization symbols.
 11752:   extract_expsyms_cmds=
 11753: 
 11754:   case $host_os in
 11755:   cygwin* | mingw* | pw32* | cegcc*)
 11756:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 11757:     # When not using gcc, we currently assume that we are using
 11758:     # Microsoft Visual C++.
 11759:     if test yes != "$GCC"; then
 11760:       with_gnu_ld=no
 11761:     fi
 11762:     ;;
 11763:   interix*)
 11764:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 11765:     with_gnu_ld=yes
 11766:     ;;
 11767:   openbsd* | bitrig*)
 11768:     with_gnu_ld=no
 11769:     ;;
 11770:   esac
 11771: 
 11772:   ld_shlibs=yes
 11773: 
 11774:   # On some targets, GNU ld is compatible enough with the native linker
 11775:   # that we're better off using the native interface for both.
 11776:   lt_use_gnu_ld_interface=no
 11777:   if test yes = "$with_gnu_ld"; then
 11778:     case $host_os in
 11779:       aix*)
 11780: 	# The AIX port of GNU ld has always aspired to compatibility
 11781: 	# with the native linker.  However, as the warning in the GNU ld
 11782: 	# block says, versions before 2.19.5* couldn't really create working
 11783: 	# shared libraries, regardless of the interface used.
 11784: 	case `$LD -v 2>&1` in
 11785: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 11786: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 11787: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 11788: 	  *)
 11789: 	    lt_use_gnu_ld_interface=yes
 11790: 	    ;;
 11791: 	esac
 11792: 	;;
 11793:       *)
 11794: 	lt_use_gnu_ld_interface=yes
 11795: 	;;
 11796:     esac
 11797:   fi
 11798: 
 11799:   if test yes = "$lt_use_gnu_ld_interface"; then
 11800:     # If archive_cmds runs LD, not CC, wlarc should be empty
 11801:     wlarc='$wl'
 11802: 
 11803:     # Set some defaults for GNU ld with shared library support. These
 11804:     # are reset later if shared libraries are not supported. Putting them
 11805:     # here allows them to be overridden if necessary.
 11806:     runpath_var=LD_RUN_PATH
 11807:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 11808:     export_dynamic_flag_spec='$wl--export-dynamic'
 11809:     # ancient GNU ld didn't support --whole-archive et. al.
 11810:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 11811:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
 11812:     else
 11813:       whole_archive_flag_spec=
 11814:     fi
 11815:     supports_anon_versioning=no
 11816:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
 11817:       *GNU\ gold*) supports_anon_versioning=yes ;;
 11818:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 11819:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 11820:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 11821:       *\ 2.11.*) ;; # other 2.11 versions
 11822:       *) supports_anon_versioning=yes ;;
 11823:     esac
 11824: 
 11825:     # See if GNU ld supports shared libraries.
 11826:     case $host_os in
 11827:     aix[3-9]*)
 11828:       # On AIX/PPC, the GNU linker is very broken
 11829:       if test ia64 != "$host_cpu"; then
 11830: 	ld_shlibs=no
 11831: 	cat <<_LT_EOF 1>&2
 11832: 
 11833: *** Warning: the GNU linker, at least up to release 2.19, is reported
 11834: *** to be unable to reliably create shared libraries on AIX.
 11835: *** Therefore, libtool is disabling shared libraries support.  If you
 11836: *** really care for shared libraries, you may want to install binutils
 11837: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 11838: *** You will then need to restart the configuration process.
 11839: 
 11840: _LT_EOF
 11841:       fi
 11842:       ;;
 11843: 
 11844:     amigaos*)
 11845:       case $host_cpu in
 11846:       powerpc)
 11847:             # see comment about AmigaOS4 .so support
 11848:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11849:             archive_expsym_cmds=''
 11850:         ;;
 11851:       m68k)
 11852:             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)'
 11853:             hardcode_libdir_flag_spec='-L$libdir'
 11854:             hardcode_minus_L=yes
 11855:         ;;
 11856:       esac
 11857:       ;;
 11858: 
 11859:     beos*)
 11860:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11861: 	allow_undefined_flag=unsupported
 11862: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 11863: 	# support --undefined.  This deserves some investigation.  FIXME
 11864: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11865:       else
 11866: 	ld_shlibs=no
 11867:       fi
 11868:       ;;
 11869: 
 11870:     cygwin* | mingw* | pw32* | cegcc*)
 11871:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 11872:       # as there is no search path for DLLs.
 11873:       hardcode_libdir_flag_spec='-L$libdir'
 11874:       export_dynamic_flag_spec='$wl--export-all-symbols'
 11875:       allow_undefined_flag=unsupported
 11876:       always_export_symbols=no
 11877:       enable_shared_with_static_runtimes=yes
 11878:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 11879:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 11880: 
 11881:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 11882:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11883: 	# If the export-symbols file already is a .def file, use it as
 11884: 	# is; otherwise, prepend EXPORTS...
 11885: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 11886:           cp $export_symbols $output_objdir/$soname.def;
 11887:         else
 11888:           echo EXPORTS > $output_objdir/$soname.def;
 11889:           cat $export_symbols >> $output_objdir/$soname.def;
 11890:         fi~
 11891:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11892:       else
 11893: 	ld_shlibs=no
 11894:       fi
 11895:       ;;
 11896: 
 11897:     haiku*)
 11898:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11899:       link_all_deplibs=yes
 11900:       ;;
 11901: 
 11902:     os2*)
 11903:       hardcode_libdir_flag_spec='-L$libdir'
 11904:       hardcode_minus_L=yes
 11905:       allow_undefined_flag=unsupported
 11906:       shrext_cmds=.dll
 11907:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 11908: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 11909: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 11910: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 11911: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 11912: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 11913: 	emximp -o $lib $output_objdir/$libname.def'
 11914:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 11915: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 11916: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 11917: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 11918: 	prefix_cmds="$SED"~
 11919: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 11920: 	  prefix_cmds="$prefix_cmds -e 1d";
 11921: 	fi~
 11922: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 11923: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 11924: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 11925: 	emximp -o $lib $output_objdir/$libname.def'
 11926:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 11927:       enable_shared_with_static_runtimes=yes
 11928:       ;;
 11929: 
 11930:     interix[3-9]*)
 11931:       hardcode_direct=no
 11932:       hardcode_shlibpath_var=no
 11933:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 11934:       export_dynamic_flag_spec='$wl-E'
 11935:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 11936:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 11937:       # default) and relocated if they conflict, which is a slow very memory
 11938:       # consuming and fragmenting process.  To avoid this, we pick a random,
 11939:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 11940:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 11941:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 11942:       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'
 11943:       ;;
 11944: 
 11945:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 11946:       tmp_diet=no
 11947:       if test linux-dietlibc = "$host_os"; then
 11948: 	case $cc_basename in
 11949: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 11950: 	esac
 11951:       fi
 11952:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 11953: 	 && test no = "$tmp_diet"
 11954:       then
 11955: 	tmp_addflag=' $pic_flag'
 11956: 	tmp_sharedflag='-shared'
 11957: 	case $cc_basename,$host_cpu in
 11958:         pgcc*)				# Portland Group C compiler
 11959: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
 11960: 	  tmp_addflag=' $pic_flag'
 11961: 	  ;;
 11962: 	pgf77* | pgf90* | pgf95* | pgfortran*)
 11963: 					# Portland Group f77 and f90 compilers
 11964: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
 11965: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 11966: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 11967: 	  tmp_addflag=' -i_dynamic' ;;
 11968: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 11969: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 11970: 	ifc* | ifort*)			# Intel Fortran compiler
 11971: 	  tmp_addflag=' -nofor_main' ;;
 11972: 	lf95*)				# Lahey Fortran 8.1
 11973: 	  whole_archive_flag_spec=
 11974: 	  tmp_sharedflag='--shared' ;;
 11975:         nagfor*)                        # NAGFOR 5.3
 11976:           tmp_sharedflag='-Wl,-shared' ;;
 11977: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 11978: 	  tmp_sharedflag='-qmkshrobj'
 11979: 	  tmp_addflag= ;;
 11980: 	nvcc*)	# Cuda Compiler Driver 2.2
 11981: 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
 11982: 	  compiler_needs_object=yes
 11983: 	  ;;
 11984: 	esac
 11985: 	case `$CC -V 2>&1 | sed 5q` in
 11986: 	*Sun\ C*)			# Sun C 5.9
 11987: 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
 11988: 	  compiler_needs_object=yes
 11989: 	  tmp_sharedflag='-G' ;;
 11990: 	*Sun\ F*)			# Sun Fortran 8.3
 11991: 	  tmp_sharedflag='-G' ;;
 11992: 	esac
 11993: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11994: 
 11995:         if test yes = "$supports_anon_versioning"; then
 11996:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 11997:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 11998:             echo "local: *; };" >> $output_objdir/$libname.ver~
 11999:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
 12000:         fi
 12001: 
 12002: 	case $cc_basename in
 12003: 	tcc*)
 12004: 	  export_dynamic_flag_spec='-rdynamic'
 12005: 	  ;;
 12006: 	xlf* | bgf* | bgxlf* | mpixlf*)
 12007: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 12008: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 12009: 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12010: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 12011: 	  if test yes = "$supports_anon_versioning"; then
 12012: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 12013:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 12014:               echo "local: *; };" >> $output_objdir/$libname.ver~
 12015:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 12016: 	  fi
 12017: 	  ;;
 12018: 	esac
 12019:       else
 12020:         ld_shlibs=no
 12021:       fi
 12022:       ;;
 12023: 
 12024:     netbsd*)
 12025:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 12026: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 12027: 	wlarc=
 12028:       else
 12029: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 12030: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 12031:       fi
 12032:       ;;
 12033: 
 12034:     solaris*)
 12035:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 12036: 	ld_shlibs=no
 12037: 	cat <<_LT_EOF 1>&2
 12038: 
 12039: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 12040: *** create shared libraries on Solaris systems.  Therefore, libtool
 12041: *** is disabling shared libraries support.  We urge you to upgrade GNU
 12042: *** binutils to release 2.9.1 or newer.  Another option is to modify
 12043: *** your PATH or compiler configuration so that the native linker is
 12044: *** used, and then restart.
 12045: 
 12046: _LT_EOF
 12047:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12048: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 12049: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 12050:       else
 12051: 	ld_shlibs=no
 12052:       fi
 12053:       ;;
 12054: 
 12055:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 12056:       case `$LD -v 2>&1` in
 12057:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 12058: 	ld_shlibs=no
 12059: 	cat <<_LT_EOF 1>&2
 12060: 
 12061: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
 12062: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 12063: *** is disabling shared libraries support.  We urge you to upgrade GNU
 12064: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 12065: *** your PATH or compiler configuration so that the native linker is
 12066: *** used, and then restart.
 12067: 
 12068: _LT_EOF
 12069: 	;;
 12070: 	*)
 12071: 	  # For security reasons, it is highly recommended that you always
 12072: 	  # use absolute paths for naming shared libraries, and exclude the
 12073: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 12074: 	  # requires that you compile everything twice, which is a pain.
 12075: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12076: 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12077: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 12078: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 12079: 	  else
 12080: 	    ld_shlibs=no
 12081: 	  fi
 12082: 	;;
 12083:       esac
 12084:       ;;
 12085: 
 12086:     sunos4*)
 12087:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 12088:       wlarc=
 12089:       hardcode_direct=yes
 12090:       hardcode_shlibpath_var=no
 12091:       ;;
 12092: 
 12093:     *)
 12094:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12095: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 12096: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 12097:       else
 12098: 	ld_shlibs=no
 12099:       fi
 12100:       ;;
 12101:     esac
 12102: 
 12103:     if test no = "$ld_shlibs"; then
 12104:       runpath_var=
 12105:       hardcode_libdir_flag_spec=
 12106:       export_dynamic_flag_spec=
 12107:       whole_archive_flag_spec=
 12108:     fi
 12109:   else
 12110:     # PORTME fill in a description of your system's linker (not GNU ld)
 12111:     case $host_os in
 12112:     aix3*)
 12113:       allow_undefined_flag=unsupported
 12114:       always_export_symbols=yes
 12115:       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'
 12116:       # Note: this linker hardcodes the directories in LIBPATH if there
 12117:       # are no directories specified by -L.
 12118:       hardcode_minus_L=yes
 12119:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
 12120: 	# Neither direct hardcoding nor static linking is supported with a
 12121: 	# broken collect2.
 12122: 	hardcode_direct=unsupported
 12123:       fi
 12124:       ;;
 12125: 
 12126:     aix[4-9]*)
 12127:       if test ia64 = "$host_cpu"; then
 12128: 	# On IA64, the linker does run time linking by default, so we don't
 12129: 	# have to do anything special.
 12130: 	aix_use_runtimelinking=no
 12131: 	exp_sym_flag='-Bexport'
 12132: 	no_entry_flag=
 12133:       else
 12134: 	# If we're using GNU nm, then we don't want the "-C" option.
 12135: 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
 12136: 	# Without the "-l" option, or with the "-B" option, AIX nm treats
 12137: 	# weak defined symbols like other global defined symbols, whereas
 12138: 	# GNU nm marks them as "W".
 12139: 	# While the 'weak' keyword is ignored in the Export File, we need
 12140: 	# it in the Import File for the 'aix-soname' feature, so we have
 12141: 	# to replace the "-B" option with "-P" for AIX nm.
 12142: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 12143: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
 12144: 	else
 12145: 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
 12146: 	fi
 12147: 	aix_use_runtimelinking=no
 12148: 
 12149: 	# Test if we are trying to use run time linking or normal
 12150: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 12151: 	# have runtime linking enabled, and use it for executables.
 12152: 	# For shared libraries, we enable/disable runtime linking
 12153: 	# depending on the kind of the shared library created -
 12154: 	# when "with_aix_soname,aix_use_runtimelinking" is:
 12155: 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 12156: 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
 12157: 	#            lib.a           static archive
 12158: 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
 12159: 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
 12160: 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 12161: 	#            lib.a(lib.so.V) shared, rtl:no
 12162: 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 12163: 	#            lib.a           static archive
 12164: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 12165: 	  for ld_flag in $LDFLAGS; do
 12166: 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
 12167: 	    aix_use_runtimelinking=yes
 12168: 	    break
 12169: 	  fi
 12170: 	  done
 12171: 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 12172: 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
 12173: 	    # so we don't have lib.a shared libs to link our executables.
 12174: 	    # We have to force runtime linking in this case.
 12175: 	    aix_use_runtimelinking=yes
 12176: 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
 12177: 	  fi
 12178: 	  ;;
 12179: 	esac
 12180: 
 12181: 	exp_sym_flag='-bexport'
 12182: 	no_entry_flag='-bnoentry'
 12183:       fi
 12184: 
 12185:       # When large executables or shared objects are built, AIX ld can
 12186:       # have problems creating the table of contents.  If linking a library
 12187:       # or program results in "error TOC overflow" add -mminimal-toc to
 12188:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 12189:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 12190: 
 12191:       archive_cmds=''
 12192:       hardcode_direct=yes
 12193:       hardcode_direct_absolute=yes
 12194:       hardcode_libdir_separator=':'
 12195:       link_all_deplibs=yes
 12196:       file_list_spec='$wl-f,'
 12197:       case $with_aix_soname,$aix_use_runtimelinking in
 12198:       aix,*) ;; # traditional, no import file
 12199:       svr4,* | *,yes) # use import file
 12200: 	# The Import File defines what to hardcode.
 12201: 	hardcode_direct=no
 12202: 	hardcode_direct_absolute=no
 12203: 	;;
 12204:       esac
 12205: 
 12206:       if test yes = "$GCC"; then
 12207: 	case $host_os in aix4.[012]|aix4.[012].*)
 12208: 	# We only want to do this on AIX 4.2 and lower, the check
 12209: 	# below for broken collect2 doesn't work under 4.3+
 12210: 	  collect2name=`$CC -print-prog-name=collect2`
 12211: 	  if test -f "$collect2name" &&
 12212: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 12213: 	  then
 12214: 	  # We have reworked collect2
 12215: 	  :
 12216: 	  else
 12217: 	  # We have old collect2
 12218: 	  hardcode_direct=unsupported
 12219: 	  # It fails to find uninstalled libraries when the uninstalled
 12220: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 12221: 	  # to unsupported forces relinking
 12222: 	  hardcode_minus_L=yes
 12223: 	  hardcode_libdir_flag_spec='-L$libdir'
 12224: 	  hardcode_libdir_separator=
 12225: 	  fi
 12226: 	  ;;
 12227: 	esac
 12228: 	shared_flag='-shared'
 12229: 	if test yes = "$aix_use_runtimelinking"; then
 12230: 	  shared_flag="$shared_flag "'$wl-G'
 12231: 	fi
 12232: 	# Need to ensure runtime linking is disabled for the traditional
 12233: 	# shared library, or the linker may eventually find shared libraries
 12234: 	# /with/ Import File - we do not want to mix them.
 12235: 	shared_flag_aix='-shared'
 12236: 	shared_flag_svr4='-shared $wl-G'
 12237:       else
 12238: 	# not using gcc
 12239: 	if test ia64 = "$host_cpu"; then
 12240: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 12241: 	# chokes on -Wl,-G. The following line is correct:
 12242: 	  shared_flag='-G'
 12243: 	else
 12244: 	  if test yes = "$aix_use_runtimelinking"; then
 12245: 	    shared_flag='$wl-G'
 12246: 	  else
 12247: 	    shared_flag='$wl-bM:SRE'
 12248: 	  fi
 12249: 	  shared_flag_aix='$wl-bM:SRE'
 12250: 	  shared_flag_svr4='$wl-G'
 12251: 	fi
 12252:       fi
 12253: 
 12254:       export_dynamic_flag_spec='$wl-bexpall'
 12255:       # It seems that -bexpall does not export symbols beginning with
 12256:       # underscore (_), so it is better to generate a list of symbols to export.
 12257:       always_export_symbols=yes
 12258:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
 12259: 	# Warning - without using the other runtime loading flags (-brtl),
 12260: 	# -berok will link without error, but may produce a broken library.
 12261: 	allow_undefined_flag='-berok'
 12262:         # Determine the default libpath from the value encoded in an
 12263:         # empty executable.
 12264:         if test set = "${lt_cv_aix_libpath+set}"; then
 12265:   aix_libpath=$lt_cv_aix_libpath
 12266: else
 12267:   if ${lt_cv_aix_libpath_+:} false; then :
 12268:   $as_echo_n "(cached) " >&6
 12269: else
 12270:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12271: /* end confdefs.h.  */
 12272: 
 12273: int
 12274: main ()
 12275: {
 12276: 
 12277:   ;
 12278:   return 0;
 12279: }
 12280: _ACEOF
 12281: if ac_fn_c_try_link "$LINENO"; then :
 12282: 
 12283:   lt_aix_libpath_sed='
 12284:       /Import File Strings/,/^$/ {
 12285: 	  /^0/ {
 12286: 	      s/^0  *\([^ ]*\) *$/\1/
 12287: 	      p
 12288: 	  }
 12289:       }'
 12290:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12291:   # Check for a 64-bit object if we didn't find anything.
 12292:   if test -z "$lt_cv_aix_libpath_"; then
 12293:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12294:   fi
 12295: fi
 12296: rm -f core conftest.err conftest.$ac_objext \
 12297:     conftest$ac_exeext conftest.$ac_ext
 12298:   if test -z "$lt_cv_aix_libpath_"; then
 12299:     lt_cv_aix_libpath_=/usr/lib:/lib
 12300:   fi
 12301: 
 12302: fi
 12303: 
 12304:   aix_libpath=$lt_cv_aix_libpath_
 12305: fi
 12306: 
 12307:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
 12308:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
 12309:       else
 12310: 	if test ia64 = "$host_cpu"; then
 12311: 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
 12312: 	  allow_undefined_flag="-z nodefs"
 12313: 	  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"
 12314: 	else
 12315: 	 # Determine the default libpath from the value encoded in an
 12316: 	 # empty executable.
 12317: 	 if test set = "${lt_cv_aix_libpath+set}"; then
 12318:   aix_libpath=$lt_cv_aix_libpath
 12319: else
 12320:   if ${lt_cv_aix_libpath_+:} false; then :
 12321:   $as_echo_n "(cached) " >&6
 12322: else
 12323:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12324: /* end confdefs.h.  */
 12325: 
 12326: int
 12327: main ()
 12328: {
 12329: 
 12330:   ;
 12331:   return 0;
 12332: }
 12333: _ACEOF
 12334: if ac_fn_c_try_link "$LINENO"; then :
 12335: 
 12336:   lt_aix_libpath_sed='
 12337:       /Import File Strings/,/^$/ {
 12338: 	  /^0/ {
 12339: 	      s/^0  *\([^ ]*\) *$/\1/
 12340: 	      p
 12341: 	  }
 12342:       }'
 12343:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12344:   # Check for a 64-bit object if we didn't find anything.
 12345:   if test -z "$lt_cv_aix_libpath_"; then
 12346:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12347:   fi
 12348: fi
 12349: rm -f core conftest.err conftest.$ac_objext \
 12350:     conftest$ac_exeext conftest.$ac_ext
 12351:   if test -z "$lt_cv_aix_libpath_"; then
 12352:     lt_cv_aix_libpath_=/usr/lib:/lib
 12353:   fi
 12354: 
 12355: fi
 12356: 
 12357:   aix_libpath=$lt_cv_aix_libpath_
 12358: fi
 12359: 
 12360: 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
 12361: 	  # Warning - without using the other run time loading flags,
 12362: 	  # -berok will link without error, but may produce a broken library.
 12363: 	  no_undefined_flag=' $wl-bernotok'
 12364: 	  allow_undefined_flag=' $wl-berok'
 12365: 	  if test yes = "$with_gnu_ld"; then
 12366: 	    # We only use this code for GNU lds that support --whole-archive.
 12367: 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
 12368: 	  else
 12369: 	    # Exported symbols can be pulled into shared objects from archives
 12370: 	    whole_archive_flag_spec='$convenience'
 12371: 	  fi
 12372: 	  archive_cmds_need_lc=yes
 12373: 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
 12374: 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
 12375: 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
 12376: 	  if test svr4 != "$with_aix_soname"; then
 12377: 	    # This is similar to how AIX traditionally builds its shared libraries.
 12378: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
 12379: 	  fi
 12380: 	  if test aix != "$with_aix_soname"; then
 12381: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
 12382: 	  else
 12383: 	    # used by -dlpreopen to get the symbols
 12384: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
 12385: 	  fi
 12386: 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
 12387: 	fi
 12388:       fi
 12389:       ;;
 12390: 
 12391:     amigaos*)
 12392:       case $host_cpu in
 12393:       powerpc)
 12394:             # see comment about AmigaOS4 .so support
 12395:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 12396:             archive_expsym_cmds=''
 12397:         ;;
 12398:       m68k)
 12399:             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)'
 12400:             hardcode_libdir_flag_spec='-L$libdir'
 12401:             hardcode_minus_L=yes
 12402:         ;;
 12403:       esac
 12404:       ;;
 12405: 
 12406:     bsdi[45]*)
 12407:       export_dynamic_flag_spec=-rdynamic
 12408:       ;;
 12409: 
 12410:     cygwin* | mingw* | pw32* | cegcc*)
 12411:       # When not using gcc, we currently assume that we are using
 12412:       # Microsoft Visual C++.
 12413:       # hardcode_libdir_flag_spec is actually meaningless, as there is
 12414:       # no search path for DLLs.
 12415:       case $cc_basename in
 12416:       cl*)
 12417: 	# Native MSVC
 12418: 	hardcode_libdir_flag_spec=' '
 12419: 	allow_undefined_flag=unsupported
 12420: 	always_export_symbols=yes
 12421: 	file_list_spec='@'
 12422: 	# Tell ltmain to make .lib files, not .a files.
 12423: 	libext=lib
 12424: 	# Tell ltmain to make .dll files, not .so files.
 12425: 	shrext_cmds=.dll
 12426: 	# FIXME: Setting linknames here is a bad hack.
 12427: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
 12428: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 12429:             cp "$export_symbols" "$output_objdir/$soname.def";
 12430:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
 12431:           else
 12432:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
 12433:           fi~
 12434:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 12435:           linknames='
 12436: 	# The linker will not automatically build a static lib if we build a DLL.
 12437: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 12438: 	enable_shared_with_static_runtimes=yes
 12439: 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 12440: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 12441: 	# Don't use ranlib
 12442: 	old_postinstall_cmds='chmod 644 $oldlib'
 12443: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
 12444:           lt_tool_outputfile="@TOOL_OUTPUT@"~
 12445:           case $lt_outputfile in
 12446:             *.exe|*.EXE) ;;
 12447:             *)
 12448:               lt_outputfile=$lt_outputfile.exe
 12449:               lt_tool_outputfile=$lt_tool_outputfile.exe
 12450:               ;;
 12451:           esac~
 12452:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
 12453:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 12454:             $RM "$lt_outputfile.manifest";
 12455:           fi'
 12456: 	;;
 12457:       *)
 12458: 	# Assume MSVC wrapper
 12459: 	hardcode_libdir_flag_spec=' '
 12460: 	allow_undefined_flag=unsupported
 12461: 	# Tell ltmain to make .lib files, not .a files.
 12462: 	libext=lib
 12463: 	# Tell ltmain to make .dll files, not .so files.
 12464: 	shrext_cmds=.dll
 12465: 	# FIXME: Setting linknames here is a bad hack.
 12466: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 12467: 	# The linker will automatically build a .lib file if we build a DLL.
 12468: 	old_archive_from_new_cmds='true'
 12469: 	# FIXME: Should let the user specify the lib program.
 12470: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 12471: 	enable_shared_with_static_runtimes=yes
 12472: 	;;
 12473:       esac
 12474:       ;;
 12475: 
 12476:     darwin* | rhapsody*)
 12477: 
 12478: 
 12479:   archive_cmds_need_lc=no
 12480:   hardcode_direct=no
 12481:   hardcode_automatic=yes
 12482:   hardcode_shlibpath_var=unsupported
 12483:   if test yes = "$lt_cv_ld_force_load"; then
 12484:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 12485: 
 12486:   else
 12487:     whole_archive_flag_spec=''
 12488:   fi
 12489:   link_all_deplibs=yes
 12490:   allow_undefined_flag=$_lt_dar_allow_undefined
 12491:   case $cc_basename in
 12492:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
 12493:      *) _lt_dar_can_shared=$GCC ;;
 12494:   esac
 12495:   if test yes = "$_lt_dar_can_shared"; then
 12496:     output_verbose_link_cmd=func_echo_all
 12497:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
 12498:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
 12499:     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"
 12500:     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"
 12501: 
 12502:   else
 12503:   ld_shlibs=no
 12504:   fi
 12505: 
 12506:       ;;
 12507: 
 12508:     dgux*)
 12509:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12510:       hardcode_libdir_flag_spec='-L$libdir'
 12511:       hardcode_shlibpath_var=no
 12512:       ;;
 12513: 
 12514:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 12515:     # support.  Future versions do this automatically, but an explicit c++rt0.o
 12516:     # does not break anything, and helps significantly (at the cost of a little
 12517:     # extra space).
 12518:     freebsd2.2*)
 12519:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 12520:       hardcode_libdir_flag_spec='-R$libdir'
 12521:       hardcode_direct=yes
 12522:       hardcode_shlibpath_var=no
 12523:       ;;
 12524: 
 12525:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 12526:     freebsd2.*)
 12527:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 12528:       hardcode_direct=yes
 12529:       hardcode_minus_L=yes
 12530:       hardcode_shlibpath_var=no
 12531:       ;;
 12532: 
 12533:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 12534:     freebsd* | dragonfly*)
 12535:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12536:       hardcode_libdir_flag_spec='-R$libdir'
 12537:       hardcode_direct=yes
 12538:       hardcode_shlibpath_var=no
 12539:       ;;
 12540: 
 12541:     hpux9*)
 12542:       if test yes = "$GCC"; then
 12543: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
 12544:       else
 12545: 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
 12546:       fi
 12547:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12548:       hardcode_libdir_separator=:
 12549:       hardcode_direct=yes
 12550: 
 12551:       # hardcode_minus_L: Not really in the search PATH,
 12552:       # but as the default location of the library.
 12553:       hardcode_minus_L=yes
 12554:       export_dynamic_flag_spec='$wl-E'
 12555:       ;;
 12556: 
 12557:     hpux10*)
 12558:       if test yes,no = "$GCC,$with_gnu_ld"; then
 12559: 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12560:       else
 12561: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 12562:       fi
 12563:       if test no = "$with_gnu_ld"; then
 12564: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12565: 	hardcode_libdir_separator=:
 12566: 	hardcode_direct=yes
 12567: 	hardcode_direct_absolute=yes
 12568: 	export_dynamic_flag_spec='$wl-E'
 12569: 	# hardcode_minus_L: Not really in the search PATH,
 12570: 	# but as the default location of the library.
 12571: 	hardcode_minus_L=yes
 12572:       fi
 12573:       ;;
 12574: 
 12575:     hpux11*)
 12576:       if test yes,no = "$GCC,$with_gnu_ld"; then
 12577: 	case $host_cpu in
 12578: 	hppa*64*)
 12579: 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12580: 	  ;;
 12581: 	ia64*)
 12582: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 12583: 	  ;;
 12584: 	*)
 12585: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12586: 	  ;;
 12587: 	esac
 12588:       else
 12589: 	case $host_cpu in
 12590: 	hppa*64*)
 12591: 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12592: 	  ;;
 12593: 	ia64*)
 12594: 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 12595: 	  ;;
 12596: 	*)
 12597: 
 12598: 	  # Older versions of the 11.00 compiler do not understand -b yet
 12599: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 12600: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 12601: $as_echo_n "checking if $CC understands -b... " >&6; }
 12602: if ${lt_cv_prog_compiler__b+:} false; then :
 12603:   $as_echo_n "(cached) " >&6
 12604: else
 12605:   lt_cv_prog_compiler__b=no
 12606:    save_LDFLAGS=$LDFLAGS
 12607:    LDFLAGS="$LDFLAGS -b"
 12608:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 12609:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 12610:      # The linker can only warn and ignore the option if not recognized
 12611:      # So say no if there are warnings
 12612:      if test -s conftest.err; then
 12613:        # Append any errors to the config.log.
 12614:        cat conftest.err 1>&5
 12615:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 12616:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12617:        if diff conftest.exp conftest.er2 >/dev/null; then
 12618:          lt_cv_prog_compiler__b=yes
 12619:        fi
 12620:      else
 12621:        lt_cv_prog_compiler__b=yes
 12622:      fi
 12623:    fi
 12624:    $RM -r conftest*
 12625:    LDFLAGS=$save_LDFLAGS
 12626: 
 12627: fi
 12628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 12629: $as_echo "$lt_cv_prog_compiler__b" >&6; }
 12630: 
 12631: if test yes = "$lt_cv_prog_compiler__b"; then
 12632:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12633: else
 12634:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 12635: fi
 12636: 
 12637: 	  ;;
 12638: 	esac
 12639:       fi
 12640:       if test no = "$with_gnu_ld"; then
 12641: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12642: 	hardcode_libdir_separator=:
 12643: 
 12644: 	case $host_cpu in
 12645: 	hppa*64*|ia64*)
 12646: 	  hardcode_direct=no
 12647: 	  hardcode_shlibpath_var=no
 12648: 	  ;;
 12649: 	*)
 12650: 	  hardcode_direct=yes
 12651: 	  hardcode_direct_absolute=yes
 12652: 	  export_dynamic_flag_spec='$wl-E'
 12653: 
 12654: 	  # hardcode_minus_L: Not really in the search PATH,
 12655: 	  # but as the default location of the library.
 12656: 	  hardcode_minus_L=yes
 12657: 	  ;;
 12658: 	esac
 12659:       fi
 12660:       ;;
 12661: 
 12662:     irix5* | irix6* | nonstopux*)
 12663:       if test yes = "$GCC"; then
 12664: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 12665: 	# Try to use the -exported_symbol ld option, if it does not
 12666: 	# work, assume that -exports_file does not work either and
 12667: 	# implicitly export all symbols.
 12668: 	# This should be the same for all languages, so no per-tag cache variable.
 12669: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 12670: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 12671: if ${lt_cv_irix_exported_symbol+:} false; then :
 12672:   $as_echo_n "(cached) " >&6
 12673: else
 12674:   save_LDFLAGS=$LDFLAGS
 12675: 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
 12676: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12677: /* end confdefs.h.  */
 12678: int foo (void) { return 0; }
 12679: _ACEOF
 12680: if ac_fn_c_try_link "$LINENO"; then :
 12681:   lt_cv_irix_exported_symbol=yes
 12682: else
 12683:   lt_cv_irix_exported_symbol=no
 12684: fi
 12685: rm -f core conftest.err conftest.$ac_objext \
 12686:     conftest$ac_exeext conftest.$ac_ext
 12687:            LDFLAGS=$save_LDFLAGS
 12688: fi
 12689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 12690: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
 12691: 	if test yes = "$lt_cv_irix_exported_symbol"; then
 12692:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
 12693: 	fi
 12694:       else
 12695: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
 12696: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
 12697:       fi
 12698:       archive_cmds_need_lc='no'
 12699:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12700:       hardcode_libdir_separator=:
 12701:       inherit_rpath=yes
 12702:       link_all_deplibs=yes
 12703:       ;;
 12704: 
 12705:     linux*)
 12706:       case $cc_basename in
 12707:       tcc*)
 12708: 	# Fabrice Bellard et al's Tiny C Compiler
 12709: 	ld_shlibs=yes
 12710: 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12711: 	;;
 12712:       esac
 12713:       ;;
 12714: 
 12715:     netbsd*)
 12716:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 12717: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 12718:       else
 12719: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 12720:       fi
 12721:       hardcode_libdir_flag_spec='-R$libdir'
 12722:       hardcode_direct=yes
 12723:       hardcode_shlibpath_var=no
 12724:       ;;
 12725: 
 12726:     newsos6)
 12727:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12728:       hardcode_direct=yes
 12729:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12730:       hardcode_libdir_separator=:
 12731:       hardcode_shlibpath_var=no
 12732:       ;;
 12733: 
 12734:     *nto* | *qnx*)
 12735:       ;;
 12736: 
 12737:     openbsd* | bitrig*)
 12738:       if test -f /usr/libexec/ld.so; then
 12739: 	hardcode_direct=yes
 12740: 	hardcode_shlibpath_var=no
 12741: 	hardcode_direct_absolute=yes
 12742: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 12743: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12744: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
 12745: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 12746: 	  export_dynamic_flag_spec='$wl-E'
 12747: 	else
 12748: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12749: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 12750: 	fi
 12751:       else
 12752: 	ld_shlibs=no
 12753:       fi
 12754:       ;;
 12755: 
 12756:     os2*)
 12757:       hardcode_libdir_flag_spec='-L$libdir'
 12758:       hardcode_minus_L=yes
 12759:       allow_undefined_flag=unsupported
 12760:       shrext_cmds=.dll
 12761:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 12762: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 12763: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 12764: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 12765: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 12766: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 12767: 	emximp -o $lib $output_objdir/$libname.def'
 12768:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 12769: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 12770: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 12771: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 12772: 	prefix_cmds="$SED"~
 12773: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 12774: 	  prefix_cmds="$prefix_cmds -e 1d";
 12775: 	fi~
 12776: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 12777: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 12778: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 12779: 	emximp -o $lib $output_objdir/$libname.def'
 12780:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 12781:       enable_shared_with_static_runtimes=yes
 12782:       ;;
 12783: 
 12784:     osf3*)
 12785:       if test yes = "$GCC"; then
 12786: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 12787: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 12788:       else
 12789: 	allow_undefined_flag=' -expect_unresolved \*'
 12790: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
 12791:       fi
 12792:       archive_cmds_need_lc='no'
 12793:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12794:       hardcode_libdir_separator=:
 12795:       ;;
 12796: 
 12797:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 12798:       if test yes = "$GCC"; then
 12799: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 12800: 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 12801: 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12802:       else
 12803: 	allow_undefined_flag=' -expect_unresolved \*'
 12804: 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
 12805: 	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~
 12806:           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
 12807: 
 12808: 	# Both c and cxx compiler support -rpath directly
 12809: 	hardcode_libdir_flag_spec='-rpath $libdir'
 12810:       fi
 12811:       archive_cmds_need_lc='no'
 12812:       hardcode_libdir_separator=:
 12813:       ;;
 12814: 
 12815:     solaris*)
 12816:       no_undefined_flag=' -z defs'
 12817:       if test yes = "$GCC"; then
 12818: 	wlarc='$wl'
 12819: 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12820: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12821:           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 12822:       else
 12823: 	case `$CC -V 2>&1` in
 12824: 	*"Compilers 5.0"*)
 12825: 	  wlarc=''
 12826: 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12827: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12828:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 12829: 	  ;;
 12830: 	*)
 12831: 	  wlarc='$wl'
 12832: 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 12833: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12834:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 12835: 	  ;;
 12836: 	esac
 12837:       fi
 12838:       hardcode_libdir_flag_spec='-R$libdir'
 12839:       hardcode_shlibpath_var=no
 12840:       case $host_os in
 12841:       solaris2.[0-5] | solaris2.[0-5].*) ;;
 12842:       *)
 12843: 	# The compiler driver will combine and reorder linker options,
 12844: 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
 12845: 	# but is careful enough not to reorder.
 12846: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 12847: 	if test yes = "$GCC"; then
 12848: 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
 12849: 	else
 12850: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 12851: 	fi
 12852: 	;;
 12853:       esac
 12854:       link_all_deplibs=yes
 12855:       ;;
 12856: 
 12857:     sunos4*)
 12858:       if test sequent = "$host_vendor"; then
 12859: 	# Use $CC to link under sequent, because it throws in some extra .o
 12860: 	# files that make .init and .fini sections work.
 12861: 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 12862:       else
 12863: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 12864:       fi
 12865:       hardcode_libdir_flag_spec='-L$libdir'
 12866:       hardcode_direct=yes
 12867:       hardcode_minus_L=yes
 12868:       hardcode_shlibpath_var=no
 12869:       ;;
 12870: 
 12871:     sysv4)
 12872:       case $host_vendor in
 12873: 	sni)
 12874: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12875: 	  hardcode_direct=yes # is this really true???
 12876: 	;;
 12877: 	siemens)
 12878: 	  ## LD is ld it makes a PLAMLIB
 12879: 	  ## CC just makes a GrossModule.
 12880: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 12881: 	  reload_cmds='$CC -r -o $output$reload_objs'
 12882: 	  hardcode_direct=no
 12883:         ;;
 12884: 	motorola)
 12885: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12886: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 12887: 	;;
 12888:       esac
 12889:       runpath_var='LD_RUN_PATH'
 12890:       hardcode_shlibpath_var=no
 12891:       ;;
 12892: 
 12893:     sysv4.3*)
 12894:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12895:       hardcode_shlibpath_var=no
 12896:       export_dynamic_flag_spec='-Bexport'
 12897:       ;;
 12898: 
 12899:     sysv4*MP*)
 12900:       if test -d /usr/nec; then
 12901: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12902: 	hardcode_shlibpath_var=no
 12903: 	runpath_var=LD_RUN_PATH
 12904: 	hardcode_runpath_var=yes
 12905: 	ld_shlibs=yes
 12906:       fi
 12907:       ;;
 12908: 
 12909:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 12910:       no_undefined_flag='$wl-z,text'
 12911:       archive_cmds_need_lc=no
 12912:       hardcode_shlibpath_var=no
 12913:       runpath_var='LD_RUN_PATH'
 12914: 
 12915:       if test yes = "$GCC"; then
 12916: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12917: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12918:       else
 12919: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12920: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12921:       fi
 12922:       ;;
 12923: 
 12924:     sysv5* | sco3.2v5* | sco5v6*)
 12925:       # Note: We CANNOT use -z defs as we might desire, because we do not
 12926:       # link with -lc, and that would cause any symbols used from libc to
 12927:       # always be unresolved, which means just about no library would
 12928:       # ever link correctly.  If we're not using GNU ld we use -z text
 12929:       # though, which does catch some bad symbols but isn't as heavy-handed
 12930:       # as -z defs.
 12931:       no_undefined_flag='$wl-z,text'
 12932:       allow_undefined_flag='$wl-z,nodefs'
 12933:       archive_cmds_need_lc=no
 12934:       hardcode_shlibpath_var=no
 12935:       hardcode_libdir_flag_spec='$wl-R,$libdir'
 12936:       hardcode_libdir_separator=':'
 12937:       link_all_deplibs=yes
 12938:       export_dynamic_flag_spec='$wl-Bexport'
 12939:       runpath_var='LD_RUN_PATH'
 12940: 
 12941:       if test yes = "$GCC"; then
 12942: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12943: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12944:       else
 12945: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12946: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12947:       fi
 12948:       ;;
 12949: 
 12950:     uts4*)
 12951:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12952:       hardcode_libdir_flag_spec='-L$libdir'
 12953:       hardcode_shlibpath_var=no
 12954:       ;;
 12955: 
 12956:     *)
 12957:       ld_shlibs=no
 12958:       ;;
 12959:     esac
 12960: 
 12961:     if test sni = "$host_vendor"; then
 12962:       case $host in
 12963:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 12964: 	export_dynamic_flag_spec='$wl-Blargedynsym'
 12965: 	;;
 12966:       esac
 12967:     fi
 12968:   fi
 12969: 
 12970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 12971: $as_echo "$ld_shlibs" >&6; }
 12972: test no = "$ld_shlibs" && can_build_shared=no
 12973: 
 12974: with_gnu_ld=$with_gnu_ld
 12975: 
 12976: 
 12977: 
 12978: 
 12979: 
 12980: 
 12981: 
 12982: 
 12983: 
 12984: 
 12985: 
 12986: 
 12987: 
 12988: 
 12989: 
 12990: #
 12991: # Do we need to explicitly link libc?
 12992: #
 12993: case "x$archive_cmds_need_lc" in
 12994: x|xyes)
 12995:   # Assume -lc should be added
 12996:   archive_cmds_need_lc=yes
 12997: 
 12998:   if test yes,yes = "$GCC,$enable_shared"; then
 12999:     case $archive_cmds in
 13000:     *'~'*)
 13001:       # FIXME: we may have to deal with multi-command sequences.
 13002:       ;;
 13003:     '$CC '*)
 13004:       # Test whether the compiler implicitly links with -lc since on some
 13005:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 13006:       # to ld, don't add -lc before -lgcc.
 13007:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 13008: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 13009: if ${lt_cv_archive_cmds_need_lc+:} false; then :
 13010:   $as_echo_n "(cached) " >&6
 13011: else
 13012:   $RM conftest*
 13013: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13014: 
 13015: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 13016:   (eval $ac_compile) 2>&5
 13017:   ac_status=$?
 13018:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 13019:   test $ac_status = 0; } 2>conftest.err; then
 13020: 	  soname=conftest
 13021: 	  lib=conftest
 13022: 	  libobjs=conftest.$ac_objext
 13023: 	  deplibs=
 13024: 	  wl=$lt_prog_compiler_wl
 13025: 	  pic_flag=$lt_prog_compiler_pic
 13026: 	  compiler_flags=-v
 13027: 	  linker_flags=-v
 13028: 	  verstring=
 13029: 	  output_objdir=.
 13030: 	  libname=conftest
 13031: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
 13032: 	  allow_undefined_flag=
 13033: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 13034:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 13035:   ac_status=$?
 13036:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 13037:   test $ac_status = 0; }
 13038: 	  then
 13039: 	    lt_cv_archive_cmds_need_lc=no
 13040: 	  else
 13041: 	    lt_cv_archive_cmds_need_lc=yes
 13042: 	  fi
 13043: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
 13044: 	else
 13045: 	  cat conftest.err 1>&5
 13046: 	fi
 13047: 	$RM conftest*
 13048: 
 13049: fi
 13050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 13051: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 13052:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 13053:       ;;
 13054:     esac
 13055:   fi
 13056:   ;;
 13057: esac
 13058: 
 13059: 
 13060: 
 13061: 
 13062: 
 13063: 
 13064: 
 13065: 
 13066: 
 13067: 
 13068: 
 13069: 
 13070: 
 13071: 
 13072: 
 13073: 
 13074: 
 13075: 
 13076: 
 13077: 
 13078: 
 13079: 
 13080: 
 13081: 
 13082: 
 13083: 
 13084: 
 13085: 
 13086: 
 13087: 
 13088: 
 13089: 
 13090: 
 13091: 
 13092: 
 13093: 
 13094: 
 13095: 
 13096: 
 13097: 
 13098: 
 13099: 
 13100: 
 13101: 
 13102: 
 13103: 
 13104: 
 13105: 
 13106: 
 13107: 
 13108: 
 13109: 
 13110: 
 13111: 
 13112: 
 13113: 
 13114: 
 13115: 
 13116: 
 13117: 
 13118: 
 13119: 
 13120: 
 13121: 
 13122: 
 13123: 
 13124: 
 13125: 
 13126: 
 13127: 
 13128: 
 13129: 
 13130: 
 13131: 
 13132: 
 13133: 
 13134: 
 13135: 
 13136: 
 13137: 
 13138: 
 13139: 
 13140: 
 13141: 
 13142: 
 13143: 
 13144: 
 13145: 
 13146: 
 13147: 
 13148: 
 13149: 
 13150: 
 13151: 
 13152: 
 13153: 
 13154: 
 13155: 
 13156: 
 13157: 
 13158: 
 13159: 
 13160: 
 13161: 
 13162: 
 13163: 
 13164: 
 13165: 
 13166: 
 13167: 
 13168: 
 13169: 
 13170: 
 13171: 
 13172: 
 13173: 
 13174: 
 13175: 
 13176: 
 13177: 
 13178: 
 13179: 
 13180: 
 13181: 
 13182: 
 13183: 
 13184: 
 13185: 
 13186: 
 13187: 
 13188: 
 13189: 
 13190: 
 13191: 
 13192: 
 13193: 
 13194: 
 13195: 
 13196: 
 13197: 
 13198: 
 13199: 
 13200: 
 13201: 
 13202: 
 13203: 
 13204: 
 13205: 
 13206: 
 13207: 
 13208: 
 13209: 
 13210:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 13211: $as_echo_n "checking dynamic linker characteristics... " >&6; }
 13212: 
 13213: if test yes = "$GCC"; then
 13214:   case $host_os in
 13215:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
 13216:     *) lt_awk_arg='/^libraries:/' ;;
 13217:   esac
 13218:   case $host_os in
 13219:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
 13220:     *) lt_sed_strip_eq='s|=/|/|g' ;;
 13221:   esac
 13222:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 13223:   case $lt_search_path_spec in
 13224:   *\;*)
 13225:     # if the path contains ";" then we assume it to be the separator
 13226:     # otherwise default to the standard path separator (i.e. ":") - it is
 13227:     # assumed that no part of a normal pathname contains ";" but that should
 13228:     # okay in the real world where ";" in dirpaths is itself problematic.
 13229:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 13230:     ;;
 13231:   *)
 13232:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 13233:     ;;
 13234:   esac
 13235:   # Ok, now we have the path, separated by spaces, we can step through it
 13236:   # and add multilib dir if necessary...
 13237:   lt_tmp_lt_search_path_spec=
 13238:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 13239:   # ...but if some path component already ends with the multilib dir we assume
 13240:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
 13241:   case "$lt_multi_os_dir; $lt_search_path_spec " in
 13242:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
 13243:     lt_multi_os_dir=
 13244:     ;;
 13245:   esac
 13246:   for lt_sys_path in $lt_search_path_spec; do
 13247:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
 13248:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
 13249:     elif test -n "$lt_multi_os_dir"; then
 13250:       test -d "$lt_sys_path" && \
 13251: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 13252:     fi
 13253:   done
 13254:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 13255: BEGIN {RS = " "; FS = "/|\n";} {
 13256:   lt_foo = "";
 13257:   lt_count = 0;
 13258:   for (lt_i = NF; lt_i > 0; lt_i--) {
 13259:     if ($lt_i != "" && $lt_i != ".") {
 13260:       if ($lt_i == "..") {
 13261:         lt_count++;
 13262:       } else {
 13263:         if (lt_count == 0) {
 13264:           lt_foo = "/" $lt_i lt_foo;
 13265:         } else {
 13266:           lt_count--;
 13267:         }
 13268:       }
 13269:     }
 13270:   }
 13271:   if (lt_foo != "") { lt_freq[lt_foo]++; }
 13272:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 13273: }'`
 13274:   # AWK program above erroneously prepends '/' to C:/dos/paths
 13275:   # for these hosts.
 13276:   case $host_os in
 13277:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 13278:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
 13279:   esac
 13280:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 13281: else
 13282:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 13283: fi
 13284: library_names_spec=
 13285: libname_spec='lib$name'
 13286: soname_spec=
 13287: shrext_cmds=.so
 13288: postinstall_cmds=
 13289: postuninstall_cmds=
 13290: finish_cmds=
 13291: finish_eval=
 13292: shlibpath_var=
 13293: shlibpath_overrides_runpath=unknown
 13294: version_type=none
 13295: dynamic_linker="$host_os ld.so"
 13296: sys_lib_dlsearch_path_spec="/lib /usr/lib"
 13297: need_lib_prefix=unknown
 13298: hardcode_into_libs=no
 13299: 
 13300: # when you set need_version to no, make sure it does not cause -set_version
 13301: # flags to be left without arguments
 13302: need_version=unknown
 13303: 
 13304: 
 13305: 
 13306: case $host_os in
 13307: aix3*)
 13308:   version_type=linux # correct to gnu/linux during the next big refactor
 13309:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
 13310:   shlibpath_var=LIBPATH
 13311: 
 13312:   # AIX 3 has no versioning support, so we append a major version to the name.
 13313:   soname_spec='$libname$release$shared_ext$major'
 13314:   ;;
 13315: 
 13316: aix[4-9]*)
 13317:   version_type=linux # correct to gnu/linux during the next big refactor
 13318:   need_lib_prefix=no
 13319:   need_version=no
 13320:   hardcode_into_libs=yes
 13321:   if test ia64 = "$host_cpu"; then
 13322:     # AIX 5 supports IA64
 13323:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
 13324:     shlibpath_var=LD_LIBRARY_PATH
 13325:   else
 13326:     # With GCC up to 2.95.x, collect2 would create an import file
 13327:     # for dependence libraries.  The import file would start with
 13328:     # the line '#! .'.  This would cause the generated library to
 13329:     # depend on '.', always an invalid library.  This was fixed in
 13330:     # development snapshots of GCC prior to 3.0.
 13331:     case $host_os in
 13332:       aix4 | aix4.[01] | aix4.[01].*)
 13333:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 13334: 	   echo ' yes '
 13335: 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
 13336: 	:
 13337:       else
 13338: 	can_build_shared=no
 13339:       fi
 13340:       ;;
 13341:     esac
 13342:     # Using Import Files as archive members, it is possible to support
 13343:     # filename-based versioning of shared library archives on AIX. While
 13344:     # this would work for both with and without runtime linking, it will
 13345:     # prevent static linking of such archives. So we do filename-based
 13346:     # shared library versioning with .so extension only, which is used
 13347:     # when both runtime linking and shared linking is enabled.
 13348:     # Unfortunately, runtime linking may impact performance, so we do
 13349:     # not want this to be the default eventually. Also, we use the
 13350:     # versioned .so libs for executables only if there is the -brtl
 13351:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 13352:     # To allow for filename-based versioning support, we need to create
 13353:     # libNAME.so.V as an archive file, containing:
 13354:     # *) an Import File, referring to the versioned filename of the
 13355:     #    archive as well as the shared archive member, telling the
 13356:     #    bitwidth (32 or 64) of that shared object, and providing the
 13357:     #    list of exported symbols of that shared object, eventually
 13358:     #    decorated with the 'weak' keyword
 13359:     # *) the shared object with the F_LOADONLY flag set, to really avoid
 13360:     #    it being seen by the linker.
 13361:     # At run time we better use the real file rather than another symlink,
 13362:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
 13363: 
 13364:     case $with_aix_soname,$aix_use_runtimelinking in
 13365:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
 13366:     # soname into executable. Probably we can add versioning support to
 13367:     # collect2, so additional links can be useful in future.
 13368:     aix,yes) # traditional libtool
 13369:       dynamic_linker='AIX unversionable lib.so'
 13370:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 13371:       # instead of lib<name>.a to let people know that these are not
 13372:       # typical AIX shared libraries.
 13373:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13374:       ;;
 13375:     aix,no) # traditional AIX only
 13376:       dynamic_linker='AIX lib.a(lib.so.V)'
 13377:       # We preserve .a as extension for shared libraries through AIX4.2
 13378:       # and later when we are not doing run time linking.
 13379:       library_names_spec='$libname$release.a $libname.a'
 13380:       soname_spec='$libname$release$shared_ext$major'
 13381:       ;;
 13382:     svr4,*) # full svr4 only
 13383:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
 13384:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 13385:       # We do not specify a path in Import Files, so LIBPATH fires.
 13386:       shlibpath_overrides_runpath=yes
 13387:       ;;
 13388:     *,yes) # both, prefer svr4
 13389:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
 13390:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 13391:       # unpreferred sharedlib libNAME.a needs extra handling
 13392:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
 13393:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
 13394:       # We do not specify a path in Import Files, so LIBPATH fires.
 13395:       shlibpath_overrides_runpath=yes
 13396:       ;;
 13397:     *,no) # both, prefer aix
 13398:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
 13399:       library_names_spec='$libname$release.a $libname.a'
 13400:       soname_spec='$libname$release$shared_ext$major'
 13401:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 13402:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
 13403:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
 13404:       ;;
 13405:     esac
 13406:     shlibpath_var=LIBPATH
 13407:   fi
 13408:   ;;
 13409: 
 13410: amigaos*)
 13411:   case $host_cpu in
 13412:   powerpc)
 13413:     # Since July 2007 AmigaOS4 officially supports .so libraries.
 13414:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 13415:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13416:     ;;
 13417:   m68k)
 13418:     library_names_spec='$libname.ixlibrary $libname.a'
 13419:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
 13420:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
 13421:     ;;
 13422:   esac
 13423:   ;;
 13424: 
 13425: beos*)
 13426:   library_names_spec='$libname$shared_ext'
 13427:   dynamic_linker="$host_os ld.so"
 13428:   shlibpath_var=LIBRARY_PATH
 13429:   ;;
 13430: 
 13431: bsdi[45]*)
 13432:   version_type=linux # correct to gnu/linux during the next big refactor
 13433:   need_version=no
 13434:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13435:   soname_spec='$libname$release$shared_ext$major'
 13436:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 13437:   shlibpath_var=LD_LIBRARY_PATH
 13438:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 13439:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 13440:   # the default ld.so.conf also contains /usr/contrib/lib and
 13441:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 13442:   # libtool to hard-code these into programs
 13443:   ;;
 13444: 
 13445: cygwin* | mingw* | pw32* | cegcc*)
 13446:   version_type=windows
 13447:   shrext_cmds=.dll
 13448:   need_version=no
 13449:   need_lib_prefix=no
 13450: 
 13451:   case $GCC,$cc_basename in
 13452:   yes,*)
 13453:     # gcc
 13454:     library_names_spec='$libname.dll.a'
 13455:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13456:     postinstall_cmds='base_file=`basename \$file`~
 13457:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13458:       dldir=$destdir/`dirname \$dlpath`~
 13459:       test -d \$dldir || mkdir -p \$dldir~
 13460:       $install_prog $dir/$dlname \$dldir/$dlname~
 13461:       chmod a+x \$dldir/$dlname~
 13462:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13463:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13464:       fi'
 13465:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13466:       dlpath=$dir/\$dldll~
 13467:        $RM \$dlpath'
 13468:     shlibpath_overrides_runpath=yes
 13469: 
 13470:     case $host_os in
 13471:     cygwin*)
 13472:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 13473:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13474: 
 13475:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 13476:       ;;
 13477:     mingw* | cegcc*)
 13478:       # MinGW DLLs use traditional 'lib' prefix
 13479:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13480:       ;;
 13481:     pw32*)
 13482:       # pw32 DLLs use 'pw' prefix rather than 'lib'
 13483:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13484:       ;;
 13485:     esac
 13486:     dynamic_linker='Win32 ld.exe'
 13487:     ;;
 13488: 
 13489:   *,cl*)
 13490:     # Native MSVC
 13491:     libname_spec='$name'
 13492:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13493:     library_names_spec='$libname.dll.lib'
 13494: 
 13495:     case $build_os in
 13496:     mingw*)
 13497:       sys_lib_search_path_spec=
 13498:       lt_save_ifs=$IFS
 13499:       IFS=';'
 13500:       for lt_path in $LIB
 13501:       do
 13502:         IFS=$lt_save_ifs
 13503:         # Let DOS variable expansion print the short 8.3 style file name.
 13504:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 13505:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 13506:       done
 13507:       IFS=$lt_save_ifs
 13508:       # Convert to MSYS style.
 13509:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 13510:       ;;
 13511:     cygwin*)
 13512:       # Convert to unix form, then to dos form, then back to unix form
 13513:       # but this time dos style (no spaces!) so that the unix form looks
 13514:       # like /cygdrive/c/PROGRA~1:/cygdr...
 13515:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 13516:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 13517:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13518:       ;;
 13519:     *)
 13520:       sys_lib_search_path_spec=$LIB
 13521:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 13522:         # It is most probably a Windows format PATH.
 13523:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 13524:       else
 13525:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13526:       fi
 13527:       # FIXME: find the short name or the path components, as spaces are
 13528:       # common. (e.g. "Program Files" -> "PROGRA~1")
 13529:       ;;
 13530:     esac
 13531: 
 13532:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13533:     postinstall_cmds='base_file=`basename \$file`~
 13534:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13535:       dldir=$destdir/`dirname \$dlpath`~
 13536:       test -d \$dldir || mkdir -p \$dldir~
 13537:       $install_prog $dir/$dlname \$dldir/$dlname'
 13538:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13539:       dlpath=$dir/\$dldll~
 13540:        $RM \$dlpath'
 13541:     shlibpath_overrides_runpath=yes
 13542:     dynamic_linker='Win32 link.exe'
 13543:     ;;
 13544: 
 13545:   *)
 13546:     # Assume MSVC wrapper
 13547:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
 13548:     dynamic_linker='Win32 ld.exe'
 13549:     ;;
 13550:   esac
 13551:   # FIXME: first we should search . and the directory the executable is in
 13552:   shlibpath_var=PATH
 13553:   ;;
 13554: 
 13555: darwin* | rhapsody*)
 13556:   dynamic_linker="$host_os dyld"
 13557:   version_type=darwin
 13558:   need_lib_prefix=no
 13559:   need_version=no
 13560:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
 13561:   soname_spec='$libname$release$major$shared_ext'
 13562:   shlibpath_overrides_runpath=yes
 13563:   shlibpath_var=DYLD_LIBRARY_PATH
 13564:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 13565: 
 13566:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 13567:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 13568:   ;;
 13569: 
 13570: dgux*)
 13571:   version_type=linux # correct to gnu/linux during the next big refactor
 13572:   need_lib_prefix=no
 13573:   need_version=no
 13574:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13575:   soname_spec='$libname$release$shared_ext$major'
 13576:   shlibpath_var=LD_LIBRARY_PATH
 13577:   ;;
 13578: 
 13579: freebsd* | dragonfly*)
 13580:   # DragonFly does not have aout.  When/if they implement a new
 13581:   # versioning mechanism, adjust this.
 13582:   if test -x /usr/bin/objformat; then
 13583:     objformat=`/usr/bin/objformat`
 13584:   else
 13585:     case $host_os in
 13586:     freebsd[23].*) objformat=aout ;;
 13587:     *) objformat=elf ;;
 13588:     esac
 13589:   fi
 13590:   version_type=freebsd-$objformat
 13591:   case $version_type in
 13592:     freebsd-elf*)
 13593:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13594:       soname_spec='$libname$release$shared_ext$major'
 13595:       need_version=no
 13596:       need_lib_prefix=no
 13597:       ;;
 13598:     freebsd-*)
 13599:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13600:       need_version=yes
 13601:       ;;
 13602:   esac
 13603:   shlibpath_var=LD_LIBRARY_PATH
 13604:   case $host_os in
 13605:   freebsd2.*)
 13606:     shlibpath_overrides_runpath=yes
 13607:     ;;
 13608:   freebsd3.[01]* | freebsdelf3.[01]*)
 13609:     shlibpath_overrides_runpath=yes
 13610:     hardcode_into_libs=yes
 13611:     ;;
 13612:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 13613:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 13614:     shlibpath_overrides_runpath=no
 13615:     hardcode_into_libs=yes
 13616:     ;;
 13617:   *) # from 4.6 on, and DragonFly
 13618:     shlibpath_overrides_runpath=yes
 13619:     hardcode_into_libs=yes
 13620:     ;;
 13621:   esac
 13622:   ;;
 13623: 
 13624: haiku*)
 13625:   version_type=linux # correct to gnu/linux during the next big refactor
 13626:   need_lib_prefix=no
 13627:   need_version=no
 13628:   dynamic_linker="$host_os runtime_loader"
 13629:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13630:   soname_spec='$libname$release$shared_ext$major'
 13631:   shlibpath_var=LIBRARY_PATH
 13632:   shlibpath_overrides_runpath=no
 13633:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 13634:   hardcode_into_libs=yes
 13635:   ;;
 13636: 
 13637: hpux9* | hpux10* | hpux11*)
 13638:   # Give a soname corresponding to the major version so that dld.sl refuses to
 13639:   # link against other versions.
 13640:   version_type=sunos
 13641:   need_lib_prefix=no
 13642:   need_version=no
 13643:   case $host_cpu in
 13644:   ia64*)
 13645:     shrext_cmds='.so'
 13646:     hardcode_into_libs=yes
 13647:     dynamic_linker="$host_os dld.so"
 13648:     shlibpath_var=LD_LIBRARY_PATH
 13649:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13650:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13651:     soname_spec='$libname$release$shared_ext$major'
 13652:     if test 32 = "$HPUX_IA64_MODE"; then
 13653:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 13654:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
 13655:     else
 13656:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 13657:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
 13658:     fi
 13659:     ;;
 13660:   hppa*64*)
 13661:     shrext_cmds='.sl'
 13662:     hardcode_into_libs=yes
 13663:     dynamic_linker="$host_os dld.sl"
 13664:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 13665:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13666:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13667:     soname_spec='$libname$release$shared_ext$major'
 13668:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 13669:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13670:     ;;
 13671:   *)
 13672:     shrext_cmds='.sl'
 13673:     dynamic_linker="$host_os dld.sl"
 13674:     shlibpath_var=SHLIB_PATH
 13675:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 13676:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13677:     soname_spec='$libname$release$shared_ext$major'
 13678:     ;;
 13679:   esac
 13680:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 13681:   postinstall_cmds='chmod 555 $lib'
 13682:   # or fails outright, so override atomically:
 13683:   install_override_mode=555
 13684:   ;;
 13685: 
 13686: interix[3-9]*)
 13687:   version_type=linux # correct to gnu/linux during the next big refactor
 13688:   need_lib_prefix=no
 13689:   need_version=no
 13690:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13691:   soname_spec='$libname$release$shared_ext$major'
 13692:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 13693:   shlibpath_var=LD_LIBRARY_PATH
 13694:   shlibpath_overrides_runpath=no
 13695:   hardcode_into_libs=yes
 13696:   ;;
 13697: 
 13698: irix5* | irix6* | nonstopux*)
 13699:   case $host_os in
 13700:     nonstopux*) version_type=nonstopux ;;
 13701:     *)
 13702: 	if test yes = "$lt_cv_prog_gnu_ld"; then
 13703: 		version_type=linux # correct to gnu/linux during the next big refactor
 13704: 	else
 13705: 		version_type=irix
 13706: 	fi ;;
 13707:   esac
 13708:   need_lib_prefix=no
 13709:   need_version=no
 13710:   soname_spec='$libname$release$shared_ext$major'
 13711:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
 13712:   case $host_os in
 13713:   irix5* | nonstopux*)
 13714:     libsuff= shlibsuff=
 13715:     ;;
 13716:   *)
 13717:     case $LD in # libtool.m4 will add one of these switches to LD
 13718:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 13719:       libsuff= shlibsuff= libmagic=32-bit;;
 13720:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 13721:       libsuff=32 shlibsuff=N32 libmagic=N32;;
 13722:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 13723:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 13724:     *) libsuff= shlibsuff= libmagic=never-match;;
 13725:     esac
 13726:     ;;
 13727:   esac
 13728:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 13729:   shlibpath_overrides_runpath=no
 13730:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
 13731:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
 13732:   hardcode_into_libs=yes
 13733:   ;;
 13734: 
 13735: # No shared lib support for Linux oldld, aout, or coff.
 13736: linux*oldld* | linux*aout* | linux*coff*)
 13737:   dynamic_linker=no
 13738:   ;;
 13739: 
 13740: linux*android*)
 13741:   version_type=none # Android doesn't support versioned libraries.
 13742:   need_lib_prefix=no
 13743:   need_version=no
 13744:   library_names_spec='$libname$release$shared_ext'
 13745:   soname_spec='$libname$release$shared_ext'
 13746:   finish_cmds=
 13747:   shlibpath_var=LD_LIBRARY_PATH
 13748:   shlibpath_overrides_runpath=yes
 13749: 
 13750:   # This implies no fast_install, which is unacceptable.
 13751:   # Some rework will be needed to allow for fast_install
 13752:   # before this can be enabled.
 13753:   hardcode_into_libs=yes
 13754: 
 13755:   dynamic_linker='Android linker'
 13756:   # Don't embed -rpath directories since the linker doesn't support them.
 13757:   hardcode_libdir_flag_spec='-L$libdir'
 13758:   ;;
 13759: 
 13760: # This must be glibc/ELF.
 13761: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 13762:   version_type=linux # correct to gnu/linux during the next big refactor
 13763:   need_lib_prefix=no
 13764:   need_version=no
 13765:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13766:   soname_spec='$libname$release$shared_ext$major'
 13767:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 13768:   shlibpath_var=LD_LIBRARY_PATH
 13769:   shlibpath_overrides_runpath=no
 13770: 
 13771:   # Some binutils ld are patched to set DT_RUNPATH
 13772:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 13773:   $as_echo_n "(cached) " >&6
 13774: else
 13775:   lt_cv_shlibpath_overrides_runpath=no
 13776:     save_LDFLAGS=$LDFLAGS
 13777:     save_libdir=$libdir
 13778:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 13779: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 13780:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13781: /* end confdefs.h.  */
 13782: 
 13783: int
 13784: main ()
 13785: {
 13786: 
 13787:   ;
 13788:   return 0;
 13789: }
 13790: _ACEOF
 13791: if ac_fn_c_try_link "$LINENO"; then :
 13792:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 13793:   lt_cv_shlibpath_overrides_runpath=yes
 13794: fi
 13795: fi
 13796: rm -f core conftest.err conftest.$ac_objext \
 13797:     conftest$ac_exeext conftest.$ac_ext
 13798:     LDFLAGS=$save_LDFLAGS
 13799:     libdir=$save_libdir
 13800: 
 13801: fi
 13802: 
 13803:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 13804: 
 13805:   # This implies no fast_install, which is unacceptable.
 13806:   # Some rework will be needed to allow for fast_install
 13807:   # before this can be enabled.
 13808:   hardcode_into_libs=yes
 13809: 
 13810:   # Add ABI-specific directories to the system library path.
 13811:   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 13812: 
 13813:   # Ideally, we could use ldconfig to report *all* directores which are
 13814:   # searched for libraries, however this is still not possible.  Aside from not
 13815:   # being certain /sbin/ldconfig is available, command
 13816:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 13817:   # even though it is searched at run-time.  Try to do the best guess by
 13818:   # appending ld.so.conf contents (and includes) to the search path.
 13819:   if test -f /etc/ld.so.conf; then
 13820:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 13821:     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 13822:   fi
 13823: 
 13824:   # We used to test for /lib/ld.so.1 and disable shared libraries on
 13825:   # powerpc, because MkLinux only supported shared libraries with the
 13826:   # GNU dynamic linker.  Since this was broken with cross compilers,
 13827:   # most powerpc-linux boxes support dynamic linking these days and
 13828:   # people can always --disable-shared, the test was removed, and we
 13829:   # assume the GNU/Linux dynamic linker is in use.
 13830:   dynamic_linker='GNU/Linux ld.so'
 13831:   ;;
 13832: 
 13833: netbsd*)
 13834:   version_type=sunos
 13835:   need_lib_prefix=no
 13836:   need_version=no
 13837:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 13838:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13839:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13840:     dynamic_linker='NetBSD (a.out) ld.so'
 13841:   else
 13842:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13843:     soname_spec='$libname$release$shared_ext$major'
 13844:     dynamic_linker='NetBSD ld.elf_so'
 13845:   fi
 13846:   shlibpath_var=LD_LIBRARY_PATH
 13847:   shlibpath_overrides_runpath=yes
 13848:   hardcode_into_libs=yes
 13849:   ;;
 13850: 
 13851: newsos6)
 13852:   version_type=linux # correct to gnu/linux during the next big refactor
 13853:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13854:   shlibpath_var=LD_LIBRARY_PATH
 13855:   shlibpath_overrides_runpath=yes
 13856:   ;;
 13857: 
 13858: *nto* | *qnx*)
 13859:   version_type=qnx
 13860:   need_lib_prefix=no
 13861:   need_version=no
 13862:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13863:   soname_spec='$libname$release$shared_ext$major'
 13864:   shlibpath_var=LD_LIBRARY_PATH
 13865:   shlibpath_overrides_runpath=no
 13866:   hardcode_into_libs=yes
 13867:   dynamic_linker='ldqnx.so'
 13868:   ;;
 13869: 
 13870: openbsd* | bitrig*)
 13871:   version_type=sunos
 13872:   sys_lib_dlsearch_path_spec=/usr/lib
 13873:   need_lib_prefix=no
 13874:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 13875:     need_version=no
 13876:   else
 13877:     need_version=yes
 13878:   fi
 13879:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13880:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13881:   shlibpath_var=LD_LIBRARY_PATH
 13882:   shlibpath_overrides_runpath=yes
 13883:   ;;
 13884: 
 13885: os2*)
 13886:   libname_spec='$name'
 13887:   version_type=windows
 13888:   shrext_cmds=.dll
 13889:   need_version=no
 13890:   need_lib_prefix=no
 13891:   # OS/2 can only load a DLL with a base name of 8 characters or less.
 13892:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 13893:     v=$($ECHO $release$versuffix | tr -d .-);
 13894:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 13895:     $ECHO $n$v`$shared_ext'
 13896:   library_names_spec='${libname}_dll.$libext'
 13897:   dynamic_linker='OS/2 ld.exe'
 13898:   shlibpath_var=BEGINLIBPATH
 13899:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 13900:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13901:   postinstall_cmds='base_file=`basename \$file`~
 13902:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 13903:     dldir=$destdir/`dirname \$dlpath`~
 13904:     test -d \$dldir || mkdir -p \$dldir~
 13905:     $install_prog $dir/$dlname \$dldir/$dlname~
 13906:     chmod a+x \$dldir/$dlname~
 13907:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13908:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13909:     fi'
 13910:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 13911:     dlpath=$dir/\$dldll~
 13912:     $RM \$dlpath'
 13913:   ;;
 13914: 
 13915: osf3* | osf4* | osf5*)
 13916:   version_type=osf
 13917:   need_lib_prefix=no
 13918:   need_version=no
 13919:   soname_spec='$libname$release$shared_ext$major'
 13920:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13921:   shlibpath_var=LD_LIBRARY_PATH
 13922:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 13923:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13924:   ;;
 13925: 
 13926: rdos*)
 13927:   dynamic_linker=no
 13928:   ;;
 13929: 
 13930: solaris*)
 13931:   version_type=linux # correct to gnu/linux during the next big refactor
 13932:   need_lib_prefix=no
 13933:   need_version=no
 13934:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13935:   soname_spec='$libname$release$shared_ext$major'
 13936:   shlibpath_var=LD_LIBRARY_PATH
 13937:   shlibpath_overrides_runpath=yes
 13938:   hardcode_into_libs=yes
 13939:   # ldd complains unless libraries are executable
 13940:   postinstall_cmds='chmod +x $lib'
 13941:   ;;
 13942: 
 13943: sunos4*)
 13944:   version_type=sunos
 13945:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13946:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 13947:   shlibpath_var=LD_LIBRARY_PATH
 13948:   shlibpath_overrides_runpath=yes
 13949:   if test yes = "$with_gnu_ld"; then
 13950:     need_lib_prefix=no
 13951:   fi
 13952:   need_version=yes
 13953:   ;;
 13954: 
 13955: sysv4 | sysv4.3*)
 13956:   version_type=linux # correct to gnu/linux during the next big refactor
 13957:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13958:   soname_spec='$libname$release$shared_ext$major'
 13959:   shlibpath_var=LD_LIBRARY_PATH
 13960:   case $host_vendor in
 13961:     sni)
 13962:       shlibpath_overrides_runpath=no
 13963:       need_lib_prefix=no
 13964:       runpath_var=LD_RUN_PATH
 13965:       ;;
 13966:     siemens)
 13967:       need_lib_prefix=no
 13968:       ;;
 13969:     motorola)
 13970:       need_lib_prefix=no
 13971:       need_version=no
 13972:       shlibpath_overrides_runpath=no
 13973:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 13974:       ;;
 13975:   esac
 13976:   ;;
 13977: 
 13978: sysv4*MP*)
 13979:   if test -d /usr/nec; then
 13980:     version_type=linux # correct to gnu/linux during the next big refactor
 13981:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
 13982:     soname_spec='$libname$shared_ext.$major'
 13983:     shlibpath_var=LD_LIBRARY_PATH
 13984:   fi
 13985:   ;;
 13986: 
 13987: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 13988:   version_type=sco
 13989:   need_lib_prefix=no
 13990:   need_version=no
 13991:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 13992:   soname_spec='$libname$release$shared_ext$major'
 13993:   shlibpath_var=LD_LIBRARY_PATH
 13994:   shlibpath_overrides_runpath=yes
 13995:   hardcode_into_libs=yes
 13996:   if test yes = "$with_gnu_ld"; then
 13997:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 13998:   else
 13999:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 14000:     case $host_os in
 14001:       sco3.2v5*)
 14002:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 14003: 	;;
 14004:     esac
 14005:   fi
 14006:   sys_lib_dlsearch_path_spec='/usr/lib'
 14007:   ;;
 14008: 
 14009: tpf*)
 14010:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 14011:   version_type=linux # correct to gnu/linux during the next big refactor
 14012:   need_lib_prefix=no
 14013:   need_version=no
 14014:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 14015:   shlibpath_var=LD_LIBRARY_PATH
 14016:   shlibpath_overrides_runpath=no
 14017:   hardcode_into_libs=yes
 14018:   ;;
 14019: 
 14020: uts4*)
 14021:   version_type=linux # correct to gnu/linux during the next big refactor
 14022:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 14023:   soname_spec='$libname$release$shared_ext$major'
 14024:   shlibpath_var=LD_LIBRARY_PATH
 14025:   ;;
 14026: 
 14027: *)
 14028:   dynamic_linker=no
 14029:   ;;
 14030: esac
 14031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 14032: $as_echo "$dynamic_linker" >&6; }
 14033: test no = "$dynamic_linker" && can_build_shared=no
 14034: 
 14035: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 14036: if test yes = "$GCC"; then
 14037:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 14038: fi
 14039: 
 14040: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
 14041:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 14042: fi
 14043: 
 14044: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
 14045:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 14046: fi
 14047: 
 14048: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 14049: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 14050: 
 14051: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 14052: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 14053: 
 14054: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 14055: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 14056: 
 14057: 
 14058: 
 14059: 
 14060: 
 14061: 
 14062: 
 14063: 
 14064: 
 14065: 
 14066: 
 14067: 
 14068: 
 14069: 
 14070: 
 14071: 
 14072: 
 14073: 
 14074: 
 14075: 
 14076: 
 14077: 
 14078: 
 14079: 
 14080: 
 14081: 
 14082: 
 14083: 
 14084: 
 14085: 
 14086: 
 14087: 
 14088: 
 14089: 
 14090: 
 14091: 
 14092: 
 14093: 
 14094: 
 14095: 
 14096: 
 14097: 
 14098: 
 14099: 
 14100: 
 14101: 
 14102: 
 14103: 
 14104: 
 14105: 
 14106: 
 14107: 
 14108: 
 14109: 
 14110: 
 14111: 
 14112: 
 14113: 
 14114: 
 14115: 
 14116: 
 14117: 
 14118: 
 14119: 
 14120: 
 14121: 
 14122: 
 14123: 
 14124: 
 14125: 
 14126: 
 14127: 
 14128: 
 14129: 
 14130: 
 14131: 
 14132: 
 14133: 
 14134: 
 14135: 
 14136: 
 14137: 
 14138: 
 14139: 
 14140: 
 14141: 
 14142: 
 14143: 
 14144: 
 14145: 
 14146: 
 14147: 
 14148: 
 14149: 
 14150: 
 14151: 
 14152: 
 14153:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 14154: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 14155: hardcode_action=
 14156: if test -n "$hardcode_libdir_flag_spec" ||
 14157:    test -n "$runpath_var" ||
 14158:    test yes = "$hardcode_automatic"; then
 14159: 
 14160:   # We can hardcode non-existent directories.
 14161:   if test no != "$hardcode_direct" &&
 14162:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 14163:      # have to relink, otherwise we might link with an installed library
 14164:      # when we should be linking with a yet-to-be-installed one
 14165:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
 14166:      test no != "$hardcode_minus_L"; then
 14167:     # Linking always hardcodes the temporary library directory.
 14168:     hardcode_action=relink
 14169:   else
 14170:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 14171:     hardcode_action=immediate
 14172:   fi
 14173: else
 14174:   # We cannot hardcode anything, or else we can only hardcode existing
 14175:   # directories.
 14176:   hardcode_action=unsupported
 14177: fi
 14178: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 14179: $as_echo "$hardcode_action" >&6; }
 14180: 
 14181: if test relink = "$hardcode_action" ||
 14182:    test yes = "$inherit_rpath"; then
 14183:   # Fast installation is not supported
 14184:   enable_fast_install=no
 14185: elif test yes = "$shlibpath_overrides_runpath" ||
 14186:      test no = "$enable_shared"; then
 14187:   # Fast installation is not necessary
 14188:   enable_fast_install=needless
 14189: fi
 14190: 
 14191: 
 14192: 
 14193: 
 14194: 
 14195: 
 14196:   if test yes != "$enable_dlopen"; then
 14197:   enable_dlopen=unknown
 14198:   enable_dlopen_self=unknown
 14199:   enable_dlopen_self_static=unknown
 14200: else
 14201:   lt_cv_dlopen=no
 14202:   lt_cv_dlopen_libs=
 14203: 
 14204:   case $host_os in
 14205:   beos*)
 14206:     lt_cv_dlopen=load_add_on
 14207:     lt_cv_dlopen_libs=
 14208:     lt_cv_dlopen_self=yes
 14209:     ;;
 14210: 
 14211:   mingw* | pw32* | cegcc*)
 14212:     lt_cv_dlopen=LoadLibrary
 14213:     lt_cv_dlopen_libs=
 14214:     ;;
 14215: 
 14216:   cygwin*)
 14217:     lt_cv_dlopen=dlopen
 14218:     lt_cv_dlopen_libs=
 14219:     ;;
 14220: 
 14221:   darwin*)
 14222:     # if libdl is installed we need to link against it
 14223:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 14224: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 14225: if ${ac_cv_lib_dl_dlopen+:} false; then :
 14226:   $as_echo_n "(cached) " >&6
 14227: else
 14228:   ac_check_lib_save_LIBS=$LIBS
 14229: LIBS="-ldl  $LIBS"
 14230: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14231: /* end confdefs.h.  */
 14232: 
 14233: /* Override any GCC internal prototype to avoid an error.
 14234:    Use char because int might match the return type of a GCC
 14235:    builtin and then its argument prototype would still apply.  */
 14236: #ifdef __cplusplus
 14237: extern "C"
 14238: #endif
 14239: char dlopen ();
 14240: int
 14241: main ()
 14242: {
 14243: return dlopen ();
 14244:   ;
 14245:   return 0;
 14246: }
 14247: _ACEOF
 14248: if ac_fn_c_try_link "$LINENO"; then :
 14249:   ac_cv_lib_dl_dlopen=yes
 14250: else
 14251:   ac_cv_lib_dl_dlopen=no
 14252: fi
 14253: rm -f core conftest.err conftest.$ac_objext \
 14254:     conftest$ac_exeext conftest.$ac_ext
 14255: LIBS=$ac_check_lib_save_LIBS
 14256: fi
 14257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 14258: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 14259: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 14260:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
 14261: else
 14262: 
 14263:     lt_cv_dlopen=dyld
 14264:     lt_cv_dlopen_libs=
 14265:     lt_cv_dlopen_self=yes
 14266: 
 14267: fi
 14268: 
 14269:     ;;
 14270: 
 14271:   tpf*)
 14272:     # Don't try to run any link tests for TPF.  We know it's impossible
 14273:     # because TPF is a cross-compiler, and we know how we open DSOs.
 14274:     lt_cv_dlopen=dlopen
 14275:     lt_cv_dlopen_libs=
 14276:     lt_cv_dlopen_self=no
 14277:     ;;
 14278: 
 14279:   *)
 14280:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 14281: if test "x$ac_cv_func_shl_load" = xyes; then :
 14282:   lt_cv_dlopen=shl_load
 14283: else
 14284:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 14285: $as_echo_n "checking for shl_load in -ldld... " >&6; }
 14286: if ${ac_cv_lib_dld_shl_load+:} false; then :
 14287:   $as_echo_n "(cached) " >&6
 14288: else
 14289:   ac_check_lib_save_LIBS=$LIBS
 14290: LIBS="-ldld  $LIBS"
 14291: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14292: /* end confdefs.h.  */
 14293: 
 14294: /* Override any GCC internal prototype to avoid an error.
 14295:    Use char because int might match the return type of a GCC
 14296:    builtin and then its argument prototype would still apply.  */
 14297: #ifdef __cplusplus
 14298: extern "C"
 14299: #endif
 14300: char shl_load ();
 14301: int
 14302: main ()
 14303: {
 14304: return shl_load ();
 14305:   ;
 14306:   return 0;
 14307: }
 14308: _ACEOF
 14309: if ac_fn_c_try_link "$LINENO"; then :
 14310:   ac_cv_lib_dld_shl_load=yes
 14311: else
 14312:   ac_cv_lib_dld_shl_load=no
 14313: fi
 14314: rm -f core conftest.err conftest.$ac_objext \
 14315:     conftest$ac_exeext conftest.$ac_ext
 14316: LIBS=$ac_check_lib_save_LIBS
 14317: fi
 14318: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 14319: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 14320: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 14321:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
 14322: else
 14323:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 14324: if test "x$ac_cv_func_dlopen" = xyes; then :
 14325:   lt_cv_dlopen=dlopen
 14326: else
 14327:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 14328: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 14329: if ${ac_cv_lib_dl_dlopen+:} false; then :
 14330:   $as_echo_n "(cached) " >&6
 14331: else
 14332:   ac_check_lib_save_LIBS=$LIBS
 14333: LIBS="-ldl  $LIBS"
 14334: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14335: /* end confdefs.h.  */
 14336: 
 14337: /* Override any GCC internal prototype to avoid an error.
 14338:    Use char because int might match the return type of a GCC
 14339:    builtin and then its argument prototype would still apply.  */
 14340: #ifdef __cplusplus
 14341: extern "C"
 14342: #endif
 14343: char dlopen ();
 14344: int
 14345: main ()
 14346: {
 14347: return dlopen ();
 14348:   ;
 14349:   return 0;
 14350: }
 14351: _ACEOF
 14352: if ac_fn_c_try_link "$LINENO"; then :
 14353:   ac_cv_lib_dl_dlopen=yes
 14354: else
 14355:   ac_cv_lib_dl_dlopen=no
 14356: fi
 14357: rm -f core conftest.err conftest.$ac_objext \
 14358:     conftest$ac_exeext conftest.$ac_ext
 14359: LIBS=$ac_check_lib_save_LIBS
 14360: fi
 14361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 14362: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 14363: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 14364:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
 14365: else
 14366:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 14367: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 14368: if ${ac_cv_lib_svld_dlopen+:} false; then :
 14369:   $as_echo_n "(cached) " >&6
 14370: else
 14371:   ac_check_lib_save_LIBS=$LIBS
 14372: LIBS="-lsvld  $LIBS"
 14373: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14374: /* end confdefs.h.  */
 14375: 
 14376: /* Override any GCC internal prototype to avoid an error.
 14377:    Use char because int might match the return type of a GCC
 14378:    builtin and then its argument prototype would still apply.  */
 14379: #ifdef __cplusplus
 14380: extern "C"
 14381: #endif
 14382: char dlopen ();
 14383: int
 14384: main ()
 14385: {
 14386: return dlopen ();
 14387:   ;
 14388:   return 0;
 14389: }
 14390: _ACEOF
 14391: if ac_fn_c_try_link "$LINENO"; then :
 14392:   ac_cv_lib_svld_dlopen=yes
 14393: else
 14394:   ac_cv_lib_svld_dlopen=no
 14395: fi
 14396: rm -f core conftest.err conftest.$ac_objext \
 14397:     conftest$ac_exeext conftest.$ac_ext
 14398: LIBS=$ac_check_lib_save_LIBS
 14399: fi
 14400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 14401: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 14402: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 14403:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
 14404: else
 14405:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 14406: $as_echo_n "checking for dld_link in -ldld... " >&6; }
 14407: if ${ac_cv_lib_dld_dld_link+:} false; then :
 14408:   $as_echo_n "(cached) " >&6
 14409: else
 14410:   ac_check_lib_save_LIBS=$LIBS
 14411: LIBS="-ldld  $LIBS"
 14412: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14413: /* end confdefs.h.  */
 14414: 
 14415: /* Override any GCC internal prototype to avoid an error.
 14416:    Use char because int might match the return type of a GCC
 14417:    builtin and then its argument prototype would still apply.  */
 14418: #ifdef __cplusplus
 14419: extern "C"
 14420: #endif
 14421: char dld_link ();
 14422: int
 14423: main ()
 14424: {
 14425: return dld_link ();
 14426:   ;
 14427:   return 0;
 14428: }
 14429: _ACEOF
 14430: if ac_fn_c_try_link "$LINENO"; then :
 14431:   ac_cv_lib_dld_dld_link=yes
 14432: else
 14433:   ac_cv_lib_dld_dld_link=no
 14434: fi
 14435: rm -f core conftest.err conftest.$ac_objext \
 14436:     conftest$ac_exeext conftest.$ac_ext
 14437: LIBS=$ac_check_lib_save_LIBS
 14438: fi
 14439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 14440: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 14441: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 14442:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
 14443: fi
 14444: 
 14445: 
 14446: fi
 14447: 
 14448: 
 14449: fi
 14450: 
 14451: 
 14452: fi
 14453: 
 14454: 
 14455: fi
 14456: 
 14457: 
 14458: fi
 14459: 
 14460:     ;;
 14461:   esac
 14462: 
 14463:   if test no = "$lt_cv_dlopen"; then
 14464:     enable_dlopen=no
 14465:   else
 14466:     enable_dlopen=yes
 14467:   fi
 14468: 
 14469:   case $lt_cv_dlopen in
 14470:   dlopen)
 14471:     save_CPPFLAGS=$CPPFLAGS
 14472:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 14473: 
 14474:     save_LDFLAGS=$LDFLAGS
 14475:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 14476: 
 14477:     save_LIBS=$LIBS
 14478:     LIBS="$lt_cv_dlopen_libs $LIBS"
 14479: 
 14480:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 14481: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 14482: if ${lt_cv_dlopen_self+:} false; then :
 14483:   $as_echo_n "(cached) " >&6
 14484: else
 14485:   	  if test yes = "$cross_compiling"; then :
 14486:   lt_cv_dlopen_self=cross
 14487: else
 14488:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 14489:   lt_status=$lt_dlunknown
 14490:   cat > conftest.$ac_ext <<_LT_EOF
 14491: #line $LINENO "configure"
 14492: #include "confdefs.h"
 14493: 
 14494: #if HAVE_DLFCN_H
 14495: #include <dlfcn.h>
 14496: #endif
 14497: 
 14498: #include <stdio.h>
 14499: 
 14500: #ifdef RTLD_GLOBAL
 14501: #  define LT_DLGLOBAL		RTLD_GLOBAL
 14502: #else
 14503: #  ifdef DL_GLOBAL
 14504: #    define LT_DLGLOBAL		DL_GLOBAL
 14505: #  else
 14506: #    define LT_DLGLOBAL		0
 14507: #  endif
 14508: #endif
 14509: 
 14510: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 14511:    find out it does not work in some platform. */
 14512: #ifndef LT_DLLAZY_OR_NOW
 14513: #  ifdef RTLD_LAZY
 14514: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 14515: #  else
 14516: #    ifdef DL_LAZY
 14517: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 14518: #    else
 14519: #      ifdef RTLD_NOW
 14520: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 14521: #      else
 14522: #        ifdef DL_NOW
 14523: #          define LT_DLLAZY_OR_NOW	DL_NOW
 14524: #        else
 14525: #          define LT_DLLAZY_OR_NOW	0
 14526: #        endif
 14527: #      endif
 14528: #    endif
 14529: #  endif
 14530: #endif
 14531: 
 14532: /* When -fvisibility=hidden is used, assume the code has been annotated
 14533:    correspondingly for the symbols needed.  */
 14534: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 14535: int fnord () __attribute__((visibility("default")));
 14536: #endif
 14537: 
 14538: int fnord () { return 42; }
 14539: int main ()
 14540: {
 14541:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 14542:   int status = $lt_dlunknown;
 14543: 
 14544:   if (self)
 14545:     {
 14546:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 14547:       else
 14548:         {
 14549: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 14550:           else puts (dlerror ());
 14551: 	}
 14552:       /* dlclose (self); */
 14553:     }
 14554:   else
 14555:     puts (dlerror ());
 14556: 
 14557:   return status;
 14558: }
 14559: _LT_EOF
 14560:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 14561:   (eval $ac_link) 2>&5
 14562:   ac_status=$?
 14563:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 14564:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
 14565:     (./conftest; exit; ) >&5 2>/dev/null
 14566:     lt_status=$?
 14567:     case x$lt_status in
 14568:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 14569:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 14570:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 14571:     esac
 14572:   else :
 14573:     # compilation failed
 14574:     lt_cv_dlopen_self=no
 14575:   fi
 14576: fi
 14577: rm -fr conftest*
 14578: 
 14579: 
 14580: fi
 14581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 14582: $as_echo "$lt_cv_dlopen_self" >&6; }
 14583: 
 14584:     if test yes = "$lt_cv_dlopen_self"; then
 14585:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 14586:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 14587: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 14588: if ${lt_cv_dlopen_self_static+:} false; then :
 14589:   $as_echo_n "(cached) " >&6
 14590: else
 14591:   	  if test yes = "$cross_compiling"; then :
 14592:   lt_cv_dlopen_self_static=cross
 14593: else
 14594:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 14595:   lt_status=$lt_dlunknown
 14596:   cat > conftest.$ac_ext <<_LT_EOF
 14597: #line $LINENO "configure"
 14598: #include "confdefs.h"
 14599: 
 14600: #if HAVE_DLFCN_H
 14601: #include <dlfcn.h>
 14602: #endif
 14603: 
 14604: #include <stdio.h>
 14605: 
 14606: #ifdef RTLD_GLOBAL
 14607: #  define LT_DLGLOBAL		RTLD_GLOBAL
 14608: #else
 14609: #  ifdef DL_GLOBAL
 14610: #    define LT_DLGLOBAL		DL_GLOBAL
 14611: #  else
 14612: #    define LT_DLGLOBAL		0
 14613: #  endif
 14614: #endif
 14615: 
 14616: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 14617:    find out it does not work in some platform. */
 14618: #ifndef LT_DLLAZY_OR_NOW
 14619: #  ifdef RTLD_LAZY
 14620: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 14621: #  else
 14622: #    ifdef DL_LAZY
 14623: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 14624: #    else
 14625: #      ifdef RTLD_NOW
 14626: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 14627: #      else
 14628: #        ifdef DL_NOW
 14629: #          define LT_DLLAZY_OR_NOW	DL_NOW
 14630: #        else
 14631: #          define LT_DLLAZY_OR_NOW	0
 14632: #        endif
 14633: #      endif
 14634: #    endif
 14635: #  endif
 14636: #endif
 14637: 
 14638: /* When -fvisibility=hidden is used, assume the code has been annotated
 14639:    correspondingly for the symbols needed.  */
 14640: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 14641: int fnord () __attribute__((visibility("default")));
 14642: #endif
 14643: 
 14644: int fnord () { return 42; }
 14645: int main ()
 14646: {
 14647:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 14648:   int status = $lt_dlunknown;
 14649: 
 14650:   if (self)
 14651:     {
 14652:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 14653:       else
 14654:         {
 14655: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 14656:           else puts (dlerror ());
 14657: 	}
 14658:       /* dlclose (self); */
 14659:     }
 14660:   else
 14661:     puts (dlerror ());
 14662: 
 14663:   return status;
 14664: }
 14665: _LT_EOF
 14666:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 14667:   (eval $ac_link) 2>&5
 14668:   ac_status=$?
 14669:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 14670:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
 14671:     (./conftest; exit; ) >&5 2>/dev/null
 14672:     lt_status=$?
 14673:     case x$lt_status in
 14674:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 14675:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 14676:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 14677:     esac
 14678:   else :
 14679:     # compilation failed
 14680:     lt_cv_dlopen_self_static=no
 14681:   fi
 14682: fi
 14683: rm -fr conftest*
 14684: 
 14685: 
 14686: fi
 14687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 14688: $as_echo "$lt_cv_dlopen_self_static" >&6; }
 14689:     fi
 14690: 
 14691:     CPPFLAGS=$save_CPPFLAGS
 14692:     LDFLAGS=$save_LDFLAGS
 14693:     LIBS=$save_LIBS
 14694:     ;;
 14695:   esac
 14696: 
 14697:   case $lt_cv_dlopen_self in
 14698:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 14699:   *) enable_dlopen_self=unknown ;;
 14700:   esac
 14701: 
 14702:   case $lt_cv_dlopen_self_static in
 14703:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 14704:   *) enable_dlopen_self_static=unknown ;;
 14705:   esac
 14706: fi
 14707: 
 14708: 
 14709: 
 14710: 
 14711: 
 14712: 
 14713: 
 14714: 
 14715: 
 14716: 
 14717: 
 14718: 
 14719: 
 14720: 
 14721: 
 14722: 
 14723: 
 14724: striplib=
 14725: old_striplib=
 14726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 14727: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 14728: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 14729:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 14730:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 14731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 14732: $as_echo "yes" >&6; }
 14733: else
 14734: # FIXME - insert some real tests, host_os isn't really good enough
 14735:   case $host_os in
 14736:   darwin*)
 14737:     if test -n "$STRIP"; then
 14738:       striplib="$STRIP -x"
 14739:       old_striplib="$STRIP -S"
 14740:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 14741: $as_echo "yes" >&6; }
 14742:     else
 14743:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 14744: $as_echo "no" >&6; }
 14745:     fi
 14746:     ;;
 14747:   *)
 14748:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 14749: $as_echo "no" >&6; }
 14750:     ;;
 14751:   esac
 14752: fi
 14753: 
 14754: 
 14755: 
 14756: 
 14757: 
 14758: 
 14759: 
 14760: 
 14761: 
 14762: 
 14763: 
 14764: 
 14765:   # Report what library types will actually be built
 14766:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 14767: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 14768:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 14769: $as_echo "$can_build_shared" >&6; }
 14770: 
 14771:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 14772: $as_echo_n "checking whether to build shared libraries... " >&6; }
 14773:   test no = "$can_build_shared" && enable_shared=no
 14774: 
 14775:   # On AIX, shared libraries and static libraries use the same namespace, and
 14776:   # are all built from PIC.
 14777:   case $host_os in
 14778:   aix3*)
 14779:     test yes = "$enable_shared" && enable_static=no
 14780:     if test -n "$RANLIB"; then
 14781:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
 14782:       postinstall_cmds='$RANLIB $lib'
 14783:     fi
 14784:     ;;
 14785: 
 14786:   aix[4-9]*)
 14787:     if test ia64 != "$host_cpu"; then
 14788:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
 14789:       yes,aix,yes) ;;			# shared object as lib.so file only
 14790:       yes,svr4,*) ;;			# shared object as lib.so archive member only
 14791:       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
 14792:       esac
 14793:     fi
 14794:     ;;
 14795:   esac
 14796:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 14797: $as_echo "$enable_shared" >&6; }
 14798: 
 14799:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 14800: $as_echo_n "checking whether to build static libraries... " >&6; }
 14801:   # Make sure either enable_shared or enable_static is yes.
 14802:   test yes = "$enable_shared" || enable_static=yes
 14803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 14804: $as_echo "$enable_static" >&6; }
 14805: 
 14806: 
 14807: 
 14808: 
 14809: fi
 14810: ac_ext=c
 14811: ac_cpp='$CPP $CPPFLAGS'
 14812: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 14813: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 14814: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 14815: 
 14816: CC=$lt_save_CC
 14817: 
 14818: 
 14819: 
 14820: 
 14821: 
 14822: 
 14823: 
 14824: 
 14825: 
 14826: 
 14827: 
 14828: 
 14829: 
 14830: 
 14831: 
 14832:         ac_config_commands="$ac_config_commands libtool"
 14833: 
 14834: 
 14835: 
 14836: 
 14837: # Only expand once:
 14838: 
 14839: 
 14840: 
 14841: CPPFLAGS = -DLAC_SYSDIR='"$(datadir)"' @CPPFLAGS@
 14842: 
 14843: ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/repl/Makefile examples/Makefile"
 14844: 
 14845: ac_config_headers="$ac_config_headers config.h"
 14846: 
 14847: cat >confcache <<\_ACEOF
 14848: # This file is a shell script that caches the results of configure
 14849: # tests run on this system so they can be shared between configure
 14850: # scripts and configure runs, see configure's option --config-cache.
 14851: # It is not useful on other systems.  If it contains results you don't
 14852: # want to keep, you may remove or edit it.
 14853: #
 14854: # config.status only pays attention to the cache file if you give it
 14855: # the --recheck option to rerun configure.
 14856: #
 14857: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 14858: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 14859: # following values.
 14860: 
 14861: _ACEOF
 14862: 
 14863: # The following way of writing the cache mishandles newlines in values,
 14864: # but we know of no workaround that is simple, portable, and efficient.
 14865: # So, we kill variables containing newlines.
 14866: # Ultrix sh set writes to stderr and can't be redirected directly,
 14867: # and sets the high bit in the cache file unless we assign to the vars.
 14868: (
 14869:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 14870:     eval ac_val=\$$ac_var
 14871:     case $ac_val in #(
 14872:     *${as_nl}*)
 14873:       case $ac_var in #(
 14874:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 14875: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 14876:       esac
 14877:       case $ac_var in #(
 14878:       _ | IFS | as_nl) ;; #(
 14879:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 14880:       *) { eval $ac_var=; unset $ac_var;} ;;
 14881:       esac ;;
 14882:     esac
 14883:   done
 14884: 
 14885:   (set) 2>&1 |
 14886:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 14887:     *${as_nl}ac_space=\ *)
 14888:       # `set' does not quote correctly, so add quotes: double-quote
 14889:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 14890:       sed -n \
 14891: 	"s/'/'\\\\''/g;
 14892: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 14893:       ;; #(
 14894:     *)
 14895:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 14896:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 14897:       ;;
 14898:     esac |
 14899:     sort
 14900: ) |
 14901:   sed '
 14902:      /^ac_cv_env_/b end
 14903:      t clear
 14904:      :clear
 14905:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 14906:      t end
 14907:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 14908:      :end' >>confcache
 14909: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 14910:   if test -w "$cache_file"; then
 14911:     if test "x$cache_file" != "x/dev/null"; then
 14912:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 14913: $as_echo "$as_me: updating cache $cache_file" >&6;}
 14914:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 14915: 	cat confcache >"$cache_file"
 14916:       else
 14917:         case $cache_file in #(
 14918:         */* | ?:*)
 14919: 	  mv -f confcache "$cache_file"$$ &&
 14920: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 14921:         *)
 14922: 	  mv -f confcache "$cache_file" ;;
 14923: 	esac
 14924:       fi
 14925:     fi
 14926:   else
 14927:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 14928: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 14929:   fi
 14930: fi
 14931: rm -f confcache
 14932: 
 14933: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 14934: # Let make expand exec_prefix.
 14935: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 14936: 
 14937: DEFS=-DHAVE_CONFIG_H
 14938: 
 14939: ac_libobjs=
 14940: ac_ltlibobjs=
 14941: U=
 14942: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 14943:   # 1. Remove the extension, and $U if already installed.
 14944:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 14945:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 14946:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 14947:   #    will be set to the directory where LIBOBJS objects are built.
 14948:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 14949:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 14950: done
 14951: LIBOBJS=$ac_libobjs
 14952: 
 14953: LTLIBOBJS=$ac_ltlibobjs
 14954: 
 14955: 
 14956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 14957: $as_echo_n "checking that generated files are newer than configure... " >&6; }
 14958:    if test -n "$am_sleep_pid"; then
 14959:      # Hide warnings about reused PIDs.
 14960:      wait $am_sleep_pid 2>/dev/null
 14961:    fi
 14962:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 14963: $as_echo "done" >&6; }
 14964:  if test -n "$EXEEXT"; then
 14965:   am__EXEEXT_TRUE=
 14966:   am__EXEEXT_FALSE='#'
 14967: else
 14968:   am__EXEEXT_TRUE='#'
 14969:   am__EXEEXT_FALSE=
 14970: fi
 14971: 
 14972: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 14973:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 14974: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 14975: fi
 14976: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 14977:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 14978: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 14979: fi
 14980: 
 14981: : "${CONFIG_STATUS=./config.status}"
 14982: ac_write_fail=0
 14983: ac_clean_files_save=$ac_clean_files
 14984: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 14985: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 14986: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 14987: as_write_fail=0
 14988: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 14989: #! $SHELL
 14990: # Generated by $as_me.
 14991: # Run this file to recreate the current configuration.
 14992: # Compiler output produced by configure, useful for debugging
 14993: # configure, is in config.log if it exists.
 14994: 
 14995: debug=false
 14996: ac_cs_recheck=false
 14997: ac_cs_silent=false
 14998: 
 14999: SHELL=\${CONFIG_SHELL-$SHELL}
 15000: export SHELL
 15001: _ASEOF
 15002: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 15003: ## -------------------- ##
 15004: ## M4sh Initialization. ##
 15005: ## -------------------- ##
 15006: 
 15007: # Be more Bourne compatible
 15008: DUALCASE=1; export DUALCASE # for MKS sh
 15009: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 15010:   emulate sh
 15011:   NULLCMD=:
 15012:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 15013:   # is contrary to our usage.  Disable this feature.
 15014:   alias -g '${1+"$@"}'='"$@"'
 15015:   setopt NO_GLOB_SUBST
 15016: else
 15017:   case `(set -o) 2>/dev/null` in #(
 15018:   *posix*) :
 15019:     set -o posix ;; #(
 15020:   *) :
 15021:      ;;
 15022: esac
 15023: fi
 15024: 
 15025: 
 15026: as_nl='
 15027: '
 15028: export as_nl
 15029: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 15030: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 15031: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 15032: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 15033: # Prefer a ksh shell builtin over an external printf program on Solaris,
 15034: # but without wasting forks for bash or zsh.
 15035: if test -z "$BASH_VERSION$ZSH_VERSION" \
 15036:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 15037:   as_echo='print -r --'
 15038:   as_echo_n='print -rn --'
 15039: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 15040:   as_echo='printf %s\n'
 15041:   as_echo_n='printf %s'
 15042: else
 15043:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 15044:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 15045:     as_echo_n='/usr/ucb/echo -n'
 15046:   else
 15047:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 15048:     as_echo_n_body='eval
 15049:       arg=$1;
 15050:       case $arg in #(
 15051:       *"$as_nl"*)
 15052: 	expr "X$arg" : "X\\(.*\\)$as_nl";
 15053: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 15054:       esac;
 15055:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 15056:     '
 15057:     export as_echo_n_body
 15058:     as_echo_n='sh -c $as_echo_n_body as_echo'
 15059:   fi
 15060:   export as_echo_body
 15061:   as_echo='sh -c $as_echo_body as_echo'
 15062: fi
 15063: 
 15064: # The user is always right.
 15065: if test "${PATH_SEPARATOR+set}" != set; then
 15066:   PATH_SEPARATOR=:
 15067:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 15068:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 15069:       PATH_SEPARATOR=';'
 15070:   }
 15071: fi
 15072: 
 15073: 
 15074: # IFS
 15075: # We need space, tab and new line, in precisely that order.  Quoting is
 15076: # there to prevent editors from complaining about space-tab.
 15077: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 15078: # splitting by setting IFS to empty value.)
 15079: IFS=" ""	$as_nl"
 15080: 
 15081: # Find who we are.  Look in the path if we contain no directory separator.
 15082: as_myself=
 15083: case $0 in #((
 15084:   *[\\/]* ) as_myself=$0 ;;
 15085:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 15086: for as_dir in $PATH
 15087: do
 15088:   IFS=$as_save_IFS
 15089:   test -z "$as_dir" && as_dir=.
 15090:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 15091:   done
 15092: IFS=$as_save_IFS
 15093: 
 15094:      ;;
 15095: esac
 15096: # We did not find ourselves, most probably we were run as `sh COMMAND'
 15097: # in which case we are not to be found in the path.
 15098: if test "x$as_myself" = x; then
 15099:   as_myself=$0
 15100: fi
 15101: if test ! -f "$as_myself"; then
 15102:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 15103:   exit 1
 15104: fi
 15105: 
 15106: # Unset variables that we do not need and which cause bugs (e.g. in
 15107: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 15108: # suppresses any "Segmentation fault" message there.  '((' could
 15109: # trigger a bug in pdksh 5.2.14.
 15110: for as_var in BASH_ENV ENV MAIL MAILPATH
 15111: do eval test x\${$as_var+set} = xset \
 15112:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 15113: done
 15114: PS1='$ '
 15115: PS2='> '
 15116: PS4='+ '
 15117: 
 15118: # NLS nuisances.
 15119: LC_ALL=C
 15120: export LC_ALL
 15121: LANGUAGE=C
 15122: export LANGUAGE
 15123: 
 15124: # CDPATH.
 15125: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 15126: 
 15127: 
 15128: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 15129: # ----------------------------------------
 15130: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 15131: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 15132: # script with STATUS, using 1 if that was 0.
 15133: as_fn_error ()
 15134: {
 15135:   as_status=$1; test $as_status -eq 0 && as_status=1
 15136:   if test "$4"; then
 15137:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 15138:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 15139:   fi
 15140:   $as_echo "$as_me: error: $2" >&2
 15141:   as_fn_exit $as_status
 15142: } # as_fn_error
 15143: 
 15144: 
 15145: # as_fn_set_status STATUS
 15146: # -----------------------
 15147: # Set $? to STATUS, without forking.
 15148: as_fn_set_status ()
 15149: {
 15150:   return $1
 15151: } # as_fn_set_status
 15152: 
 15153: # as_fn_exit STATUS
 15154: # -----------------
 15155: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 15156: as_fn_exit ()
 15157: {
 15158:   set +e
 15159:   as_fn_set_status $1
 15160:   exit $1
 15161: } # as_fn_exit
 15162: 
 15163: # as_fn_unset VAR
 15164: # ---------------
 15165: # Portably unset VAR.
 15166: as_fn_unset ()
 15167: {
 15168:   { eval $1=; unset $1;}
 15169: }
 15170: as_unset=as_fn_unset
 15171: # as_fn_append VAR VALUE
 15172: # ----------------------
 15173: # Append the text in VALUE to the end of the definition contained in VAR. Take
 15174: # advantage of any shell optimizations that allow amortized linear growth over
 15175: # repeated appends, instead of the typical quadratic growth present in naive
 15176: # implementations.
 15177: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 15178:   eval 'as_fn_append ()
 15179:   {
 15180:     eval $1+=\$2
 15181:   }'
 15182: else
 15183:   as_fn_append ()
 15184:   {
 15185:     eval $1=\$$1\$2
 15186:   }
 15187: fi # as_fn_append
 15188: 
 15189: # as_fn_arith ARG...
 15190: # ------------------
 15191: # Perform arithmetic evaluation on the ARGs, and store the result in the
 15192: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 15193: # must be portable across $(()) and expr.
 15194: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 15195:   eval 'as_fn_arith ()
 15196:   {
 15197:     as_val=$(( $* ))
 15198:   }'
 15199: else
 15200:   as_fn_arith ()
 15201:   {
 15202:     as_val=`expr "$@" || test $? -eq 1`
 15203:   }
 15204: fi # as_fn_arith
 15205: 
 15206: 
 15207: if expr a : '\(a\)' >/dev/null 2>&1 &&
 15208:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 15209:   as_expr=expr
 15210: else
 15211:   as_expr=false
 15212: fi
 15213: 
 15214: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 15215:   as_basename=basename
 15216: else
 15217:   as_basename=false
 15218: fi
 15219: 
 15220: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 15221:   as_dirname=dirname
 15222: else
 15223:   as_dirname=false
 15224: fi
 15225: 
 15226: as_me=`$as_basename -- "$0" ||
 15227: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 15228: 	 X"$0" : 'X\(//\)$' \| \
 15229: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 15230: $as_echo X/"$0" |
 15231:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 15232: 	    s//\1/
 15233: 	    q
 15234: 	  }
 15235: 	  /^X\/\(\/\/\)$/{
 15236: 	    s//\1/
 15237: 	    q
 15238: 	  }
 15239: 	  /^X\/\(\/\).*/{
 15240: 	    s//\1/
 15241: 	    q
 15242: 	  }
 15243: 	  s/.*/./; q'`
 15244: 
 15245: # Avoid depending upon Character Ranges.
 15246: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 15247: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 15248: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 15249: as_cr_digits='0123456789'
 15250: as_cr_alnum=$as_cr_Letters$as_cr_digits
 15251: 
 15252: ECHO_C= ECHO_N= ECHO_T=
 15253: case `echo -n x` in #(((((
 15254: -n*)
 15255:   case `echo 'xy\c'` in
 15256:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 15257:   xy)  ECHO_C='\c';;
 15258:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 15259:        ECHO_T='	';;
 15260:   esac;;
 15261: *)
 15262:   ECHO_N='-n';;
 15263: esac
 15264: 
 15265: rm -f conf$$ conf$$.exe conf$$.file
 15266: if test -d conf$$.dir; then
 15267:   rm -f conf$$.dir/conf$$.file
 15268: else
 15269:   rm -f conf$$.dir
 15270:   mkdir conf$$.dir 2>/dev/null
 15271: fi
 15272: if (echo >conf$$.file) 2>/dev/null; then
 15273:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 15274:     as_ln_s='ln -s'
 15275:     # ... but there are two gotchas:
 15276:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 15277:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 15278:     # In both cases, we have to default to `cp -pR'.
 15279:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 15280:       as_ln_s='cp -pR'
 15281:   elif ln conf$$.file conf$$ 2>/dev/null; then
 15282:     as_ln_s=ln
 15283:   else
 15284:     as_ln_s='cp -pR'
 15285:   fi
 15286: else
 15287:   as_ln_s='cp -pR'
 15288: fi
 15289: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 15290: rmdir conf$$.dir 2>/dev/null
 15291: 
 15292: 
 15293: # as_fn_mkdir_p
 15294: # -------------
 15295: # Create "$as_dir" as a directory, including parents if necessary.
 15296: as_fn_mkdir_p ()
 15297: {
 15298: 
 15299:   case $as_dir in #(
 15300:   -*) as_dir=./$as_dir;;
 15301:   esac
 15302:   test -d "$as_dir" || eval $as_mkdir_p || {
 15303:     as_dirs=
 15304:     while :; do
 15305:       case $as_dir in #(
 15306:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 15307:       *) as_qdir=$as_dir;;
 15308:       esac
 15309:       as_dirs="'$as_qdir' $as_dirs"
 15310:       as_dir=`$as_dirname -- "$as_dir" ||
 15311: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15312: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 15313: 	 X"$as_dir" : 'X\(//\)$' \| \
 15314: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 15315: $as_echo X"$as_dir" |
 15316:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15317: 	    s//\1/
 15318: 	    q
 15319: 	  }
 15320: 	  /^X\(\/\/\)[^/].*/{
 15321: 	    s//\1/
 15322: 	    q
 15323: 	  }
 15324: 	  /^X\(\/\/\)$/{
 15325: 	    s//\1/
 15326: 	    q
 15327: 	  }
 15328: 	  /^X\(\/\).*/{
 15329: 	    s//\1/
 15330: 	    q
 15331: 	  }
 15332: 	  s/.*/./; q'`
 15333:       test -d "$as_dir" && break
 15334:     done
 15335:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 15336:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 15337: 
 15338: 
 15339: } # as_fn_mkdir_p
 15340: if mkdir -p . 2>/dev/null; then
 15341:   as_mkdir_p='mkdir -p "$as_dir"'
 15342: else
 15343:   test -d ./-p && rmdir ./-p
 15344:   as_mkdir_p=false
 15345: fi
 15346: 
 15347: 
 15348: # as_fn_executable_p FILE
 15349: # -----------------------
 15350: # Test if FILE is an executable regular file.
 15351: as_fn_executable_p ()
 15352: {
 15353:   test -f "$1" && test -x "$1"
 15354: } # as_fn_executable_p
 15355: as_test_x='test -x'
 15356: as_executable_p=as_fn_executable_p
 15357: 
 15358: # Sed expression to map a string onto a valid CPP name.
 15359: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 15360: 
 15361: # Sed expression to map a string onto a valid variable name.
 15362: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 15363: 
 15364: 
 15365: exec 6>&1
 15366: ## ----------------------------------- ##
 15367: ## Main body of $CONFIG_STATUS script. ##
 15368: ## ----------------------------------- ##
 15369: _ASEOF
 15370: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 15371: 
 15372: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15373: # Save the log message, to keep $0 and so on meaningful, and to
 15374: # report actual input values of CONFIG_FILES etc. instead of their
 15375: # values after options handling.
 15376: ac_log="
 15377: This file was extended by lac $as_me 0.1.0, which was
 15378: generated by GNU Autoconf 2.69.  Invocation command line was
 15379: 
 15380:   CONFIG_FILES    = $CONFIG_FILES
 15381:   CONFIG_HEADERS  = $CONFIG_HEADERS
 15382:   CONFIG_LINKS    = $CONFIG_LINKS
 15383:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 15384:   $ $0 $@
 15385: 
 15386: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 15387: "
 15388: 
 15389: _ACEOF
 15390: 
 15391: case $ac_config_files in *"
 15392: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 15393: esac
 15394: 
 15395: case $ac_config_headers in *"
 15396: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 15397: esac
 15398: 
 15399: 
 15400: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15401: # Files that config.status was made for.
 15402: config_files="$ac_config_files"
 15403: config_headers="$ac_config_headers"
 15404: config_commands="$ac_config_commands"
 15405: 
 15406: _ACEOF
 15407: 
 15408: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15409: ac_cs_usage="\
 15410: \`$as_me' instantiates files and other configuration actions
 15411: from templates according to the current configuration.  Unless the files
 15412: and actions are specified as TAGs, all are instantiated by default.
 15413: 
 15414: Usage: $0 [OPTION]... [TAG]...
 15415: 
 15416:   -h, --help       print this help, then exit
 15417:   -V, --version    print version number and configuration settings, then exit
 15418:       --config     print configuration, then exit
 15419:   -q, --quiet, --silent
 15420:                    do not print progress messages
 15421:   -d, --debug      don't remove temporary files
 15422:       --recheck    update $as_me by reconfiguring in the same conditions
 15423:       --file=FILE[:TEMPLATE]
 15424:                    instantiate the configuration file FILE
 15425:       --header=FILE[:TEMPLATE]
 15426:                    instantiate the configuration header FILE
 15427: 
 15428: Configuration files:
 15429: $config_files
 15430: 
 15431: Configuration headers:
 15432: $config_headers
 15433: 
 15434: Configuration commands:
 15435: $config_commands
 15436: 
 15437: Report bugs to <lac@tlbflush.org>."
 15438: 
 15439: _ACEOF
 15440: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15441: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 15442: ac_cs_version="\\
 15443: lac config.status 0.1.0
 15444: configured by $0, generated by GNU Autoconf 2.69,
 15445:   with options \\"\$ac_cs_config\\"
 15446: 
 15447: Copyright (C) 2012 Free Software Foundation, Inc.
 15448: This config.status script is free software; the Free Software Foundation
 15449: gives unlimited permission to copy, distribute and modify it."
 15450: 
 15451: ac_pwd='$ac_pwd'
 15452: srcdir='$srcdir'
 15453: INSTALL='$INSTALL'
 15454: MKDIR_P='$MKDIR_P'
 15455: AWK='$AWK'
 15456: test -n "\$AWK" || AWK=awk
 15457: _ACEOF
 15458: 
 15459: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15460: # The default lists apply if the user does not specify any file.
 15461: ac_need_defaults=:
 15462: while test $# != 0
 15463: do
 15464:   case $1 in
 15465:   --*=?*)
 15466:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 15467:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 15468:     ac_shift=:
 15469:     ;;
 15470:   --*=)
 15471:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 15472:     ac_optarg=
 15473:     ac_shift=:
 15474:     ;;
 15475:   *)
 15476:     ac_option=$1
 15477:     ac_optarg=$2
 15478:     ac_shift=shift
 15479:     ;;
 15480:   esac
 15481: 
 15482:   case $ac_option in
 15483:   # Handling of the options.
 15484:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 15485:     ac_cs_recheck=: ;;
 15486:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 15487:     $as_echo "$ac_cs_version"; exit ;;
 15488:   --config | --confi | --conf | --con | --co | --c )
 15489:     $as_echo "$ac_cs_config"; exit ;;
 15490:   --debug | --debu | --deb | --de | --d | -d )
 15491:     debug=: ;;
 15492:   --file | --fil | --fi | --f )
 15493:     $ac_shift
 15494:     case $ac_optarg in
 15495:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 15496:     '') as_fn_error $? "missing file argument" ;;
 15497:     esac
 15498:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 15499:     ac_need_defaults=false;;
 15500:   --header | --heade | --head | --hea )
 15501:     $ac_shift
 15502:     case $ac_optarg in
 15503:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 15504:     esac
 15505:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 15506:     ac_need_defaults=false;;
 15507:   --he | --h)
 15508:     # Conflict between --help and --header
 15509:     as_fn_error $? "ambiguous option: \`$1'
 15510: Try \`$0 --help' for more information.";;
 15511:   --help | --hel | -h )
 15512:     $as_echo "$ac_cs_usage"; exit ;;
 15513:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 15514:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 15515:     ac_cs_silent=: ;;
 15516: 
 15517:   # This is an error.
 15518:   -*) as_fn_error $? "unrecognized option: \`$1'
 15519: Try \`$0 --help' for more information." ;;
 15520: 
 15521:   *) as_fn_append ac_config_targets " $1"
 15522:      ac_need_defaults=false ;;
 15523: 
 15524:   esac
 15525:   shift
 15526: done
 15527: 
 15528: ac_configure_extra_args=
 15529: 
 15530: if $ac_cs_silent; then
 15531:   exec 6>/dev/null
 15532:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 15533: fi
 15534: 
 15535: _ACEOF
 15536: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15537: if \$ac_cs_recheck; then
 15538:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 15539:   shift
 15540:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 15541:   CONFIG_SHELL='$SHELL'
 15542:   export CONFIG_SHELL
 15543:   exec "\$@"
 15544: fi
 15545: 
 15546: _ACEOF
 15547: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15548: exec 5>>config.log
 15549: {
 15550:   echo
 15551:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 15552: ## Running $as_me. ##
 15553: _ASBOX
 15554:   $as_echo "$ac_log"
 15555: } >&5
 15556: 
 15557: _ACEOF
 15558: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15559: #
 15560: # INIT-COMMANDS
 15561: #
 15562: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 15563: 
 15564: 
 15565: # The HP-UX ksh and POSIX shell print the target directory to stdout
 15566: # if CDPATH is set.
 15567: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 15568: 
 15569: sed_quote_subst='$sed_quote_subst'
 15570: double_quote_subst='$double_quote_subst'
 15571: delay_variable_subst='$delay_variable_subst'
 15572: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 15573: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 15574: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 15575: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 15576: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 15577: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 15578: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
 15579: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 15580: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 15581: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 15582: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 15583: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 15584: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 15585: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 15586: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 15587: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 15588: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 15589: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 15590: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 15591: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 15592: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 15593: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 15594: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 15595: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 15596: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 15597: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 15598: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 15599: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 15600: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 15601: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 15602: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 15603: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 15604: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 15605: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 15606: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 15607: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 15608: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 15609: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 15610: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 15611: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 15612: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 15613: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 15614: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 15615: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 15616: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 15617: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 15618: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 15619: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 15620: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 15621: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 15622: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 15623: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 15624: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 15625: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 15626: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 15627: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 15628: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 15629: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 15630: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 15631: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
 15632: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 15633: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 15634: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
 15635: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 15636: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 15637: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 15638: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 15639: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 15640: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 15641: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 15642: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 15643: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 15644: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 15645: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 15646: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 15647: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 15648: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 15649: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 15650: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 15651: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 15652: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 15653: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 15654: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 15655: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 15656: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 15657: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 15658: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 15659: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 15660: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 15661: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 15662: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 15663: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 15664: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 15665: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 15666: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 15667: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 15668: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 15669: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 15670: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 15671: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 15672: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 15673: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 15674: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 15675: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 15676: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 15677: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 15678: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 15679: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 15680: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 15681: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 15682: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 15683: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 15684: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 15685: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 15686: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 15687: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 15688: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 15689: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 15690: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 15691: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 15692: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 15693: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 15694: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 15695: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 15696: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 15697: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 15698: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 15699: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
 15700: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
 15701: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 15702: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 15703: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 15704: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 15705: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 15706: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 15707: 
 15708: LTCC='$LTCC'
 15709: LTCFLAGS='$LTCFLAGS'
 15710: compiler='$compiler_DEFAULT'
 15711: 
 15712: # A function that is used when there is no print builtin or printf.
 15713: func_fallback_echo ()
 15714: {
 15715:   eval 'cat <<_LTECHO_EOF
 15716: \$1
 15717: _LTECHO_EOF'
 15718: }
 15719: 
 15720: # Quote evaled strings.
 15721: for var in SHELL \
 15722: ECHO \
 15723: PATH_SEPARATOR \
 15724: SED \
 15725: GREP \
 15726: EGREP \
 15727: FGREP \
 15728: LD \
 15729: NM \
 15730: LN_S \
 15731: lt_SP2NL \
 15732: lt_NL2SP \
 15733: reload_flag \
 15734: OBJDUMP \
 15735: deplibs_check_method \
 15736: file_magic_cmd \
 15737: file_magic_glob \
 15738: want_nocaseglob \
 15739: DLLTOOL \
 15740: sharedlib_from_linklib_cmd \
 15741: AR \
 15742: AR_FLAGS \
 15743: archiver_list_spec \
 15744: STRIP \
 15745: RANLIB \
 15746: CC \
 15747: CFLAGS \
 15748: compiler \
 15749: lt_cv_sys_global_symbol_pipe \
 15750: lt_cv_sys_global_symbol_to_cdecl \
 15751: lt_cv_sys_global_symbol_to_import \
 15752: lt_cv_sys_global_symbol_to_c_name_address \
 15753: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 15754: lt_cv_nm_interface \
 15755: nm_file_list_spec \
 15756: lt_cv_truncate_bin \
 15757: lt_prog_compiler_no_builtin_flag \
 15758: lt_prog_compiler_pic \
 15759: lt_prog_compiler_wl \
 15760: lt_prog_compiler_static \
 15761: lt_cv_prog_compiler_c_o \
 15762: need_locks \
 15763: MANIFEST_TOOL \
 15764: DSYMUTIL \
 15765: NMEDIT \
 15766: LIPO \
 15767: OTOOL \
 15768: OTOOL64 \
 15769: shrext_cmds \
 15770: export_dynamic_flag_spec \
 15771: whole_archive_flag_spec \
 15772: compiler_needs_object \
 15773: with_gnu_ld \
 15774: allow_undefined_flag \
 15775: no_undefined_flag \
 15776: hardcode_libdir_flag_spec \
 15777: hardcode_libdir_separator \
 15778: exclude_expsyms \
 15779: include_expsyms \
 15780: file_list_spec \
 15781: variables_saved_for_relink \
 15782: libname_spec \
 15783: library_names_spec \
 15784: soname_spec \
 15785: install_override_mode \
 15786: finish_eval \
 15787: old_striplib \
 15788: striplib; do
 15789:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 15790:     *[\\\\\\\`\\"\\\$]*)
 15791:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
 15792:       ;;
 15793:     *)
 15794:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 15795:       ;;
 15796:     esac
 15797: done
 15798: 
 15799: # Double-quote double-evaled strings.
 15800: for var in reload_cmds \
 15801: old_postinstall_cmds \
 15802: old_postuninstall_cmds \
 15803: old_archive_cmds \
 15804: extract_expsyms_cmds \
 15805: old_archive_from_new_cmds \
 15806: old_archive_from_expsyms_cmds \
 15807: archive_cmds \
 15808: archive_expsym_cmds \
 15809: module_cmds \
 15810: module_expsym_cmds \
 15811: export_symbols_cmds \
 15812: prelink_cmds \
 15813: postlink_cmds \
 15814: postinstall_cmds \
 15815: postuninstall_cmds \
 15816: finish_cmds \
 15817: sys_lib_search_path_spec \
 15818: configure_time_dlsearch_path \
 15819: configure_time_lt_sys_library_path; do
 15820:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 15821:     *[\\\\\\\`\\"\\\$]*)
 15822:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
 15823:       ;;
 15824:     *)
 15825:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 15826:       ;;
 15827:     esac
 15828: done
 15829: 
 15830: ac_aux_dir='$ac_aux_dir'
 15831: 
 15832: # See if we are running on zsh, and set the options that allow our
 15833: # commands through without removal of \ escapes INIT.
 15834: if test -n "\${ZSH_VERSION+set}"; then
 15835:    setopt NO_GLOB_SUBST
 15836: fi
 15837: 
 15838: 
 15839:     PACKAGE='$PACKAGE'
 15840:     VERSION='$VERSION'
 15841:     RM='$RM'
 15842:     ofile='$ofile'
 15843: 
 15844: 
 15845: 
 15846: 
 15847: _ACEOF
 15848: 
 15849: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15850: 
 15851: # Handling of arguments.
 15852: for ac_config_target in $ac_config_targets
 15853: do
 15854:   case $ac_config_target in
 15855:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 15856:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 15857:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 15858:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 15859:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
 15860:     "src/repl/Makefile") CONFIG_FILES="$CONFIG_FILES src/repl/Makefile" ;;
 15861:     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
 15862:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 15863: 
 15864:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 15865:   esac
 15866: done
 15867: 
 15868: 
 15869: # If the user did not use the arguments to specify the items to instantiate,
 15870: # then the envvar interface is used.  Set only those that are not.
 15871: # We use the long form for the default assignment because of an extremely
 15872: # bizarre bug on SunOS 4.1.3.
 15873: if $ac_need_defaults; then
 15874:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 15875:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 15876:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 15877: fi
 15878: 
 15879: # Have a temporary directory for convenience.  Make it in the build tree
 15880: # simply because there is no reason against having it here, and in addition,
 15881: # creating and moving files from /tmp can sometimes cause problems.
 15882: # Hook for its removal unless debugging.
 15883: # Note that there is a small window in which the directory will not be cleaned:
 15884: # after its creation but before its name has been assigned to `$tmp'.
 15885: $debug ||
 15886: {
 15887:   tmp= ac_tmp=
 15888:   trap 'exit_status=$?
 15889:   : "${ac_tmp:=$tmp}"
 15890:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 15891: ' 0
 15892:   trap 'as_fn_exit 1' 1 2 13 15
 15893: }
 15894: # Create a (secure) tmp directory for tmp files.
 15895: 
 15896: {
 15897:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 15898:   test -d "$tmp"
 15899: }  ||
 15900: {
 15901:   tmp=./conf$$-$RANDOM
 15902:   (umask 077 && mkdir "$tmp")
 15903: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 15904: ac_tmp=$tmp
 15905: 
 15906: # Set up the scripts for CONFIG_FILES section.
 15907: # No need to generate them if there are no CONFIG_FILES.
 15908: # This happens for instance with `./config.status config.h'.
 15909: if test -n "$CONFIG_FILES"; then
 15910: 
 15911: 
 15912: ac_cr=`echo X | tr X '\015'`
 15913: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 15914: # But we know of no other shell where ac_cr would be empty at this
 15915: # point, so we can use a bashism as a fallback.
 15916: if test "x$ac_cr" = x; then
 15917:   eval ac_cr=\$\'\\r\'
 15918: fi
 15919: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 15920: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 15921:   ac_cs_awk_cr='\\r'
 15922: else
 15923:   ac_cs_awk_cr=$ac_cr
 15924: fi
 15925: 
 15926: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 15927: _ACEOF
 15928: 
 15929: 
 15930: {
 15931:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 15932:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 15933:   echo "_ACEOF"
 15934: } >conf$$subs.sh ||
 15935:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15936: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 15937: ac_delim='%!_!# '
 15938: for ac_last_try in false false false false false :; do
 15939:   . ./conf$$subs.sh ||
 15940:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15941: 
 15942:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 15943:   if test $ac_delim_n = $ac_delim_num; then
 15944:     break
 15945:   elif $ac_last_try; then
 15946:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15947:   else
 15948:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 15949:   fi
 15950: done
 15951: rm -f conf$$subs.sh
 15952: 
 15953: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15954: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 15955: _ACEOF
 15956: sed -n '
 15957: h
 15958: s/^/S["/; s/!.*/"]=/
 15959: p
 15960: g
 15961: s/^[^!]*!//
 15962: :repl
 15963: t repl
 15964: s/'"$ac_delim"'$//
 15965: t delim
 15966: :nl
 15967: h
 15968: s/\(.\{148\}\)..*/\1/
 15969: t more1
 15970: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 15971: p
 15972: n
 15973: b repl
 15974: :more1
 15975: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 15976: p
 15977: g
 15978: s/.\{148\}//
 15979: t nl
 15980: :delim
 15981: h
 15982: s/\(.\{148\}\)..*/\1/
 15983: t more2
 15984: s/["\\]/\\&/g; s/^/"/; s/$/"/
 15985: p
 15986: b
 15987: :more2
 15988: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 15989: p
 15990: g
 15991: s/.\{148\}//
 15992: t delim
 15993: ' <conf$$subs.awk | sed '
 15994: /^[^""]/{
 15995:   N
 15996:   s/\n//
 15997: }
 15998: ' >>$CONFIG_STATUS || ac_write_fail=1
 15999: rm -f conf$$subs.awk
 16000: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16001: _ACAWK
 16002: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 16003:   for (key in S) S_is_set[key] = 1
 16004:   FS = ""
 16005: 
 16006: }
 16007: {
 16008:   line = $ 0
 16009:   nfields = split(line, field, "@")
 16010:   substed = 0
 16011:   len = length(field[1])
 16012:   for (i = 2; i < nfields; i++) {
 16013:     key = field[i]
 16014:     keylen = length(key)
 16015:     if (S_is_set[key]) {
 16016:       value = S[key]
 16017:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 16018:       len += length(value) + length(field[++i])
 16019:       substed = 1
 16020:     } else
 16021:       len += 1 + keylen
 16022:   }
 16023: 
 16024:   print line
 16025: }
 16026: 
 16027: _ACAWK
 16028: _ACEOF
 16029: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16030: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 16031:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 16032: else
 16033:   cat
 16034: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 16035:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 16036: _ACEOF
 16037: 
 16038: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 16039: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 16040: # trailing colons and then remove the whole line if VPATH becomes empty
 16041: # (actually we leave an empty line to preserve line numbers).
 16042: if test "x$srcdir" = x.; then
 16043:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 16044: h
 16045: s///
 16046: s/^/:/
 16047: s/[	 ]*$/:/
 16048: s/:\$(srcdir):/:/g
 16049: s/:\${srcdir}:/:/g
 16050: s/:@srcdir@:/:/g
 16051: s/^:*//
 16052: s/:*$//
 16053: x
 16054: s/\(=[	 ]*\).*/\1/
 16055: G
 16056: s/\n//
 16057: s/^[^=]*=[	 ]*$//
 16058: }'
 16059: fi
 16060: 
 16061: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16062: fi # test -n "$CONFIG_FILES"
 16063: 
 16064: # Set up the scripts for CONFIG_HEADERS section.
 16065: # No need to generate them if there are no CONFIG_HEADERS.
 16066: # This happens for instance with `./config.status Makefile'.
 16067: if test -n "$CONFIG_HEADERS"; then
 16068: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 16069: BEGIN {
 16070: _ACEOF
 16071: 
 16072: # Transform confdefs.h into an awk script `defines.awk', embedded as
 16073: # here-document in config.status, that substitutes the proper values into
 16074: # config.h.in to produce config.h.
 16075: 
 16076: # Create a delimiter string that does not exist in confdefs.h, to ease
 16077: # handling of long lines.
 16078: ac_delim='%!_!# '
 16079: for ac_last_try in false false :; do
 16080:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 16081:   if test -z "$ac_tt"; then
 16082:     break
 16083:   elif $ac_last_try; then
 16084:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 16085:   else
 16086:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16087:   fi
 16088: done
 16089: 
 16090: # For the awk script, D is an array of macro values keyed by name,
 16091: # likewise P contains macro parameters if any.  Preserve backslash
 16092: # newline sequences.
 16093: 
 16094: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 16095: sed -n '
 16096: s/.\{148\}/&'"$ac_delim"'/g
 16097: t rset
 16098: :rset
 16099: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 16100: t def
 16101: d
 16102: :def
 16103: s/\\$//
 16104: t bsnl
 16105: s/["\\]/\\&/g
 16106: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 16107: D["\1"]=" \3"/p
 16108: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 16109: d
 16110: :bsnl
 16111: s/["\\]/\\&/g
 16112: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 16113: D["\1"]=" \3\\\\\\n"\\/p
 16114: t cont
 16115: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 16116: t cont
 16117: d
 16118: :cont
 16119: n
 16120: s/.\{148\}/&'"$ac_delim"'/g
 16121: t clear
 16122: :clear
 16123: s/\\$//
 16124: t bsnlc
 16125: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 16126: d
 16127: :bsnlc
 16128: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 16129: b cont
 16130: ' <confdefs.h | sed '
 16131: s/'"$ac_delim"'/"\\\
 16132: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 16133: 
 16134: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16135:   for (key in D) D_is_set[key] = 1
 16136:   FS = ""
 16137: }
 16138: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 16139:   line = \$ 0
 16140:   split(line, arg, " ")
 16141:   if (arg[1] == "#") {
 16142:     defundef = arg[2]
 16143:     mac1 = arg[3]
 16144:   } else {
 16145:     defundef = substr(arg[1], 2)
 16146:     mac1 = arg[2]
 16147:   }
 16148:   split(mac1, mac2, "(") #)
 16149:   macro = mac2[1]
 16150:   prefix = substr(line, 1, index(line, defundef) - 1)
 16151:   if (D_is_set[macro]) {
 16152:     # Preserve the white space surrounding the "#".
 16153:     print prefix "define", macro P[macro] D[macro]
 16154:     next
 16155:   } else {
 16156:     # Replace #undef with comments.  This is necessary, for example,
 16157:     # in the case of _POSIX_SOURCE, which is predefined and required
 16158:     # on some systems where configure will not decide to define it.
 16159:     if (defundef == "undef") {
 16160:       print "/*", prefix defundef, macro, "*/"
 16161:       next
 16162:     }
 16163:   }
 16164: }
 16165: { print }
 16166: _ACAWK
 16167: _ACEOF
 16168: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16169:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 16170: fi # test -n "$CONFIG_HEADERS"
 16171: 
 16172: 
 16173: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 16174: shift
 16175: for ac_tag
 16176: do
 16177:   case $ac_tag in
 16178:   :[FHLC]) ac_mode=$ac_tag; continue;;
 16179:   esac
 16180:   case $ac_mode$ac_tag in
 16181:   :[FHL]*:*);;
 16182:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 16183:   :[FH]-) ac_tag=-:-;;
 16184:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 16185:   esac
 16186:   ac_save_IFS=$IFS
 16187:   IFS=:
 16188:   set x $ac_tag
 16189:   IFS=$ac_save_IFS
 16190:   shift
 16191:   ac_file=$1
 16192:   shift
 16193: 
 16194:   case $ac_mode in
 16195:   :L) ac_source=$1;;
 16196:   :[FH])
 16197:     ac_file_inputs=
 16198:     for ac_f
 16199:     do
 16200:       case $ac_f in
 16201:       -) ac_f="$ac_tmp/stdin";;
 16202:       *) # Look for the file first in the build tree, then in the source tree
 16203: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 16204: 	 # because $ac_f cannot contain `:'.
 16205: 	 test -f "$ac_f" ||
 16206: 	   case $ac_f in
 16207: 	   [\\/$]*) false;;
 16208: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 16209: 	   esac ||
 16210: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 16211:       esac
 16212:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 16213:       as_fn_append ac_file_inputs " '$ac_f'"
 16214:     done
 16215: 
 16216:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 16217:     # use $as_me), people would be surprised to read:
 16218:     #    /* config.h.  Generated by config.status.  */
 16219:     configure_input='Generated from '`
 16220: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 16221: 	`' by configure.'
 16222:     if test x"$ac_file" != x-; then
 16223:       configure_input="$ac_file.  $configure_input"
 16224:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 16225: $as_echo "$as_me: creating $ac_file" >&6;}
 16226:     fi
 16227:     # Neutralize special characters interpreted by sed in replacement strings.
 16228:     case $configure_input in #(
 16229:     *\&* | *\|* | *\\* )
 16230:        ac_sed_conf_input=`$as_echo "$configure_input" |
 16231:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 16232:     *) ac_sed_conf_input=$configure_input;;
 16233:     esac
 16234: 
 16235:     case $ac_tag in
 16236:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 16237:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 16238:     esac
 16239:     ;;
 16240:   esac
 16241: 
 16242:   ac_dir=`$as_dirname -- "$ac_file" ||
 16243: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16244: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 16245: 	 X"$ac_file" : 'X\(//\)$' \| \
 16246: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 16247: $as_echo X"$ac_file" |
 16248:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16249: 	    s//\1/
 16250: 	    q
 16251: 	  }
 16252: 	  /^X\(\/\/\)[^/].*/{
 16253: 	    s//\1/
 16254: 	    q
 16255: 	  }
 16256: 	  /^X\(\/\/\)$/{
 16257: 	    s//\1/
 16258: 	    q
 16259: 	  }
 16260: 	  /^X\(\/\).*/{
 16261: 	    s//\1/
 16262: 	    q
 16263: 	  }
 16264: 	  s/.*/./; q'`
 16265:   as_dir="$ac_dir"; as_fn_mkdir_p
 16266:   ac_builddir=.
 16267: 
 16268: case "$ac_dir" in
 16269: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16270: *)
 16271:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 16272:   # A ".." for each directory in $ac_dir_suffix.
 16273:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 16274:   case $ac_top_builddir_sub in
 16275:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16276:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 16277:   esac ;;
 16278: esac
 16279: ac_abs_top_builddir=$ac_pwd
 16280: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 16281: # for backward compatibility:
 16282: ac_top_builddir=$ac_top_build_prefix
 16283: 
 16284: case $srcdir in
 16285:   .)  # We are building in place.
 16286:     ac_srcdir=.
 16287:     ac_top_srcdir=$ac_top_builddir_sub
 16288:     ac_abs_top_srcdir=$ac_pwd ;;
 16289:   [\\/]* | ?:[\\/]* )  # Absolute name.
 16290:     ac_srcdir=$srcdir$ac_dir_suffix;
 16291:     ac_top_srcdir=$srcdir
 16292:     ac_abs_top_srcdir=$srcdir ;;
 16293:   *) # Relative name.
 16294:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 16295:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 16296:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 16297: esac
 16298: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 16299: 
 16300: 
 16301:   case $ac_mode in
 16302:   :F)
 16303:   #
 16304:   # CONFIG_FILE
 16305:   #
 16306: 
 16307:   case $INSTALL in
 16308:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 16309:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 16310:   esac
 16311:   ac_MKDIR_P=$MKDIR_P
 16312:   case $MKDIR_P in
 16313:   [\\/$]* | ?:[\\/]* ) ;;
 16314:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 16315:   esac
 16316: _ACEOF
 16317: 
 16318: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16319: # If the template does not know about datarootdir, expand it.
 16320: # FIXME: This hack should be removed a few years after 2.60.
 16321: ac_datarootdir_hack=; ac_datarootdir_seen=
 16322: ac_sed_dataroot='
 16323: /datarootdir/ {
 16324:   p
 16325:   q
 16326: }
 16327: /@datadir@/p
 16328: /@docdir@/p
 16329: /@infodir@/p
 16330: /@localedir@/p
 16331: /@mandir@/p'
 16332: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 16333: *datarootdir*) ac_datarootdir_seen=yes;;
 16334: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 16335:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 16336: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 16337: _ACEOF
 16338: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16339:   ac_datarootdir_hack='
 16340:   s&@datadir@&$datadir&g
 16341:   s&@docdir@&$docdir&g
 16342:   s&@infodir@&$infodir&g
 16343:   s&@localedir@&$localedir&g
 16344:   s&@mandir@&$mandir&g
 16345:   s&\\\${datarootdir}&$datarootdir&g' ;;
 16346: esac
 16347: _ACEOF
 16348: 
 16349: # Neutralize VPATH when `$srcdir' = `.'.
 16350: # Shell code in configure.ac might set extrasub.
 16351: # FIXME: do we really want to maintain this feature?
 16352: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16353: ac_sed_extra="$ac_vpsub
 16354: $extrasub
 16355: _ACEOF
 16356: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16357: :t
 16358: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16359: s|@configure_input@|$ac_sed_conf_input|;t t
 16360: s&@top_builddir@&$ac_top_builddir_sub&;t t
 16361: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 16362: s&@srcdir@&$ac_srcdir&;t t
 16363: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 16364: s&@top_srcdir@&$ac_top_srcdir&;t t
 16365: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 16366: s&@builddir@&$ac_builddir&;t t
 16367: s&@abs_builddir@&$ac_abs_builddir&;t t
 16368: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 16369: s&@INSTALL@&$ac_INSTALL&;t t
 16370: s&@MKDIR_P@&$ac_MKDIR_P&;t t
 16371: $ac_datarootdir_hack
 16372: "
 16373: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 16374:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 16375: 
 16376: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 16377:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 16378:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 16379:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 16380:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16381: which seems to be undefined.  Please make sure it is defined" >&5
 16382: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16383: which seems to be undefined.  Please make sure it is defined" >&2;}
 16384: 
 16385:   rm -f "$ac_tmp/stdin"
 16386:   case $ac_file in
 16387:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 16388:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 16389:   esac \
 16390:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 16391:  ;;
 16392:   :H)
 16393:   #
 16394:   # CONFIG_HEADER
 16395:   #
 16396:   if test x"$ac_file" != x-; then
 16397:     {
 16398:       $as_echo "/* $configure_input  */" \
 16399:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 16400:     } >"$ac_tmp/config.h" \
 16401:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 16402:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 16403:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 16404: $as_echo "$as_me: $ac_file is unchanged" >&6;}
 16405:     else
 16406:       rm -f "$ac_file"
 16407:       mv "$ac_tmp/config.h" "$ac_file" \
 16408: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 16409:     fi
 16410:   else
 16411:     $as_echo "/* $configure_input  */" \
 16412:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 16413:       || as_fn_error $? "could not create -" "$LINENO" 5
 16414:   fi
 16415: # Compute "$ac_file"'s index in $config_headers.
 16416: _am_arg="$ac_file"
 16417: _am_stamp_count=1
 16418: for _am_header in $config_headers :; do
 16419:   case $_am_header in
 16420:     $_am_arg | $_am_arg:* )
 16421:       break ;;
 16422:     * )
 16423:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 16424:   esac
 16425: done
 16426: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 16427: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16428: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 16429: 	 X"$_am_arg" : 'X\(//\)$' \| \
 16430: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 16431: $as_echo X"$_am_arg" |
 16432:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16433: 	    s//\1/
 16434: 	    q
 16435: 	  }
 16436: 	  /^X\(\/\/\)[^/].*/{
 16437: 	    s//\1/
 16438: 	    q
 16439: 	  }
 16440: 	  /^X\(\/\/\)$/{
 16441: 	    s//\1/
 16442: 	    q
 16443: 	  }
 16444: 	  /^X\(\/\).*/{
 16445: 	    s//\1/
 16446: 	    q
 16447: 	  }
 16448: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 16449:  ;;
 16450: 
 16451:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 16452: $as_echo "$as_me: executing $ac_file commands" >&6;}
 16453:  ;;
 16454:   esac
 16455: 
 16456: 
 16457:   case $ac_file$ac_mode in
 16458:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 16459:   # Older Autoconf quotes --file arguments for eval, but not when files
 16460:   # are listed without --file.  Let's play safe and only enable the eval
 16461:   # if we detect the quoting.
 16462:   case $CONFIG_FILES in
 16463:   *\'*) eval set x "$CONFIG_FILES" ;;
 16464:   *)   set x $CONFIG_FILES ;;
 16465:   esac
 16466:   shift
 16467:   for mf
 16468:   do
 16469:     # Strip MF so we end up with the name of the file.
 16470:     mf=`echo "$mf" | sed -e 's/:.*$//'`
 16471:     # Check whether this is an Automake generated Makefile or not.
 16472:     # We used to match only the files named 'Makefile.in', but
 16473:     # some people rename them; so instead we look at the file content.
 16474:     # Grep'ing the first line is not enough: some people post-process
 16475:     # each Makefile.in and add a new line on top of each file to say so.
 16476:     # Grep'ing the whole file is not good either: AIX grep has a line
 16477:     # limit of 2048, but all sed's we know have understand at least 4000.
 16478:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 16479:       dirpart=`$as_dirname -- "$mf" ||
 16480: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16481: 	 X"$mf" : 'X\(//\)[^/]' \| \
 16482: 	 X"$mf" : 'X\(//\)$' \| \
 16483: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 16484: $as_echo X"$mf" |
 16485:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16486: 	    s//\1/
 16487: 	    q
 16488: 	  }
 16489: 	  /^X\(\/\/\)[^/].*/{
 16490: 	    s//\1/
 16491: 	    q
 16492: 	  }
 16493: 	  /^X\(\/\/\)$/{
 16494: 	    s//\1/
 16495: 	    q
 16496: 	  }
 16497: 	  /^X\(\/\).*/{
 16498: 	    s//\1/
 16499: 	    q
 16500: 	  }
 16501: 	  s/.*/./; q'`
 16502:     else
 16503:       continue
 16504:     fi
 16505:     # Extract the definition of DEPDIR, am__include, and am__quote
 16506:     # from the Makefile without running 'make'.
 16507:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 16508:     test -z "$DEPDIR" && continue
 16509:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 16510:     test -z "$am__include" && continue
 16511:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 16512:     # Find all dependency output files, they are included files with
 16513:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 16514:     # simplest approach to changing $(DEPDIR) to its actual value in the
 16515:     # expansion.
 16516:     for file in `sed -n "
 16517:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 16518: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 16519:       # Make sure the directory exists.
 16520:       test -f "$dirpart/$file" && continue
 16521:       fdir=`$as_dirname -- "$file" ||
 16522: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16523: 	 X"$file" : 'X\(//\)[^/]' \| \
 16524: 	 X"$file" : 'X\(//\)$' \| \
 16525: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 16526: $as_echo X"$file" |
 16527:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16528: 	    s//\1/
 16529: 	    q
 16530: 	  }
 16531: 	  /^X\(\/\/\)[^/].*/{
 16532: 	    s//\1/
 16533: 	    q
 16534: 	  }
 16535: 	  /^X\(\/\/\)$/{
 16536: 	    s//\1/
 16537: 	    q
 16538: 	  }
 16539: 	  /^X\(\/\).*/{
 16540: 	    s//\1/
 16541: 	    q
 16542: 	  }
 16543: 	  s/.*/./; q'`
 16544:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 16545:       # echo "creating $dirpart/$file"
 16546:       echo '# dummy' > "$dirpart/$file"
 16547:     done
 16548:   done
 16549: }
 16550:  ;;
 16551:     "libtool":C)
 16552: 
 16553:     # See if we are running on zsh, and set the options that allow our
 16554:     # commands through without removal of \ escapes.
 16555:     if test -n "${ZSH_VERSION+set}"; then
 16556:       setopt NO_GLOB_SUBST
 16557:     fi
 16558: 
 16559:     cfgfile=${ofile}T
 16560:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 16561:     $RM "$cfgfile"
 16562: 
 16563:     cat <<_LT_EOF >> "$cfgfile"
 16564: #! $SHELL
 16565: # Generated automatically by $as_me ($PACKAGE) $VERSION
 16566: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 16567: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 16568: 
 16569: # Provide generalized library-building support services.
 16570: # Written by Gordon Matzigkeit, 1996
 16571: 
 16572: # Copyright (C) 2014 Free Software Foundation, Inc.
 16573: # This is free software; see the source for copying conditions.  There is NO
 16574: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 16575: 
 16576: # GNU Libtool is free software; you can redistribute it and/or modify
 16577: # it under the terms of the GNU General Public License as published by
 16578: # the Free Software Foundation; either version 2 of of the License, or
 16579: # (at your option) any later version.
 16580: #
 16581: # As a special exception to the GNU General Public License, if you
 16582: # distribute this file as part of a program or library that is built
 16583: # using GNU Libtool, you may include this file under the  same
 16584: # distribution terms that you use for the rest of that program.
 16585: #
 16586: # GNU Libtool is distributed in the hope that it will be useful, but
 16587: # WITHOUT ANY WARRANTY; without even the implied warranty of
 16588: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16589: # GNU General Public License for more details.
 16590: #
 16591: # You should have received a copy of the GNU General Public License
 16592: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 16593: 
 16594: 
 16595: # The names of the tagged configurations supported by this script.
 16596: available_tags=''
 16597: 
 16598: # Configured defaults for sys_lib_dlsearch_path munging.
 16599: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
 16600: 
 16601: # ### BEGIN LIBTOOL CONFIG
 16602: 
 16603: # Which release of libtool.m4 was used?
 16604: macro_version=$macro_version
 16605: macro_revision=$macro_revision
 16606: 
 16607: # Whether or not to build shared libraries.
 16608: build_libtool_libs=$enable_shared
 16609: 
 16610: # Whether or not to build static libraries.
 16611: build_old_libs=$enable_static
 16612: 
 16613: # What type of objects to build.
 16614: pic_mode=$pic_mode
 16615: 
 16616: # Whether or not to optimize for fast installation.
 16617: fast_install=$enable_fast_install
 16618: 
 16619: # Shared archive member basename,for filename based shared library versioning on AIX.
 16620: shared_archive_member_spec=$shared_archive_member_spec
 16621: 
 16622: # Shell to use when invoking shell scripts.
 16623: SHELL=$lt_SHELL
 16624: 
 16625: # An echo program that protects backslashes.
 16626: ECHO=$lt_ECHO
 16627: 
 16628: # The PATH separator for the build system.
 16629: PATH_SEPARATOR=$lt_PATH_SEPARATOR
 16630: 
 16631: # The host system.
 16632: host_alias=$host_alias
 16633: host=$host
 16634: host_os=$host_os
 16635: 
 16636: # The build system.
 16637: build_alias=$build_alias
 16638: build=$build
 16639: build_os=$build_os
 16640: 
 16641: # A sed program that does not truncate output.
 16642: SED=$lt_SED
 16643: 
 16644: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 16645: Xsed="\$SED -e 1s/^X//"
 16646: 
 16647: # A grep program that handles long lines.
 16648: GREP=$lt_GREP
 16649: 
 16650: # An ERE matcher.
 16651: EGREP=$lt_EGREP
 16652: 
 16653: # A literal string matcher.
 16654: FGREP=$lt_FGREP
 16655: 
 16656: # A BSD- or MS-compatible name lister.
 16657: NM=$lt_NM
 16658: 
 16659: # Whether we need soft or hard links.
 16660: LN_S=$lt_LN_S
 16661: 
 16662: # What is the maximum length of a command?
 16663: max_cmd_len=$max_cmd_len
 16664: 
 16665: # Object file suffix (normally "o").
 16666: objext=$ac_objext
 16667: 
 16668: # Executable file suffix (normally "").
 16669: exeext=$exeext
 16670: 
 16671: # whether the shell understands "unset".
 16672: lt_unset=$lt_unset
 16673: 
 16674: # turn spaces into newlines.
 16675: SP2NL=$lt_lt_SP2NL
 16676: 
 16677: # turn newlines into spaces.
 16678: NL2SP=$lt_lt_NL2SP
 16679: 
 16680: # convert \$build file names to \$host format.
 16681: to_host_file_cmd=$lt_cv_to_host_file_cmd
 16682: 
 16683: # convert \$build files to toolchain format.
 16684: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 16685: 
 16686: # An object symbol dumper.
 16687: OBJDUMP=$lt_OBJDUMP
 16688: 
 16689: # Method to check whether dependent libraries are shared objects.
 16690: deplibs_check_method=$lt_deplibs_check_method
 16691: 
 16692: # Command to use when deplibs_check_method = "file_magic".
 16693: file_magic_cmd=$lt_file_magic_cmd
 16694: 
 16695: # How to find potential files when deplibs_check_method = "file_magic".
 16696: file_magic_glob=$lt_file_magic_glob
 16697: 
 16698: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 16699: want_nocaseglob=$lt_want_nocaseglob
 16700: 
 16701: # DLL creation program.
 16702: DLLTOOL=$lt_DLLTOOL
 16703: 
 16704: # Command to associate shared and link libraries.
 16705: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 16706: 
 16707: # The archiver.
 16708: AR=$lt_AR
 16709: 
 16710: # Flags to create an archive.
 16711: AR_FLAGS=$lt_AR_FLAGS
 16712: 
 16713: # How to feed a file listing to the archiver.
 16714: archiver_list_spec=$lt_archiver_list_spec
 16715: 
 16716: # A symbol stripping program.
 16717: STRIP=$lt_STRIP
 16718: 
 16719: # Commands used to install an old-style archive.
 16720: RANLIB=$lt_RANLIB
 16721: old_postinstall_cmds=$lt_old_postinstall_cmds
 16722: old_postuninstall_cmds=$lt_old_postuninstall_cmds
 16723: 
 16724: # Whether to use a lock for old archive extraction.
 16725: lock_old_archive_extraction=$lock_old_archive_extraction
 16726: 
 16727: # A C compiler.
 16728: LTCC=$lt_CC
 16729: 
 16730: # LTCC compiler flags.
 16731: LTCFLAGS=$lt_CFLAGS
 16732: 
 16733: # Take the output of nm and produce a listing of raw symbols and C names.
 16734: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 16735: 
 16736: # Transform the output of nm in a proper C declaration.
 16737: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 16738: 
 16739: # Transform the output of nm into a list of symbols to manually relocate.
 16740: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
 16741: 
 16742: # Transform the output of nm in a C name address pair.
 16743: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 16744: 
 16745: # Transform the output of nm in a C name address pair when lib prefix is needed.
 16746: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 16747: 
 16748: # The name lister interface.
 16749: nm_interface=$lt_lt_cv_nm_interface
 16750: 
 16751: # Specify filename containing input files for \$NM.
 16752: nm_file_list_spec=$lt_nm_file_list_spec
 16753: 
 16754: # The root where to search for dependent libraries,and where our libraries should be installed.
 16755: lt_sysroot=$lt_sysroot
 16756: 
 16757: # Command to truncate a binary pipe.
 16758: lt_truncate_bin=$lt_lt_cv_truncate_bin
 16759: 
 16760: # The name of the directory that contains temporary libtool files.
 16761: objdir=$objdir
 16762: 
 16763: # Used to examine libraries when file_magic_cmd begins with "file".
 16764: MAGIC_CMD=$MAGIC_CMD
 16765: 
 16766: # Must we lock files when doing compilation?
 16767: need_locks=$lt_need_locks
 16768: 
 16769: # Manifest tool.
 16770: MANIFEST_TOOL=$lt_MANIFEST_TOOL
 16771: 
 16772: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 16773: DSYMUTIL=$lt_DSYMUTIL
 16774: 
 16775: # Tool to change global to local symbols on Mac OS X.
 16776: NMEDIT=$lt_NMEDIT
 16777: 
 16778: # Tool to manipulate fat objects and archives on Mac OS X.
 16779: LIPO=$lt_LIPO
 16780: 
 16781: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
 16782: OTOOL=$lt_OTOOL
 16783: 
 16784: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 16785: OTOOL64=$lt_OTOOL64
 16786: 
 16787: # Old archive suffix (normally "a").
 16788: libext=$libext
 16789: 
 16790: # Shared library suffix (normally ".so").
 16791: shrext_cmds=$lt_shrext_cmds
 16792: 
 16793: # The commands to extract the exported symbol list from a shared archive.
 16794: extract_expsyms_cmds=$lt_extract_expsyms_cmds
 16795: 
 16796: # Variables whose values should be saved in libtool wrapper scripts and
 16797: # restored at link time.
 16798: variables_saved_for_relink=$lt_variables_saved_for_relink
 16799: 
 16800: # Do we need the "lib" prefix for modules?
 16801: need_lib_prefix=$need_lib_prefix
 16802: 
 16803: # Do we need a version for libraries?
 16804: need_version=$need_version
 16805: 
 16806: # Library versioning type.
 16807: version_type=$version_type
 16808: 
 16809: # Shared library runtime path variable.
 16810: runpath_var=$runpath_var
 16811: 
 16812: # Shared library path variable.
 16813: shlibpath_var=$shlibpath_var
 16814: 
 16815: # Is shlibpath searched before the hard-coded library search path?
 16816: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 16817: 
 16818: # Format of library name prefix.
 16819: libname_spec=$lt_libname_spec
 16820: 
 16821: # List of archive names.  First name is the real one, the rest are links.
 16822: # The last name is the one that the linker finds with -lNAME
 16823: library_names_spec=$lt_library_names_spec
 16824: 
 16825: # The coded name of the library, if different from the real name.
 16826: soname_spec=$lt_soname_spec
 16827: 
 16828: # Permission mode override for installation of shared libraries.
 16829: install_override_mode=$lt_install_override_mode
 16830: 
 16831: # Command to use after installation of a shared archive.
 16832: postinstall_cmds=$lt_postinstall_cmds
 16833: 
 16834: # Command to use after uninstallation of a shared archive.
 16835: postuninstall_cmds=$lt_postuninstall_cmds
 16836: 
 16837: # Commands used to finish a libtool library installation in a directory.
 16838: finish_cmds=$lt_finish_cmds
 16839: 
 16840: # As "finish_cmds", except a single script fragment to be evaled but
 16841: # not shown.
 16842: finish_eval=$lt_finish_eval
 16843: 
 16844: # Whether we should hardcode library paths into libraries.
 16845: hardcode_into_libs=$hardcode_into_libs
 16846: 
 16847: # Compile-time system search path for libraries.
 16848: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 16849: 
 16850: # Detected run-time system search path for libraries.
 16851: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
 16852: 
 16853: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
 16854: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
 16855: 
 16856: # Whether dlopen is supported.
 16857: dlopen_support=$enable_dlopen
 16858: 
 16859: # Whether dlopen of programs is supported.
 16860: dlopen_self=$enable_dlopen_self
 16861: 
 16862: # Whether dlopen of statically linked programs is supported.
 16863: dlopen_self_static=$enable_dlopen_self_static
 16864: 
 16865: # Commands to strip libraries.
 16866: old_striplib=$lt_old_striplib
 16867: striplib=$lt_striplib
 16868: 
 16869: 
 16870: # The linker used to build libraries.
 16871: LD=$lt_LD
 16872: 
 16873: # How to create reloadable object files.
 16874: reload_flag=$lt_reload_flag
 16875: reload_cmds=$lt_reload_cmds
 16876: 
 16877: # Commands used to build an old-style archive.
 16878: old_archive_cmds=$lt_old_archive_cmds
 16879: 
 16880: # A language specific compiler.
 16881: CC=$lt_compiler
 16882: 
 16883: # Is the compiler the GNU compiler?
 16884: with_gcc=$GCC
 16885: 
 16886: # Compiler flag to turn off builtin functions.
 16887: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 16888: 
 16889: # Additional compiler flags for building library objects.
 16890: pic_flag=$lt_lt_prog_compiler_pic
 16891: 
 16892: # How to pass a linker flag through the compiler.
 16893: wl=$lt_lt_prog_compiler_wl
 16894: 
 16895: # Compiler flag to prevent dynamic linking.
 16896: link_static_flag=$lt_lt_prog_compiler_static
 16897: 
 16898: # Does compiler simultaneously support -c and -o options?
 16899: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 16900: 
 16901: # Whether or not to add -lc for building shared libraries.
 16902: build_libtool_need_lc=$archive_cmds_need_lc
 16903: 
 16904: # Whether or not to disallow shared libs when runtime libs are static.
 16905: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 16906: 
 16907: # Compiler flag to allow reflexive dlopens.
 16908: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 16909: 
 16910: # Compiler flag to generate shared objects directly from archives.
 16911: whole_archive_flag_spec=$lt_whole_archive_flag_spec
 16912: 
 16913: # Whether the compiler copes with passing no objects directly.
 16914: compiler_needs_object=$lt_compiler_needs_object
 16915: 
 16916: # Create an old-style archive from a shared archive.
 16917: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 16918: 
 16919: # Create a temporary old-style archive to link instead of a shared archive.
 16920: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 16921: 
 16922: # Commands used to build a shared archive.
 16923: archive_cmds=$lt_archive_cmds
 16924: archive_expsym_cmds=$lt_archive_expsym_cmds
 16925: 
 16926: # Commands used to build a loadable module if different from building
 16927: # a shared archive.
 16928: module_cmds=$lt_module_cmds
 16929: module_expsym_cmds=$lt_module_expsym_cmds
 16930: 
 16931: # Whether we are building with GNU ld or not.
 16932: with_gnu_ld=$lt_with_gnu_ld
 16933: 
 16934: # Flag that allows shared libraries with undefined symbols to be built.
 16935: allow_undefined_flag=$lt_allow_undefined_flag
 16936: 
 16937: # Flag that enforces no undefined symbols.
 16938: no_undefined_flag=$lt_no_undefined_flag
 16939: 
 16940: # Flag to hardcode \$libdir into a binary during linking.
 16941: # This must work even if \$libdir does not exist
 16942: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 16943: 
 16944: # Whether we need a single "-rpath" flag with a separated argument.
 16945: hardcode_libdir_separator=$lt_hardcode_libdir_separator
 16946: 
 16947: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
 16948: # DIR into the resulting binary.
 16949: hardcode_direct=$hardcode_direct
 16950: 
 16951: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
 16952: # DIR into the resulting binary and the resulting library dependency is
 16953: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
 16954: # library is relocated.
 16955: hardcode_direct_absolute=$hardcode_direct_absolute
 16956: 
 16957: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 16958: # into the resulting binary.
 16959: hardcode_minus_L=$hardcode_minus_L
 16960: 
 16961: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 16962: # into the resulting binary.
 16963: hardcode_shlibpath_var=$hardcode_shlibpath_var
 16964: 
 16965: # Set to "yes" if building a shared library automatically hardcodes DIR
 16966: # into the library and all subsequent libraries and executables linked
 16967: # against it.
 16968: hardcode_automatic=$hardcode_automatic
 16969: 
 16970: # Set to yes if linker adds runtime paths of dependent libraries
 16971: # to runtime path list.
 16972: inherit_rpath=$inherit_rpath
 16973: 
 16974: # Whether libtool must link a program against all its dependency libraries.
 16975: link_all_deplibs=$link_all_deplibs
 16976: 
 16977: # Set to "yes" if exported symbols are required.
 16978: always_export_symbols=$always_export_symbols
 16979: 
 16980: # The commands to list exported symbols.
 16981: export_symbols_cmds=$lt_export_symbols_cmds
 16982: 
 16983: # Symbols that should not be listed in the preloaded symbols.
 16984: exclude_expsyms=$lt_exclude_expsyms
 16985: 
 16986: # Symbols that must always be exported.
 16987: include_expsyms=$lt_include_expsyms
 16988: 
 16989: # Commands necessary for linking programs (against libraries) with templates.
 16990: prelink_cmds=$lt_prelink_cmds
 16991: 
 16992: # Commands necessary for finishing linking programs.
 16993: postlink_cmds=$lt_postlink_cmds
 16994: 
 16995: # Specify filename containing input files.
 16996: file_list_spec=$lt_file_list_spec
 16997: 
 16998: # How to hardcode a shared library path into an executable.
 16999: hardcode_action=$hardcode_action
 17000: 
 17001: # ### END LIBTOOL CONFIG
 17002: 
 17003: _LT_EOF
 17004: 
 17005:     cat <<'_LT_EOF' >> "$cfgfile"
 17006: 
 17007: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
 17008: 
 17009: # func_munge_path_list VARIABLE PATH
 17010: # -----------------------------------
 17011: # VARIABLE is name of variable containing _space_ separated list of
 17012: # directories to be munged by the contents of PATH, which is string
 17013: # having a format:
 17014: # "DIR[:DIR]:"
 17015: #       string "DIR[ DIR]" will be prepended to VARIABLE
 17016: # ":DIR[:DIR]"
 17017: #       string "DIR[ DIR]" will be appended to VARIABLE
 17018: # "DIRP[:DIRP]::[DIRA:]DIRA"
 17019: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 17020: #       "DIRA[ DIRA]" will be appended to VARIABLE
 17021: # "DIR[:DIR]"
 17022: #       VARIABLE will be replaced by "DIR[ DIR]"
 17023: func_munge_path_list ()
 17024: {
 17025:     case x$2 in
 17026:     x)
 17027:         ;;
 17028:     *:)
 17029:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 17030:         ;;
 17031:     x:*)
 17032:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 17033:         ;;
 17034:     *::*)
 17035:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 17036:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 17037:         ;;
 17038:     *)
 17039:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 17040:         ;;
 17041:     esac
 17042: }
 17043: 
 17044: 
 17045: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 17046: func_cc_basename ()
 17047: {
 17048:     for cc_temp in $*""; do
 17049:       case $cc_temp in
 17050:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 17051:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 17052:         \-*) ;;
 17053:         *) break;;
 17054:       esac
 17055:     done
 17056:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 17057: }
 17058: 
 17059: 
 17060: # ### END FUNCTIONS SHARED WITH CONFIGURE
 17061: 
 17062: _LT_EOF
 17063: 
 17064:   case $host_os in
 17065:   aix3*)
 17066:     cat <<\_LT_EOF >> "$cfgfile"
 17067: # AIX sometimes has problems with the GCC collect2 program.  For some
 17068: # reason, if we set the COLLECT_NAMES environment variable, the problems
 17069: # vanish in a puff of smoke.
 17070: if test set != "${COLLECT_NAMES+set}"; then
 17071:   COLLECT_NAMES=
 17072:   export COLLECT_NAMES
 17073: fi
 17074: _LT_EOF
 17075:     ;;
 17076:   esac
 17077: 
 17078: 
 17079: ltmain=$ac_aux_dir/ltmain.sh
 17080: 
 17081: 
 17082:   # We use sed instead of cat because bash on DJGPP gets confused if
 17083:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 17084:   # text mode, it properly converts lines to CR/LF.  This bash problem
 17085:   # is reportedly fixed, but why not run on old versions too?
 17086:   sed '$q' "$ltmain" >> "$cfgfile" \
 17087:      || (rm -f "$cfgfile"; exit 1)
 17088: 
 17089:    mv -f "$cfgfile" "$ofile" ||
 17090:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 17091:   chmod +x "$ofile"
 17092: 
 17093:  ;;
 17094: 
 17095:   esac
 17096: done # for ac_tag
 17097: 
 17098: 
 17099: as_fn_exit 0
 17100: _ACEOF
 17101: ac_clean_files=$ac_clean_files_save
 17102: 
 17103: test $ac_write_fail = 0 ||
 17104:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 17105: 
 17106: 
 17107: # configure is writing to config.log, and then calls config.status.
 17108: # config.status does its own redirection, appending to config.log.
 17109: # Unfortunately, on DOS this fails, as config.log is still kept open
 17110: # by configure, so config.status won't be able to write to it; its
 17111: # output is simply discarded.  So we exec the FD to /dev/null,
 17112: # effectively closing config.log, so it can be properly (re)opened and
 17113: # appended to by config.status.  When coming back to configure, we
 17114: # need to make the FD available again.
 17115: if test "$no_create" != yes; then
 17116:   ac_cs_success=:
 17117:   ac_config_status_args=
 17118:   test "$silent" = yes &&
 17119:     ac_config_status_args="$ac_config_status_args --quiet"
 17120:   exec 5>/dev/null
 17121:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 17122:   exec 5>>config.log
 17123:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 17124:   # would make configure fail if this is the last instruction.
 17125:   $ac_cs_success || as_fn_exit 1
 17126: fi
 17127: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 17128:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 17129: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 17130: fi
 17131: 

Generated by git2html.